Package adalid.core.enums
Enum ProcedureDataType
- java.lang.Object
-
- java.lang.Enum<ProcedureDataType>
-
- adalid.core.enums.ProcedureDataType
-
- All Implemented Interfaces:
Serializable,Comparable<ProcedureDataType>
public enum ProcedureDataType extends Enum<ProcedureDataType>
- Author:
- Jorge Campins
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intintValue()static ProcedureDataTypevalueOf(int i)Returns the enum constant of this type with the specified name.static ProcedureDataTypevalueOf(Class<?> clazz)Returns the enum constant of this type with the specified name.static ProcedureDataTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ProcedureDataType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOOLEAN
public static final ProcedureDataType BOOLEAN
-
CHAR
public static final ProcedureDataType CHAR
-
VARCHAR
public static final ProcedureDataType VARCHAR
-
INTEGER
public static final ProcedureDataType INTEGER
-
BIGINT
public static final ProcedureDataType BIGINT
-
DECIMAL
public static final ProcedureDataType DECIMAL
-
NUMERIC
public static final ProcedureDataType NUMERIC
-
DATE
public static final ProcedureDataType DATE
-
TIME
public static final ProcedureDataType TIME
-
TIMESTAMP
public static final ProcedureDataType TIMESTAMP
-
OTHER
public static final ProcedureDataType OTHER
-
-
Method Detail
-
values
public static ProcedureDataType[] 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 (ProcedureDataType c : ProcedureDataType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProcedureDataType 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 nameNullPointerException- if the argument is null
-
valueOf
public static ProcedureDataType valueOf(int i)
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:
i- 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 nameNullPointerException- if the argument is null
-
valueOf
public static ProcedureDataType valueOf(Class<?> clazz)
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:
clazz- 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 nameNullPointerException- if the argument is null
-
intValue
public int intValue()
-
-