|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.persistence.jpa.jpql.parser.AnonymousExpressionVisitor org.eclipse.persistence.jpa.jpql.parser.AbstractTraverseChildrenVisitor org.eclipse.persistence.jpa.jpql.model.BasicStateObjectBuilder.AbstractRangeDeclarationBuilder<S>
protected abstract class BasicStateObjectBuilder.AbstractRangeDeclarationBuilder<S extends AbstractFromClauseStateObject>
This builder is responsible to create a new identification variable declaration and to add it
to the state object representing the FROM
clause.
Field Summary | |
---|---|
protected S |
parent
The concrete instance of AbstractFromClauseStateObject where the new identification
variable declaration is added. |
protected AbstractIdentificationVariableDeclarationStateObject |
stateObject
The concrete instance of IdentificationVariableDeclarationStateObject
that represents the visited IdentificationVariableDeclaration . |
Constructor Summary | |
---|---|
protected |
BasicStateObjectBuilder.AbstractRangeDeclarationBuilder()
|
Method Summary | |
---|---|
protected abstract AbstractIdentificationVariableDeclarationStateObject |
addRangeDeclaration(IdentificationVariableDeclaration expression)
Creates the concrete instance of an AbstractIdentificationVariableDeclarationStateObject
for the given IdentificationVariableDeclaration . |
AbstractIdentificationVariableDeclarationStateObject |
buildStateObject(S parent,
Expression expression)
Creates the StateObject representation of the given Expression . |
void |
visit(AbstractSchemaName expression)
Visits the AbstractSchemaName expression. |
void |
visit(IdentificationVariable expression)
Visits the IdentificationVariable expression. |
void |
visit(IdentificationVariableDeclaration expression)
Visits the IdentificationVariableDeclaration expression. |
void |
visit(RangeVariableDeclaration expression)
Visits the RangeVariableDeclaration expression. |
Methods inherited from class org.eclipse.persistence.jpa.jpql.parser.AbstractTraverseChildrenVisitor |
---|
visit |
Methods inherited from class org.eclipse.persistence.jpa.jpql.parser.AnonymousExpressionVisitor |
---|
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected S extends AbstractFromClauseStateObject parent
AbstractFromClauseStateObject
where the new identification
variable declaration is added.
protected AbstractIdentificationVariableDeclarationStateObject stateObject
IdentificationVariableDeclarationStateObject
that represents the visited IdentificationVariableDeclaration
.
Constructor Detail |
---|
protected BasicStateObjectBuilder.AbstractRangeDeclarationBuilder()
Method Detail |
---|
protected abstract AbstractIdentificationVariableDeclarationStateObject addRangeDeclaration(IdentificationVariableDeclaration expression)
AbstractIdentificationVariableDeclarationStateObject
for the given IdentificationVariableDeclaration
.
expression
- The IdentificationVariableDeclaration
to convert into a
StateObject
StateObject
representing an identification variable declarationpublic AbstractIdentificationVariableDeclarationStateObject buildStateObject(S parent, Expression expression)
StateObject
representation of the given Expression
.
buildStateObject
in interface IBuilder<AbstractIdentificationVariableDeclarationStateObject,S extends AbstractFromClauseStateObject>
parent
- The parent of the new StateObject
to createexpression
- The parsed Expression
to convert into a StateObject
StateObject
representation of the given Expression
public void visit(AbstractSchemaName expression)
AbstractSchemaName
expression.
visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(IdentificationVariable expression)
IdentificationVariable
expression.
visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(IdentificationVariableDeclaration expression)
IdentificationVariableDeclaration
expression.
visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(RangeVariableDeclaration expression)
RangeVariableDeclaration
expression.
visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visit
|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |