public class JacksonValueGlobeCoordinates extends JacksonValue implements GlobeCoordinatesValue
GlobeCoordinatesValue.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_TIMEGLOBE_EARTH, PREC_ARCMINUTE, PREC_ARCSECOND, PREC_CENTI_ARCSECOND, PREC_CENTI_DEGREE, PREC_DECI_ARCSECOND, PREC_DECI_DEGREE, PREC_DEGREE, PREC_HUNDRED_MICRO_DEGREE, PREC_MICRO_DEGREE, PREC_MILLI_ARCSECOND, PREC_MILLI_DEGREE, PREC_TEN_DEGREE, PREC_TEN_MICRO_DEGREE| Constructor and Description |
|---|
JacksonValueGlobeCoordinates()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(ValueVisitor<T> valueVisitor)
Accept a ValueVisitor and return its output.
|
boolean |
equals(Object obj) |
String |
getGlobe()
Get the IRI of the globe that these coordinates refer to.
|
double |
getLatitude()
Get the latitude of this value in degrees.
|
double |
getLongitude()
Get the longitude of this value in degrees.
|
double |
getPrecision()
Get the precision of the value in degrees.
|
JacksonInnerGlobeCoordinates |
getValue()
Returns the inner value helper object.
|
int |
hashCode() |
void |
setValue(JacksonInnerGlobeCoordinates value)
Sets the inner value helper object to the given value.
|
String |
toString() |
getType, setTypepublic JacksonValueGlobeCoordinates()
public JacksonInnerGlobeCoordinates getValue()
public void setValue(JacksonInnerGlobeCoordinates value)
value - new valuepublic double getLatitude()
GlobeCoordinatesValuegetLatitude in interface GlobeCoordinatesValuepublic double getLongitude()
GlobeCoordinatesValuegetLongitude in interface GlobeCoordinatesValuepublic double getPrecision()
GlobeCoordinatesValuegetPrecision in interface GlobeCoordinatesValuepublic String getGlobe()
GlobeCoordinatesValueGlobeCoordinatesValue.GLOBE_EARTH.getGlobe in interface GlobeCoordinatesValuepublic <T> T accept(ValueVisitor<T> valueVisitor)
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