Class SweAbstractSimpleType<T>
- java.lang.Object
-
- org.n52.shetland.ogc.swe.SweAbstractDataComponent
-
- org.n52.shetland.ogc.swe.simpleType.SweAbstractSimpleType<T>
-
- Type Parameters:
T-
- All Implemented Interfaces:
Copyable<SweAbstractDataComponent>,HasDefaultEncoding<SweAbstractDataComponent>,Value<T,SweAbstractSimpleType<T>>
- Direct Known Subclasses:
SweAbstractUomType,SweBoolean,SweCount,SweCountRange,SweObservableProperty,SweText
public abstract class SweAbstractSimpleType<T> extends SweAbstractDataComponent implements Value<T,SweAbstractSimpleType<T>>
Interface for the SOS internal representation of SWE simpleTypes- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description SweAbstractSimpleType()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidcopyQuality(SweAbstractSimpleType<T> copy)booleanequals(Object obj)SweQualityHoldergetQuality()Get quality informationinthashCode()booleanisSetQuality()SweAbstractSimpleType<T>setQuality(SweQualityHolder quality)Set quality informationabstract voidsetStringValue(String s)StringtoString()-
Methods inherited from class org.n52.shetland.ogc.swe.SweAbstractDataComponent
accept, accept, addName, addName, addName, copyValueTo, getDataComponentType, getDefaultElementEncoding, getDefinition, getDescription, getIdentifier, getLabel, getName, getNames, getXml, isSetDefinition, isSetDescription, isSetIdentifier, isSetLabel, isSetName, isSetNames, isSetXml, setDefaultElementEncoding, setDefinition, setDescription, setIdentifier, setLabel, setName, setName, setName, setXml
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.n52.shetland.ogc.HasDefaultEncoding
isSetDefaultElementEncoding
-
Methods inherited from interface org.n52.shetland.ogc.ows.extension.Value
getStringValue, getValue, isSetValue, setValue
-
-
-
-
Method Detail
-
setStringValue
public abstract void setStringValue(String s)
-
getQuality
public SweQualityHolder getQuality()
Get quality information- Returns:
- Quality information
-
setQuality
public SweAbstractSimpleType<T> setQuality(SweQualityHolder quality)
Set quality information- Parameters:
quality- quality information to set- Returns:
- This SweAbstractSimpleType
-
isSetQuality
public boolean isSetQuality()
- Returns:
- true, if the quality field is not null,
false else.
-
copyQuality
public void copyQuality(SweAbstractSimpleType<T> copy)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classSweAbstractDataComponent
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classSweAbstractDataComponent
-
-