com.sun.enterprise.admin.monitor.callflow
Enum EntityManagerMethod

java.lang.Object
  extended by java.lang.Enum<EntityManagerMethod>
      extended by com.sun.enterprise.admin.monitor.callflow.EntityManagerMethod
All Implemented Interfaces:
Serializable, Comparable<EntityManagerMethod>

public enum EntityManagerMethod
extends Enum<EntityManagerMethod>


Enum Constant Summary
CLEAR
           
CLOSE
           
CONTAINS
           
CREATE_NAMED_QUERY
           
CREATE_NATIVE_QUERY_STRING
           
CREATE_NATIVE_QUERY_STRING_CLASS
           
CREATE_NATIVE_QUERY_STRING_STRING
           
CREATE_QUERY
           
FIND
           
FLUSH
           
GET_DELEGATE
           
GET_FLUSH_MODE
           
GET_REFERENCE
           
GET_TRANSACTION
           
IS_OPEN
           
JOIN_TRANSACTION
           
LOCK
           
MERGE
           
PERSIST
           
REFRESH
           
REMOVE
           
SET_FLUSH_MODE
           
 
Method Summary
static EntityManagerMethod valueOf(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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 name
NullPointerException - if the argument is null


Copyright © 2012 GlassFish Community. All Rights Reserved.