Class ArrayDataType

java.lang.Object
org.yamcs.yarch.DataType
org.yamcs.yarch.ArrayDataType

public class ArrayDataType extends DataType
  • Constructor Details

    • ArrayDataType

      protected ArrayDataType(DataType elementType)
  • Method Details

    • getElementType

      public DataType getElementType()
    • hasEnums

      public boolean hasEnums()
      Return true if this data type is an enum or a composite type (array) containing an enum
      Overrides:
      hasEnums in class DataType
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • name

      public String name()
      Description copied from class: DataType
      Returns type as string.
      Overrides:
      name in class DataType
      Returns:
      for basic types returns the enum name for PROTOBUF returns PROTOBUF(className)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class DataType