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 leave the dimensions
list to be defined as part of the ArrayParameterEntry
In XTCE 1.2 the dimensions list is also defined in this class and can be optionally omitted from the
ArrayParameterEntry.
We support both behaviours.
name, PATH_SEPARATOR, qualifiedName, xtceAliasSet| Constructor and Description |
|---|
ArrayParameterType(ArrayParameterType t) |
ArrayParameterType(String name) |
ArrayParameterType(String name,
int numberOfDimensions) |
| Modifier and Type | Method and Description |
|---|---|
ArrayParameterType |
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
|
DataEncoding |
getEncoding()
Get the data encoding for the parameter type.
|
List<IntegerValue> |
getSize()
Return the dimension list (defined as from XTCE 1.2).
|
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
|
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 |
void |
setSize(List<IntegerValue> list) |
getElementType, getInitialValue, getNumberOfDimensions, getValueType, parseString, setElementType, setInitialValue, setNumberOfDimensionsaddAlias, addAliases, addAncillaryData, getAlias, getAliasSet, getAncillaryData, getAncillaryDataSet, getLongDescription, getName, getName, getOpsName, getQualifiedName, getShortDescription, getSubsystemName, getSubsystemName, setAliasSet, setLongDescription, setName, setQualifiedName, setShortDescriptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDependentParameters, parseStringgetInitialValue, getLongDescription, getName, getShortDescription, getValueType, setInitialValue, setLongDescription, setShortDescriptionpublic 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 void setEncoding(DataEncoding dataEncoding)
ParameterTypeUnsupportedOperationExceptionsetEncoding in interface ParameterTypepublic ArrayParameterType copy()
ParameterTypecopy in interface ParameterTypepublic DataEncoding getEncoding()
ParameterTypeUnsupportedOperationExceptiongetEncoding in interface ParameterTypepublic void setSize(List<IntegerValue> list)
public List<IntegerValue> getSize()
ArrayParameterEntry.dim at the MDB load.Copyright © 2020 Space Applications Services. All rights reserved.