Class GeoJsonPointImpl
java.lang.Object
com.commercetools.api.models.common.GeoJsonPointImpl
- All Implemented Interfaces:
GeoJson
,GeoJsonPoint
,io.vrap.rmf.base.client.ModelBase
public class GeoJsonPointImpl
extends Object
implements GeoJsonPoint, io.vrap.rmf.base.client.ModelBase
GeoJsonPoint
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Field Summary
Fields inherited from interface com.commercetools.api.models.common.GeoJsonPoint
POINT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Longitude (stored on index[0]
) and latitude (stored on index[1]
) of the Point.getType()
int
hashCode()
void
setCoordinates
(Double... coordinates) Longitude (stored on index[0]
) and latitude (stored on index[1]
) of the Point.void
setCoordinates
(List<Double> coordinates) Longitude (stored on index[0]
) and latitude (stored on index[1]
) of the Point.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.common.GeoJson
withGeoJson
Methods inherited from interface com.commercetools.api.models.common.GeoJsonPoint
withGeoJsonPoint
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
GeoJsonPointImpl
public GeoJsonPointImpl()create empty instance
-
-
Method Details
-
getType
-
getCoordinates
Longitude (stored on index
[0]
) and latitude (stored on index[1]
) of the Point.- Specified by:
getCoordinates
in interfaceGeoJsonPoint
- Returns:
- coordinates
-
setCoordinates
Description copied from interface:GeoJsonPoint
Longitude (stored on index
[0]
) and latitude (stored on index[1]
) of the Point.- Specified by:
setCoordinates
in interfaceGeoJsonPoint
- Parameters:
coordinates
- values to be set
-
setCoordinates
Description copied from interface:GeoJsonPoint
Longitude (stored on index
[0]
) and latitude (stored on index[1]
) of the Point.- Specified by:
setCoordinates
in interfaceGeoJsonPoint
- Parameters:
coordinates
- values to be set
-
equals
-
hashCode
public int hashCode()
-