Uses of Interface
org.wikidata.wdtk.datamodel.interfaces.SenseIdValue
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 SenseIdValue in org.wikidata.wdtk.datamodel.helpers
Modifier and TypeMethodDescriptionDatamodelConverter.copy
(SenseIdValue object) Copies aSenseIdValue
.static SenseIdValue
Datamodel.makeSenseIdValue
(String id, String siteIri) Creates anSenseIdValue
.static SenseIdValue
Datamodel.makeWikidataSenseIdValue
(String id) Creates anSenseIdValue
for Wikidata.Modifier and TypeMethodDescriptionDatamodelConverter.copy
(SenseIdValue object) Copies aSenseIdValue
.static SenseUpdateBuilder
SenseUpdateBuilder.forBaseRevisionId
(SenseIdValue senseId, long revisionId) Creates new builder object for constructing update of sense entity with given revision ID.static SenseUpdateBuilder
SenseUpdateBuilder.forEntityId
(SenseIdValue senseId) Creates new builder object for constructing update of sense entity with given ID.static SenseDocument
Datamodel.makeSenseDocument
(SenseIdValue senseIdValue, List<MonolingualTextValue> glosses, List<StatementGroup> statementGroups) Creates aSenseDocument
.static SenseUpdate
Datamodel.makeSenseUpdate
(SenseIdValue entityId, long revisionId, TermUpdate glosses, StatementUpdate statements) Creates newSenseUpdate
.LexemeUpdateBuilder.removeSense
(SenseIdValue senseId) Removes existing sense from the lexeme.static String
ToString.toString
(SenseIdValue o) Returns a human-readable string representation of the given object. -
Uses of SenseIdValue in org.wikidata.wdtk.datamodel.implementation
Modifier and TypeMethodDescriptionSenseDocumentImpl.getEntityId()
SenseUpdateImpl.getEntityId()
DataObjectFactoryImpl.getSenseIdValue
(String id, String siteIri) Modifier and TypeMethodDescriptionLexemeUpdateImpl.getRemovedSenses()
LexemeUpdateImpl.getUpdatedSenses()
Modifier and TypeMethodDescriptionLexemeDocumentImpl.getSense
(SenseIdValue senseId) DataObjectFactoryImpl.getSenseDocument
(SenseIdValue senseIdValue, List<MonolingualTextValue> glosses, List<StatementGroup> statementGroups, long revisionId) DataObjectFactoryImpl.getSenseUpdate
(SenseIdValue entityId, long revisionId, TermUpdate glosses, StatementUpdate statements) SenseDocumentImpl.withEntityId
(SenseIdValue newEntityId) ModifierConstructorDescriptionSenseUpdateImpl
(SenseIdValue entityId, long revisionId, TermUpdate glosses, StatementUpdate statements) Initializes new sense update. -
Uses of SenseIdValue in org.wikidata.wdtk.datamodel.interfaces
Modifier and TypeFieldDescriptionstatic final SenseIdValue
SenseIdValue.NULL
FixedSenseIdValue
that refers to a non-existing sense.Modifier and TypeMethodDescriptionSenseDocument.getEntityId()
Returns the ID of the entity that the data refers toSenseUpdate.getEntityId()
DataObjectFactory.getSenseIdValue
(String id, String siteIri) Creates aSenseIdValue
.Modifier and TypeMethodDescriptionLexemeUpdate.getRemovedSenses()
Returns IDs of senses removed from the lexeme in this update.LexemeUpdate.getUpdatedSenses()
Returns lexeme senses modified in this update.Modifier and TypeMethodDescriptionLexemeDocument.getSense
(SenseIdValue formId) Return the inner sense having the given idDataObjectFactory.getSenseDocument
(SenseIdValue senseIdValue, List<MonolingualTextValue> glosses, List<StatementGroup> statementGroups, long revisionId) Creates aSenseDocument
.DataObjectFactory.getSenseUpdate
(SenseIdValue entityId, long revisionId, TermUpdate glosses, StatementUpdate statements) Creates newSenseUpdate
.SenseDocument.withEntityId
(SenseIdValue newEntityId) Returns a new version of this document with updated ID.