Package org.yamcs.xtce
Class ArrayArgumentType
- java.lang.Object
-
- org.yamcs.xtce.NameDescription
-
- org.yamcs.xtce.ArrayDataType
-
- org.yamcs.xtce.ArrayArgumentType
-
- All Implemented Interfaces:
Serializable
,ArgumentType
,DataType
public class ArrayArgumentType extends ArrayDataType implements ArgumentType
Describe an array parameter type. The size and number of dimensions are described here. See ArrayParameterRefEntryType, NameReferenceType and ArrayDataType.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ArrayArgumentType.Builder
-
Field Summary
-
Fields inherited from class org.yamcs.xtce.NameDescription
ancillaryData, name, PATH_SEPARATOR, qualifiedName, xtceAliasSet
-
-
Constructor Summary
Constructors Constructor Description ArrayArgumentType(String name)
ArrayArgumentType(String name, int numberOfDimensions)
ArrayArgumentType(ArrayArgumentType t)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getTypeAsString()
String which represents the type.List<UnitType>
getUnitSet()
ArrayArgumentType.Builder
toBuilder()
Create a shallow copy of the data type - the object itself (and the primitive fields) are new but the other fields reference to the same object like the original-
Methods inherited from class org.yamcs.xtce.ArrayDataType
getElementType, getInitialValue, getNumberOfDimensions, getSize, getValueType, parseString, toString
-
Methods inherited from class org.yamcs.xtce.NameDescription
addAlias, addAliases, addAncillaryData, getAlias, getAliasSet, getAncillaryData, getLongDescription, getName, getName, getOpsName, getQualifiedName, getShortDescription, getSubsystemName, getSubsystemName, setAliasSet, setAncillaryData, setLongDescription, setName, setQualifiedName, setShortDescription
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.yamcs.xtce.ArgumentType
getName
-
Methods inherited from interface org.yamcs.xtce.DataType
getInitialValue, getLongDescription, getShortDescription, getValueType, parseString, toString
-
-
-
-
Constructor Detail
-
ArrayArgumentType
public ArrayArgumentType(String name, int numberOfDimensions)
-
ArrayArgumentType
public ArrayArgumentType(String name)
-
ArrayArgumentType
public ArrayArgumentType(ArrayArgumentType t)
-
-
Method Detail
-
getTypeAsString
public String getTypeAsString()
Description copied from interface:DataType
String which represents the type. This string will be presented to the users of the system.- Specified by:
getTypeAsString
in interfaceArgumentType
- Specified by:
getTypeAsString
in interfaceDataType
- Overrides:
getTypeAsString
in classArrayDataType
- Returns:
-
getUnitSet
public List<UnitType> getUnitSet()
- Specified by:
getUnitSet
in interfaceArgumentType
- Returns:
- the list of units
-
toBuilder
public ArrayArgumentType.Builder toBuilder()
Description copied from interface:ArgumentType
Create a shallow copy of the data type - the object itself (and the primitive fields) are new but the other fields reference to the same object like the original- Specified by:
toBuilder
in interfaceArgumentType
- Returns:
-
-