EntityIdValue, IriIdentifiedValue, PropertyIdValue, Valuepublic class JacksonValuePropertyId extends JacksonValueEntityId implements PropertyIdValue
PropertyIdValue.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_TIMEvalueNULL| Constructor | Description |
|---|---|
JacksonValuePropertyId() |
| Modifier and Type | Method | Description |
|---|---|---|
<T> T |
accept(ValueVisitor<T> valueVisitor) |
Accept a ValueVisitor and return its output.
|
boolean |
equals(java.lang.Object obj) |
|
java.lang.String |
getEntityType() |
Returns the type of this entity.
|
int |
hashCode() |
|
void |
setValue(JacksonInnerEntityId value) |
Sets the inner value helper object to the given value.
|
java.lang.String |
toString() |
getId, getSiteIrigetIrigetType, setTypegetId, getIri, getSiteIri, getValue, setSiteIripublic void setValue(JacksonInnerEntityId value)
setValue in class JacksonValueEntityIdvalue - new valuepublic java.lang.String getEntityType()
EntityIdValueEntityIdValue.ET_ITEM or
EntityIdValue.ET_PROPERTY.getEntityType in interface EntityIdValuepublic <T> T accept(ValueVisitor<T> valueVisitor)
Valuepublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2014–2017 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage