public class AllowedValuesImpl extends AbstractSWEImpl implements AllowedValues
Modifier and Type | Field and Description |
---|---|
protected List<double[]> |
intervalList |
protected Integer |
significantFigures |
protected List<Double> |
valueList |
extensionList, id
Constructor and Description |
---|
AllowedValuesImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addInterval(double[] interval)
Adds a new interval property
|
void |
addValue(double value)
Adds a new value property
|
AllowedValuesImpl |
copy() |
String |
getAssertionMessage() |
List<double[]> |
getIntervalList()
Gets the list of interval properties
|
int |
getNumIntervals()
Returns number of interval properties
|
int |
getNumValues()
Returns number of value properties
|
int |
getSignificantFigures()
Gets the significantFigures property
|
List<Double> |
getValueList()
Gets the list of value properties
|
boolean |
isSetSignificantFigures()
Checks if significantFigures is set
|
boolean |
isValid(double value) |
void |
setSignificantFigures(int significantFigures)
Sets the significantFigures property
|
void |
unSetSignificantFigures()
Unsets the significantFigures property
|
addExtension, copyTo, getExtensionList, getId, getNumExtensions, isSetId, setId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addExtension, getExtensionList, getId, getNumExtensions, isSetId, setId
protected List<double[]> intervalList
protected Integer significantFigures
public AllowedValuesImpl copy()
public boolean isValid(double value)
public String getAssertionMessage()
public List<Double> getValueList()
getValueList
in interface AllowedValues
public int getNumValues()
getNumValues
in interface AllowedValues
public void addValue(double value)
addValue
in interface AllowedValues
public List<double[]> getIntervalList()
getIntervalList
in interface AllowedValues
public int getNumIntervals()
getNumIntervals
in interface AllowedValues
public void addInterval(double[] interval)
addInterval
in interface AllowedValues
public int getSignificantFigures()
getSignificantFigures
in interface AllowedValues
public boolean isSetSignificantFigures()
isSetSignificantFigures
in interface AllowedValues
public void setSignificantFigures(int significantFigures)
setSignificantFigures
in interface AllowedValues
public void unSetSignificantFigures()
unSetSignificantFigures
in interface AllowedValues
Copyright © 2016 Sensia Software LLC. All rights reserved.