public class ItemDocumentImpl extends TermedStatementDocumentImpl implements ItemDocument, Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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. |
int |
hashCode() |
String |
toString() |
getAliases, getAllStatements, getDescriptions, getLabels, getStatementGroupsclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAliases, getDescriptions, getLabelsgetAllStatements, getStatementGroupspublic EntityIdValue getEntityId()
EntityDocumentgetEntityId in interface EntityDocumentpublic ItemIdValue getItemId()
ItemDocumentEntityDocument.getEntityId(), but declared with a more
specific result type.getItemId in interface ItemDocumentpublic Map<String,SiteLink> getSiteLinks()
ItemDocumentSiteLink objects.getSiteLinks in interface ItemDocumentCopyright © 2014–2015 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage