@Status(stage=PRODUCTION, unitTests=COMPLETE) @Review(by="Kees Schotanus", at="2009-09-28") public enum PersistAction extends Enum<PersistAction>
Enum Constant and Description |
---|
EXECUTE_NAMED_QUERY
Execute a named query.
|
FIND_ALL
Find all.
|
FIND_BY_CRITERIA
Find by criteria.
|
FIND_BY_OBJECT_ID
Find by Object ID.
|
MERGE
Merge.
|
PERSIST
Persist.
|
REMOVE
Delete.
|
Modifier and Type | Method and Description |
---|---|
String |
toNonLocalizedString()
Creates a non localized String representation of this PersistAction.
|
static PersistAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PersistAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PersistAction PERSIST
public static final PersistAction MERGE
public static final PersistAction REMOVE
public static final PersistAction FIND_BY_CRITERIA
public static final PersistAction FIND_BY_OBJECT_ID
public static final PersistAction FIND_ALL
public static final PersistAction EXECUTE_NAMED_QUERY
public static PersistAction[] values()
for (PersistAction c : PersistAction.values()) System.out.println(c);
public static PersistAction 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 String toNonLocalizedString()
Copyright © 2008–2018. All rights reserved.