Enum DataType.DataTypes
- java.lang.Object
-
- java.lang.Enum<DataType.DataTypes>
-
- org.kie.soup.project.datamodel.oracle.DataType.DataTypes
-
- All Implemented Interfaces:
Serializable,Comparable<DataType.DataTypes>
- Enclosing class:
- DataType
public static enum DataType.DataTypes extends Enum<DataType.DataTypes>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOLEANDATELOCAL_DATENUMERICNUMERIC_BIGDECIMALNUMERIC_BIGINTEGERNUMERIC_BYTENUMERIC_DOUBLENUMERIC_FLOATNUMERIC_INTEGERNUMERIC_LONGNUMERIC_SHORTSTRING
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataType.DataTypesvalueOf(String name)Returns the enum constant of this type with the specified name.static DataType.DataTypes[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRING
public static final DataType.DataTypes STRING
-
NUMERIC
public static final DataType.DataTypes NUMERIC
-
NUMERIC_BIGDECIMAL
public static final DataType.DataTypes NUMERIC_BIGDECIMAL
-
NUMERIC_BIGINTEGER
public static final DataType.DataTypes NUMERIC_BIGINTEGER
-
NUMERIC_BYTE
public static final DataType.DataTypes NUMERIC_BYTE
-
NUMERIC_DOUBLE
public static final DataType.DataTypes NUMERIC_DOUBLE
-
NUMERIC_FLOAT
public static final DataType.DataTypes NUMERIC_FLOAT
-
NUMERIC_INTEGER
public static final DataType.DataTypes NUMERIC_INTEGER
-
NUMERIC_LONG
public static final DataType.DataTypes NUMERIC_LONG
-
NUMERIC_SHORT
public static final DataType.DataTypes NUMERIC_SHORT
-
DATE
public static final DataType.DataTypes DATE
-
LOCAL_DATE
public static final DataType.DataTypes LOCAL_DATE
-
BOOLEAN
public static final DataType.DataTypes BOOLEAN
-
-
Method Detail
-
values
public static DataType.DataTypes[] 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.DataTypes c : DataType.DataTypes.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.DataTypes 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
-
-