Enum JavaType

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

    public enum JavaType
    extends java.lang.Enum<JavaType>
    Since:
    11/2/16
    • Enum Constant Detail

      • BYTE

        public static final JavaType BYTE
      • SHORT

        public static final JavaType SHORT
      • INTEGER

        public static final JavaType INTEGER
      • LONG

        public static final JavaType LONG
      • BIG_INTEGER

        public static final JavaType BIG_INTEGER
      • FLOAT

        public static final JavaType FLOAT
      • DOUBLE

        public static final JavaType DOUBLE
      • BIG_DECIMAL

        public static final JavaType BIG_DECIMAL
      • BOOLEAN

        public static final JavaType BOOLEAN
      • YES_OR_NO

        public static final JavaType YES_OR_NO
      • TRUE_OR_FALSE

        public static final JavaType TRUE_OR_FALSE
      • CHARACTER

        public static final JavaType CHARACTER
      • STRING

        public static final JavaType STRING
      • TEXT

        public static final JavaType TEXT
      • CLOB

        public static final JavaType CLOB
      • BLOB

        public static final JavaType BLOB
      • DATE

        public static final JavaType DATE
      • TIME

        public static final JavaType TIME
      • DATETIME

        public static final JavaType DATETIME
      • TIMESTAMP

        public static final JavaType TIMESTAMP
      • CURSOR

        public static final JavaType CURSOR
    • Method Detail

      • values

        public static JavaType[] 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 (JavaType c : JavaType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static JavaType 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
      • getClassName

        public java.lang.String getClassName()
      • getClassType

        public java.lang.Class<?> getClassType()
      • getPrimitiveClassName

        public java.lang.String getPrimitiveClassName()
      • integerTypes

        public static java.util.List<JavaType> integerTypes()
      • decimalTypes

        public static java.util.List<JavaType> decimalTypes()
      • numericTypes

        public static java.util.List<JavaType> numericTypes()
      • isNumericType

        public boolean isNumericType()
      • isDecimalType

        public boolean isDecimalType()
      • isIntegerType

        public boolean isIntegerType()
      • fromDbValue

        public java.lang.Object fromDbValue​(java.lang.Object fromValue)
      • fromString

        public java.lang.Object fromString​(java.lang.String fromValue)
      • toDbValue

        public java.lang.Object toDbValue​(java.lang.Object fromValue)
      • fromValue

        public static JavaType fromValue​(java.lang.String value)
      • toValue

        public java.lang.String toValue()