Uses of Class
org.wikidata.wdtk.datamodel.helpers.ItemUpdateBuilder
Package
Description
Package for mostly static helper code to work with data objects.
-
Uses of ItemUpdateBuilder in org.wikidata.wdtk.datamodel.helpers
Modifier and TypeMethodDescriptionItemUpdateBuilder.append
(ItemUpdate update) Replays all changes in provided update into this builder object.static ItemUpdateBuilder
ItemUpdateBuilder.forBaseRevision
(ItemDocument revision) Creates new builder object for constructing update of given base item entity revision.static ItemUpdateBuilder
ItemUpdateBuilder.forBaseRevisionId
(ItemIdValue itemId, long revisionId) Creates new builder object for constructing update of item entity with given revision ID.static ItemUpdateBuilder
ItemUpdateBuilder.forEntityId
(ItemIdValue itemId) Creates new builder object for constructing update of item entity with given ID.ItemUpdateBuilder.putSiteLink
(SiteLink link) Adds or replaces site link.ItemUpdateBuilder.removeSiteLink
(String site) Removes site link.ItemUpdateBuilder.updateAliases
(String language, AliasUpdate update) ItemUpdateBuilder.updateDescriptions
(TermUpdate update) ItemUpdateBuilder.updateLabels
(TermUpdate update) ItemUpdateBuilder.updateStatements
(StatementUpdate update)