| 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 |
|---|---|
FormUpdate |
FormUpdateBuilder.build() |
static FormUpdate |
Datamodel.makeFormUpdate(FormIdValue entityId,
long revisionId,
TermUpdate representations,
Collection<ItemIdValue> grammaticalFeatures,
StatementUpdate statements)
Creates new
FormUpdate. |
| Modifier and Type | Method and Description |
|---|---|
FormUpdateBuilder |
FormUpdateBuilder.append(FormUpdate update)
Replays all changes in provided update into this builder object.
|
static boolean |
Equality.equalsFormUpdate(FormUpdate o1,
Object o2)
Returns
true if the two FormUpdate objects contain exactly
the same data. |
static int |
Hash.hashCode(FormUpdate o)
Calculates hash code for given
FormUpdate object. |
LexemeUpdateBuilder |
LexemeUpdateBuilder.updateForm(FormUpdate update)
Updates existing form 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 |
FormUpdateImpl
Jackson implementation of
FormUpdate. |
| Modifier and Type | Method and Description |
|---|---|
FormUpdate |
DataObjectFactoryImpl.getFormUpdate(FormIdValue entityId,
long revisionId,
TermUpdate representations,
Collection<ItemIdValue> grammaticalFeatures,
StatementUpdate statements) |
| Modifier and Type | Method and Description |
|---|---|
Map<FormIdValue,FormUpdate> |
LexemeUpdateImpl.getUpdatedForms() |
| 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 |
|---|---|
FormUpdate |
DataObjectFactory.getFormUpdate(FormIdValue entityId,
long revisionId,
TermUpdate representations,
Collection<ItemIdValue> grammaticalFeatures,
StatementUpdate statements)
Creates new
FormUpdate. |
| Modifier and Type | Method and Description |
|---|---|
Map<FormIdValue,FormUpdate> |
LexemeUpdate.getUpdatedForms()
Returns lexeme forms 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