public enum CustomUiVariableType extends Enum<CustomUiVariableType>
Enum Constant and Description |
---|
BOOLEAN
boolean
|
INTEGER
java long integer
|
STRING
string
|
Modifier and Type | Method and Description |
---|---|
abstract Object |
convertTo(Object input) |
abstract String |
screenValue(Object value,
Map<String,Object> variableMap) |
abstract Object |
sqlConvertResult(Object sqlResult)
convert sql result to type
|
abstract Class<?> |
sqlResultClass() |
static CustomUiVariableType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CustomUiVariableType |
valueOfIgnoreCase(String string,
boolean exceptionOnNull)
do a case-insensitive matching
|
static CustomUiVariableType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CustomUiVariableType STRING
public static final CustomUiVariableType BOOLEAN
public static final CustomUiVariableType INTEGER
public static CustomUiVariableType[] values()
for (CustomUiVariableType c : CustomUiVariableType.values()) System.out.println(c);
public static CustomUiVariableType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract Object convertTo(Object input)
input
- public abstract Class<?> sqlResultClass()
public abstract Object sqlConvertResult(Object sqlResult)
sqlResult
- public static CustomUiVariableType valueOfIgnoreCase(String string, boolean exceptionOnNull)
string
- exceptionOnNull
- will not allow null or blank entriesCopyright © 2016 Internet2. All rights reserved.