com.sun.enterprise.container.common.spi.util
Enum EntityManagerMethod

java.lang.Object
  extended by java.lang.Enum<EntityManagerMethod>
      extended by com.sun.enterprise.container.common.spi.util.EntityManagerMethod
All Implemented Interfaces:
Serializable, Comparable<EntityManagerMethod>

public enum EntityManagerMethod
extends Enum<EntityManagerMethod>


Enum Constant Summary
CLEAR
           
CLOSE
           
CONTAINS
           
CREATE_NAMED_QUERY
           
CREATE_NAMED_QUERY_STRING_CLASS
           
CREATE_NATIVE_QUERY_STRING
           
CREATE_NATIVE_QUERY_STRING_CLASS
           
CREATE_NATIVE_QUERY_STRING_STRING
           
CREATE_QUERY
           
CREATE_QUERY_CRITERIA_QUERY
           
CREATE_QUERY_STRING_CLASS
           
DETATCH
           
FIND
           
FIND_CLASS_OBJECT_LOCKMODETYPE
           
FIND_CLASS_OBJECT_LOCKMODETYPE_PROPERTIES
           
FIND_CLASS_OBJECT_MAP
           
FLUSH
           
GET_CRITERIA_BUILDER
           
GET_DELEGATE
           
GET_ENTITY_MANAGER_FACTORY
           
GET_FLUSH_MODE
           
GET_LOCK_MODE
           
GET_METAMODEL
           
GET_PROPERTIES
           
GET_REFERENCE
           
GET_TRANSACTION
           
IS_OPEN
           
JOIN_TRANSACTION
           
LOCK
           
LOCK_LOCKMODETYPE_MAP
           
MERGE
           
PERSIST
           
REFRESH
           
REFRESH_OBJECT_LOCKMODETYPE
           
REFRESH_OBJECT_LOCKMODETYPE_MAP
           
REFRESH_OBJECT_PROPERTIES
           
REMOVE
           
SET_FLUSH_MODE
           
SET_PROPERTY
           
UNWRAP
           
 
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_CLASS_OBJECT_MAP

public static final EntityManagerMethod FIND_CLASS_OBJECT_MAP

FIND

public static final EntityManagerMethod FIND

FIND_CLASS_OBJECT_LOCKMODETYPE

public static final EntityManagerMethod FIND_CLASS_OBJECT_LOCKMODETYPE

FIND_CLASS_OBJECT_LOCKMODETYPE_PROPERTIES

public static final EntityManagerMethod FIND_CLASS_OBJECT_LOCKMODETYPE_PROPERTIES

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

LOCK_LOCKMODETYPE_MAP

public static final EntityManagerMethod LOCK_LOCKMODETYPE_MAP

REFRESH

public static final EntityManagerMethod REFRESH

REFRESH_OBJECT_PROPERTIES

public static final EntityManagerMethod REFRESH_OBJECT_PROPERTIES

REFRESH_OBJECT_LOCKMODETYPE

public static final EntityManagerMethod REFRESH_OBJECT_LOCKMODETYPE

REFRESH_OBJECT_LOCKMODETYPE_MAP

public static final EntityManagerMethod REFRESH_OBJECT_LOCKMODETYPE_MAP

CLEAR

public static final EntityManagerMethod CLEAR

CONTAINS

public static final EntityManagerMethod CONTAINS

GET_LOCK_MODE

public static final EntityManagerMethod GET_LOCK_MODE

SET_PROPERTY

public static final EntityManagerMethod SET_PROPERTY

GET_PROPERTIES

public static final EntityManagerMethod GET_PROPERTIES

CREATE_QUERY

public static final EntityManagerMethod CREATE_QUERY

CREATE_QUERY_STRING_CLASS

public static final EntityManagerMethod CREATE_QUERY_STRING_CLASS

CREATE_QUERY_CRITERIA_QUERY

public static final EntityManagerMethod CREATE_QUERY_CRITERIA_QUERY

CREATE_NAMED_QUERY

public static final EntityManagerMethod CREATE_NAMED_QUERY

CREATE_NAMED_QUERY_STRING_CLASS

public static final EntityManagerMethod CREATE_NAMED_QUERY_STRING_CLASS

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

GET_ENTITY_MANAGER_FACTORY

public static final EntityManagerMethod GET_ENTITY_MANAGER_FACTORY

GET_CRITERIA_BUILDER

public static final EntityManagerMethod GET_CRITERIA_BUILDER

GET_METAMODEL

public static final EntityManagerMethod GET_METAMODEL

DETATCH

public static final EntityManagerMethod DETATCH

UNWRAP

public static final EntityManagerMethod UNWRAP
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.