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.HasAbstractDatasets,HibernateRelations.HasAssessmentType,HibernateRelations.HasDescription,HibernateRelations.HasDescriptionTranslation,HibernateRelations.HasId,HibernateRelations.HasIdentifier,HibernateRelations.HasIdentifierCodespace,HibernateRelations.HasName,HibernateRelations.HasNameCodespace,HibernateRelations.HasNameTranslation,HibernateRelations.HasNetwork,HibernateRelations.HasParameters,HibernateRelations.HasStaIdentifier,HibernateRelations.HasTranslations,HibernateRelations.IsProcessed,HibernateRelations.IsStaEntity,IdentifierNameDescriptionEntity,StaRelations.HasLocations
public class PlatformEntity extends DescribableEntity implements StaRelations.HasLocations, HibernateRelations.IsStaEntity, HibernateRelations.HasAbstractDatasets, HibernateRelations.IsProcessed, HibernateRelations.HasParameters, HibernateRelations.HasNetwork, HibernateRelations.HasAssessmentType
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringPROPERTY_DATASETSstatic StringPROPERTY_HISTORICAL_LOCATIONSstatic StringPROPERTY_LOCATIONSstatic StringPROPERTY_PROPERTIES-
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.HasAssessmentType
PROPERTY_ASSESSMENT_TYPE
-
Fields inherited from interface org.n52.series.db.beans.HibernateRelations.HasDescription
DESCRIPTION, PROPERTY_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, PROPERTY_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.HasNetwork
PROPERTY_NETWORK
-
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 PlatformEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlatformEntityaddHistoricalLocation(HistoricalLocationEntity historicalLocation)booleanequals(Object obj)AssessmentTypeEntitygetAssessmentType()Set<AbstractDatasetEntity>getDatasets()Set<HistoricalLocationEntity>getHistoricalLocations()Set<LocationEntity>getLocations()NetworkEntitygetNetwork()inthashCode()booleanhasHistoricalLocations()booleanisProcessed()booleanisSetAssessmentType()booleanisSetNetwork()PlatformEntitysetAssessmentType(AssessmentTypeEntity type)voidsetDatasets(Set<AbstractDatasetEntity> datasets)PlatformEntitysetHistoricalLocations(Set<HistoricalLocationEntity> historicalLocations)voidsetLocations(Set<LocationEntity> locations)PlatformEntitysetNetwork(NetworkEntity network)voidsetProcessed(boolean processsed)-
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.HasAbstractDatasets
addDatastream, hasDatasets, hasDatastreams
-
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.HasParameters
addParameter, addParameters, getParameters, hasParameters, setParameters
-
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
-
Methods inherited from interface org.n52.series.db.beans.sta.StaRelations.HasLocations
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_DATASETS
public static final String PROPERTY_DATASETS
- See Also:
- Constant Field Values
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCodein classDescribableEntity
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classDescribableEntity
-
getHistoricalLocations
public Set<HistoricalLocationEntity> getHistoricalLocations()
-
setHistoricalLocations
public PlatformEntity setHistoricalLocations(Set<HistoricalLocationEntity> historicalLocations)
-
addHistoricalLocation
public PlatformEntity addHistoricalLocation(HistoricalLocationEntity historicalLocation)
-
hasHistoricalLocations
public boolean hasHistoricalLocations()
-
isProcessed
public boolean isProcessed()
- Specified by:
isProcessedin interfaceHibernateRelations.IsProcessed
-
setProcessed
public void setProcessed(boolean processsed)
- Specified by:
setProcessedin interfaceHibernateRelations.IsProcessed
-
getDatasets
public Set<AbstractDatasetEntity> getDatasets()
- Specified by:
getDatasetsin interfaceHibernateRelations.HasAbstractDatasets
-
getLocations
public Set<LocationEntity> getLocations()
- Specified by:
getLocationsin interfaceStaRelations.HasLocations
-
setLocations
public void setLocations(Set<LocationEntity> locations)
- Specified by:
setLocationsin interfaceStaRelations.HasLocations
-
setDatasets
public void setDatasets(Set<AbstractDatasetEntity> datasets)
- Specified by:
setDatasetsin interfaceHibernateRelations.HasAbstractDatasets
-
getAssessmentType
public AssessmentTypeEntity getAssessmentType()
- Specified by:
getAssessmentTypein interfaceHibernateRelations.HasAssessmentType- Returns:
- the assessmentType
-
setAssessmentType
public PlatformEntity setAssessmentType(AssessmentTypeEntity type)
- Specified by:
setAssessmentTypein interfaceHibernateRelations.HasAssessmentType- Parameters:
type- the assessmentType to set
-
isSetAssessmentType
public boolean isSetAssessmentType()
- Specified by:
isSetAssessmentTypein interfaceHibernateRelations.HasAssessmentType
-
getNetwork
public NetworkEntity getNetwork()
- Specified by:
getNetworkin interfaceHibernateRelations.HasNetwork- Returns:
- the network
-
setNetwork
public PlatformEntity setNetwork(NetworkEntity network)
- Specified by:
setNetworkin interfaceHibernateRelations.HasNetwork- Parameters:
network- the network to set- Returns:
- this
-
isSetNetwork
public boolean isSetNetwork()
- Specified by:
isSetNetworkin interfaceHibernateRelations.HasNetwork- Returns:
true, if network is not null
-
-