java.io.Serializable, MonolingualTextValue, Valuepublic class MonolingualTextValueImpl extends java.lang.Object implements MonolingualTextValue, java.io.Serializable
| Modifier and Type | Method | Description |
|---|---|---|
<T> T |
accept(ValueVisitor<T> valueVisitor) |
Accept a ValueVisitor and return its output.
|
boolean |
equals(java.lang.Object obj) |
|
java.lang.String |
getLanguageCode() |
Get the language code of this value.
|
java.lang.String |
getText() |
Get the text of this value.
|
int |
hashCode() |
|
java.lang.String |
toString() |
public java.lang.String getText()
MonolingualTextValuegetText in interface MonolingualTextValuepublic java.lang.String getLanguageCode()
MonolingualTextValuegetLanguageCode in interface MonolingualTextValuepublic <T> T accept(ValueVisitor<T> valueVisitor)
Valuepublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2014–2017 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage