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
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
-
Method Details
-
getIri
String getIri()Get the IRI of this entity.- Returns:
- String with the IRI
-