Class ParameterEntity<T>
- java.lang.Object
-
- org.n52.series.db.beans.IdEntity
-
- org.n52.series.db.beans.parameter.ParameterEntity<T>
-
- All Implemented Interfaces:
Serializable,Comparable<ParameterEntity<T>>,HibernateRelations.GetStringValue,HibernateRelations.HasDescription,HibernateRelations.HasId,HibernateRelations.HasName,HibernateRelations.HasValue<T>,ValuedParameter<T>
- Direct Known Subclasses:
DatasetParameterEntity,FeatureParameterEntity,LocationParameterEntity,ObservationParameterEntity,PhenomenonParameterEntity,PlatformParameterEntity,ProcedureParameterEntity
public abstract class ParameterEntity<T> extends IdEntity implements ValuedParameter<T>, Comparable<ParameterEntity<T>>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringPROPERTY_PARENT-
Fields inherited from class org.n52.series.db.beans.IdEntity
PROPERTY_ID
-
Fields inherited from interface org.n52.series.db.beans.HibernateRelations.HasDescription
DESCRIPTION, PROPERTY_DESCRIPTION
-
Fields inherited from interface org.n52.series.db.beans.HibernateRelations.HasName
NAME, PROPERTY_NAME
-
Fields inherited from interface org.n52.series.db.beans.HibernateRelations.HasValue
VALUE
-
-
Constructor Summary
Constructors Constructor Description ParameterEntity()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description intcompareTo(ParameterEntity<T> o)booleanequals(Object obj)StringgetDescription()StringgetDomain()DategetLastUpdate()StringgetName()ParameterEntity<?>getParent()TgetValue()inthashCode()booleanhasParent()booleanisSetDomain()booleanisSetLastUpdate()booleanisSetName()booleanisSetValue()abstract voidsetDescribeableEntity(DescribableEntity entity)voidsetDescription(String description)voidsetDomain(String domain)voidsetLastUpdate(Date lastUpdate)voidsetName(String name)voidsetParent(ParameterEntity<?> parent)voidsetValue(T value)Map<String,Object>toValueMap(String locale)-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.n52.series.db.beans.HibernateRelations.GetStringValue
getValueAsString
-
Methods inherited from interface org.n52.series.db.beans.HibernateRelations.HasDescription
isSetDescription
-
-
-
-
Field Detail
-
PROPERTY_PARENT
public static final String PROPERTY_PARENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceHibernateRelations.HasName
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceHibernateRelations.HasName
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceHibernateRelations.HasDescription
-
setDescription
public void setDescription(String description)
- Specified by:
setDescriptionin interfaceHibernateRelations.HasDescription
-
isSetName
public boolean isSetName()
- Specified by:
isSetNamein interfaceHibernateRelations.HasName
-
getLastUpdate
public Date getLastUpdate()
-
setLastUpdate
public void setLastUpdate(Date lastUpdate)
-
isSetLastUpdate
public boolean isSetLastUpdate()
-
getDomain
public String getDomain()
-
setDomain
public void setDomain(String domain)
-
isSetDomain
public boolean isSetDomain()
-
getParent
public ParameterEntity<?> getParent()
-
setParent
public void setParent(ParameterEntity<?> parent)
-
hasParent
public boolean hasParent()
-
getValue
public T getValue()
- Specified by:
getValuein interfaceHibernateRelations.HasValue<T>
-
setValue
public void setValue(T value)
- Specified by:
setValuein interfaceHibernateRelations.HasValue<T>
-
isSetValue
public boolean isSetValue()
- Specified by:
isSetValuein interfaceHibernateRelations.GetStringValue
-
setDescribeableEntity
public abstract void setDescribeableEntity(DescribableEntity entity)
-
compareTo
public int compareTo(ParameterEntity<T> o)
- Specified by:
compareToin interfaceComparable<T>
-
-