public enum WhenResourceMissingTypeEnum extends 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(String name) |
static WhenResourceMissingTypeEnum |
getByValue(byte value)
Deprecated.
Used only by deprecated serialized fields.
|
static WhenResourceMissingTypeEnum |
getByValue(Byte value)
Deprecated.
Used only by deprecated serialized fields.
|
String |
getName() |
byte |
getValue()
Deprecated.
Used only by deprecated serialized fields.
|
Byte |
getValueByte()
Deprecated.
Used only by deprecated serialized fields.
|
static WhenResourceMissingTypeEnum |
valueOf(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(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 Byte getValueByte()
getValueByte
in interface JREnum
public final byte getValue()
public static WhenResourceMissingTypeEnum getByName(String name)
public static WhenResourceMissingTypeEnum getByValue(Byte value)
public static WhenResourceMissingTypeEnum getByValue(byte value)
Copyright © 2016. All rights reserved.