Class ArrayDataType

    • Constructor Detail

      • ArrayDataType

        public ArrayDataType​(String name,
                             int numberOfDimensions)
    • Method Detail

      • getElementType

        public DataType getElementType()
        returns the type of the elements of the array
        Returns:
        - the type of the elements of the array
      • getNumberOfDimensions

        public int getNumberOfDimensions()
      • getValueType

        public Yamcs.Value.Type getValueType()
        Description copied from interface: DataType
        Return the expected Value type of an engineering value conforming to this XTCE data type
        Specified by:
        getValueType in interface DataType
        Returns:
      • 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 interface DataType
        Returns:
      • getSize

        public List<IntegerValue> getSize()
        Return the dimension list (defined as from XTCE 1.2). The list here is not really used except for populating the ArrayParameterEntry.dim at the MDB load.
        Returns:
      • parseString

        public Object[] parseString​(String v)
        Parse an initial value as an json array
        Specified by:
        parseString in interface DataType
        Returns:
      • getInitialValue

        public Object[] getInitialValue()
        Description copied from interface: DataType
        Get the initial value if any
        Specified by:
        getInitialValue in interface DataType
        Returns: