|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Operation>
org.spicefactory.pimento.config.Operation
public enum Operation
Enumeration for the available EntityManager operations.
| Enum Constant Summary | |
|---|---|
ALL
Constant for all operations. |
|
LOAD
Constant for load operations. |
|
MERGE
Constant for merge operations. |
|
NAMED_QUERY
Constant for named query operations. |
|
PERSIST
Constant for persist operations. |
|
QUERY
Constant for JPAQL query operations. |
|
READ
Constant for read operations. |
|
REMOVE
Constant for remove operations. |
|
WRITE
Constant for write operations. |
|
| Method Summary | |
|---|---|
static Operation |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Operation[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Operation LOAD
load,
initialize and refresh operations
of the EntityManager remote service (all operations that load
a single entity by id).
public static final Operation QUERY
createQuery method of
the EntityManager remote service.
public static final Operation NAMED_QUERY
createNamedQuery method of
the EntityManager remote service.
public static final Operation PERSIST
public static final Operation MERGE
public static final Operation REMOVE
public static final Operation READ
LOAD,
QUERY and NAMED_QUERY constants.
public static final Operation WRITE
PERSIST,
MERGE and REMOVE constants.
public static final Operation ALL
| Method Detail |
|---|
public static final Operation[] values()
for(Operation c : Operation.values())
System.out.println(c);
public static Operation valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||