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, isEmptyMethods inherited from interface org.wikidata.wdtk.datamodel.interfaces.LabeledDocumentUpdate
getLabelsMethods inherited from interface org.wikidata.wdtk.datamodel.interfaces.StatementDocumentUpdate
getStatementsMethods inherited from interface org.wikidata.wdtk.datamodel.interfaces.TermedDocumentUpdate
getAliases, getDescriptions
-
Method Details
-
getEntityId
ItemIdValue getEntityId()Description copied from interface:EntityUpdateReturns ID of the entity that is being updated.- Specified by:
getEntityIdin 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
-