public enum JsfBeanMode extends Enum<JsfBeanMode>
NEW
mode
for example the bean should persist an entity and when the Jsf Bean is in
UPDATE
mode, the same entity should be merged.Enum Constant and Description |
---|
CANCEL
Cancel mode.
|
COPY
Copy mode.
|
DELETE
Delete mode.
|
NEW
New mode.
|
UNKNOWN
Unknown mode.
|
UPDATE
Update mode.
|
USER_DEFINED
User defined mode.
|
VIEW
View mode.
|
Modifier and Type | Method and Description |
---|---|
static JsfBeanMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsfBeanMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsfBeanMode UNKNOWN
public static final JsfBeanMode NEW
public static final JsfBeanMode UPDATE
public static final JsfBeanMode DELETE
public static final JsfBeanMode VIEW
public static final JsfBeanMode CANCEL
public static final JsfBeanMode COPY
public static final JsfBeanMode USER_DEFINED
public static JsfBeanMode[] values()
for (JsfBeanMode c : JsfBeanMode.values()) System.out.println(c);
public static JsfBeanMode 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 nullCopyright © 2008–2018. All rights reserved.