Enum EntityManagerMethod
- java.lang.Object
-
- java.lang.Enum<EntityManagerMethod>
-
- com.sun.enterprise.admin.monitor.callflow.EntityManagerMethod
-
- All Implemented Interfaces:
Serializable,Comparable<EntityManagerMethod>
public enum EntityManagerMethod extends Enum<EntityManagerMethod>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EntityManagerMethodvalueOf(String name)Returns the enum constant of this type with the specified name.static EntityManagerMethod[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PERSIST
public static final EntityManagerMethod PERSIST
-
MERGE
public static final EntityManagerMethod MERGE
-
REMOVE
public static final EntityManagerMethod REMOVE
-
FIND
public static final EntityManagerMethod FIND
-
GET_REFERENCE
public static final EntityManagerMethod GET_REFERENCE
-
FLUSH
public static final EntityManagerMethod FLUSH
-
SET_FLUSH_MODE
public static final EntityManagerMethod SET_FLUSH_MODE
-
GET_FLUSH_MODE
public static final EntityManagerMethod GET_FLUSH_MODE
-
LOCK
public static final EntityManagerMethod LOCK
-
REFRESH
public static final EntityManagerMethod REFRESH
-
CLEAR
public static final EntityManagerMethod CLEAR
-
CONTAINS
public static final EntityManagerMethod CONTAINS
-
CREATE_QUERY
public static final EntityManagerMethod CREATE_QUERY
-
CREATE_NAMED_QUERY
public static final EntityManagerMethod CREATE_NAMED_QUERY
-
CREATE_NATIVE_QUERY_STRING
public static final EntityManagerMethod CREATE_NATIVE_QUERY_STRING
-
CREATE_NATIVE_QUERY_STRING_CLASS
public static final EntityManagerMethod CREATE_NATIVE_QUERY_STRING_CLASS
-
CREATE_NATIVE_QUERY_STRING_STRING
public static final EntityManagerMethod CREATE_NATIVE_QUERY_STRING_STRING
-
JOIN_TRANSACTION
public static final EntityManagerMethod JOIN_TRANSACTION
-
GET_DELEGATE
public static final EntityManagerMethod GET_DELEGATE
-
CLOSE
public static final EntityManagerMethod CLOSE
-
IS_OPEN
public static final EntityManagerMethod IS_OPEN
-
GET_TRANSACTION
public static final EntityManagerMethod GET_TRANSACTION
-
-
Method Detail
-
values
public static EntityManagerMethod[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EntityManagerMethod c : EntityManagerMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EntityManagerMethod valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-