public class UnsupportedValueImpl extends ValueImpl implements UnsupportedValue
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_TIME
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(ValueVisitor<T> valueVisitor)
Accept a ValueVisitor and return its output.
|
boolean |
equals(Object other)
We do not use the Equality helper as in other datamodel
classes because this would require exposing the contents
of the value publicly, which goes against the desired
opacity of the representation.
|
protected Map<String,com.fasterxml.jackson.databind.JsonNode> |
getContents() |
String |
getTypeJsonString()
Returns the type string found in the JSON representation
of this value.
|
int |
hashCode()
We do not use the Hash helper as in other datamodel
classes because this would require exposing the contents
of the value publicly, which goes against the desired
opacity of the representation.
|
protected void |
loadContents(String key,
com.fasterxml.jackson.databind.JsonNode value) |
String |
toString() |
public <T> T accept(ValueVisitor<T> valueVisitor)
Value
public String getTypeJsonString()
UnsupportedValue
getTypeJsonString
in interface UnsupportedValue
protected void loadContents(String key, com.fasterxml.jackson.databind.JsonNode value)
public int hashCode()
Copyright © 2014–2024 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage