public abstract class SpatialEntity extends DescriptionXmlEntity implements HibernateRelations.HasGeometry, HibernateRelations.HasCoordinate, HibernateRelations.HasIdentifier
Modifier and Type | Field and Description |
---|---|
private Object |
altitude |
private com.vividsolutions.jts.geom.Geometry |
geom |
private String |
identifier |
private Object |
latitude |
private Object |
longitude |
private static long |
serialVersionUID |
private int |
srid |
GEOMETRY
ALTITUDE, LATITUDE, LONGITUDE
SRID
IDENTIFIER
DESCRIPTION_XML
Constructor and Description |
---|
SpatialEntity() |
Modifier and Type | Method and Description |
---|---|
Object |
getAltitude() |
com.vividsolutions.jts.geom.Geometry |
getGeom() |
String |
getIdentifier() |
Object |
getLatitude() |
Object |
getLongitude() |
int |
getSrid() |
boolean |
isSetAltitude() |
boolean |
isSetGeometry() |
boolean |
isSetIdentifier()
Is identifier set
|
boolean |
isSetLongLat() |
boolean |
isSetSrid() |
boolean |
isSpatial() |
SpatialEntity |
setAltitude(Object altitude) |
SpatialEntity |
setGeom(com.vividsolutions.jts.geom.Geometry geom) |
SpatialEntity |
setIdentifier(String identifier) |
SpatialEntity |
setLatitude(Object latitude) |
SpatialEntity |
setLongitude(Object longitude) |
SpatialEntity |
setSrid(int srid) |
String |
toString() |
getDescriptionXml, isSetDescriptionXml, setDescriptionXml
private static final long serialVersionUID
private com.vividsolutions.jts.geom.Geometry geom
private Object longitude
private Object latitude
private Object altitude
private int srid
private String identifier
public String getIdentifier()
getIdentifier
in interface HibernateRelations.HasIdentifier
public SpatialEntity setIdentifier(String identifier)
setIdentifier
in interface HibernateRelations.HasIdentifier
public boolean isSetIdentifier()
HibernateRelations.HasIdentifier
isSetIdentifier
in interface HibernateRelations.HasIdentifier
true
, if identifier is setpublic com.vividsolutions.jts.geom.Geometry getGeom()
getGeom
in interface HibernateRelations.HasGeometry
public SpatialEntity setGeom(com.vividsolutions.jts.geom.Geometry geom)
setGeom
in interface HibernateRelations.HasGeometry
public Object getLongitude()
getLongitude
in interface HibernateRelations.HasCoordinate
public SpatialEntity setLongitude(Object longitude)
setLongitude
in interface HibernateRelations.HasCoordinate
public Object getLatitude()
getLatitude
in interface HibernateRelations.HasCoordinate
public SpatialEntity setLatitude(Object latitude)
setLatitude
in interface HibernateRelations.HasCoordinate
public Object getAltitude()
getAltitude
in interface HibernateRelations.HasCoordinate
public SpatialEntity setAltitude(Object altitude)
setAltitude
in interface HibernateRelations.HasCoordinate
public int getSrid()
getSrid
in interface HibernateRelations.HasSrid
public SpatialEntity setSrid(int srid)
setSrid
in interface HibernateRelations.HasSrid
public boolean isSetGeometry()
public boolean isSetLongLat()
public boolean isSetAltitude()
public boolean isSetSrid()
public boolean isSpatial()
Copyright © 2012-2014 52north.org. All Rights Reserved.