| 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 |
|---|---|
LexemeIdValue |
DatamodelConverter.copy(LexemeIdValue object)
Copies a
LexemeIdValue. |
static LexemeIdValue |
Datamodel.makeLexemeIdValue(String id,
String siteIri)
Creates an
LexemeIdValue. |
static LexemeIdValue |
Datamodel.makeWikidataLexemeIdValue(String id)
Creates an
LexemeIdValue for Wikidata. |
| Modifier and Type | Method and Description |
|---|---|
LexemeIdValue |
DatamodelConverter.copy(LexemeIdValue object)
Copies a
LexemeIdValue. |
static LexemeUpdateBuilder |
LexemeUpdateBuilder.forBaseRevisionId(LexemeIdValue lexemeId,
long revisionId)
Creates new builder object for constructing update of lexeme entity with
given revision ID.
|
static LexemeUpdateBuilder |
LexemeUpdateBuilder.forEntityId(LexemeIdValue lexemeId)
Creates new builder object for constructing update of lexeme entity with
given ID.
|
static LexemeDocument |
Datamodel.makeLexemeDocument(LexemeIdValue lexemeIdValue,
ItemIdValue lexicalCategory,
ItemIdValue language,
List<MonolingualTextValue> lemmas)
Creates an empty
LexemeDocument. |
static LexemeDocument |
Datamodel.makeLexemeDocument(LexemeIdValue lexemeIdValue,
ItemIdValue lexicalCategory,
ItemIdValue language,
List<MonolingualTextValue> lemmas,
List<StatementGroup> statementGroups,
List<FormDocument> forms,
List<SenseDocument> senses)
Creates a
LexemeDocument. |
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 String |
ToString.toString(LexemeIdValue o)
Returns a human-readable string representation of the given object.
|
| Modifier and Type | Class and Description |
|---|---|
class |
LexemeIdValueImpl
Jackson implementation of
LexemeIdValue. |
| Modifier and Type | Method and Description |
|---|---|
LexemeIdValue |
LexemeUpdateImpl.getEntityId() |
LexemeIdValue |
LexemeDocumentImpl.getEntityId() |
LexemeIdValue |
FormIdValueImpl.getLexemeId() |
LexemeIdValue |
SenseIdValueImpl.getLexemeId() |
LexemeIdValue |
DataObjectFactoryImpl.getLexemeIdValue(String id,
String siteIri) |
| Modifier and Type | Method and Description |
|---|---|
LexemeDocument |
DataObjectFactoryImpl.getLexemeDocument(LexemeIdValue lexemeIdValue,
ItemIdValue lexicalCategory,
ItemIdValue language,
List<MonolingualTextValue> lemmas,
List<StatementGroup> statementGroups,
List<FormDocument> forms,
List<SenseDocument> senses,
long revisionId) |
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) |
LexemeDocument |
LexemeDocumentImpl.withEntityId(LexemeIdValue newEntityId) |
| 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 LexemeIdValue |
LexemeIdValue.NULL
Fixed
LexemeIdValue that refers to a non-existing lexeme. |
| Modifier and Type | Method and Description |
|---|---|
LexemeIdValue |
LexemeDocument.getEntityId()
Returns the ID of the entity that the data refers to
|
LexemeIdValue |
LexemeUpdate.getEntityId() |
LexemeIdValue |
SenseIdValue.getLexemeId()
Returns the id of the lexeme of which it is a form.
|
LexemeIdValue |
FormIdValue.getLexemeId()
Returns the id of the lexeme of which it is a form.
|
LexemeIdValue |
DataObjectFactory.getLexemeIdValue(String id,
String siteIri)
Creates a
LexemeIdValue. |
| Modifier and Type | Method and Description |
|---|---|
LexemeDocument |
DataObjectFactory.getLexemeDocument(LexemeIdValue lexemeIdValue,
ItemIdValue lexicalCategory,
ItemIdValue language,
List<MonolingualTextValue> lemmas,
List<StatementGroup> statementGroups,
List<FormDocument> forms,
List<SenseDocument> senses,
long revisionId)
Creates an
LexemeDocument. |
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. |
LexemeDocument |
LexemeDocument.withEntityId(LexemeIdValue newEntityId)
Returns a new version of this document with updated ID.
|
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