Enum NumericTypeCategory
- java.lang.Object
-
- java.lang.Enum<NumericTypeCategory>
-
- org.hibernate.query.sqm.tree.expression.NumericTypeCategory
-
- All Implemented Interfaces:
Serializable
,Comparable<NumericTypeCategory>
public enum NumericTypeCategory extends Enum<NumericTypeCategory>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BIG_DECIMAL
BIG_INTEGER
DOUBLE
FLOAT
INTEGER
LONG
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <N extends Number>
NparseLiteralValue(String value)
static NumericTypeCategory
valueOf(String name)
Returns the enum constant of this type with the specified name.static NumericTypeCategory[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INTEGER
public static final NumericTypeCategory INTEGER
-
LONG
public static final NumericTypeCategory LONG
-
BIG_INTEGER
public static final NumericTypeCategory BIG_INTEGER
-
DOUBLE
public static final NumericTypeCategory DOUBLE
-
FLOAT
public static final NumericTypeCategory FLOAT
-
BIG_DECIMAL
public static final NumericTypeCategory BIG_DECIMAL
-
-
Method Detail
-
values
public static NumericTypeCategory[] 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 (NumericTypeCategory c : NumericTypeCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NumericTypeCategory 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
-
-