public class ItemDocumentImpl extends TermedDocumentImpl implements ItemDocument
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Iterator<Statement> |
getAllStatements()
Returns an iterator that provides access to all statements, without
considering the statement groups.
|
EntityIdValue |
getEntityId()
Return the ID of the entity that the data refers to
|
ItemIdValue |
getItemId()
Return the ID of the item that the data refers to.
|
Map<String,SiteLink> |
getSiteLinks()
Get a Map of site keys to
SiteLink objects. |
List<StatementGroup> |
getStatementGroups()
Return the list of all StatementGroups stored for this item.
|
int |
hashCode() |
String |
toString() |
getAliases, getDescriptions, getLabelsclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAliases, getDescriptions, getLabelspublic EntityIdValue getEntityId()
EntityDocumentgetEntityId in interface EntityDocumentpublic ItemIdValue getItemId()
ItemDocumentEntityDocument.getEntityId(), but declared with a more
specific result type.getItemId in interface ItemDocumentpublic List<StatementGroup> getStatementGroups()
ItemDocumentgetStatementGroups in interface ItemDocumentpublic Iterator<Statement> getAllStatements()
ItemDocumentgetAllStatements in interface ItemDocumentpublic Map<String,SiteLink> getSiteLinks()
ItemDocumentSiteLink objects.getSiteLinks in interface ItemDocumentCopyright © 2014 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage