| 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 |
|---|---|
StatementUpdate |
StatementUpdateBuilder.build()
Creates new
StatementUpdate object with contents of this builder
object. |
static StatementUpdate |
Datamodel.makeStatementUpdate(Collection<Statement> added,
Collection<Statement> replaced,
Collection<String> removed)
Creates new
StatementUpdate. |
| Modifier and Type | Method and Description |
|---|---|
StatementUpdateBuilder |
StatementUpdateBuilder.append(StatementUpdate update)
Replays all changes in provided update into this builder object.
|
static boolean |
Equality.equalsStatementUpdate(StatementUpdate o1,
Object o2)
Returns
true if the two StatementUpdate objects contain
exactly the same data. |
static int |
Hash.hashCode(StatementUpdate o)
Calculates hash code for given
StatementUpdate 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. |
LexemeUpdateBuilder |
LexemeUpdateBuilder.updateStatements(StatementUpdate update) |
TermedDocumentUpdateBuilder |
TermedDocumentUpdateBuilder.updateStatements(StatementUpdate update) |
ItemUpdateBuilder |
ItemUpdateBuilder.updateStatements(StatementUpdate update) |
PropertyUpdateBuilder |
PropertyUpdateBuilder.updateStatements(StatementUpdate update) |
LabeledDocumentUpdateBuilder |
LabeledDocumentUpdateBuilder.updateStatements(StatementUpdate update) |
MediaInfoUpdateBuilder |
MediaInfoUpdateBuilder.updateStatements(StatementUpdate update) |
SenseUpdateBuilder |
SenseUpdateBuilder.updateStatements(StatementUpdate update) |
StatementDocumentUpdateBuilder |
StatementDocumentUpdateBuilder.updateStatements(StatementUpdate update)
Updates entity statements.
|
FormUpdateBuilder |
FormUpdateBuilder.updateStatements(StatementUpdate update) |
| Modifier and Type | Class and Description |
|---|---|
class |
StatementUpdateImpl
Jackson implementation of
StatementUpdate. |
| Modifier and Type | Method and Description |
|---|---|
StatementUpdate |
StatementDocumentUpdateImpl.getStatements() |
StatementUpdate |
DataObjectFactoryImpl.getStatementUpdate(Collection<Statement> added,
Collection<Statement> replaced,
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.
|
StatementDocumentUpdateImpl(EntityIdValue entityId,
long revisionId,
StatementUpdate statements)
Initializes new entity 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 StatementUpdate |
StatementUpdate.EMPTY
Empty update that does not alter or add any statements.
|
| Modifier and Type | Method and Description |
|---|---|
StatementUpdate |
StatementDocumentUpdate.getStatements()
Returns statement changes included in this update.
|
StatementUpdate |
DataObjectFactory.getStatementUpdate(Collection<Statement> added,
Collection<Statement> replaced,
Collection<String> removed)
Creates new
StatementUpdate. |
| 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