public abstract class TermedStatementDocumentImpl extends Object implements TermedDocument, StatementDocument, Serializable
TermedDocument. This abstract class defines the
code for shared functionality of concrete types of TermedDocument.| Modifier and Type | Method and Description |
|---|---|
Map<String,List<MonolingualTextValue>> |
getAliases()
Return a Map from Wikibase language codes to lists of alias labels for a
given language.
|
Iterator<Statement> |
getAllStatements()
Returns an iterator that provides access to all statements, without
considering the statement groups.
|
Map<String,MonolingualTextValue> |
getDescriptions()
Return a Map from Wikibase language codes to descriptions.
|
Map<String,MonolingualTextValue> |
getLabels()
Return a Map from Wikibase language codes to labels.
|
List<StatementGroup> |
getStatementGroups()
Return the list of all StatementGroups stored for this item.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEntityIdpublic Map<String,MonolingualTextValue> getLabels()
TermedDocumentgetLabels in interface TermedDocumentpublic Map<String,MonolingualTextValue> getDescriptions()
TermedDocumentgetDescriptions in interface TermedDocumentpublic Map<String,List<MonolingualTextValue>> getAliases()
TermedDocumentgetAliases in interface TermedDocumentpublic List<StatementGroup> getStatementGroups()
StatementDocumentgetStatementGroups in interface StatementDocumentpublic Iterator<Statement> getAllStatements()
StatementDocumentgetAllStatements in interface StatementDocumentCopyright © 2014–2015 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage