Class SweAbstractUomType<T>
java.lang.Object
org.n52.shetland.ogc.swe.SweAbstractDataComponent
org.n52.shetland.ogc.swe.simpleType.SweAbstractSimpleType<T>
org.n52.shetland.ogc.swe.simpleType.SweAbstractUomType<T>
- All Implemented Interfaces:
Copyable<SweAbstractDataComponent>,HasDefaultEncoding<SweAbstractDataComponent>,Value<T,SweAbstractSimpleType<T>>
- Direct Known Subclasses:
SweCategory,SweCategoryRange,SweQuantity,SweQuantityRange,SweTime,SweTimeRange
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCopies all values from thisSweAbstractDataComponentto the passedgetUom()Get unit of measurementGet unit of measurement objectbooleanisSetUom()Set unit of measurementSet unit of measurementtoString()Methods inherited from class org.n52.shetland.ogc.swe.simpleType.SweAbstractSimpleType
copyQuality, equals, getQuality, hashCode, isSetQuality, setQuality, setStringValueMethods inherited from class org.n52.shetland.ogc.swe.SweAbstractDataComponent
accept, accept, addName, addName, addName, getDataComponentType, getDefaultElementEncoding, getDefinition, getDescription, getIdentifier, getLabel, getName, getNames, getXml, isSetDefinition, isSetDescription, isSetIdentifier, isSetLabel, isSetName, isSetNames, isSetXml, setDefaultElementEncoding, setDefinition, setDescription, setIdentifier, setLabel, setName, setName, setName, setXmlMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.n52.shetland.ogc.HasDefaultEncoding
isSetDefaultElementEncodingMethods inherited from interface org.n52.shetland.ogc.ows.extension.Value
getStringValue, getValue, isSetValue, setValue
-
Constructor Details
-
SweAbstractUomType
public SweAbstractUomType()
-
-
Method Details
-
getUom
Get unit of measurement- Returns:
- the uom
-
getUomObject
Get unit of measurement object- Returns:
- the uom
-
setUom
Set unit of measurement- Parameters:
uom- the uom to set- Returns:
- This SweAbstractUomType
-
setUom
Set unit of measurement- Parameters:
uom- the uom to set- Returns:
- This SweAbstractUomType
-
isSetUom
public boolean isSetUom()- Returns:
- true, if the uom is set and not an empty string,
false, else.
-
toString
- Overrides:
toStringin classSweAbstractSimpleType<T>
-
copyValueTo
Description copied from class:SweAbstractDataComponentCopies all values from thisSweAbstractDataComponentto the passed- Overrides:
copyValueToin classSweAbstractDataComponent- Parameters:
copy-SweAbstractDataComponentto copy values to- Returns:
- Copy of this
-