Interface ArgumentType

All Superinterfaces:
DataType
All Known Implementing Classes:
AbsoluteTimeArgumentType, AggregateArgumentType, ArrayArgumentType, BinaryArgumentType, BooleanArgumentType, EnumeratedArgumentType, FloatArgumentType, IntegerArgumentType, StringArgumentType

public interface ArgumentType extends DataType
Interface to be implemented by all the argument types
  • Method Details

    • getTypeAsString

      String getTypeAsString()
      String which represents the type. This string will be presented to the users of the system.
      Specified by:
      getTypeAsString in interface DataType
      Returns:
    • getUnitSet

      List<UnitType> getUnitSet()
      Returns:
      the list of units
    • getName

      String getName()
      Specified by:
      getName in interface DataType
      Returns:
      the name of the type
    • toBuilder

      <T extends ArgumentType> ArgumentType.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
      Returns: