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 Object |
latitude |
private Object |
longitude |
private static long |
serialVersionUID |
private int |
srid |
GEOMETRY
ALTITUDE, LATITUDE, LONGITUDE
SRID
IDENTIFIER
DESCRIPTION_XML
CODESPACE
NAME
CODESPACE
DESCRIPTION
Constructor and Description |
---|
SpatialEntity() |
Modifier and Type | Method and Description |
---|---|
Object |
getAltitude() |
com.vividsolutions.jts.geom.Geometry |
getGeom() |
Object |
getLatitude() |
Object |
getLongitude() |
int |
getSrid() |
boolean |
isSetAltitude()
Is altitude set
|
boolean |
isSetGeometry()
Is geometry set
|
boolean |
isSetLongLat()
Are longitude and latitude set
|
boolean |
isSetSrid()
Is srid set
|
boolean |
isSpatial() |
SpatialEntity |
setAltitude(Object altitude) |
SpatialEntity |
setGeom(com.vividsolutions.jts.geom.Geometry geom) |
SpatialEntity |
setLatitude(Object latitude) |
SpatialEntity |
setLongitude(Object longitude) |
SpatialEntity |
setSrid(int srid) |
getDescriptionXml, isSetDescriptionXml, setDescriptionXml
getCodespace, getCodespaceName, getDescription, getIdentifier, getName, isSetCodespace, isSetCodespaceName, isSetDescription, isSetIdentifier, isSetName, setCodespace, setCodespaceName, setDescription, setIdentifier, setName, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getIdentifier, isSetIdentifier, setIdentifier
private static final long serialVersionUID
private com.vividsolutions.jts.geom.Geometry geom
private Object longitude
private Object latitude
private Object altitude
private int srid
public 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()
HibernateRelations.HasGeometry
isSetGeometry
in interface HibernateRelations.HasGeometry
true
, if geometry is setpublic boolean isSetLongLat()
HibernateRelations.HasCoordinate
isSetLongLat
in interface HibernateRelations.HasCoordinate
true
, if longitude and latitude are setpublic boolean isSetAltitude()
HibernateRelations.HasCoordinate
isSetAltitude
in interface HibernateRelations.HasCoordinate
true
, if altitude is setpublic boolean isSetSrid()
HibernateRelations.HasSrid
isSetSrid
in interface HibernateRelations.HasSrid
true
, if srid is setpublic boolean isSpatial()
isSpatial
in interface HibernateRelations.HasCoordinate
Copyright © 2012-2015 52north.org. All Rights Reserved.