public class ArrayParameterType extends ArrayDataType implements ParameterType
ArrayParameterEntry, NameReferenceType and ArrayDataType.
Note: XTCE 1.1 defines only the number of dimensions (integer) as part of the ArrayDataType and leaves the dimension
list (containing the size of each dimension) to be defined as part of the ArrayParameterEntry
In XTCE 1.2 the dimension list is also defined in this class and can be optionally omitted from the
ArrayParameterEntry.
We support both behaviours.
| Modifier and Type | Class and Description |
|---|---|
static class |
ArrayParameterType.Builder |
ancillaryData, name, PATH_SEPARATOR, qualifiedName, xtceAliasSet| Constructor and Description |
|---|
ArrayParameterType(ArrayParameterType.Builder builder) |
ArrayParameterType(ArrayParameterType t) |
ArrayParameterType(String name) |
ArrayParameterType(String name,
int numberOfDimensions) |
| Modifier and Type | Method and Description |
|---|---|
DataEncoding |
getEncoding()
Get the data encoding for the parameter type.
|
String |
getTypeAsString()
String which represents the type.
|
boolean |
hasAlarm()
Whether this ParameterType has any alarms associated
|
Object |
parseStringForRawValue(String stringValue)
parses the string into a java object according to the parameter encoding
|
ArrayParameterType.Builder |
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
|
String |
toString() |
getElementType, getInitialValue, getNumberOfDimensions, getSize, getValueType, parseString, toStringaddAlias, addAliases, addAncillaryData, getAlias, getAliasSet, getAncillaryData, getLongDescription, getName, getName, getOpsName, getQualifiedName, getShortDescription, getSubsystemName, getSubsystemName, setAliasSet, setAncillaryData, setLongDescription, setName, setQualifiedName, setShortDescriptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDependentParameters, parseStringgetInitialValue, getLongDescription, getName, getShortDescription, getValueType, toStringpublic ArrayParameterType(ArrayParameterType.Builder builder)
public ArrayParameterType(String name)
public ArrayParameterType(String name, int numberOfDimensions)
public ArrayParameterType(ArrayParameterType t)
public String getTypeAsString()
DataTypegetTypeAsString in interface DataTypegetTypeAsString in class ArrayDataTypepublic boolean hasAlarm()
ParameterTypehasAlarm in interface ParameterTypepublic Object parseStringForRawValue(String stringValue)
ParameterTypeparseStringForRawValue in interface ParameterTypepublic ArrayParameterType.Builder toBuilder()
ParameterTypeall the fields reference to the same object like the original
toBuilder in interface ParameterTypepublic DataEncoding getEncoding()
ParameterTypeUnsupportedOperationExceptiongetEncoding in interface ParameterTypeCopyright © 2020 Space Applications Services. All rights reserved.