Package org.n52.series.db.beans
Class PlatformEntity
- java.lang.Object
-
- org.n52.series.db.beans.IdEntity
-
- org.n52.series.db.beans.DescribableEntity
-
- org.n52.series.db.beans.PlatformEntity
-
- All Implemented Interfaces:
Serializable,Describable,HibernateRelations.HasDatasets,HibernateRelations.HasDescription,HibernateRelations.HasId,HibernateRelations.HasIdentifier,HibernateRelations.HasIdentifierCodespace,HibernateRelations.HasName,HibernateRelations.HasNameCodespace,HibernateRelations.HasParameters,HibernateRelations.HasStaIdentifier,HibernateRelations.IsStaEntity,IdentifierNameDescriptionEntity,AbstractStaEntity,StaRelations.Locations<PlatformEntity>
public class PlatformEntity extends DescribableEntity implements AbstractStaEntity, StaRelations.Locations<PlatformEntity>, HibernateRelations.HasDatasets, HibernateRelations.IsStaEntity
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringPROPERTY_DATASETSstatic StringPROPERTY_DATASTREAMSstatic StringPROPERTY_HISTORICAL_LOCATIONSstatic StringPROPERTY_LOCATIONSstatic StringPROPERTY_PROPERTIES-
Fields inherited from class org.n52.series.db.beans.DescribableEntity
PROPERTY_CODESPACE, PROPERTY_CODESPACE_NAME, PROPERTY_DESCRIPTION, PROPERTY_DOMAIN_ID, PROPERTY_IDENTIFIER, PROPERTY_IDENTIFIER_CODESPACE, PROPERTY_NAME, 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.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 PlatformEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlatformEntityaddHistoricalLocation(HistoricalLocationEntity historicalLocation)booleanequals(Object obj)Set<DatasetEntity>getDatasets()Set<DatastreamEntity>getDatastreams()Set<HistoricalLocationEntity>getHistoricalLocations()Set<LocationEntity>getLocations()Set<ParameterEntity<?>>getParameters()StringgetProperties()booleanhasDatastreams()inthashCode()booleanhasHistoricalLocations()booleanhasParameters()booleanhasProperties()booleanisProcessed()voidsetDatasets(Set<DatasetEntity> datasets)PlatformEntitysetDatastreams(Set<DatastreamEntity> datastreams)PlatformEntitysetHistoricalLocations(Set<HistoricalLocationEntity> historicalLocations)PlatformEntitysetLocations(Set<LocationEntity> locations)voidsetParameters(Set<ParameterEntity<?>> parameters)AbstractStaEntitysetProcessed(boolean processsed)PlatformEntitysetProperties(String properties)-
Methods inherited from class org.n52.series.db.beans.DescribableEntity
getDescription, getIdentifier, getIdentifierCodespace, getName, getNameCodespace, getService, getStaIdentifier, getTranslations, setDescription, setIdentifier, setIdentifierCodespace, setName, setNameCodespace, 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.HasDatasets
hasDatasets
-
Methods inherited from interface org.n52.series.db.beans.HibernateRelations.HasDescription
isSetDescription
-
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.HasStaIdentifier
addFragment, addHost, addPath, addPort, addValue, addValue, addValues, generateUUID, isSetStaIdentifier, processIdentifierForSta
-
Methods inherited from interface org.n52.series.db.beans.sta.StaRelations.Locations
addLocationEntity, hasLocationEntities
-
-
-
-
Field Detail
-
PROPERTY_LOCATIONS
public static final String PROPERTY_LOCATIONS
- See Also:
- Constant Field Values
-
PROPERTY_PROPERTIES
public static final String PROPERTY_PROPERTIES
- See Also:
- Constant Field Values
-
PROPERTY_HISTORICAL_LOCATIONS
public static final String PROPERTY_HISTORICAL_LOCATIONS
- See Also:
- Constant Field Values
-
PROPERTY_DATASTREAMS
public static final String PROPERTY_DATASTREAMS
- See Also:
- Constant Field Values
-
PROPERTY_DATASETS
public static final String PROPERTY_DATASETS
- See Also:
- Constant Field Values
-
-
Method Detail
-
setProperties
public PlatformEntity setProperties(String properties)
-
getProperties
public String getProperties()
-
hasProperties
public boolean hasProperties()
-
getParameters
public Set<ParameterEntity<?>> getParameters()
- Specified by:
getParametersin interfaceHibernateRelations.HasParameters- Overrides:
getParametersin classDescribableEntity
-
setParameters
public void setParameters(Set<ParameterEntity<?>> parameters)
- Specified by:
setParametersin interfaceHibernateRelations.HasParameters- Overrides:
setParametersin classDescribableEntity
-
hasParameters
public boolean hasParameters()
- Specified by:
hasParametersin interfaceHibernateRelations.HasParameters
-
getLocations
public Set<LocationEntity> getLocations()
- Specified by:
getLocationsin interfaceStaRelations.Locations<PlatformEntity>
-
setLocations
public PlatformEntity setLocations(Set<LocationEntity> locations)
- Specified by:
setLocationsin interfaceStaRelations.Locations<PlatformEntity>
-
getHistoricalLocations
public Set<HistoricalLocationEntity> getHistoricalLocations()
-
setHistoricalLocations
public PlatformEntity setHistoricalLocations(Set<HistoricalLocationEntity> historicalLocations)
-
addHistoricalLocation
public PlatformEntity addHistoricalLocation(HistoricalLocationEntity historicalLocation)
-
getDatastreams
public Set<DatastreamEntity> getDatastreams()
-
setDatastreams
public PlatformEntity setDatastreams(Set<DatastreamEntity> datastreams)
-
hasDatastreams
public boolean hasDatastreams()
-
hasHistoricalLocations
public boolean hasHistoricalLocations()
-
getDatasets
public Set<DatasetEntity> getDatasets()
- Specified by:
getDatasetsin interfaceHibernateRelations.HasDatasets
-
setDatasets
public void setDatasets(Set<DatasetEntity> datasets)
- Specified by:
setDatasetsin interfaceHibernateRelations.HasDatasets
-
isProcessed
public boolean isProcessed()
- Specified by:
isProcessedin interfaceAbstractStaEntity
-
setProcessed
public AbstractStaEntity setProcessed(boolean processsed)
- Specified by:
setProcessedin interfaceAbstractStaEntity
-
hashCode
public int hashCode()
- Overrides:
hashCodein classDescribableEntity
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classDescribableEntity
-
-