Enum DataType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<DataType>

    public enum DataType
    extends java.lang.Enum<DataType>
    Since:
    26/5/16
    • Enum Constant Detail

      • BYTE

        public static final DataType BYTE
      • SHORT

        public static final DataType SHORT
      • INTEGER

        public static final DataType INTEGER
      • LONG

        public static final DataType LONG
      • BIG_INTEGER

        public static final DataType BIG_INTEGER
      • FLOAT

        public static final DataType FLOAT
      • DOUBLE

        public static final DataType DOUBLE
      • BIG_DECIMAL

        public static final DataType BIG_DECIMAL
      • BOOLEAN

        public static final DataType BOOLEAN
      • CHARACTER

        public static final DataType CHARACTER
      • STRING

        public static final DataType STRING
      • BLOB

        public static final DataType BLOB
      • DATE

        public static final DataType DATE
      • DATETIME

        public static final DataType DATETIME
      • OBJECT

        public static final DataType OBJECT
      • LIST

        public static final DataType LIST
    • Method Detail

      • values

        public static DataType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (DataType c : DataType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DataType valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • valueFor

        public static DataType valueFor​(java.lang.String value)
      • getClassNames

        public java.util.List<java.lang.String> getClassNames()