com.sun.enterprise.container.common.impl
Enum QueryWrapper.QueryType
java.lang.Object
java.lang.Enum<QueryWrapper.QueryType>
com.sun.enterprise.container.common.impl.QueryWrapper.QueryType
- All Implemented Interfaces:
- Serializable, Comparable<QueryWrapper.QueryType>
- Enclosing class:
- QueryWrapper
protected static enum QueryWrapper.QueryType
- extends Enum<QueryWrapper.QueryType>
EJBQL
public static final QueryWrapper.QueryType EJBQL
TYPED_EJBQL
public static final QueryWrapper.QueryType TYPED_EJBQL
NAMED
public static final QueryWrapper.QueryType NAMED
TYPED_NAMED
public static final QueryWrapper.QueryType TYPED_NAMED
TYPED_CRITERIA
public static final QueryWrapper.QueryType TYPED_CRITERIA
NATIVE
public static final QueryWrapper.QueryType NATIVE
values
public static QueryWrapper.QueryType[] 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 (QueryWrapper.QueryType c : QueryWrapper.QueryType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static QueryWrapper.QueryType 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.