Uses of Interface
org.wikidata.wdtk.datamodel.interfaces.AliasUpdate
Packages that use AliasUpdate
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 AliasUpdate in org.wikidata.wdtk.datamodel.helpers
Methods in org.wikidata.wdtk.datamodel.helpers that return AliasUpdateModifier and TypeMethodDescriptionAliasUpdateBuilder.build()
Creates newAliasUpdate
object with contents of this builder object.static AliasUpdate
Datamodel.makeAliasUpdate
(List<MonolingualTextValue> recreated) Creates newAliasUpdate
that completely replaces all aliases.static AliasUpdate
Datamodel.makeAliasUpdate
(List<MonolingualTextValue> added, Collection<MonolingualTextValue> removed) Creates newAliasUpdate
that adds and/or removes some of the aliases.static AliasUpdate
Datamodel.makeAliasUpdate
(List<MonolingualTextValue> recreated, List<MonolingualTextValue> added, Collection<MonolingualTextValue> removed) Creates newAliasUpdate
.Methods in org.wikidata.wdtk.datamodel.helpers with parameters of type AliasUpdateModifier and TypeMethodDescriptionAliasUpdateBuilder.append
(AliasUpdate update) Replays all changes in provided update into this builder object.static boolean
Equality.equalsAliasUpdate
(AliasUpdate o1, Object o2) Returnstrue
if the twoAliasUpdate
objects contain exactly the same data.static int
Hash.hashCode
(AliasUpdate o) Calculates hash code for givenAliasUpdate
object.ItemUpdateBuilder.updateAliases
(String language, AliasUpdate update) PropertyUpdateBuilder.updateAliases
(String language, AliasUpdate update) TermedDocumentUpdateBuilder.updateAliases
(String language, AliasUpdate update) Updates entity aliases.Method parameters in org.wikidata.wdtk.datamodel.helpers with type arguments of type AliasUpdateModifier and TypeMethodDescriptionstatic 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 PropertyUpdate
Datamodel.makePropertyUpdate
(PropertyIdValue entityId, long revisionId, TermUpdate labels, TermUpdate descriptions, Map<String, AliasUpdate> aliases, StatementUpdate statements) Creates newPropertyUpdate
. -
Uses of AliasUpdate in org.wikidata.wdtk.datamodel.implementation
Classes in org.wikidata.wdtk.datamodel.implementation that implement AliasUpdateMethods in org.wikidata.wdtk.datamodel.implementation that return AliasUpdateModifier and TypeMethodDescriptionDataObjectFactoryImpl.getAliasUpdate
(List<MonolingualTextValue> recreated, List<MonolingualTextValue> added, Collection<MonolingualTextValue> removed) Methods in org.wikidata.wdtk.datamodel.implementation that return types with arguments of type AliasUpdateMethod parameters in org.wikidata.wdtk.datamodel.implementation with type arguments of type AliasUpdateModifier and TypeMethodDescriptionDataObjectFactoryImpl.getItemUpdate
(ItemIdValue entityId, long revisionId, TermUpdate labels, TermUpdate descriptions, Map<String, AliasUpdate> aliases, StatementUpdate statements, Collection<SiteLink> modifiedSiteLinks, Collection<String> removedSiteLinks) DataObjectFactoryImpl.getPropertyUpdate
(PropertyIdValue entityId, long revisionId, TermUpdate labels, TermUpdate descriptions, Map<String, AliasUpdate> aliases, StatementUpdate statements) Constructor parameters in org.wikidata.wdtk.datamodel.implementation with type arguments of type AliasUpdateModifierConstructorDescriptionItemUpdateImpl
(ItemIdValue entityId, long revisionId, TermUpdate labels, TermUpdate descriptions, Map<String, AliasUpdate> aliases, StatementUpdate statements, Collection<SiteLink> modifiedSiteLinks, Collection<String> removedSiteLinks) Initializes new item update.PropertyUpdateImpl
(PropertyIdValue entityId, long revisionId, TermUpdate labels, TermUpdate descriptions, Map<String, AliasUpdate> aliases, StatementUpdate statements) Initializes new property update.protected
TermedDocumentUpdateImpl
(EntityIdValue entityId, long revisionId, TermUpdate labels, TermUpdate descriptions, Map<String, AliasUpdate> aliases, StatementUpdate statements) Initializes new entity update. -
Uses of AliasUpdate in org.wikidata.wdtk.datamodel.interfaces
Fields in org.wikidata.wdtk.datamodel.interfaces declared as AliasUpdateModifier and TypeFieldDescriptionstatic final AliasUpdate
AliasUpdate.EMPTY
Empty update that does not alter or remove any aliases.Methods in org.wikidata.wdtk.datamodel.interfaces that return AliasUpdateModifier and TypeMethodDescriptionDataObjectFactory.getAliasUpdate
(List<MonolingualTextValue> recreated, List<MonolingualTextValue> added, Collection<MonolingualTextValue> removed) Creates newAliasUpdate
.Methods in org.wikidata.wdtk.datamodel.interfaces that return types with arguments of type AliasUpdateModifier and TypeMethodDescriptionTermedDocumentUpdate.getAliases()
Returns changes in entity aliases.Method parameters in org.wikidata.wdtk.datamodel.interfaces with type arguments of type AliasUpdateModifier and TypeMethodDescriptionDataObjectFactory.getItemUpdate
(ItemIdValue entityId, long revisionId, TermUpdate labels, TermUpdate descriptions, Map<String, AliasUpdate> aliases, StatementUpdate statements, Collection<SiteLink> modifiedSiteLinks, Collection<String> removedSiteLinks) Creates newItemUpdate
.DataObjectFactory.getPropertyUpdate
(PropertyIdValue entityId, long revisionId, TermUpdate labels, TermUpdate descriptions, Map<String, AliasUpdate> aliases, StatementUpdate statements) Creates newPropertyUpdate
.