EntityIdValue, IriIdentifiedValue, ValueJacksonValueItemId, JacksonValuePropertyIdpublic abstract class JacksonValueEntityId extends JacksonValue implements EntityIdValue
EntityIdValue for Jackson.| Modifier and Type | Field | Description |
|---|---|---|
protected JacksonInnerEntityId |
value |
Inner helper object to store the actual data.
|
ET_ITEM, ET_PROPERTY, SITE_LOCALJSON_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_TIME| Constructor | Description |
|---|---|
JacksonValueEntityId() |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getId() |
Returns the id of this entity.
|
java.lang.String |
getIri() |
Get the IRI of this entity.
|
java.lang.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(java.lang.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.
|
getEntityTypegetType, setTypeprotected JacksonInnerEntityId value
public JacksonValueEntityId()
public JacksonInnerEntityId getValue()
public void setValue(JacksonInnerEntityId value)
value - new valuepublic java.lang.String getIri()
IriIdentifiedValuegetIri in interface IriIdentifiedValuepublic java.lang.String getId()
EntityIdValuegetId in interface EntityIdValuepublic java.lang.String getSiteIri()
EntityIdValuegetSiteIri in interface EntityIdValuepublic void setSiteIri(java.lang.String siteIri)
siteIri - new valueCopyright © 2014–2017 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage