Interface IriIdentifiedValue

All Superinterfaces:
Value
All Known Subinterfaces:
EntityIdValue, FormIdValue, ItemIdValue, LexemeIdValue, MediaInfoIdValue, PropertyIdValue, SenseIdValue, UnsupportedEntityIdValue
All Known Implementing Classes:
EntityIdValueImpl, FormIdValueImpl, ItemIdValueImpl, LexemeIdValueImpl, MediaInfoIdValueImpl, PropertyIdValueImpl, SenseIdValueImpl, UnsupportedEntityIdValueImpl

public interface IriIdentifiedValue extends Value
An IriIdentifiedValue is a Value that is identified by an IRI, which can be used as the canonical identifier for the entity outside of the context of a particular Wikibase installation.

This is not a primitive datatype of the Wikibase datamodel, but a convenience interface to access IRIs uniformly for values that provide them.

This interface is intended as a general interface for all types of Value that provide an IRI for their content. See StringValue for the value that is used when users enter a URL (or IRI) directly in Wikibase.

Author:
Markus Kroetzsch
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the IRI of this entity.

    Methods inherited from interface org.wikidata.wdtk.datamodel.interfaces.Value

    accept
  • Method Details

    • getIri

      String getIri()
      Get the IRI of this entity.
      Returns:
      String with the IRI