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

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

public enum EntityManagerQueryMethod
extends Enum<EntityManagerQueryMethod>


Enum Constant Summary
EXECUTE_UPDATE
           
GET_FIRST_RESULT
           
GET_FLUSH_MODE
           
GET_HINTS
           
GET_LOCK_MODE
           
GET_MAX_RESULTS
           
GET_PARAMETER_NAME
           
GET_PARAMETER_NAME_CLASS
           
GET_PARAMETER_NAME_TYPE
           
GET_PARAMETER_POSITION
           
GET_PARAMETER_POSITION_CLASS
           
GET_PARAMETER_VALUE_INT
           
GET_PARAMETER_VALUE_PARAMETER
           
GET_PARAMETER_VALUE_STRING
           
GET_PARAMETERS
           
GET_RESULT_LIST
           
GET_SINGLE_RESULT
           
IS_BOUND_PARAMETER
           
SET_FIRST_RESULT
           
SET_FLUSH_MODE
           
SET_HINT
           
SET_LOCK_MODE
           
SET_MAX_RESULTS
           
SET_PARAMETER_INT_CALENDAR_TEMPORAL_TYPE
           
SET_PARAMETER_INT_DATE_TEMPORAL_TYPE
           
SET_PARAMETER_INT_OBJECT
           
SET_PARAMETER_PARAMETER_CALENDAR_TEMPORAL_TYPE
           
SET_PARAMETER_PARAMETER_DATE_TEMPORAL_TYPE
           
SET_PARAMETER_PARAMETER_OBJECT
           
SET_PARAMETER_STRING_CALENDAR_TEMPORAL_TYPE
           
SET_PARAMETER_STRING_DATE_TEMPORAL_TYPE
           
SET_PARAMETER_STRING_OBJECT
           
UNWRAP
           
 
Method Summary
static EntityManagerQueryMethod valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EntityManagerQueryMethod[] 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

GET_RESULT_LIST

public static final EntityManagerQueryMethod GET_RESULT_LIST

GET_SINGLE_RESULT

public static final EntityManagerQueryMethod GET_SINGLE_RESULT

EXECUTE_UPDATE

public static final EntityManagerQueryMethod EXECUTE_UPDATE

SET_MAX_RESULTS

public static final EntityManagerQueryMethod SET_MAX_RESULTS

GET_MAX_RESULTS

public static final EntityManagerQueryMethod GET_MAX_RESULTS

SET_FIRST_RESULT

public static final EntityManagerQueryMethod SET_FIRST_RESULT

GET_FIRST_RESULT

public static final EntityManagerQueryMethod GET_FIRST_RESULT

SET_HINT

public static final EntityManagerQueryMethod SET_HINT

GET_HINTS

public static final EntityManagerQueryMethod GET_HINTS

SET_PARAMETER_PARAMETER_OBJECT

public static final EntityManagerQueryMethod SET_PARAMETER_PARAMETER_OBJECT

SET_PARAMETER_PARAMETER_DATE_TEMPORAL_TYPE

public static final EntityManagerQueryMethod SET_PARAMETER_PARAMETER_DATE_TEMPORAL_TYPE

SET_PARAMETER_PARAMETER_CALENDAR_TEMPORAL_TYPE

public static final EntityManagerQueryMethod SET_PARAMETER_PARAMETER_CALENDAR_TEMPORAL_TYPE

SET_PARAMETER_STRING_OBJECT

public static final EntityManagerQueryMethod SET_PARAMETER_STRING_OBJECT

SET_PARAMETER_STRING_DATE_TEMPORAL_TYPE

public static final EntityManagerQueryMethod SET_PARAMETER_STRING_DATE_TEMPORAL_TYPE

SET_PARAMETER_STRING_CALENDAR_TEMPORAL_TYPE

public static final EntityManagerQueryMethod SET_PARAMETER_STRING_CALENDAR_TEMPORAL_TYPE

SET_PARAMETER_INT_OBJECT

public static final EntityManagerQueryMethod SET_PARAMETER_INT_OBJECT

SET_PARAMETER_INT_DATE_TEMPORAL_TYPE

public static final EntityManagerQueryMethod SET_PARAMETER_INT_DATE_TEMPORAL_TYPE

SET_PARAMETER_INT_CALENDAR_TEMPORAL_TYPE

public static final EntityManagerQueryMethod SET_PARAMETER_INT_CALENDAR_TEMPORAL_TYPE

GET_PARAMETERS

public static final EntityManagerQueryMethod GET_PARAMETERS

GET_PARAMETER_NAME

public static final EntityManagerQueryMethod GET_PARAMETER_NAME

GET_PARAMETER_NAME_TYPE

public static final EntityManagerQueryMethod GET_PARAMETER_NAME_TYPE

GET_PARAMETER_NAME_CLASS

public static final EntityManagerQueryMethod GET_PARAMETER_NAME_CLASS

GET_PARAMETER_POSITION

public static final EntityManagerQueryMethod GET_PARAMETER_POSITION

GET_PARAMETER_POSITION_CLASS

public static final EntityManagerQueryMethod GET_PARAMETER_POSITION_CLASS

IS_BOUND_PARAMETER

public static final EntityManagerQueryMethod IS_BOUND_PARAMETER

GET_PARAMETER_VALUE_PARAMETER

public static final EntityManagerQueryMethod GET_PARAMETER_VALUE_PARAMETER

GET_PARAMETER_VALUE_STRING

public static final EntityManagerQueryMethod GET_PARAMETER_VALUE_STRING

GET_PARAMETER_VALUE_INT

public static final EntityManagerQueryMethod GET_PARAMETER_VALUE_INT

GET_FLUSH_MODE

public static final EntityManagerQueryMethod GET_FLUSH_MODE

SET_FLUSH_MODE

public static final EntityManagerQueryMethod SET_FLUSH_MODE

SET_LOCK_MODE

public static final EntityManagerQueryMethod SET_LOCK_MODE

GET_LOCK_MODE

public static final EntityManagerQueryMethod GET_LOCK_MODE

UNWRAP

public static final EntityManagerQueryMethod UNWRAP
Method Detail

values

public static EntityManagerQueryMethod[] 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 (EntityManagerQueryMethod c : EntityManagerQueryMethod.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static EntityManagerQueryMethod 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.