| 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 |
|---|---|
TermUpdate |
TermUpdateBuilder.build()
Creates new
TermUpdate object with contents of this builder object. |
static TermUpdate |
Datamodel.makeTermUpdate(Collection<MonolingualTextValue> modified,
Collection<String> removed)
Creates new
TermUpdate. |
| Modifier and Type | Method and Description |
|---|---|
TermUpdateBuilder |
TermUpdateBuilder.append(TermUpdate update)
Replays all changes in provided update into this builder object.
|
static boolean |
Equality.equalsTermUpdate(TermUpdate o1,
Object o2)
Returns
true if the two TermUpdate objects contain exactly
the same data. |
static int |
Hash.hashCode(TermUpdate o)
Calculates hash code for given
TermUpdate object. |
static FormUpdate |
Datamodel.makeFormUpdate(FormIdValue entityId,
long revisionId,
TermUpdate representations,
Collection<ItemIdValue> grammaticalFeatures,
StatementUpdate statements)
Creates new
FormUpdate. |
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 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 new
LexemeUpdate. |
static MediaInfoUpdate |
Datamodel.makeMediaInfoUpdate(MediaInfoIdValue entityId,
long revisionId,
TermUpdate labels,
StatementUpdate statements)
Creates new
MediaInfoUpdate. |
static PropertyUpdate |
Datamodel.makePropertyUpdate(PropertyIdValue entityId,
long revisionId,
TermUpdate labels,
TermUpdate descriptions,
Map<String,AliasUpdate> aliases,
StatementUpdate statements)
Creates new
PropertyUpdate. |
static SenseUpdate |
Datamodel.makeSenseUpdate(SenseIdValue entityId,
long revisionId,
TermUpdate glosses,
StatementUpdate statements)
Creates new
SenseUpdate. |
TermedDocumentUpdateBuilder |
TermedDocumentUpdateBuilder.updateDescriptions(TermUpdate update)
Updates entity descriptions.
|
ItemUpdateBuilder |
ItemUpdateBuilder.updateDescriptions(TermUpdate update) |
PropertyUpdateBuilder |
PropertyUpdateBuilder.updateDescriptions(TermUpdate update) |
SenseUpdateBuilder |
SenseUpdateBuilder.updateGlosses(TermUpdate update)
Updates sense glosses.
|
TermedDocumentUpdateBuilder |
TermedDocumentUpdateBuilder.updateLabels(TermUpdate update) |
ItemUpdateBuilder |
ItemUpdateBuilder.updateLabels(TermUpdate update) |
PropertyUpdateBuilder |
PropertyUpdateBuilder.updateLabels(TermUpdate update) |
LabeledDocumentUpdateBuilder |
LabeledDocumentUpdateBuilder.updateLabels(TermUpdate update)
Updates entity labels.
|
MediaInfoUpdateBuilder |
MediaInfoUpdateBuilder.updateLabels(TermUpdate update) |
LexemeUpdateBuilder |
LexemeUpdateBuilder.updateLemmas(TermUpdate update)
Updates lemmas.
|
FormUpdateBuilder |
FormUpdateBuilder.updateRepresentations(TermUpdate update)
Updates form representations.
|
| Modifier and Type | Class and Description |
|---|---|
class |
TermUpdateImpl
Jackson implementation of
TermUpdate. |
| Modifier and Type | Method and Description |
|---|---|
TermUpdate |
TermedDocumentUpdateImpl.getDescriptions() |
TermUpdate |
SenseUpdateImpl.getGlosses() |
TermUpdate |
LabeledDocumentUpdateImpl.getLabels() |
TermUpdate |
LexemeUpdateImpl.getLemmas() |
TermUpdate |
FormUpdateImpl.getRepresentations() |
TermUpdate |
DataObjectFactoryImpl.getTermUpdate(Collection<MonolingualTextValue> modified,
Collection<String> removed) |
| Modifier and Type | Method and Description |
|---|---|
FormUpdate |
DataObjectFactoryImpl.getFormUpdate(FormIdValue entityId,
long revisionId,
TermUpdate representations,
Collection<ItemIdValue> grammaticalFeatures,
StatementUpdate statements) |
ItemUpdate |
DataObjectFactoryImpl.getItemUpdate(ItemIdValue entityId,
long revisionId,
TermUpdate labels,
TermUpdate descriptions,
Map<String,AliasUpdate> aliases,
StatementUpdate statements,
Collection<SiteLink> modifiedSiteLinks,
Collection<String> removedSiteLinks) |
LexemeUpdate |
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) |
MediaInfoUpdate |
DataObjectFactoryImpl.getMediaInfoUpdate(MediaInfoIdValue entityId,
long revisionId,
TermUpdate labels,
StatementUpdate statements) |
PropertyUpdate |
DataObjectFactoryImpl.getPropertyUpdate(PropertyIdValue entityId,
long revisionId,
TermUpdate labels,
TermUpdate descriptions,
Map<String,AliasUpdate> aliases,
StatementUpdate statements) |
SenseUpdate |
DataObjectFactoryImpl.getSenseUpdate(SenseIdValue entityId,
long revisionId,
TermUpdate glosses,
StatementUpdate statements) |
| Constructor and Description |
|---|
FormUpdateImpl(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.
|
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.
|
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 TermUpdate |
TermUpdate.EMPTY
Empty update that does not alter or remove any terms.
|
| Modifier and Type | Method and Description |
|---|---|
TermUpdate |
TermedDocumentUpdate.getDescriptions()
Returns changes in entity descriptions.
|
TermUpdate |
SenseUpdate.getGlosses()
Returns changes in sense glosses.
|
TermUpdate |
LabeledDocumentUpdate.getLabels()
Returns changes in entity labels.
|
TermUpdate |
LexemeUpdate.getLemmas()
Returns changes in lemmas.
|
TermUpdate |
FormUpdate.getRepresentations()
Returns changes in form representations.
|
TermUpdate |
DataObjectFactory.getTermUpdate(Collection<MonolingualTextValue> modified,
Collection<String> removed)
Creates new
TermUpdate. |
| Modifier and Type | Method and Description |
|---|---|
FormUpdate |
DataObjectFactory.getFormUpdate(FormIdValue entityId,
long revisionId,
TermUpdate representations,
Collection<ItemIdValue> grammaticalFeatures,
StatementUpdate statements)
Creates new
FormUpdate. |
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. |
LexemeUpdate |
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 new
LexemeUpdate. |
MediaInfoUpdate |
DataObjectFactory.getMediaInfoUpdate(MediaInfoIdValue entityId,
long revisionId,
TermUpdate labels,
StatementUpdate statements)
Creates new
MediaInfoUpdate. |
PropertyUpdate |
DataObjectFactory.getPropertyUpdate(PropertyIdValue entityId,
long revisionId,
TermUpdate labels,
TermUpdate descriptions,
Map<String,AliasUpdate> aliases,
StatementUpdate statements)
Creates new
PropertyUpdate. |
SenseUpdate |
DataObjectFactory.getSenseUpdate(SenseIdValue entityId,
long revisionId,
TermUpdate glosses,
StatementUpdate statements)
Creates new
SenseUpdate. |
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