Interface TermedDocumentUpdate
- All Superinterfaces:
EntityUpdate
,LabeledDocumentUpdate
- All Known Subinterfaces:
ItemUpdate
,PropertyUpdate
,TermedStatementDocumentUpdate
- All Known Implementing Classes:
ItemUpdateImpl
,PropertyUpdateImpl
,TermedDocumentUpdateImpl
Collection of changes that can be applied to an entity that has labels,
aliases, and descriptions.
-
Method Summary
Modifier and TypeMethodDescriptionReturns changes in entity aliases.Returns changes in entity descriptions.Methods inherited from interface org.wikidata.wdtk.datamodel.interfaces.EntityUpdate
getBaseRevisionId, getEntityId, isEmpty
Methods inherited from interface org.wikidata.wdtk.datamodel.interfaces.LabeledDocumentUpdate
getLabels
-
Method Details
-
getDescriptions
TermUpdate getDescriptions()Returns changes in entity descriptions.- Returns:
- update of entity descriptions, possibly empty
-
getAliases
Map<String,AliasUpdate> getAliases()Returns changes in entity aliases. AllAliasUpdate
instances are non-empty. If language code is not in the returned map, aliases for that language do not change.- Returns:
- changes in aliases
-