Uses of Interface
org.wikidata.wdtk.datamodel.interfaces.StatementUpdate
Package
Description
Package for mostly static helper code to work with data objects.
Basic implementation for objects representing Wikibase data and related factories.
Interfaces for representing Wikibase data and related factories.
-
Uses of StatementUpdate in org.wikidata.wdtk.datamodel.helpers
Modifier and TypeMethodDescriptionStatementUpdateBuilder.build()
Creates newStatementUpdate
object with contents of this builder object.static StatementUpdate
Datamodel.makeStatementUpdate
(Collection<Statement> added, Collection<Statement> replaced, Collection<String> removed) Creates newStatementUpdate
.Modifier and TypeMethodDescriptionStatementUpdateBuilder.append
(StatementUpdate update) Replays all changes in provided update into this builder object.static boolean
Equality.equalsStatementUpdate
(StatementUpdate o1, Object o2) Returnstrue
if the twoStatementUpdate
objects contain exactly the same data.static int
Hash.hashCode
(StatementUpdate o) Calculates hash code for givenStatementUpdate
object.static FormUpdate
Datamodel.makeFormUpdate
(FormIdValue entityId, long revisionId, TermUpdate representations, Collection<ItemIdValue> grammaticalFeatures, StatementUpdate statements) Creates newFormUpdate
.static ItemUpdate
Datamodel.makeItemUpdate
(ItemIdValue entityId, long revisionId, TermUpdate labels, TermUpdate descriptions, Map<String, AliasUpdate> aliases, StatementUpdate statements, Collection<SiteLink> modifiedSiteLinks, Collection<String> removedSiteLinks) Creates newItemUpdate
.static LexemeUpdate
Datamodel.makeLexemeUpdate
(LexemeIdValue entityId, long revisionId, ItemIdValue language, ItemIdValue lexicalCategory, TermUpdate lemmas, StatementUpdate statements, Collection<SenseDocument> addedSenses, Collection<SenseUpdate> updatedSenses, Collection<SenseIdValue> removedSenses, Collection<FormDocument> addedForms, Collection<FormUpdate> updatedForms, Collection<FormIdValue> removedForms) Creates newLexemeUpdate
.static MediaInfoUpdate
Datamodel.makeMediaInfoUpdate
(MediaInfoIdValue entityId, long revisionId, TermUpdate labels, StatementUpdate statements) Creates newMediaInfoUpdate
.static PropertyUpdate
Datamodel.makePropertyUpdate
(PropertyIdValue entityId, long revisionId, TermUpdate labels, TermUpdate descriptions, Map<String, AliasUpdate> aliases, StatementUpdate statements) Creates newPropertyUpdate
.static SenseUpdate
Datamodel.makeSenseUpdate
(SenseIdValue entityId, long revisionId, TermUpdate glosses, StatementUpdate statements) Creates newSenseUpdate
.FormUpdateBuilder.updateStatements
(StatementUpdate update) ItemUpdateBuilder.updateStatements
(StatementUpdate update) LabeledDocumentUpdateBuilder.updateStatements
(StatementUpdate update) LexemeUpdateBuilder.updateStatements
(StatementUpdate update) MediaInfoUpdateBuilder.updateStatements
(StatementUpdate update) PropertyUpdateBuilder.updateStatements
(StatementUpdate update) SenseUpdateBuilder.updateStatements
(StatementUpdate update) StatementDocumentUpdateBuilder.updateStatements
(StatementUpdate update) Updates entity statements.TermedDocumentUpdateBuilder.updateStatements
(StatementUpdate update) -
Uses of StatementUpdate in org.wikidata.wdtk.datamodel.implementation
Modifier and TypeMethodDescriptionStatementDocumentUpdateImpl.getStatements()
DataObjectFactoryImpl.getStatementUpdate
(Collection<Statement> added, Collection<Statement> replaced, Collection<String> removed) Modifier and TypeMethodDescriptionDataObjectFactoryImpl.getFormUpdate
(FormIdValue entityId, long revisionId, TermUpdate representations, Collection<ItemIdValue> grammaticalFeatures, StatementUpdate statements) DataObjectFactoryImpl.getItemUpdate
(ItemIdValue entityId, long revisionId, TermUpdate labels, TermUpdate descriptions, Map<String, AliasUpdate> aliases, StatementUpdate statements, Collection<SiteLink> modifiedSiteLinks, Collection<String> removedSiteLinks) DataObjectFactoryImpl.getLexemeUpdate
(LexemeIdValue entityId, long revisionId, ItemIdValue language, ItemIdValue lexicalCategory, TermUpdate lemmas, StatementUpdate statements, Collection<SenseDocument> addedSenses, Collection<SenseUpdate> updatedSenses, Collection<SenseIdValue> removedSenses, Collection<FormDocument> addedForms, Collection<FormUpdate> updatedForms, Collection<FormIdValue> removedForms) DataObjectFactoryImpl.getMediaInfoUpdate
(MediaInfoIdValue entityId, long revisionId, TermUpdate labels, StatementUpdate statements) DataObjectFactoryImpl.getPropertyUpdate
(PropertyIdValue entityId, long revisionId, TermUpdate labels, TermUpdate descriptions, Map<String, AliasUpdate> aliases, StatementUpdate statements) DataObjectFactoryImpl.getSenseUpdate
(SenseIdValue entityId, long revisionId, TermUpdate glosses, StatementUpdate statements) ModifierConstructorDescriptionFormUpdateImpl
(FormIdValue entityId, long revisionId, TermUpdate representations, Collection<ItemIdValue> grammaticalFeatures, StatementUpdate statements) Initializes new form update.ItemUpdateImpl
(ItemIdValue entityId, long revisionId, TermUpdate labels, TermUpdate descriptions, Map<String, AliasUpdate> aliases, StatementUpdate statements, Collection<SiteLink> modifiedSiteLinks, Collection<String> removedSiteLinks) Initializes new item update.protected
LabeledDocumentUpdateImpl
(EntityIdValue entityId, long revisionId, TermUpdate labels, StatementUpdate statements) Initializes new entity update.LexemeUpdateImpl
(LexemeIdValue entityId, long revisionId, ItemIdValue language, ItemIdValue lexicalCategory, TermUpdate lemmas, StatementUpdate statements, Collection<SenseDocument> addedSenses, Collection<SenseUpdate> updatedSenses, Collection<SenseIdValue> removedSenses, Collection<FormDocument> addedForms, Collection<FormUpdate> updatedForms, Collection<FormIdValue> removedForms) Initializes new entity update.MediaInfoUpdateImpl
(MediaInfoIdValue entityId, long revisionId, TermUpdate labels, StatementUpdate statements) Initializes new media update.PropertyUpdateImpl
(PropertyIdValue entityId, long revisionId, TermUpdate labels, TermUpdate descriptions, Map<String, AliasUpdate> aliases, StatementUpdate statements) Initializes new property update.SenseUpdateImpl
(SenseIdValue entityId, long revisionId, TermUpdate glosses, StatementUpdate statements) Initializes new sense update.protected
StatementDocumentUpdateImpl
(EntityIdValue entityId, long revisionId, StatementUpdate statements) Initializes new entity update.protected
TermedDocumentUpdateImpl
(EntityIdValue entityId, long revisionId, TermUpdate labels, TermUpdate descriptions, Map<String, AliasUpdate> aliases, StatementUpdate statements) Initializes new entity update. -
Uses of StatementUpdate in org.wikidata.wdtk.datamodel.interfaces
Modifier and TypeFieldDescriptionstatic final StatementUpdate
StatementUpdate.EMPTY
Empty update that does not alter or add any statements.Modifier and TypeMethodDescriptionStatementDocumentUpdate.getStatements()
Returns statement changes included in this update.DataObjectFactory.getStatementUpdate
(Collection<Statement> added, Collection<Statement> replaced, Collection<String> removed) Creates newStatementUpdate
.Modifier and TypeMethodDescriptionDataObjectFactory.getFormUpdate
(FormIdValue entityId, long revisionId, TermUpdate representations, Collection<ItemIdValue> grammaticalFeatures, StatementUpdate statements) Creates newFormUpdate
.DataObjectFactory.getItemUpdate
(ItemIdValue entityId, long revisionId, TermUpdate labels, TermUpdate descriptions, Map<String, AliasUpdate> aliases, StatementUpdate statements, Collection<SiteLink> modifiedSiteLinks, Collection<String> removedSiteLinks) Creates newItemUpdate
.DataObjectFactory.getLexemeUpdate
(LexemeIdValue entityId, long revisionId, ItemIdValue language, ItemIdValue lexicalCategory, TermUpdate lemmas, StatementUpdate statements, Collection<SenseDocument> addedSenses, Collection<SenseUpdate> updatedSenses, Collection<SenseIdValue> removedSenses, Collection<FormDocument> addedForms, Collection<FormUpdate> updatedForms, Collection<FormIdValue> removedForms) Creates newLexemeUpdate
.DataObjectFactory.getMediaInfoUpdate
(MediaInfoIdValue entityId, long revisionId, TermUpdate labels, StatementUpdate statements) Creates newMediaInfoUpdate
.DataObjectFactory.getPropertyUpdate
(PropertyIdValue entityId, long revisionId, TermUpdate labels, TermUpdate descriptions, Map<String, AliasUpdate> aliases, StatementUpdate statements) Creates newPropertyUpdate
.DataObjectFactory.getSenseUpdate
(SenseIdValue entityId, long revisionId, TermUpdate glosses, StatementUpdate statements) Creates newSenseUpdate
.