Interface SenseIdValue
- All Superinterfaces:
EntityIdValue,IriIdentifiedValue,Value
- All Known Implementing Classes:
SenseIdValueImpl
The id of a Wikibase Lexeme Sense. Objects implementing this interface always return
EntityIdValue.ET_SENSE for getEntityType.- Author:
- Thomas Pellissier Tanon
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SenseIdValueFixedSenseIdValuethat refers to a non-existing sense.Fields inherited from interface org.wikidata.wdtk.datamodel.interfaces.EntityIdValue
ET_FORM, ET_ITEM, ET_LEXEME, ET_MEDIA_INFO, ET_PROPERTY, ET_SENSE, ET_UNSUPPORTED, SITE_LOCAL -
Method Summary
Modifier and TypeMethodDescriptionReturns the id of the lexeme of which it is a form.Methods inherited from interface org.wikidata.wdtk.datamodel.interfaces.EntityIdValue
getEntityType, getId, getSiteIri, isPlaceholderMethods inherited from interface org.wikidata.wdtk.datamodel.interfaces.IriIdentifiedValue
getIri
-
Field Details
-
NULL
FixedSenseIdValuethat refers to a non-existing sense. It can be used as a placeholder object in situations where the entity id is irrelevant.
-
-
Method Details
-
getLexemeId
LexemeIdValue getLexemeId()Returns the id of the lexeme of which it is a form.- Returns:
- A lexeme id
-