Enum FieldType

    • Enum Constant Detail

      • INTEGER

        public static final FieldType INTEGER
      • DOUBLE

        public static final FieldType DOUBLE
      • BOOLEAN

        public static final FieldType BOOLEAN
      • CHARACTER

        public static final FieldType CHARACTER
      • PRIMITIVE_BYTE

        public static final FieldType PRIMITIVE_BYTE
      • PRIMITIVE_SHORT

        public static final FieldType PRIMITIVE_SHORT
      • PRIMITIVE_INT

        public static final FieldType PRIMITIVE_INT
      • PRIMITIVE_LONG

        public static final FieldType PRIMITIVE_LONG
      • PRIMITIVE_FLOAT

        public static final FieldType PRIMITIVE_FLOAT
      • PRIMITIVE_DOUBLE

        public static final FieldType PRIMITIVE_DOUBLE
      • PRIMITIVE_BOOLEAN

        public static final FieldType PRIMITIVE_BOOLEAN
      • PRIMITIVE_CHAR

        public static final FieldType PRIMITIVE_CHAR
      • STRING

        public static final FieldType STRING
      • PRIMITVE_INT_ARRAY

        public static final FieldType PRIMITVE_INT_ARRAY
      • PRIMITVE_LONG_ARRAY

        public static final FieldType PRIMITVE_LONG_ARRAY
      • STRING_ARRAY

        public static final FieldType STRING_ARRAY
      • DATE_ARRAY

        public static final FieldType DATE_ARRAY
    • Method Detail

      • values

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

        public static FieldType valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getType

        public Class<?> getType()
      • getBoxedType

        public Class<?> getBoxedType()
      • isPrimitive

        public boolean isPrimitive()
      • isArray

        public boolean isArray()
      • isString

        public boolean isString()
      • isBoolean

        public boolean isBoolean()
      • getArrayType

        public Class<?> getArrayType()