public class JacksonValueString extends JacksonValue implements StringValue
StringValue.JSON_VALUE_TYPE_ENTITY_ID, JSON_VALUE_TYPE_GLOBE_COORDINATES, JSON_VALUE_TYPE_MONOLINGUAL_TEXT, JSON_VALUE_TYPE_QUANTITY, JSON_VALUE_TYPE_STRING, JSON_VALUE_TYPE_TIME| Constructor and Description |
|---|
JacksonValueString()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(ValueVisitor<T> valueVisitor)
Accept a ValueVisitor and return its output.
|
boolean |
equals(Object obj) |
String |
getString()
Get the string stored in this value.
|
String |
getValue()
Returns the string.
|
int |
hashCode() |
void |
setValue(String value)
Sets the string to the given value.
|
String |
toString() |
getType, setTypepublic JacksonValueString()
public String getValue()
public void setValue(String value)
value - new valuepublic String getString()
StringValuegetString in interface StringValuepublic <T> T accept(ValueVisitor<T> valueVisitor)
ValueCopyright © 2014 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage