| 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 |
|---|---|
FormIdValue |
DatamodelConverter.copy(FormIdValue object)
Copies a
FormIdValue. |
static FormIdValue |
Datamodel.makeFormIdValue(String id,
String siteIri)
Creates an
FormIdValue. |
static FormIdValue |
Datamodel.makeWikidataFormIdValue(String id)
Creates an
FormIdValue for Wikidata. |
| Modifier and Type | Method and Description |
|---|---|
FormIdValue |
DatamodelConverter.copy(FormIdValue object)
Copies a
FormIdValue. |
static FormUpdateBuilder |
FormUpdateBuilder.forBaseRevisionId(FormIdValue formId,
long revisionId)
Creates new builder object for constructing update of form entity with given
revision ID.
|
static FormUpdateBuilder |
FormUpdateBuilder.forEntityId(FormIdValue formId)
Creates new builder object for constructing update of form entity with given
ID.
|
static FormDocument |
Datamodel.makeFormDocument(FormIdValue formIdValue,
List<MonolingualTextValue> representations,
List<ItemIdValue> grammaticalFeatures,
List<StatementGroup> statementGroups)
Creates a
FormDocument. |
static FormUpdate |
Datamodel.makeFormUpdate(FormIdValue entityId,
long revisionId,
TermUpdate representations,
Collection<ItemIdValue> grammaticalFeatures,
StatementUpdate statements)
Creates new
FormUpdate. |
LexemeUpdateBuilder |
LexemeUpdateBuilder.removeForm(FormIdValue formId)
Removes existing form from the lexeme.
|
static String |
ToString.toString(FormIdValue o)
Returns a human-readable string representation of the given object.
|
| 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 |
FormIdValueImpl
Jackson implementation of
FormIdValue. |
| Modifier and Type | Method and Description |
|---|---|
FormIdValue |
FormDocumentImpl.getEntityId() |
FormIdValue |
FormUpdateImpl.getEntityId() |
FormIdValue |
DataObjectFactoryImpl.getFormIdValue(String id,
String siteIri) |
| Modifier and Type | Method and Description |
|---|---|
Set<FormIdValue> |
LexemeUpdateImpl.getRemovedForms() |
Map<FormIdValue,FormUpdate> |
LexemeUpdateImpl.getUpdatedForms() |
| Modifier and Type | Method and Description |
|---|---|
FormDocument |
LexemeDocumentImpl.getForm(FormIdValue formId) |
FormDocument |
DataObjectFactoryImpl.getFormDocument(FormIdValue formIdValue,
List<MonolingualTextValue> representations,
List<ItemIdValue> grammaticalFeatures,
List<StatementGroup> statementGroups,
long revisionId) |
FormUpdate |
DataObjectFactoryImpl.getFormUpdate(FormIdValue entityId,
long revisionId,
TermUpdate representations,
Collection<ItemIdValue> grammaticalFeatures,
StatementUpdate statements) |
FormDocument |
FormDocumentImpl.withEntityId(FormIdValue newEntityId) |
| 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 |
|---|
FormUpdateImpl(FormIdValue entityId,
long revisionId,
TermUpdate representations,
Collection<ItemIdValue> grammaticalFeatures,
StatementUpdate statements)
Initializes new form update.
|
| 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 | Field and Description |
|---|---|
static FormIdValue |
FormIdValue.NULL
Fixed
FormIdValue that refers to a non-existing form. |
| Modifier and Type | Method and Description |
|---|---|
FormIdValue |
FormUpdate.getEntityId() |
FormIdValue |
FormDocument.getEntityId()
Returns the ID of the entity that the data refers to
|
FormIdValue |
DataObjectFactory.getFormIdValue(String id,
String siteIri)
Creates a
FormIdValue. |
| Modifier and Type | Method and Description |
|---|---|
Set<FormIdValue> |
LexemeUpdate.getRemovedForms()
Returns IDs of forms removed from the lexeme in this update.
|
Map<FormIdValue,FormUpdate> |
LexemeUpdate.getUpdatedForms()
Returns lexeme forms modified in this update.
|
| Modifier and Type | Method and Description |
|---|---|
FormDocument |
LexemeDocument.getForm(FormIdValue formId)
Return the inner form having the given id
|
FormDocument |
DataObjectFactory.getFormDocument(FormIdValue formIdValue,
List<MonolingualTextValue> representations,
List<ItemIdValue> grammaticalFeatures,
List<StatementGroup> statementGroups,
long revisionId)
Creates an
FormDocument. |
FormUpdate |
DataObjectFactory.getFormUpdate(FormIdValue entityId,
long revisionId,
TermUpdate representations,
Collection<ItemIdValue> grammaticalFeatures,
StatementUpdate statements)
Creates new
FormUpdate. |
FormDocument |
FormDocument.withEntityId(FormIdValue newEntityId)
Returns a new version of this document with updated ID.
|
| 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