Class SweCountRange
- java.lang.Object
-
- org.n52.shetland.ogc.swe.SweAbstractDataComponent
-
- org.n52.shetland.ogc.swe.simpleType.SweAbstractSimpleType<RangeValue<Integer>>
-
- org.n52.shetland.ogc.swe.simpleType.SweCountRange
-
- All Implemented Interfaces:
Copyable<SweAbstractDataComponent>,HasDefaultEncoding<SweAbstractDataComponent>,Value<RangeValue<Integer>,SweAbstractSimpleType<RangeValue<Integer>>>
public class SweCountRange extends SweAbstractSimpleType<RangeValue<Integer>>
- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description SweCountRange()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T,X extends Throwable>
Taccept(SweDataComponentVisitor<T,X> visitor)<X extends Throwable>
voidaccept(VoidSweDataComponentVisitor<X> visitor)SweCountRangecopy()Referenceable<SweAllowedValues>getConstraint()SweConstants.SweDataComponentTypegetDataComponentType()StringgetStringValue()Get value asStringRangeValue<Integer>getValue()Get valuebooleanisSetContstraint()booleanisSetValue()Is the values setvoidsetConstraint(SweAllowedValues constraint)voidsetConstraint(Referenceable<SweAllowedValues> constraint)voidsetStringValue(String s)SweCountRangesetValue(RangeValue<Integer> value)Set value-
Methods inherited from class org.n52.shetland.ogc.swe.simpleType.SweAbstractSimpleType
copyQuality, equals, getQuality, hashCode, isSetQuality, setQuality, toString
-
Methods inherited from class org.n52.shetland.ogc.swe.SweAbstractDataComponent
addName, addName, addName, copyValueTo, 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
-
-
-
-
Method Detail
-
getValue
public RangeValue<Integer> getValue()
Description copied from interface:ValueGet value- Returns:
- value
-
setValue
public SweCountRange setValue(RangeValue<Integer> value)
Description copied from interface:ValueSet value- Parameters:
value- value to set- Returns:
- this
-
isSetValue
public boolean isSetValue()
Description copied from interface:ValueIs the values set- Returns:
true, if the value is set
-
setStringValue
public void setStringValue(String s)
- Specified by:
setStringValuein classSweAbstractSimpleType<RangeValue<Integer>>
-
getStringValue
public String getStringValue()
Description copied from interface:ValueGet value asString- Returns:
- The value as
String
-
getConstraint
public Referenceable<SweAllowedValues> getConstraint()
- Returns:
- the constraint
-
setConstraint
public void setConstraint(SweAllowedValues constraint)
- Parameters:
constraint- the constraint to set
-
setConstraint
public void setConstraint(Referenceable<SweAllowedValues> constraint)
- Parameters:
constraint- the constraint to set
-
isSetContstraint
public boolean isSetContstraint()
-
getDataComponentType
public SweConstants.SweDataComponentType getDataComponentType()
- Specified by:
getDataComponentTypein classSweAbstractDataComponent
-
accept
public <T,X extends Throwable> T accept(SweDataComponentVisitor<T,X> visitor) throws X extends Throwable
- Specified by:
acceptin classSweAbstractDataComponent- Throws:
X extends Throwable
-
accept
public <X extends Throwable> void accept(VoidSweDataComponentVisitor<X> visitor) throws X extends Throwable
- Specified by:
acceptin classSweAbstractDataComponent- Throws:
X extends Throwable
-
copy
public SweCountRange copy()
-
-