Interface SenseIdValue

All Superinterfaces:
EntityIdValue, IriIdentifiedValue, Value
All Known Implementing Classes:
SenseIdValueImpl

public interface SenseIdValue extends EntityIdValue
The id of a Wikibase Lexeme Sense. Objects implementing this interface always return EntityIdValue.ET_SENSE for getEntityType.
Author:
Thomas Pellissier Tanon
  • Field Details

    • NULL

      static final SenseIdValue NULL
      Fixed SenseIdValue that 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