Interface ItemUpdate
- All Superinterfaces:
EntityUpdate
,LabeledDocumentUpdate
,LabeledStatementDocumentUpdate
,StatementDocumentUpdate
,TermedDocumentUpdate
,TermedStatementDocumentUpdate
- All Known Implementing Classes:
ItemUpdateImpl
Collection of changes that can be applied to item entity.
-
Method Summary
Modifier and TypeMethodDescriptionReturns ID of the entity that is being updated.Returns site links added or modified in this update.Returns site keys of site links removed in this update.Methods inherited from interface org.wikidata.wdtk.datamodel.interfaces.EntityUpdate
getBaseRevisionId, isEmpty
Methods inherited from interface org.wikidata.wdtk.datamodel.interfaces.LabeledDocumentUpdate
getLabels
Methods inherited from interface org.wikidata.wdtk.datamodel.interfaces.StatementDocumentUpdate
getStatements
Methods inherited from interface org.wikidata.wdtk.datamodel.interfaces.TermedDocumentUpdate
getAliases, getDescriptions
-
Method Details
-
getEntityId
ItemIdValue getEntityId()Description copied from interface:EntityUpdate
Returns ID of the entity that is being updated.- Specified by:
getEntityId
in interfaceEntityUpdate
- Returns:
- ID of the updated entity
-
getModifiedSiteLinks
Returns site links added or modified in this update. Existing site links are preserved if their site key is not listed here.- Returns:
- added or modified site links indexed by site key
-
getRemovedSiteLinks
Returns site keys of site links removed in this update.- Returns:
- site keys of removed site links
-