Uses of Interface
org.wikidata.wdtk.datamodel.interfaces.LexemeIdValue
Package
Description
Package for mostly static helper code to work with data objects.
Basic implementation for objects representing Wikibase data and related factories.
Interfaces for representing Wikibase data and related factories.
-
Uses of LexemeIdValue in org.wikidata.wdtk.datamodel.helpers
Modifier and TypeMethodDescriptionDatamodelConverter.copy
(LexemeIdValue object) Copies aLexemeIdValue
.static LexemeIdValue
Datamodel.makeLexemeIdValue
(String id, String siteIri) Creates anLexemeIdValue
.static LexemeIdValue
Datamodel.makeWikidataLexemeIdValue
(String id) Creates anLexemeIdValue
for Wikidata.Modifier and TypeMethodDescriptionDatamodelConverter.copy
(LexemeIdValue object) Copies aLexemeIdValue
.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 emptyLexemeDocument
.static LexemeDocument
Datamodel.makeLexemeDocument
(LexemeIdValue lexemeIdValue, ItemIdValue lexicalCategory, ItemIdValue language, List<MonolingualTextValue> lemmas, List<StatementGroup> statementGroups, List<FormDocument> forms, List<SenseDocument> senses) Creates aLexemeDocument
.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 newLexemeUpdate
.static String
ToString.toString
(LexemeIdValue o) Returns a human-readable string representation of the given object. -
Uses of LexemeIdValue in org.wikidata.wdtk.datamodel.implementation
Modifier and TypeMethodDescriptionLexemeDocumentImpl.getEntityId()
LexemeUpdateImpl.getEntityId()
FormIdValueImpl.getLexemeId()
SenseIdValueImpl.getLexemeId()
DataObjectFactoryImpl.getLexemeIdValue
(String id, String siteIri) Modifier and TypeMethodDescriptionDataObjectFactoryImpl.getLexemeDocument
(LexemeIdValue lexemeIdValue, ItemIdValue lexicalCategory, ItemIdValue language, List<MonolingualTextValue> lemmas, List<StatementGroup> statementGroups, List<FormDocument> forms, List<SenseDocument> senses, long revisionId) 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) LexemeDocumentImpl.withEntityId
(LexemeIdValue newEntityId) ModifierConstructorDescriptionLexemeUpdateImpl
(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. -
Uses of LexemeIdValue in org.wikidata.wdtk.datamodel.interfaces
Modifier and TypeFieldDescriptionstatic final LexemeIdValue
LexemeIdValue.NULL
FixedLexemeIdValue
that refers to a non-existing lexeme.Modifier and TypeMethodDescriptionLexemeDocument.getEntityId()
Returns the ID of the entity that the data refers toLexemeUpdate.getEntityId()
FormIdValue.getLexemeId()
Returns the id of the lexeme of which it is a form.SenseIdValue.getLexemeId()
Returns the id of the lexeme of which it is a form.DataObjectFactory.getLexemeIdValue
(String id, String siteIri) Creates aLexemeIdValue
.Modifier and TypeMethodDescriptionDataObjectFactory.getLexemeDocument
(LexemeIdValue lexemeIdValue, ItemIdValue lexicalCategory, ItemIdValue language, List<MonolingualTextValue> lemmas, List<StatementGroup> statementGroups, List<FormDocument> forms, List<SenseDocument> senses, long revisionId) Creates anLexemeDocument
.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 newLexemeUpdate
.LexemeDocument.withEntityId
(LexemeIdValue newEntityId) Returns a new version of this document with updated ID.