public class Value extends GenericModel
Modifier and Type | Class and Description |
---|---|
static interface |
Value.ValueType
Specifies the type of value (`synonyms` or `patterns`).
|
Constructor and Description |
---|
Value() |
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getCreated()
Gets the created.
|
java.util.Map |
getMetadata()
Gets the metadata.
|
java.util.List<java.lang.String> |
getPatterns()
Gets the patterns.
|
java.util.List<java.lang.String> |
getSynonyms()
Gets the synonyms.
|
java.util.Date |
getUpdated()
Gets the updated.
|
java.lang.String |
getValueText()
Gets the valueText.
|
java.lang.String |
getValueType()
Gets the valueType.
|
void |
setMetadata(java.util.Map metadata)
Sets the metadata.
|
void |
setPatterns(java.util.List<java.lang.String> patterns)
Sets the patterns.
|
void |
setSynonyms(java.util.List<java.lang.String> synonyms)
Sets the synonyms.
|
void |
setValueText(java.lang.String valueText)
Sets the valueText.
|
void |
setValueType(java.lang.String valueType)
Sets the valueType.
|
equals, hashCode, toString
public java.lang.String getValueText()
public java.util.Map getMetadata()
public java.util.Date getCreated()
public java.util.Date getUpdated()
public java.util.List<java.lang.String> getSynonyms()
public java.util.List<java.lang.String> getPatterns()
public java.lang.String getValueType()
public void setValueText(java.lang.String valueText)
valueText
- the new valueTextpublic void setMetadata(java.util.Map metadata)
metadata
- the new metadatapublic void setSynonyms(java.util.List<java.lang.String> synonyms)
synonyms
- the new synonymspublic void setPatterns(java.util.List<java.lang.String> patterns)
patterns
- the new patternspublic void setValueType(java.lang.String valueType)
valueType
- the new valueType