Package com.pullreports.model
Enum ParamType
- Object
-
- Enum<ParamType>
-
- com.pullreports.model.ParamType
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ParamType
fromParamClass(Class<?> paramClass)
Class<?>
getParamClass()
String
toString()
static ParamType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ParamType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRING
public static final ParamType STRING
-
DOUBLE
public static final ParamType DOUBLE
-
FLOAT
public static final ParamType FLOAT
-
INTEGER
public static final ParamType INTEGER
-
LONG
public static final ParamType LONG
-
BOOLEAN
public static final ParamType BOOLEAN
-
DATE
public static final ParamType DATE
-
TIME
public static final ParamType TIME
-
TIMESTAMP
public static final ParamType TIMESTAMP
-
BIG_DECIMAL
public static final ParamType BIG_DECIMAL
-
BIG_INTEGER
public static final ParamType BIG_INTEGER
-
-
Method Detail
-
values
public static ParamType[] 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 (ParamType c : ParamType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ParamType 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
-
getParamClass
public Class<?> getParamClass()
-
toString
public String toString()
- Overrides:
toString
in classEnum<ParamType>
-
fromParamClass
public static ParamType fromParamClass(Class<?> paramClass)
-
-