Package org.n52.series.db.beans
Class DescribableEntity
- java.lang.Object
-
- org.n52.series.db.beans.IdEntity
-
- org.n52.series.db.beans.DescribableEntity
-
- All Implemented Interfaces:
Serializable,Describable,HibernateRelations.HasDescription,HibernateRelations.HasId,HibernateRelations.HasIdentifier,HibernateRelations.HasIdentifierCodespace,HibernateRelations.HasName,HibernateRelations.HasNameCodespace,HibernateRelations.HasParameters,HibernateRelations.HasStaIdentifier,IdentifierNameDescriptionEntity
- Direct Known Subclasses:
CategoryEntity,DataEntity,DatasetEntity,EReportingNetworkEntity,EReportingSamplingPointEntity,EReportingStationEntity,HierarchicalEntity,HistoricalLocationEntity,MeasuringProgramEntity,NilReasonEntity,PlatformEntity,SamplingEntity,ServiceEntity,StaDescribableEntity,UnitEntity
public abstract class DescribableEntity extends IdEntity implements Describable, Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringPROPERTY_CODESPACEstatic StringPROPERTY_CODESPACE_NAMEstatic StringPROPERTY_DESCRIPTIONstatic StringPROPERTY_DOMAIN_IDstatic StringPROPERTY_IDENTIFIERstatic StringPROPERTY_IDENTIFIER_CODESPACEstatic StringPROPERTY_NAMEstatic StringPROPERTY_NAME_CODESPACEstatic StringPROPERTY_SERVICEstatic StringPROPERTY_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 DescribableEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetDescription()StringgetIdentifier()CodespaceEntitygetIdentifierCodespace()StringgetName()CodespaceEntitygetNameCodespace()Set<ParameterEntity<?>>getParameters()ServiceEntitygetService()StringgetStaIdentifier()Set<I18nEntity<? extends Describable>>getTranslations()inthashCode()voidsetDescription(String description)voidsetIdentifier(String identifier, boolean staSupportsUrls)voidsetIdentifierCodespace(CodespaceEntity identifierCodespace)voidsetName(String name)voidsetNameCodespace(CodespaceEntity nameCodespace)voidsetParameters(Set<ParameterEntity<?>> parameters)DescribableEntitysetService(ServiceEntity service)voidsetStaIdentifier(String staIdentifier)voidsetTranslations(Set<I18nEntity<? extends Describable>> translations)StringtoString()-
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.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_IDENTIFIER
public static final String PROPERTY_IDENTIFIER
- See Also:
- Constant Field Values
-
PROPERTY_STA_IDENTIFIER
public static final String PROPERTY_STA_IDENTIFIER
- See Also:
- Constant Field Values
-
PROPERTY_IDENTIFIER_CODESPACE
public static final String PROPERTY_IDENTIFIER_CODESPACE
- See Also:
- Constant Field Values
-
PROPERTY_NAME
public static final String PROPERTY_NAME
- See Also:
- Constant Field Values
-
PROPERTY_NAME_CODESPACE
public static final String PROPERTY_NAME_CODESPACE
- See Also:
- Constant Field Values
-
PROPERTY_DESCRIPTION
public static final String PROPERTY_DESCRIPTION
- See Also:
- Constant Field Values
-
PROPERTY_SERVICE
public static final String PROPERTY_SERVICE
- See Also:
- Constant Field Values
-
PROPERTY_DOMAIN_ID
public static final String PROPERTY_DOMAIN_ID
- See Also:
- Constant Field Values
-
PROPERTY_CODESPACE
public static final String PROPERTY_CODESPACE
- See Also:
- Constant Field Values
-
PROPERTY_CODESPACE_NAME
public static final String PROPERTY_CODESPACE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getIdentifier
public String getIdentifier()
- Specified by:
getIdentifierin interfaceHibernateRelations.HasIdentifier
-
setIdentifier
public void setIdentifier(String identifier, boolean staSupportsUrls)
- Specified by:
setIdentifierin interfaceHibernateRelations.HasIdentifier
-
getStaIdentifier
public String getStaIdentifier()
- Specified by:
getStaIdentifierin interfaceHibernateRelations.HasStaIdentifier
-
setStaIdentifier
public void setStaIdentifier(String staIdentifier)
- Specified by:
setStaIdentifierin interfaceHibernateRelations.HasStaIdentifier
-
getIdentifierCodespace
public CodespaceEntity getIdentifierCodespace()
- Specified by:
getIdentifierCodespacein interfaceHibernateRelations.HasIdentifierCodespace
-
setIdentifierCodespace
public void setIdentifierCodespace(CodespaceEntity identifierCodespace)
- Specified by:
setIdentifierCodespacein interfaceHibernateRelations.HasIdentifierCodespace
-
getName
public String getName()
- Specified by:
getNamein interfaceHibernateRelations.HasName
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceHibernateRelations.HasName
-
getNameCodespace
public CodespaceEntity getNameCodespace()
- Specified by:
getNameCodespacein interfaceHibernateRelations.HasNameCodespace
-
setNameCodespace
public void setNameCodespace(CodespaceEntity nameCodespace)
- Specified by:
setNameCodespacein interfaceHibernateRelations.HasNameCodespace
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceHibernateRelations.HasDescription
-
setDescription
public void setDescription(String description)
- Specified by:
setDescriptionin interfaceHibernateRelations.HasDescription
-
getTranslations
public Set<I18nEntity<? extends Describable>> getTranslations()
- Specified by:
getTranslationsin interfaceDescribable
-
setTranslations
public void setTranslations(Set<I18nEntity<? extends Describable>> translations)
- Specified by:
setTranslationsin interfaceDescribable
-
getParameters
public Set<ParameterEntity<?>> getParameters()
- Specified by:
getParametersin interfaceHibernateRelations.HasParameters
-
setParameters
public void setParameters(Set<ParameterEntity<?>> parameters)
- Specified by:
setParametersin interfaceHibernateRelations.HasParameters
-
getService
public ServiceEntity getService()
- Specified by:
getServicein interfaceDescribable
-
setService
public DescribableEntity setService(ServiceEntity service)
- Specified by:
setServicein interfaceDescribable
-
-