public final class Value extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Value.Type |
Constructor and Description |
---|
Value(Value.Type pType,
List<String> pValues) |
Value(Value.Type pType,
String pValue)
Creates a value.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object pOther) |
Value.Type |
getType()
Returns the type of this value.
|
String |
getTypeAsSolrFieldSuffix() |
List<String> |
getValues()
Returns the string values for this value.
|
int |
hashCode() |
String |
toString() |
public Value(Value.Type pType, String pValue)
pType
- the type of valuepValue
- the string value to indexIllegalArgumentException
- if pType
is null
.public Value(Value.Type pType, List<String> pValues)
public Value.Type getType()
public String getTypeAsSolrFieldSuffix()
public List<String> getValues()
© 1998- 2018 Stibo DX