Uses of Interface
org.wikidata.wdtk.datamodel.interfaces.TermUpdate
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 TermUpdate in org.wikidata.wdtk.datamodel.helpers
Modifier and TypeMethodDescriptionTermUpdateBuilder.build()
Creates newTermUpdate
object with contents of this builder object.static TermUpdate
Datamodel.makeTermUpdate
(Collection<MonolingualTextValue> modified, Collection<String> removed) Creates newTermUpdate
.Modifier and TypeMethodDescriptionTermUpdateBuilder.append
(TermUpdate update) Replays all changes in provided update into this builder object.static boolean
Equality.equalsTermUpdate
(TermUpdate o1, Object o2) Returnstrue
if the twoTermUpdate
objects contain exactly the same data.static int
Hash.hashCode
(TermUpdate o) Calculates hash code for givenTermUpdate
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
.ItemUpdateBuilder.updateDescriptions
(TermUpdate update) PropertyUpdateBuilder.updateDescriptions
(TermUpdate update) TermedDocumentUpdateBuilder.updateDescriptions
(TermUpdate update) Updates entity descriptions.SenseUpdateBuilder.updateGlosses
(TermUpdate update) Updates sense glosses.ItemUpdateBuilder.updateLabels
(TermUpdate update) LabeledDocumentUpdateBuilder.updateLabels
(TermUpdate update) Updates entity labels.MediaInfoUpdateBuilder.updateLabels
(TermUpdate update) PropertyUpdateBuilder.updateLabels
(TermUpdate update) TermedDocumentUpdateBuilder.updateLabels
(TermUpdate update) LexemeUpdateBuilder.updateLemmas
(TermUpdate update) Updates lemmas.FormUpdateBuilder.updateRepresentations
(TermUpdate update) Updates form representations. -
Uses of TermUpdate in org.wikidata.wdtk.datamodel.implementation
Modifier and TypeMethodDescriptionTermedDocumentUpdateImpl.getDescriptions()
SenseUpdateImpl.getGlosses()
LabeledDocumentUpdateImpl.getLabels()
LexemeUpdateImpl.getLemmas()
FormUpdateImpl.getRepresentations()
DataObjectFactoryImpl.getTermUpdate
(Collection<MonolingualTextValue> modified, 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
TermedDocumentUpdateImpl
(EntityIdValue entityId, long revisionId, TermUpdate labels, TermUpdate descriptions, Map<String, AliasUpdate> aliases, StatementUpdate statements) Initializes new entity update. -
Uses of TermUpdate in org.wikidata.wdtk.datamodel.interfaces
Modifier and TypeFieldDescriptionstatic final TermUpdate
TermUpdate.EMPTY
Empty update that does not alter or remove any terms.Modifier and TypeMethodDescriptionTermedDocumentUpdate.getDescriptions()
Returns changes in entity descriptions.SenseUpdate.getGlosses()
Returns changes in sense glosses.LabeledDocumentUpdate.getLabels()
Returns changes in entity labels.LexemeUpdate.getLemmas()
Returns changes in lemmas.FormUpdate.getRepresentations()
Returns changes in form representations.DataObjectFactory.getTermUpdate
(Collection<MonolingualTextValue> modified, Collection<String> removed) Creates newTermUpdate
.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
.