Package org.n52.series.db.beans.sta
Class LocationEntity
java.lang.Object
org.n52.series.db.beans.IdEntity
org.n52.series.db.beans.IdentifiableEntity
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,StaRelations.HasHistoricalLocations<LocationEntity>,StaRelations.HasPlatforms<LocationEntity>
@Entity(name="org.n52.series.db.beans.sta.LocationEntity")
public class LocationEntity
extends DescribableEntity
implements Serializable, HibernateRelations.HasGeometry, HibernateRelations.HasName, HibernateRelations.HasDescription, HibernateRelations.IsProcessed, StaRelations.HasPlatforms<LocationEntity>, StaRelations.HasHistoricalLocations<LocationEntity>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringFields 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_IDENTIFIERFields inherited from class org.n52.series.db.beans.IdEntity
PROPERTY_IDFields inherited from interface org.n52.series.db.beans.HibernateRelations.HasDescription
DESCRIPTIONFields inherited from interface org.n52.series.db.beans.HibernateRelations.HasGeometry
GEOMETRYFields inherited from interface org.n52.series.db.beans.HibernateRelations.HasIdentifier
IDENTIFIERFields inherited from interface org.n52.series.db.beans.HibernateRelations.HasIdentifierCodespace
IDENTIFIER_CODESPACEFields inherited from interface org.n52.series.db.beans.HibernateRelations.HasName
NAMEFields inherited from interface org.n52.series.db.beans.HibernateRelations.HasNameCodespace
NAME_CODESPACE, PROPERTY_CODESPACE_NAME, PROPERTY_NAME_CODESPACEFields inherited from interface org.n52.series.db.beans.HibernateRelations.HasParameters
PARAMETERSFields inherited from interface org.n52.series.db.beans.HibernateRelations.HasStaIdentifier
STA_IDENTIFIERFields inherited from interface org.n52.series.db.beans.HibernateRelations.HasTranslations
LOCALE_REGEX, PROPERTY_TRANSLATIONS, TRANSLATIONSFields inherited from interface org.n52.series.db.beans.sta.StaRelations.HasHistoricalLocations
PROPERTY_HISTORICAL_LOCATIONSFields inherited from interface org.n52.series.db.beans.sta.StaRelations.HasPlatforms
PLATFORMS, PROPERTY_PLATFORMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddHistoricalLocation(HistoricalLocationEntity historicalLocationEntity) booleanSet<ParameterEntity<?>>Deprecated.Set<I18nEntity<? extends Describable>>inthashCode()booleanbooleanbooleanbooleanDeprecated.booleanvoidsetGeometry(org.locationtech.jts.geom.Geometry geometry) voidsetGeometryEntity(GeometryEntity geometryEntity) setHistoricalLocations(Set<HistoricalLocationEntity> historicalLocationEntities) setLocation(String location) setLocationEncoding(FormatEntity locationEncoding) setPlatforms(Set<PlatformEntity> platformEntities) voidsetProcessed(boolean processsed) setThings(Set<PlatformEntity> platformEntities) Deprecated.Methods inherited from class org.n52.series.db.beans.DescribableEntity
addParameter, addParameters, getDescription, getIdentifierCodespace, getName, getNameCodespace, getService, setDescription, setIdentifierCodespace, setName, setNameCodespace, setParameters, setService, setTranslations, toStringMethods inherited from class org.n52.series.db.beans.IdentifiableEntity
getIdentifier, getStaIdentifier, setIdentifier, setStaIdentifierMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.n52.series.db.beans.Describable
getCountryCode, getDescriptionI18n, getLabelFrom, getMappedParameters, getMatchingLocale, getNameI18n, getTranslation, hasService, isDomainAvailable, isi18nNameAvailable, isNameAvailable, noTranslationAvailableMethods inherited from interface org.n52.series.db.beans.HibernateRelations.HasDescription
getDescription, isSetDescription, setDescriptionMethods inherited from interface org.n52.series.db.beans.HibernateRelations.HasGeometry
getGeometry, isSetGeometryMethods inherited from interface org.n52.series.db.beans.HibernateRelations.HasId
getId, setIdMethods inherited from interface org.n52.series.db.beans.HibernateRelations.HasIdentifier
getDomain, getIdentifier, isSetDomain, isSetIdentifier, setDomain, setIdentifier, setIdentifierMethods inherited from interface org.n52.series.db.beans.HibernateRelations.HasIdentifierCodespace
isSetIdentifierCodespaceMethods inherited from interface org.n52.series.db.beans.HibernateRelations.HasName
getName, isSetName, setNameMethods inherited from interface org.n52.series.db.beans.HibernateRelations.HasNameCodespace
isSetNameCodespaceMethods inherited from interface org.n52.series.db.beans.HibernateRelations.HasParameters
hasParametersMethods inherited from interface org.n52.series.db.beans.HibernateRelations.HasStaIdentifier
addFragment, addHost, addPath, addPort, addValue, addValue, addValues, generateUUID, getStaIdentifier, isSetStaIdentifier, processIdentifierForSta, setStaIdentifierMethods inherited from interface org.n52.series.db.beans.HibernateRelations.HasTranslations
hasTranslations
-
Field Details
-
PROPERTY_NAME
- See Also:
-
PROPERTY_DESCRIPTION
- See Also:
-
PROPERTY_GEOMETRY_ENTITY
- See Also:
-
PROPERTY_LOCATION_ENCODING
- See Also:
-
-
Constructor Details
-
LocationEntity
public LocationEntity()
-
-
Method Details
-
getParameters
- Specified by:
getParametersin interfaceHibernateRelations.HasParameters- Overrides:
getParametersin classDescribableEntity
-
getTranslations
- Specified by:
getTranslationsin interfaceHibernateRelations.HasTranslations- Overrides:
getTranslationsin classDescribableEntity
-
getLocationEncoding
-
setLocationEncoding
-
getLocation
-
setLocation
-
hasLocation
public boolean hasLocation() -
getGeometryEntity
- Specified by:
getGeometryEntityin interfaceHibernateRelations.HasGeometry
-
setGeometry
public void setGeometry(org.locationtech.jts.geom.Geometry geometry) - Specified by:
setGeometryin interfaceHibernateRelations.HasGeometry
-
setGeometryEntity
- Specified by:
setGeometryEntityin interfaceHibernateRelations.HasGeometry
-
getPlatforms
- Specified by:
getPlatformsin interfaceStaRelations.HasPlatforms<LocationEntity>
-
setPlatforms
- Specified by:
setPlatformsin interfaceStaRelations.HasPlatforms<LocationEntity>
-
hasPlatforms
public boolean hasPlatforms()- Specified by:
hasPlatformsin interfaceStaRelations.HasPlatforms<LocationEntity>
-
getThings
Deprecated. -
setThings
Deprecated. -
hasThings
Deprecated. -
getHistoricalLocations
- Specified by:
getHistoricalLocationsin interfaceStaRelations.HasHistoricalLocations<LocationEntity>
-
setHistoricalLocations
public LocationEntity setHistoricalLocations(Set<HistoricalLocationEntity> historicalLocationEntities) - Specified by:
setHistoricalLocationsin interfaceStaRelations.HasHistoricalLocations<LocationEntity>
-
addHistoricalLocation
- Specified by:
addHistoricalLocationin interfaceStaRelations.HasHistoricalLocations<LocationEntity>
-
hasHistoricalLocations
public boolean hasHistoricalLocations()- Specified by:
hasHistoricalLocationsin interfaceStaRelations.HasHistoricalLocations<LocationEntity>
-
hashCode
public int hashCode()- Overrides:
hashCodein classDescribableEntity
-
equals
- Overrides:
equalsin classDescribableEntity
-
isProcessed
public boolean isProcessed()- Specified by:
isProcessedin interfaceHibernateRelations.IsProcessed
-
setProcessed
public void setProcessed(boolean processsed) - Specified by:
setProcessedin interfaceHibernateRelations.IsProcessed
-