java.lang.Object
org.yamcs.xtce.NameDescription
org.yamcs.xtce.ArrayDataType
org.yamcs.xtce.ArrayParameterType
- All Implemented Interfaces:
Serializable,DataType,ParameterType
Describe an array parameter type. The size and number of dimensions are described here. See
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.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.yamcs.xtce.NameDescription
ancillaryData, name, PATH_SEPARATOR, qualifiedName, xtceAliasSet -
Constructor Summary
ConstructorsConstructorDescriptionArrayParameterType(String name) ArrayParameterType(String name, int numberOfDimensions) -
Method Summary
Methods inherited from class org.yamcs.xtce.ArrayDataType
convertType, getDimension, getElementType, getFixedSize, getInitialValue, getNumberOfDimensions, getSize, getValueType, isFixedSize, parseStringForRawValue, toStringMethods inherited from class org.yamcs.xtce.NameDescription
addAlias, addAliases, addAncillaryData, getAlias, getAliasSet, getAncillaryData, getLongDescription, getName, getName, getOpsName, getQualifiedName, getShortDescription, getSubsystemName, getSubsystemName, qualifiedName, setAliasSet, setAncillaryData, setLongDescription, setName, setQualifiedName, setShortDescriptionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.yamcs.xtce.DataType
convertType, getInitialValue, getLongDescription, getName, getQualifiedName, getShortDescription, getValueType, parseStringForRawValue, toStringMethods inherited from interface org.yamcs.xtce.ParameterType
getDependentParameters
-
Constructor Details
-
ArrayParameterType
-
ArrayParameterType
-
ArrayParameterType
-
ArrayParameterType
-
-
Method Details
-
getTypeAsString
Description copied from interface:DataTypeString which represents the type. This string will be presented to the users of the system.- Specified by:
getTypeAsStringin interfaceDataType- Overrides:
getTypeAsStringin classArrayDataType- Returns:
-
hasAlarm
public boolean hasAlarm()Description copied from interface:ParameterTypeWhether this ParameterType has any alarms associated- Specified by:
hasAlarmin interfaceParameterType
-
toBuilder
Description copied from interface:ParameterTypeCreate a builder that can be used to make shallow copy of the parameter typeall the fields reference to the same object like the original
- Specified by:
toBuilderin interfaceParameterType- Returns:
-
getEncoding
Description copied from interface:ParameterTypeGet the data encoding for the parameter type.
For arrays and aggregates types that do not have encoding; this operation will throw anUnsupportedOperationException- Specified by:
getEncodingin interfaceParameterType- Returns:
-
toString
-