|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<AbstractContentAssistVisitor.IdentificationVariableType> org.eclipse.persistence.jpa.jpql.AbstractContentAssistVisitor.IdentificationVariableType
protected static enum AbstractContentAssistVisitor.IdentificationVariableType
The various ways of retrieving identification variables from the declaration expression.
Enum Constant Summary | |
---|---|
ALL
Retrieves all the identification variables declared in the declaration portion of the expression, which is either in the FROM clause of a SELECT query or DELETE query or in the UPDATE query. |
|
COLLECTION
Only retrieves the identification variables that map a path expression defined in a JOIN expression or in a IN expression. |
|
LEFT
Only retrieves the identification variables that have been declared to the left of the expression requested them, both range and collection type variables are collected. |
|
LEFT_COLLECTION
Only retrieves the identification variables that map a path expression defined in a JOIN expression or in a IN expression but that have been declared to the left of the expression requested them. |
|
NONE
Simply indicates the identification variables should not be collected. |
Method Summary | |
---|---|
protected abstract boolean |
add(AbstractContentAssistVisitor contentAssist,
DeclarationResolver.Declaration declaration,
Expression expression)
Adds the identification variables defined in the given DeclarationResolver.Declaration . |
static AbstractContentAssistVisitor.IdentificationVariableType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static AbstractContentAssistVisitor.IdentificationVariableType[] |
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 AbstractContentAssistVisitor.IdentificationVariableType ALL
public static final AbstractContentAssistVisitor.IdentificationVariableType COLLECTION
public static final AbstractContentAssistVisitor.IdentificationVariableType LEFT
public static final AbstractContentAssistVisitor.IdentificationVariableType LEFT_COLLECTION
public static final AbstractContentAssistVisitor.IdentificationVariableType NONE
Method Detail |
---|
public static AbstractContentAssistVisitor.IdentificationVariableType[] values()
for (AbstractContentAssistVisitor.IdentificationVariableType c : AbstractContentAssistVisitor.IdentificationVariableType.values()) System.out.println(c);
public static AbstractContentAssistVisitor.IdentificationVariableType 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 nullprotected abstract boolean add(AbstractContentAssistVisitor contentAssist, DeclarationResolver.Declaration declaration, Expression expression)
DeclarationResolver.Declaration
.
contentAssist
- Backpointer to the content assist classdeclaration
- The DeclarationResolver.Declaration
in the order they are declared in the declaration clauseexpression
- The Expression
being visited, which can help to determine when to
stop collecting identification variables
|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |