Enum Class CustomUiVariableType
java.lang.Object
java.lang.Enum<CustomUiVariableType>
edu.internet2.middleware.grouper.ui.customUi.CustomUiVariableType
- All Implemented Interfaces:
Serializable
,Comparable<CustomUiVariableType>
,Constable
type of variable to use
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract Object
abstract String
screenValue
(Object value, Map<String, Object> variableMap) abstract Object
sqlConvertResult
(Object sqlResult) convert sql result to typeabstract Class<?>
static CustomUiVariableType
Returns the enum constant of this class with the specified name.static CustomUiVariableType
valueOfIgnoreCase
(String string, boolean exceptionOnNull) do a case-insensitive matchingstatic CustomUiVariableType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STRING
string -
BOOLEAN
boolean -
INTEGER
java long integer
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
convertTo
- Parameters:
input
-- Returns:
- the converted value
-
sqlResultClass
- Returns:
- the sql class related
-
sqlConvertResult
convert sql result to type- Parameters:
sqlResult
-- Returns:
- the object
-
valueOfIgnoreCase
do a case-insensitive matching- Parameters:
string
-exceptionOnNull
- will not allow null or blank entries- Returns:
- the enum or null or exception if not found
-
screenValue
- Parameters:
value
-variableMap
-- Returns:
- the screen value
-