public class JacksonInnerMonolingualText extends Object
JacksonValue.JSON_VALUE_TYPE_MONOLINGUAL_TEXT.| Constructor and Description |
|---|
JacksonInnerMonolingualText()
Constructor.
|
JacksonInnerMonolingualText(String language,
String text)
TODO Review the utility of this constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getLanguage()
Returns the language code.
|
String |
getText()
Returns the text.
|
void |
setLanguage(String language)
Sets the language code to the given value.
|
void |
setText(String text)
Sets the text to the given value.
|
public JacksonInnerMonolingualText()
public String getLanguage()
MonolingualTextValue.getLanguageCode()public void setLanguage(String language)
language - new valuepublic String getText()
MonolingualTextValue.getText()public void setText(String text)
text - new valueCopyright © 2014 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage