public class ArrayDataType extends NameDescription implements DataType
type and have the number of array dimensions as specified in
numberOfDimensions| Modifier and Type | Class and Description |
|---|---|
static class |
ArrayDataType.Builder<T extends ArrayDataType.Builder<T>> |
ancillaryData, name, PATH_SEPARATOR, qualifiedName, xtceAliasSet| Constructor and Description |
|---|
ArrayDataType(ArrayDataType.Builder<?> builder) |
ArrayDataType(ArrayDataType t) |
ArrayDataType(String name,
int numberOfDimensions) |
| Modifier and Type | Method and Description |
|---|---|
DataType |
getElementType()
returns the type of the elements of the array
|
Object[] |
getInitialValue()
Get the initial value if any
|
int |
getNumberOfDimensions() |
List<IntegerValue> |
getSize()
Return the dimension list (defined as from XTCE 1.2).
|
String |
getTypeAsString()
String which represents the type.
|
Yamcs.Value.Type |
getValueType()
Return the expected Value type of an engineering value conforming to this XTCE data type
|
Object[] |
parseString(String v)
Parse an initial value as an json array
|
String |
toString(Object v)
Converts a value to a string.
|
addAlias, 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, toString, wait, wait, waitgetLongDescription, getName, getShortDescriptionpublic ArrayDataType(ArrayDataType.Builder<?> builder)
public ArrayDataType(String name, int numberOfDimensions)
public ArrayDataType(ArrayDataType t)
public DataType getElementType()
public int getNumberOfDimensions()
public Yamcs.Value.Type getValueType()
DataTypegetValueType in interface DataTypepublic String getTypeAsString()
DataTypegetTypeAsString in interface DataTypepublic List<IntegerValue> getSize()
ArrayParameterEntry.dim at the MDB load.public Object[] parseString(String v)
parseString in interface DataTypepublic String toString(Object v)
DataTypeDataType.parseString(String).public Object[] getInitialValue()
DataTypegetInitialValue in interface DataTypeCopyright © 2020 Space Applications Services. All rights reserved.