Package com.attivio.sdk.search.fields
Class FieldRequest
- java.lang.Object
-
- com.attivio.sdk.search.fields.FieldRequest
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable
public final class FieldRequest extends java.lang.Object implements java.lang.Cloneable, java.io.SerializableA request for a field.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static FieldRequest[]EMPTY_ARRAY
-
Constructor Summary
Constructors Constructor Description FieldRequest()FieldRequest(FieldExpression field)FieldRequest(FieldExpression field, java.lang.String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldRequestclone()booleanequals(java.lang.Object other)FieldExpressiongetField()Get theFieldExpressionto use for generating the field values.java.lang.StringgetName()Get the name for this field request.inthashCode()voidsetField(FieldExpression value)Set theFieldExpressionto use for generating the field values.voidsetName(java.lang.String value)Set the name for this field request.java.lang.StringtoString()static FieldRequestvalueOf(FieldExpression value)static FieldRequestvalueOf(StringParser parser)static FieldRequestvalueOf(java.lang.String value)
-
-
-
Field Detail
-
EMPTY_ARRAY
public static final FieldRequest[] EMPTY_ARRAY
-
-
Constructor Detail
-
FieldRequest
public FieldRequest()
-
FieldRequest
public FieldRequest(FieldExpression field)
-
FieldRequest
public FieldRequest(FieldExpression field, java.lang.String name)
-
-
Method Detail
-
getName
public java.lang.String getName()
Get the name for this field request.If name is not specified, the default name for the
fieldwill be returned.
-
setName
public void setName(java.lang.String value)
Set the name for this field request.Setting this to
nullwill use the default name for thefield.
-
getField
public FieldExpression getField()
Get theFieldExpressionto use for generating the field values.
-
setField
public void setField(FieldExpression value)
Set theFieldExpressionto use for generating the field values.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
clone
public FieldRequest clone()
- Overrides:
clonein classjava.lang.Object
-
valueOf
public static FieldRequest valueOf(FieldExpression value)
-
valueOf
public static FieldRequest valueOf(java.lang.String value)
-
valueOf
public static FieldRequest valueOf(StringParser parser)
-
-