| 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 |
|---|---|
SenseUpdate |
SenseUpdateBuilder.build() |
static SenseUpdate |
Datamodel.makeSenseUpdate(SenseIdValue entityId,
long revisionId,
TermUpdate glosses,
StatementUpdate statements)
Creates new
SenseUpdate. |
| Modifier and Type | Method and Description |
|---|---|
SenseUpdateBuilder |
SenseUpdateBuilder.append(SenseUpdate update)
Replays all changes in provided update into this builder object.
|
static boolean |
Equality.equalsSenseUpdate(SenseUpdate o1,
Object o2)
Returns
true if the two SenseUpdate objects contain exactly
the same data. |
static int |
Hash.hashCode(SenseUpdate o)
Calculates hash code for given
SenseUpdate object. |
LexemeUpdateBuilder |
LexemeUpdateBuilder.updateSense(SenseUpdate update)
Updates existing sense in the lexeme.
|
| Modifier and Type | Method and Description |
|---|---|
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. |
| Modifier and Type | Class and Description |
|---|---|
class |
SenseUpdateImpl
Jackson implementation of
SenseUpdate. |
| Modifier and Type | Method and Description |
|---|---|
SenseUpdate |
DataObjectFactoryImpl.getSenseUpdate(SenseIdValue entityId,
long revisionId,
TermUpdate glosses,
StatementUpdate statements) |
| Modifier and Type | Method and Description |
|---|---|
Map<SenseIdValue,SenseUpdate> |
LexemeUpdateImpl.getUpdatedSenses() |
| Modifier and Type | Method and Description |
|---|---|
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) |
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
SenseUpdate |
DataObjectFactory.getSenseUpdate(SenseIdValue entityId,
long revisionId,
TermUpdate glosses,
StatementUpdate statements)
Creates new
SenseUpdate. |
| Modifier and Type | Method and Description |
|---|---|
Map<SenseIdValue,SenseUpdate> |
LexemeUpdate.getUpdatedSenses()
Returns lexeme senses modified in this update.
|
| Modifier and Type | Method and Description |
|---|---|
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. |
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