public abstract class JacksonValueEntityId extends JacksonValue implements EntityIdValue
EntityIdValue for Jackson.| Modifier and Type | Field and Description |
|---|---|
protected JacksonInnerEntityId |
value
Inner helper object to store the actual data.
|
JSON_VALUE_TYPE_ENTITY_ID, JSON_VALUE_TYPE_GLOBE_COORDINATES, JSON_VALUE_TYPE_MONOLINGUAL_TEXT, JSON_VALUE_TYPE_QUANTITY, JSON_VALUE_TYPE_STRING, JSON_VALUE_TYPE_TIMEET_ITEM, ET_PROPERTY| Constructor and Description |
|---|
JacksonValueEntityId()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
Returns the id of this entity.
|
String |
getIri()
Get the IRI of this entity.
|
String |
getSiteIri()
Returns an IRI that identifies the site that this entity comes from,,
e.g., "http://www.wikidata.org/entity/" for Wikidata.
|
JacksonInnerEntityId |
getValue()
Returns the inner value helper object.
|
void |
setSiteIri(String siteIri)
Sets the parent document of this value to the given value.
|
void |
setValue(JacksonInnerEntityId value)
Sets the inner value helper object to the given value.
|
getType, setTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEntityTypeprotected JacksonInnerEntityId value
public JacksonValueEntityId()
public JacksonInnerEntityId getValue()
public void setValue(JacksonInnerEntityId value)
value - new valuepublic String getIri()
IriIdentifiedValuegetIri in interface IriIdentifiedValuepublic String getId()
EntityIdValuegetId in interface EntityIdValuepublic String getSiteIri()
EntityIdValuegetSiteIri in interface EntityIdValuepublic void setSiteIri(String siteIri)
parentDocument - new valueCopyright © 2014–2015 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage