java.io.Serializable, EntityDocument, StatementDocument, TermedDocumentItemDocumentImpl, PropertyDocumentImplpublic abstract class TermedStatementDocumentImpl extends AbstractTermedStatementDocument implements java.io.Serializable
TermedDocument. This abstract class defines the
code for shared functionality of concrete types of TermedDocument.| Modifier and Type | Method | Description |
|---|---|---|
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.
|
long |
getRevisionId() |
Returns the revision ID of this document, or 0 if no id is known.
|
java.util.List<StatementGroup> |
getStatementGroups() |
Return the list of all StatementGroups stored for this item.
|
castValue, containsStatementValue, findDescription, findLabel, findStatement, findStatement, findStatementDatatypeIdValue, findStatementDatatypeIdValue, findStatementEntityIdValue, findStatementEntityIdValue, findStatementGlobeCoordinatesValue, findStatementGlobeCoordinatesValue, findStatementGroup, findStatementGroup, findStatementItemIdValue, findStatementItemIdValue, findStatementMonolingualTextValue, findStatementMonolingualTextValue, findStatementPropertyIdValue, findStatementPropertyIdValue, findStatementQuantityValue, findStatementQuantityValue, findStatementStringValue, findStatementStringValue, findStatementTimeValue, findStatementTimeValue, findStatementValue, findStatementValue, getAllStatements, getUniqueStatementFromStatementGroup, getValueFromStatement, hasStatement, hasStatement, hasStatementValue, hasStatementValue, hasStatementValue, hasStatementValuegetEntityIdpublic java.util.Map<java.lang.String,MonolingualTextValue> getLabels()
TermedDocumentgetLabels in interface TermedDocumentpublic java.util.Map<java.lang.String,MonolingualTextValue> getDescriptions()
TermedDocumentgetDescriptions in interface TermedDocumentpublic java.util.Map<java.lang.String,java.util.List<MonolingualTextValue>> getAliases()
TermedDocumentgetAliases in interface TermedDocumentpublic java.util.List<StatementGroup> getStatementGroups()
StatementDocumentgetStatementGroups in interface StatementDocumentpublic long getRevisionId()
EntityDocumentgetRevisionId in interface EntityDocumentCopyright © 2014–2017 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage