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.LocationEntity
-
- All Implemented Interfaces:
Serializable,Describable,HibernateRelations.HasDescription,HibernateRelations.HasDescriptionTranslation,HibernateRelations.HasGeometry,HibernateRelations.HasId,HibernateRelations.HasIdentifier,HibernateRelations.HasIdentifierCodespace,HibernateRelations.HasName,HibernateRelations.HasNameCodespace,HibernateRelations.HasNameTranslation,HibernateRelations.HasParameters,HibernateRelations.HasStaIdentifier,HibernateRelations.HasTranslations,HibernateRelations.IsProcessed,IdentifierNameDescriptionEntity
public class LocationEntity extends DescribableEntity implements Serializable, HibernateRelations.HasGeometry, HibernateRelations.HasName, HibernateRelations.HasDescription, HibernateRelations.IsProcessed
- 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_DOMAIN_ID, PROPERTY_IDENTIFIER, PROPERTY_IDENTIFIER_CODESPACE, PROPERTY_SERVICE, PROPERTY_SERVICE_ID, PROPERTY_STA_IDENTIFIER
-
Fields inherited from class org.n52.series.db.beans.IdEntity
PROPERTY_ID
-
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, PROPERTY_CODESPACE_NAME, PROPERTY_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
-
Fields inherited from interface org.n52.series.db.beans.HibernateRelations.HasTranslations
LOCALE_REGEX, PROPERTY_TRANSLATIONS, TRANSLATIONS
-
-
Constructor Summary
Constructors Constructor Description LocationEntity()
-
Method Summary
-
Methods inherited from class org.n52.series.db.beans.DescribableEntity
addParameter, addParameters, 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, isDomainAvailable, isi18nNameAvailable, isNameAvailable, noTranslationAvailable
-
Methods inherited from interface org.n52.series.db.beans.HibernateRelations.HasDescription
getDescription, isSetDescription, setDescription
-
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
getName, isSetName, setName
-
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
-
Methods inherited from interface org.n52.series.db.beans.HibernateRelations.HasTranslations
hasTranslations
-
-
-
-
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
-
setGeometry
public void setGeometry(org.locationtech.jts.geom.Geometry geometry)
- Specified by:
setGeometryin interfaceHibernateRelations.HasGeometry
-
setGeometryEntity
public void setGeometryEntity(GeometryEntity geometryEntity)
- Specified by:
setGeometryEntityin interfaceHibernateRelations.HasGeometry
-
getPlatforms
public Set<PlatformEntity> getPlatforms()
-
setPlatforms
public LocationEntity setPlatforms(Set<PlatformEntity> platformEntities)
-
hasPlatforms
public boolean hasPlatforms()
-
getThings
@Deprecated public Set<PlatformEntity> getThings()
Deprecated.
-
setThings
@Deprecated public LocationEntity setThings(Set<PlatformEntity> platformEntities)
Deprecated.
-
hasThings
@Deprecated public boolean hasThings()
Deprecated.
-
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 classDescribableEntity
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classDescribableEntity
-
isProcessed
public boolean isProcessed()
- Specified by:
isProcessedin interfaceHibernateRelations.IsProcessed
-
setProcessed
public void setProcessed(boolean processsed)
- Specified by:
setProcessedin interfaceHibernateRelations.IsProcessed
-
-