Uses of Class
org.wikidata.wdtk.datamodel.helpers.StatementUpdateBuilder
Package
Description
Package for mostly static helper code to work with data objects.
-
Uses of StatementUpdateBuilder in org.wikidata.wdtk.datamodel.helpers
Modifier and TypeMethodDescriptionAdds statement to the entity.StatementUpdateBuilder.append
(StatementUpdate update) Replays all changes in provided update into this builder object.static StatementUpdateBuilder
StatementUpdateBuilder.create()
Creates new builder object for constructing statement update.static StatementUpdateBuilder
StatementUpdateBuilder.create
(EntityIdValue subject) Creates new builder object for constructing statement update of given subject.static StatementUpdateBuilder
StatementUpdateBuilder.forStatementGroups
(Collection<StatementGroup> groups) Creates new builder object for constructing update of given base revision statement groups.static StatementUpdateBuilder
StatementUpdateBuilder.forStatementGroups
(EntityIdValue subject, Collection<StatementGroup> groups) Creates new builder object for constructing update of given base revision statement groups with given subject.static StatementUpdateBuilder
StatementUpdateBuilder.forStatements
(Collection<Statement> statements) Creates new builder object for constructing update of given base revision statements.static StatementUpdateBuilder
StatementUpdateBuilder.forStatements
(EntityIdValue subject, Collection<Statement> statements) Creates new builder object for constructing update of given base revision statements with given subject.Removes existing statement from the entity.Replaces existing statement in the entity.