Uses of Interface
org.wikidata.wdtk.datamodel.interfaces.SenseIdValue
Packages that use 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
Methods in org.wikidata.wdtk.datamodel.helpers that return SenseIdValueModifier 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.Methods in org.wikidata.wdtk.datamodel.helpers with parameters of type SenseIdValueModifier 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
Classes in org.wikidata.wdtk.datamodel.implementation that implement SenseIdValueMethods in org.wikidata.wdtk.datamodel.implementation that return SenseIdValueModifier and TypeMethodDescriptionSenseDocumentImpl.getEntityId()
SenseUpdateImpl.getEntityId()
DataObjectFactoryImpl.getSenseIdValue
(String id, String siteIri) Methods in org.wikidata.wdtk.datamodel.implementation that return types with arguments of type SenseIdValueModifier and TypeMethodDescriptionLexemeUpdateImpl.getRemovedSenses()
LexemeUpdateImpl.getUpdatedSenses()
Methods in org.wikidata.wdtk.datamodel.implementation with parameters of type SenseIdValueModifier 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) Constructors in org.wikidata.wdtk.datamodel.implementation with parameters of type SenseIdValueModifierConstructorDescriptionSenseUpdateImpl
(SenseIdValue entityId, long revisionId, TermUpdate glosses, StatementUpdate statements) Initializes new sense update. -
Uses of SenseIdValue in org.wikidata.wdtk.datamodel.interfaces
Fields in org.wikidata.wdtk.datamodel.interfaces declared as SenseIdValueModifier and TypeFieldDescriptionstatic final SenseIdValue
SenseIdValue.NULL
FixedSenseIdValue
that refers to a non-existing sense.Methods in org.wikidata.wdtk.datamodel.interfaces that return SenseIdValueModifier and TypeMethodDescriptionSenseDocument.getEntityId()
Returns the ID of the entity that the data refers toSenseUpdate.getEntityId()
DataObjectFactory.getSenseIdValue
(String id, String siteIri) Creates aSenseIdValue
.Methods in org.wikidata.wdtk.datamodel.interfaces that return types with arguments of type SenseIdValueModifier and TypeMethodDescriptionLexemeUpdate.getRemovedSenses()
Returns IDs of senses removed from the lexeme in this update.LexemeUpdate.getUpdatedSenses()
Returns lexeme senses modified in this update.Methods in org.wikidata.wdtk.datamodel.interfaces with parameters of type SenseIdValueModifier 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.