Uses of Interface
org.wikidata.wdtk.datamodel.interfaces.StatementUpdate
Packages that use 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
Methods in org.wikidata.wdtk.datamodel.helpers that return StatementUpdateModifier and TypeMethodDescriptionStatementUpdateBuilder.build()Creates newStatementUpdateobject with contents of this builder object.static StatementUpdateDatamodel.makeStatementUpdate(Collection<Statement> added, Collection<Statement> replaced, Collection<String> removed) Creates newStatementUpdate.Methods in org.wikidata.wdtk.datamodel.helpers with parameters of type StatementUpdateModifier and TypeMethodDescriptionStatementUpdateBuilder.append(StatementUpdate update) Replays all changes in provided update into this builder object.static booleanEquality.equalsStatementUpdate(StatementUpdate o1, Object o2) Returnstrueif the twoStatementUpdateobjects contain exactly the same data.static intHash.hashCode(StatementUpdate o) Calculates hash code for givenStatementUpdateobject.static FormUpdateDatamodel.makeFormUpdate(FormIdValue entityId, long revisionId, TermUpdate representations, Collection<ItemIdValue> grammaticalFeatures, StatementUpdate statements) Creates newFormUpdate.static ItemUpdateDatamodel.makeItemUpdate(ItemIdValue entityId, long revisionId, TermUpdate labels, TermUpdate descriptions, Map<String, AliasUpdate> aliases, StatementUpdate statements, Collection<SiteLink> modifiedSiteLinks, Collection<String> removedSiteLinks) Creates newItemUpdate.static LexemeUpdateDatamodel.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 MediaInfoUpdateDatamodel.makeMediaInfoUpdate(MediaInfoIdValue entityId, long revisionId, TermUpdate labels, StatementUpdate statements) Creates newMediaInfoUpdate.static PropertyUpdateDatamodel.makePropertyUpdate(PropertyIdValue entityId, long revisionId, TermUpdate labels, TermUpdate descriptions, Map<String, AliasUpdate> aliases, StatementUpdate statements) Creates newPropertyUpdate.static SenseUpdateDatamodel.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
Classes in org.wikidata.wdtk.datamodel.implementation that implement StatementUpdateMethods in org.wikidata.wdtk.datamodel.implementation that return StatementUpdateModifier and TypeMethodDescriptionStatementDocumentUpdateImpl.getStatements()DataObjectFactoryImpl.getStatementUpdate(Collection<Statement> added, Collection<Statement> replaced, Collection<String> removed) Methods in org.wikidata.wdtk.datamodel.implementation with parameters of type StatementUpdateModifier 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) Constructors in org.wikidata.wdtk.datamodel.implementation with parameters of type StatementUpdateModifierConstructorDescriptionFormUpdateImpl(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.protectedLabeledDocumentUpdateImpl(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.protectedStatementDocumentUpdateImpl(EntityIdValue entityId, long revisionId, StatementUpdate statements) Initializes new entity update.protectedTermedDocumentUpdateImpl(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
Fields in org.wikidata.wdtk.datamodel.interfaces declared as StatementUpdateModifier and TypeFieldDescriptionstatic final StatementUpdateStatementUpdate.EMPTYEmpty update that does not alter or add any statements.Methods in org.wikidata.wdtk.datamodel.interfaces that return StatementUpdateModifier and TypeMethodDescriptionStatementDocumentUpdate.getStatements()Returns statement changes included in this update.DataObjectFactory.getStatementUpdate(Collection<Statement> added, Collection<Statement> replaced, Collection<String> removed) Creates newStatementUpdate.Methods in org.wikidata.wdtk.datamodel.interfaces with parameters of type StatementUpdateModifier 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.