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 TypeMethodDescriptionvoidaddInterval(double[] interval) Adds a new interval propertyvoidaddValue(double value) Adds a new value propertycopy()List<double[]>Gets the list of interval propertiesintReturns number of interval propertiesintReturns number of value propertiesintGets the significantFigures propertyGets the list of value propertiesbooleanChecks if significantFigures is setbooleanisValid(double value) voidsetSignificantFigures(int significantFigures) Sets the significantFigures propertyvoidUnsets the significantFigures propertyMethods inherited from class org.vast.data.AbstractSWEImpl
addExtension, copyTo, getExtensionList, getId, getNumExtensions, isSetId, setIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
 getValueListin interfaceAllowedValues
 - 
getNumValues
public int getNumValues()Returns number of value properties- Specified by:
 getNumValuesin interfaceAllowedValues
 - 
addValue
public void addValue(double value) Adds a new value property- Specified by:
 addValuein interfaceAllowedValues
 - 
getIntervalList
Gets the list of interval properties- Specified by:
 getIntervalListin interfaceAllowedValues
 - 
getNumIntervals
public int getNumIntervals()Returns number of interval properties- Specified by:
 getNumIntervalsin interfaceAllowedValues
 - 
addInterval
public void addInterval(double[] interval) Adds a new interval property- Specified by:
 addIntervalin interfaceAllowedValues
 - 
getSignificantFigures
public int getSignificantFigures()Gets the significantFigures property- Specified by:
 getSignificantFiguresin interfaceAllowedValues
 - 
isSetSignificantFigures
public boolean isSetSignificantFigures()Checks if significantFigures is set- Specified by:
 isSetSignificantFiguresin interfaceAllowedValues
 - 
setSignificantFigures
public void setSignificantFigures(int significantFigures) Sets the significantFigures property- Specified by:
 setSignificantFiguresin interfaceAllowedValues
 - 
unSetSignificantFigures
public void unSetSignificantFigures()Unsets the significantFigures property- Specified by:
 unSetSignificantFiguresin interfaceAllowedValues
 
 -