|
EclipseLink 2.5.0, build 'v20130507-3faac2b' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<JPQLQueryDeclaration.Type>
org.eclipse.persistence.jpa.jpql.JPQLQueryDeclaration.Type
public static enum JPQLQueryDeclaration.Type
This enum type defines the various types of declarations supported by both the JPA functional specification and EclipseLink.
Enum Constant Summary | |
---|---|
CLASS_NAME
Indicates the "root" object maps a fully qualified class name. |
|
COLLECTION
Indicates the "root" object maps a collection-valued path expression. |
|
DERIVED
Indicates the "root" object is a derived path expression where the identification variable is declared in the super query, otherwise it's an entity name. |
|
RANGE
Indicates the "root" object maps to an entity. |
|
SUBQUERY
Indicates the "root" object maps to a subquery. |
|
TABLE
Indicates the "root" object maps directly to a database table. |
|
UNKNOWN
Indicates the "root" object maps to an unknown expression. |
Method Summary | |
---|---|
boolean |
isRange()
Determines whether this type represents a range variable declaration. |
static JPQLQueryDeclaration.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static JPQLQueryDeclaration.Type[] |
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 |
---|
public static final JPQLQueryDeclaration.Type CLASS_NAME
public static final JPQLQueryDeclaration.Type COLLECTION
public static final JPQLQueryDeclaration.Type DERIVED
public static final JPQLQueryDeclaration.Type RANGE
public static final JPQLQueryDeclaration.Type SUBQUERY
public static final JPQLQueryDeclaration.Type TABLE
public static final JPQLQueryDeclaration.Type UNKNOWN
Method Detail |
---|
public static JPQLQueryDeclaration.Type[] values()
for (JPQLQueryDeclaration.Type c : JPQLQueryDeclaration.Type.values()) System.out.println(c);
public static JPQLQueryDeclaration.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic boolean isRange()
true
if this constant represents a range variable declaration;
false
otherwise
|
EclipseLink 2.5.0, build 'v20130507-3faac2b' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |