public interface ParameterType extends DataType
| Modifier and Type | Method and Description |
|---|---|
ParameterType |
copy()
Create a shallow copy of the parameter type
- the object itself (and the primitive fields) are new
but the other fields reference to the same object like the original
|
default Set<Parameter> |
getDependentParameters() |
DataEncoding |
getEncoding()
Get the data encoding for the parameter type.
|
boolean |
hasAlarm()
Whether this ParameterType has any alarms associated
|
Object |
parseString(String stringValue)
parses the string into a java object according to the parameter type
|
Object |
parseStringForRawValue(String stringValue)
parses the string into a java object according to the parameter encoding
|
void |
setEncoding(DataEncoding dataEncoding)
Set the data encoding for the parameter type
For arrays and aggregates types that do not have encoding; this operation will throw an UnsupportedOperationException |
getInitialValue, getLongDescription, getName, getShortDescription, getTypeAsString, getValueType, setInitialValue, setLongDescription, setShortDescriptiondefault Set<Parameter> getDependentParameters()
boolean hasAlarm()
Object parseString(String stringValue)
parseString in interface DataTypestringValue - Object parseStringForRawValue(String stringValue)
stringValue - void setEncoding(DataEncoding dataEncoding)
UnsupportedOperationExceptiondataEncoding - DataEncoding getEncoding()
UnsupportedOperationExceptionParameterType copy()
Copyright © 2020 Space Applications Services. All rights reserved.