Package org.n52.series.db.beans
Class UnitEntity
- java.lang.Object
-
- org.n52.series.db.beans.IdEntity
-
- org.n52.series.db.beans.DescribableEntity
-
- org.n52.series.db.beans.UnitEntity
-
- All Implemented Interfaces:
Serializable,Describable,HibernateRelations.HasDescription,HibernateRelations.HasDescriptionTranslation,HibernateRelations.HasId,HibernateRelations.HasIdentifier,HibernateRelations.HasIdentifierCodespace,HibernateRelations.HasName,HibernateRelations.HasNameCodespace,HibernateRelations.HasNameTranslation,HibernateRelations.HasParameters,HibernateRelations.HasStaIdentifier,HibernateRelations.HasTranslations,IdentifierNameDescriptionEntity
public class UnitEntity extends DescribableEntity
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringPROPERTY_SYMBOLstatic StringPROPERTY_UNIT-
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.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.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 UnitEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetLink()StringgetSymbol()StringgetUnit()inthashCode()booleanisSetLink()voidsetLink(String link)voidsetSymbol(String symbol)voidsetSymbol(String symbol, boolean staSupportsUrls)voidsetUnit(String unit)voidsetUnit(String unit, boolean staSupportsUrls)-
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.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
-
Methods inherited from interface org.n52.series.db.beans.HibernateRelations.HasTranslations
hasTranslations
-
-
-
-
Field Detail
-
PROPERTY_UNIT
public static final String PROPERTY_UNIT
- See Also:
- Constant Field Values
-
PROPERTY_SYMBOL
public static final String PROPERTY_SYMBOL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getLink
public String getLink()
- Returns:
- the link
-
setLink
public void setLink(String link)
- Parameters:
link- the link to set
-
isSetLink
public boolean isSetLink()
-
getUnit
public String getUnit()
-
setUnit
public void setUnit(String unit)
-
setUnit
public void setUnit(String unit, boolean staSupportsUrls)
-
getSymbol
public String getSymbol()
-
setSymbol
public void setSymbol(String symbol)
-
setSymbol
public void setSymbol(String symbol, boolean staSupportsUrls)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classDescribableEntity
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classDescribableEntity
-
-