| Package | Description |
|---|---|
| org.wikidata.wdtk.datamodel.helpers |
Package for mostly static helper code to work with data objects.
|
| org.wikidata.wdtk.datamodel.implementation |
Basic implementation for objects representing Wikibase data and related factories.
|
| org.wikidata.wdtk.datamodel.interfaces |
Interfaces for representing Wikibase data and related factories.
|
| Modifier and Type | Method and Description |
|---|---|
AliasUpdate |
AliasUpdateBuilder.build()
Creates new
AliasUpdate object with contents of this builder object. |
static AliasUpdate |
Datamodel.makeAliasUpdate(List<MonolingualTextValue> recreated)
Creates new
AliasUpdate that completely replaces all aliases. |
static AliasUpdate |
Datamodel.makeAliasUpdate(List<MonolingualTextValue> added,
Collection<MonolingualTextValue> removed)
Creates new
AliasUpdate that adds and/or removes some of the aliases. |
static AliasUpdate |
Datamodel.makeAliasUpdate(List<MonolingualTextValue> recreated,
List<MonolingualTextValue> added,
Collection<MonolingualTextValue> removed)
Creates new
AliasUpdate. |
| Modifier and Type | Method and Description |
|---|---|
AliasUpdateBuilder |
AliasUpdateBuilder.append(AliasUpdate update)
Replays all changes in provided update into this builder object.
|
static boolean |
Equality.equalsAliasUpdate(AliasUpdate o1,
Object o2)
Returns
true if the two AliasUpdate objects contain exactly
the same data. |
static int |
Hash.hashCode(AliasUpdate o)
Calculates hash code for given
AliasUpdate object. |
TermedDocumentUpdateBuilder |
TermedDocumentUpdateBuilder.updateAliases(String language,
AliasUpdate update)
Updates entity aliases.
|
ItemUpdateBuilder |
ItemUpdateBuilder.updateAliases(String language,
AliasUpdate update) |
PropertyUpdateBuilder |
PropertyUpdateBuilder.updateAliases(String language,
AliasUpdate update) |
| Modifier and Type | Method and Description |
|---|---|
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 new
ItemUpdate. |
static PropertyUpdate |
Datamodel.makePropertyUpdate(PropertyIdValue entityId,
long revisionId,
TermUpdate labels,
TermUpdate descriptions,
Map<String,AliasUpdate> aliases,
StatementUpdate statements)
Creates new
PropertyUpdate. |
| Modifier and Type | Class and Description |
|---|---|
class |
AliasUpdateImpl
Jackson implementation of
AliasUpdate. |
| Modifier and Type | Method and Description |
|---|---|
AliasUpdate |
DataObjectFactoryImpl.getAliasUpdate(List<MonolingualTextValue> recreated,
List<MonolingualTextValue> added,
Collection<MonolingualTextValue> removed) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,AliasUpdate> |
TermedDocumentUpdateImpl.getAliases() |
| Modifier and Type | Method and Description |
|---|---|
ItemUpdate |
DataObjectFactoryImpl.getItemUpdate(ItemIdValue entityId,
long revisionId,
TermUpdate labels,
TermUpdate descriptions,
Map<String,AliasUpdate> aliases,
StatementUpdate statements,
Collection<SiteLink> modifiedSiteLinks,
Collection<String> removedSiteLinks) |
PropertyUpdate |
DataObjectFactoryImpl.getPropertyUpdate(PropertyIdValue entityId,
long revisionId,
TermUpdate labels,
TermUpdate descriptions,
Map<String,AliasUpdate> aliases,
StatementUpdate statements) |
| Constructor and Description |
|---|
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.
|
PropertyUpdateImpl(PropertyIdValue entityId,
long revisionId,
TermUpdate labels,
TermUpdate descriptions,
Map<String,AliasUpdate> aliases,
StatementUpdate statements)
Initializes new property update.
|
TermedDocumentUpdateImpl(EntityIdValue entityId,
long revisionId,
TermUpdate labels,
TermUpdate descriptions,
Map<String,AliasUpdate> aliases,
StatementUpdate statements)
Initializes new entity update.
|
| Modifier and Type | Field and Description |
|---|---|
static AliasUpdate |
AliasUpdate.EMPTY
Empty update that does not alter or remove any aliases.
|
| Modifier and Type | Method and Description |
|---|---|
AliasUpdate |
DataObjectFactory.getAliasUpdate(List<MonolingualTextValue> recreated,
List<MonolingualTextValue> added,
Collection<MonolingualTextValue> removed)
Creates new
AliasUpdate. |
| Modifier and Type | Method and Description |
|---|---|
Map<String,AliasUpdate> |
TermedDocumentUpdate.getAliases()
Returns changes in entity aliases.
|
| Modifier and Type | Method and Description |
|---|---|
ItemUpdate |
DataObjectFactory.getItemUpdate(ItemIdValue entityId,
long revisionId,
TermUpdate labels,
TermUpdate descriptions,
Map<String,AliasUpdate> aliases,
StatementUpdate statements,
Collection<SiteLink> modifiedSiteLinks,
Collection<String> removedSiteLinks)
Creates new
ItemUpdate. |
PropertyUpdate |
DataObjectFactory.getPropertyUpdate(PropertyIdValue entityId,
long revisionId,
TermUpdate labels,
TermUpdate descriptions,
Map<String,AliasUpdate> aliases,
StatementUpdate statements)
Creates new
PropertyUpdate. |
Copyright © 2014–2022 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage