java.lang.Object
java.lang.Enum<Primitive>
org.palladiosimulator.generator.fluent.repository.structure.internals.Primitive
All Implemented Interfaces:
Serializable, Comparable<Primitive>, Constable

public enum Primitive extends Enum<Primitive>
Represents built-in primitive data types available in the repository, i.e. 'boolean', 'integer', 'string', 'double', 'long', 'char', 'byte', 'float', 'short'.
  • Enum Constant Details

    • BOOLEAN

      public static final Primitive BOOLEAN
      primitive data type boolean
    • INTEGER

      public static final Primitive INTEGER
      primitive data type integer
    • STRING

      public static final Primitive STRING
      primitive data type string
    • DOUBLE

      public static final Primitive DOUBLE
      primitive data type double
    • LONG

      public static final Primitive LONG
      primitive data type long
    • CHAR

      public static final Primitive CHAR
      primitive data type char
    • BYTE

      public static final Primitive BYTE
      primitive data type byte
    • FLOAT

      public static final Primitive FLOAT
      primitive data type float
    • SHORT

      public static final Primitive SHORT
      primitive data type short
  • Method Details

    • values

      public static Primitive[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Primitive valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null