Uses of Interface
org.wikidata.wdtk.datamodel.interfaces.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
Modifier 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
.Modifier 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.Modifier 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
Modifier and TypeMethodDescriptionDataObjectFactoryImpl.getAliasUpdate
(List<MonolingualTextValue> recreated, List<MonolingualTextValue> added, Collection<MonolingualTextValue> removed) Modifier 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) ModifierConstructorDescriptionItemUpdateImpl
(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
Modifier and TypeFieldDescriptionstatic final AliasUpdate
AliasUpdate.EMPTY
Empty update that does not alter or remove any aliases.Modifier and TypeMethodDescriptionDataObjectFactory.getAliasUpdate
(List<MonolingualTextValue> recreated, List<MonolingualTextValue> added, Collection<MonolingualTextValue> removed) Creates newAliasUpdate
.Modifier and TypeMethodDescriptionTermedDocumentUpdate.getAliases()
Returns changes in entity aliases.Modifier 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
.