Package org.vast.data
Class AllowedValuesImpl
java.lang.Object
org.vast.data.AbstractSWEImpl
org.vast.data.AllowedValuesImpl
- All Implemented Interfaces:
Serializable
,HasCopy
,AbstractSWE
,AllowedValues
,DataConstraint
POJO class for XML type AllowedValuesType(@http://www.opengis.net/swe/2.0).
This is a complex type.
- See Also:
-
Field Summary
FieldsFields inherited from class org.vast.data.AbstractSWEImpl
extensionList, id
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addInterval
(double[] interval) Adds a new interval propertyvoid
addValue
(double value) Adds a new value propertycopy()
List<double[]>
Gets the list of interval propertiesint
Returns number of interval propertiesint
Returns number of value propertiesint
Gets the significantFigures propertyGets the list of value propertiesboolean
Checks if significantFigures is setboolean
isValid
(double value) void
setSignificantFigures
(int significantFigures) Sets the significantFigures propertyvoid
Unsets the significantFigures propertyMethods inherited from class org.vast.data.AbstractSWEImpl
addExtension, copyTo, getExtensionList, getId, getNumExtensions, isSetId, setId
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.opengis.swe.v20.AbstractSWE
addExtension, getExtensionList, getId, getNumExtensions, isSetId, setId
-
Field Details
-
valueList
-
intervalList
-
significantFigures
-
-
Constructor Details
-
AllowedValuesImpl
public AllowedValuesImpl()
-
-
Method Details
-
copy
-
isValid
public boolean isValid(double value) -
getAssertionMessage
-
getValueList
Gets the list of value properties- Specified by:
getValueList
in interfaceAllowedValues
-
getNumValues
public int getNumValues()Returns number of value properties- Specified by:
getNumValues
in interfaceAllowedValues
-
addValue
public void addValue(double value) Adds a new value property- Specified by:
addValue
in interfaceAllowedValues
-
getIntervalList
Gets the list of interval properties- Specified by:
getIntervalList
in interfaceAllowedValues
-
getNumIntervals
public int getNumIntervals()Returns number of interval properties- Specified by:
getNumIntervals
in interfaceAllowedValues
-
addInterval
public void addInterval(double[] interval) Adds a new interval property- Specified by:
addInterval
in interfaceAllowedValues
-
getSignificantFigures
public int getSignificantFigures()Gets the significantFigures property- Specified by:
getSignificantFigures
in interfaceAllowedValues
-
isSetSignificantFigures
public boolean isSetSignificantFigures()Checks if significantFigures is set- Specified by:
isSetSignificantFigures
in interfaceAllowedValues
-
setSignificantFigures
public void setSignificantFigures(int significantFigures) Sets the significantFigures property- Specified by:
setSignificantFigures
in interfaceAllowedValues
-
unSetSignificantFigures
public void unSetSignificantFigures()Unsets the significantFigures property- Specified by:
unSetSignificantFigures
in interfaceAllowedValues
-