public class ArrayDataType extends NameDescription implements DataType
type and have the number of array dimensions as specified in
numberOfDimensionsname, PATH_SEPARATOR, qualifiedName, xtceAliasSet| Constructor and Description |
|---|
ArrayDataType(ArrayDataType t) |
ArrayDataType(String name,
int numberOfDimensions) |
| Modifier and Type | Method and Description |
|---|---|
int[] |
getDimensions() |
DataType |
getElementType()
returns the type of the elements of the array
|
Object[] |
getInitialValue()
Get the initial value if any
|
int |
getNumberOfDimensions() |
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
|
void |
setDimensions(int[] dimensions) |
void |
setElementType(DataType type)
Sets the type of the elements of the array
|
void |
setInitialValue(String initialValue)
Sets the initial value converting from string to the specific type value.
|
addAlias, 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, waitgetLongDescription, getName, getShortDescription, setLongDescription, setShortDescriptionpublic ArrayDataType(String name, int numberOfDimensions)
public ArrayDataType(ArrayDataType t)
public void setElementType(DataType type)
type - public DataType getElementType()
public int getNumberOfDimensions()
public void setDimensions(int[] dimensions)
public int[] getDimensions()
public Yamcs.Value.Type getValueType()
DataTypegetValueType in interface DataTypepublic String getTypeAsString()
DataTypegetTypeAsString in interface DataTypepublic void setInitialValue(String initialValue)
DataTypesetInitialValue in interface DataTypepublic Object[] parseString(String v)
parseString in interface DataTypepublic Object[] getInitialValue()
DataTypegetInitialValue in interface DataTypeCopyright © 2019 Space Applications Services. All rights reserved.