public static enum ScriptVO.Type extends java.lang.Enum<ScriptVO.Type>
Enum Constant and Description |
---|
CONTEXTUALIZED_SCRIPT |
Modifier and Type | Field and Description |
---|---|
private boolean |
display |
private int |
id |
private java.lang.String |
key |
Modifier and Type | Method and Description |
---|---|
abstract ScriptVO<?> |
createScriptVO() |
int |
getId() |
java.lang.String |
getKey() |
static java.util.List<java.lang.String> |
getTypeList() |
boolean |
isDisplay() |
static ScriptVO.Type |
valueOf(int id) |
static ScriptVO.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScriptVO.Type |
valueOfIgnoreCase(java.lang.String text) |
static ScriptVO.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScriptVO.Type CONTEXTUALIZED_SCRIPT
private final int id
private final java.lang.String key
private final boolean display
public static ScriptVO.Type[] values()
for (ScriptVO.Type c : ScriptVO.Type.values()) System.out.println(c);
public static ScriptVO.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getId()
public java.lang.String getKey()
public boolean isDisplay()
public abstract ScriptVO<?> createScriptVO()
public static ScriptVO.Type valueOf(int id)
public static ScriptVO.Type valueOfIgnoreCase(java.lang.String text)
public static java.util.List<java.lang.String> getTypeList()