public interface ParameterType extends DataType
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ParameterType.Builder<T extends ParameterType.Builder<T>> |
| Modifier and Type | Method and Description |
|---|---|
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
|
<T extends ParameterType> |
toBuilder()
Create a builder that can be used to make shallow copy of the parameter type
all the fields reference to the same object like the original
|
getInitialValue, getLongDescription, getName, getShortDescription, getTypeAsString, getValueType, toStringdefault Set<Parameter> getDependentParameters()
boolean hasAlarm()
Object parseString(String stringValue)
parseString in interface DataTypestringValue - Object parseStringForRawValue(String stringValue)
stringValue - DataEncoding getEncoding()
UnsupportedOperationException<T extends ParameterType> ParameterType.Builder<?> toBuilder()
all the fields reference to the same object like the original
Copyright © 2020 Space Applications Services. All rights reserved.