EntityDocumentItemDocument, PropertyDocumentAbstractTermedStatementDocument, ItemDocumentImpl, JacksonItemDocument, JacksonPropertyDocument, JacksonTermedStatementDocument, PropertyDocumentImpl, TermedStatementDocumentImplpublic interface TermedDocument extends EntityDocument
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
findDescription(java.lang.String languageCode) |
Returns the string description for the given language code, or null if
there is no description for this code.
|
java.lang.String |
findLabel(java.lang.String languageCode) |
Returns the string label for the given language code, or null if there is
no label for this code.
|
java.util.Map<java.lang.String,java.util.List<MonolingualTextValue>> |
getAliases() |
Return a Map from Wikibase language codes to lists of alias labels for a
given language.
|
java.util.Map<java.lang.String,MonolingualTextValue> |
getDescriptions() |
Return a Map from Wikibase language codes to descriptions.
|
java.util.Map<java.lang.String,MonolingualTextValue> |
getLabels() |
Return a Map from Wikibase language codes to labels.
|
getEntityId, getRevisionIdjava.util.Map<java.lang.String,MonolingualTextValue> getLabels()
java.util.Map<java.lang.String,MonolingualTextValue> getDescriptions()
java.util.Map<java.lang.String,java.util.List<MonolingualTextValue>> getAliases()
java.lang.String findLabel(java.lang.String languageCode)
getLabels().languageCode - a string that represents languagejava.lang.String findDescription(java.lang.String languageCode)
getDescriptions().languageCode - a string that represents languageCopyright © 2014–2017 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage