Package org.n52.series.db.beans.sta
Class LocationEntity
- java.lang.Object
-
- org.n52.series.db.beans.IdEntity
-
- org.n52.series.db.beans.DescribableEntity
-
- org.n52.series.db.beans.sta.StaDescribableEntity
-
- org.n52.series.db.beans.sta.LocationEntity
-
- All Implemented Interfaces:
Serializable,Describable,HibernateRelations.HasDescription,HibernateRelations.HasGeometry<LocationEntity>,HibernateRelations.HasId,HibernateRelations.HasIdentifier,HibernateRelations.HasIdentifierCodespace,HibernateRelations.HasName,HibernateRelations.HasNameCodespace,HibernateRelations.HasParameters,HibernateRelations.HasStaIdentifier,HibernateRelations.IsStaEntity,IdentifierNameDescriptionEntity,AbstractStaEntity
public class LocationEntity extends StaDescribableEntity implements Serializable, HibernateRelations.HasGeometry<LocationEntity>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringPROPERTY_DESCRIPTIONstatic StringPROPERTY_GEOMETRY_ENTITYstatic StringPROPERTY_LOCATION_ENCODINTstatic StringPROPERTY_NAME-
Fields inherited from class org.n52.series.db.beans.DescribableEntity
PROPERTY_CODESPACE, PROPERTY_CODESPACE_NAME, PROPERTY_DOMAIN_ID, PROPERTY_IDENTIFIER, PROPERTY_IDENTIFIER_CODESPACE, PROPERTY_NAME_CODESPACE, PROPERTY_SERVICE, PROPERTY_STA_IDENTIFIER
-
Fields inherited from class org.n52.series.db.beans.IdEntity
PROPERTY_ID
-
Fields inherited from interface org.n52.series.db.beans.Describable
LOCALE_REGEX
-
Fields inherited from interface org.n52.series.db.beans.HibernateRelations.HasDescription
DESCRIPTION
-
Fields inherited from interface org.n52.series.db.beans.HibernateRelations.HasGeometry
GEOMETRY
-
Fields inherited from interface org.n52.series.db.beans.HibernateRelations.HasIdentifier
IDENTIFIER
-
Fields inherited from interface org.n52.series.db.beans.HibernateRelations.HasIdentifierCodespace
IDENTIFIER_CODESPACE
-
Fields inherited from interface org.n52.series.db.beans.HibernateRelations.HasName
NAME
-
Fields inherited from interface org.n52.series.db.beans.HibernateRelations.HasNameCodespace
NAME_CODESPACE
-
Fields inherited from interface org.n52.series.db.beans.HibernateRelations.HasParameters
PARAMETERS
-
Fields inherited from interface org.n52.series.db.beans.HibernateRelations.HasStaIdentifier
STA_IDENTIFIER
-
-
Constructor Summary
Constructors Constructor Description LocationEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocationEntityaddHistoricalLocation(HistoricalLocationEntity historicalLocationEntity)booleanequals(Object obj)GeometryEntitygetGeometryEntity()Set<HistoricalLocationEntity>getHistoricalLocations()StringgetLocation()FormatEntitygetLocationEncoding()Set<PlatformEntity>getThings()inthashCode()booleanhasHistoricalLocations()booleanhasLocation()booleanhasThings()LocationEntitysetGeometry(org.locationtech.jts.geom.Geometry geometry)LocationEntitysetGeometryEntity(GeometryEntity geometryEntity)LocationEntitysetHistoricalLocations(Set<HistoricalLocationEntity> historicalLocationEntities)LocationEntitysetLocation(String location)LocationEntitysetLocationEncoding(FormatEntity locationEncoding)LocationEntitysetThings(Set<PlatformEntity> thingEntities)-
Methods inherited from class org.n52.series.db.beans.sta.StaDescribableEntity
isProcessed, setProcessed
-
Methods inherited from class org.n52.series.db.beans.DescribableEntity
getDescription, getIdentifier, getIdentifierCodespace, getName, getNameCodespace, getParameters, getService, getStaIdentifier, getTranslations, setDescription, setIdentifier, setIdentifierCodespace, setName, setNameCodespace, setParameters, setService, setStaIdentifier, setTranslations, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.n52.series.db.beans.Describable
getCountryCode, getDescriptionI18n, getLabelFrom, getMappedParameters, getMatchingLocale, getNameI18n, getTranslation, hasService, hasTranslations, isDomainAvailable, isi18nNameAvailable, isNameAvailable, noTranslationAvailable
-
Methods inherited from interface org.n52.series.db.beans.HibernateRelations.HasDescription
isSetDescription
-
Methods inherited from interface org.n52.series.db.beans.HibernateRelations.HasGeometry
getGeometry, isSetGeometry
-
Methods inherited from interface org.n52.series.db.beans.HibernateRelations.HasId
getId, setId
-
Methods inherited from interface org.n52.series.db.beans.HibernateRelations.HasIdentifier
getDomain, isSetDomain, isSetIdentifier, setDomain, setIdentifier
-
Methods inherited from interface org.n52.series.db.beans.HibernateRelations.HasIdentifierCodespace
isSetIdentifierCodespace
-
Methods inherited from interface org.n52.series.db.beans.HibernateRelations.HasName
isSetName
-
Methods inherited from interface org.n52.series.db.beans.HibernateRelations.HasNameCodespace
isSetNameCodespace
-
Methods inherited from interface org.n52.series.db.beans.HibernateRelations.HasParameters
hasParameters
-
Methods inherited from interface org.n52.series.db.beans.HibernateRelations.HasStaIdentifier
addFragment, addHost, addPath, addPort, addValue, addValue, addValues, generateUUID, isSetStaIdentifier, processIdentifierForSta
-
-
-
-
Field Detail
-
PROPERTY_NAME
public static final String PROPERTY_NAME
- See Also:
- Constant Field Values
-
PROPERTY_DESCRIPTION
public static final String PROPERTY_DESCRIPTION
- See Also:
- Constant Field Values
-
PROPERTY_GEOMETRY_ENTITY
public static final String PROPERTY_GEOMETRY_ENTITY
- See Also:
- Constant Field Values
-
PROPERTY_LOCATION_ENCODINT
public static final String PROPERTY_LOCATION_ENCODINT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getLocationEncoding
public FormatEntity getLocationEncoding()
-
setLocationEncoding
public LocationEntity setLocationEncoding(FormatEntity locationEncoding)
-
getLocation
public String getLocation()
-
setLocation
public LocationEntity setLocation(String location)
-
hasLocation
public boolean hasLocation()
-
getGeometryEntity
public GeometryEntity getGeometryEntity()
- Specified by:
getGeometryEntityin interfaceHibernateRelations.HasGeometry<LocationEntity>
-
setGeometry
public LocationEntity setGeometry(org.locationtech.jts.geom.Geometry geometry)
- Specified by:
setGeometryin interfaceHibernateRelations.HasGeometry<LocationEntity>
-
setGeometryEntity
public LocationEntity setGeometryEntity(GeometryEntity geometryEntity)
- Specified by:
setGeometryEntityin interfaceHibernateRelations.HasGeometry<LocationEntity>
-
getThings
public Set<PlatformEntity> getThings()
-
setThings
public LocationEntity setThings(Set<PlatformEntity> thingEntities)
-
hasThings
public boolean hasThings()
-
getHistoricalLocations
public Set<HistoricalLocationEntity> getHistoricalLocations()
-
setHistoricalLocations
public LocationEntity setHistoricalLocations(Set<HistoricalLocationEntity> historicalLocationEntities)
-
addHistoricalLocation
public LocationEntity addHistoricalLocation(HistoricalLocationEntity historicalLocationEntity)
-
hasHistoricalLocations
public boolean hasHistoricalLocations()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classStaDescribableEntity
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classStaDescribableEntity
-
-