Class SweQuantityRange
java.lang.Object
org.n52.shetland.ogc.swe.SweAbstractDataComponent
org.n52.shetland.ogc.swe.simpleType.SweAbstractSimpleType<RangeValue<BigDecimal>>
org.n52.shetland.ogc.swe.simpleType.SweAbstractUomType<RangeValue<BigDecimal>>
org.n52.shetland.ogc.swe.simpleType.SweQuantityRange
- All Implemented Interfaces:
Copyable<SweAbstractDataComponent>,HasDefaultEncoding<SweAbstractDataComponent>,Value<RangeValue<BigDecimal>,,SweAbstractSimpleType<RangeValue<BigDecimal>>> SweQuality
- Direct Known Subclasses:
QuantityRangeValue
public class SweQuantityRange
extends SweAbstractUomType<RangeValue<BigDecimal>>
implements SweQuality
SOS internal representation of SWE simpleType quantity
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T,X extends Throwable>
Taccept(SweDataComponentVisitor<T, X> visitor) <X extends Throwable>
voidaccept(VoidSweDataComponentVisitor<X> visitor) copy()booleanGet axis IDGet value asStringgetValue()Get valueinthashCode()booleanbooleanbooleanIs the values setset axis IDvoidsetConstraint(SweAllowedValues constraint) voidsetConstraint(Referenceable<SweAllowedValues> constraint) voidsetValue(RangeValue<BigDecimal> value) Set valueMethods inherited from class org.n52.shetland.ogc.swe.simpleType.SweAbstractUomType
copyValueTo, getUom, getUomObject, isSetUom, setUom, setUom, toStringMethods inherited from class org.n52.shetland.ogc.swe.simpleType.SweAbstractSimpleType
copyQuality, getQuality, isSetQuality, setQualityMethods inherited from class org.n52.shetland.ogc.swe.SweAbstractDataComponent
addName, addName, addName, 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
isSetDefaultElementEncoding
-
Constructor Details
-
SweQuantityRange
public SweQuantityRange()constructor
-
-
Method Details
-
getAxisID
Get axis ID- Returns:
- the axisID
-
setAxisID
set axis ID- Parameters:
axisID- the axisID to set- Returns:
- This SweQuantityRange
-
getValue
Description copied from interface:ValueGet value- Specified by:
getValuein interfaceValue<RangeValue<BigDecimal>,SweAbstractSimpleType<RangeValue<BigDecimal>>> - Returns:
- value
-
setValue
Description copied from interface:ValueSet value- Specified by:
setValuein interfaceValue<RangeValue<BigDecimal>,SweAbstractSimpleType<RangeValue<BigDecimal>>> - Parameters:
value- value to set- Returns:
- this
-
hashCode
public int hashCode()- Overrides:
hashCodein classSweAbstractSimpleType<RangeValue<BigDecimal>>
-
equals
- Overrides:
equalsin classSweAbstractSimpleType<RangeValue<BigDecimal>>
-
setStringValue
- Specified by:
setStringValuein classSweAbstractSimpleType<RangeValue<BigDecimal>>
-
getStringValue
Description copied from interface:ValueGet value asString- Specified by:
getStringValuein interfaceValue<RangeValue<BigDecimal>,SweAbstractSimpleType<RangeValue<BigDecimal>>> - Returns:
- The value as
String
-
isSetValue
public boolean isSetValue()Description copied from interface:ValueIs the values set- Specified by:
isSetValuein interfaceValue<RangeValue<BigDecimal>,SweAbstractSimpleType<RangeValue<BigDecimal>>> - Returns:
true, if the value is set
-
isSetAxisID
public boolean isSetAxisID() -
getConstraint
- Returns:
- the constraint
-
setConstraint
- Parameters:
constraint- the constraint to set
-
setConstraint
- Parameters:
constraint- the constraint to set
-
isSetContstraint
public boolean isSetContstraint() -
getDataComponentType
- Specified by:
getDataComponentTypein classSweAbstractDataComponent
-
accept
- Specified by:
acceptin classSweAbstractDataComponent- Throws:
X
-
accept
- Specified by:
acceptin classSweAbstractDataComponent- Throws:
X
-
copy
- Specified by:
copyin interfaceCopyable<SweAbstractDataComponent>
-