public class GeoSpatialObject extends Object
| Constructor and Description |
|---|
GeoSpatialObject(Constants.GeoSpatialTypes type,
Coordinate... coordinates)
Instantiates a new Geo spatial object.
|
GeoSpatialObject(Constants.GeoSpatialTypes type,
List<Coordinate> coordinates)
Instantiates a new Geo spatial object.
|
| Modifier and Type | Method and Description |
|---|---|
List<Coordinate> |
getCoordinates()
Gets coordinates.
|
String |
getFunctionName()
Gets function name.
|
Constants.GeoSpatialTypes |
getType()
Gets type.
|
Double |
getValue()
Gets value.
|
void |
setCoordinates(List<Coordinate> coordinates)
Sets coordinates.
|
void |
setFunctionName(String functionName)
Sets function name.
|
void |
setType(Constants.GeoSpatialTypes type)
Sets type.
|
void |
setValue(Double value)
Sets value.
|
String |
toString() |
public GeoSpatialObject(Constants.GeoSpatialTypes type, Coordinate... coordinates)
type - the typecoordinates - the coordinatespublic GeoSpatialObject(Constants.GeoSpatialTypes type, List<Coordinate> coordinates)
type - the typecoordinates - the coordinatespublic String getFunctionName()
public void setFunctionName(String functionName)
functionName - the function namepublic Constants.GeoSpatialTypes getType()
public void setType(Constants.GeoSpatialTypes type)
type - the typepublic List<Coordinate> getCoordinates()
public void setCoordinates(List<Coordinate> coordinates)
coordinates - the coordinatespublic Double getValue()
public void setValue(Double value)
value - the valueCopyright © 2020. All rights reserved.