public enum WhenResourceMissingTypeEnum extends java.lang.Enum<WhenResourceMissingTypeEnum> implements JREnum
| Enum Constant and Description |
|---|
EMPTY
Return empty string when a resource is missing.
|
ERROR
Throw an exception when a resource is missing.
|
KEY
Return the key when a resource is missing.
|
NULL
Return NULL when a resource is missing.
|
| Modifier and Type | Method and Description |
|---|---|
static WhenResourceMissingTypeEnum |
getByName(java.lang.String name) |
static WhenResourceMissingTypeEnum |
getByValue(byte value) |
static WhenResourceMissingTypeEnum |
getByValue(java.lang.Byte value) |
java.lang.String |
getName() |
byte |
getValue() |
java.lang.Byte |
getValueByte() |
static WhenResourceMissingTypeEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WhenResourceMissingTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WhenResourceMissingTypeEnum NULL
public static final WhenResourceMissingTypeEnum EMPTY
public static final WhenResourceMissingTypeEnum KEY
public static final WhenResourceMissingTypeEnum ERROR
public static WhenResourceMissingTypeEnum[] values()
for (WhenResourceMissingTypeEnum c : WhenResourceMissingTypeEnum.values()) System.out.println(c);
public static WhenResourceMissingTypeEnum 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 java.lang.Byte getValueByte()
getValueByte in interface JREnumpublic static WhenResourceMissingTypeEnum getByName(java.lang.String name)
public static WhenResourceMissingTypeEnum getByValue(java.lang.Byte value)
public static WhenResourceMissingTypeEnum getByValue(byte value)
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com