public enum BeanType extends Enum<BeanType>
Enum Constant and Description |
---|
APPLICATION |
APPNAV |
DEFAULT |
PAGE |
PORTLET |
Modifier and Type | Method and Description |
---|---|
static BeanType |
fromValue(int value) |
int |
getValue() |
static BeanType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BeanType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BeanType DEFAULT
public static final BeanType PORTLET
public static final BeanType PAGE
public static final BeanType APPLICATION
public static final BeanType APPNAV
public static BeanType[] values()
for (BeanType c : BeanType.values()) System.out.println(c);
public static BeanType 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 int getValue()
public static BeanType fromValue(int value)