Class BasicStateObjectBuilder.SimpleRangeDeclarationBuilder
- java.lang.Object
-
- org.eclipse.persistence.jpa.jpql.parser.AnonymousExpressionVisitor
-
- org.eclipse.persistence.jpa.jpql.parser.AbstractTraverseChildrenVisitor
-
- org.eclipse.persistence.jpa.jpql.tools.model.BasicStateObjectBuilder.AbstractRangeDeclarationBuilder<SimpleFromClauseStateObject>
-
- org.eclipse.persistence.jpa.jpql.tools.model.BasicStateObjectBuilder.SimpleRangeDeclarationBuilder
-
- All Implemented Interfaces:
ExpressionVisitor
,IBuilder<AbstractIdentificationVariableDeclarationStateObject,SimpleFromClauseStateObject>
- Enclosing class:
- BasicStateObjectBuilder
protected class BasicStateObjectBuilder.SimpleRangeDeclarationBuilder extends BasicStateObjectBuilder.AbstractRangeDeclarationBuilder<SimpleFromClauseStateObject>
This builder is responsible to create a new identification variable declaration and to add it to the state object representing theFROM
clause of a subquery.
-
-
Field Summary
-
Fields inherited from class org.eclipse.persistence.jpa.jpql.tools.model.BasicStateObjectBuilder.AbstractRangeDeclarationBuilder
parent, stateObject
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SimpleRangeDeclarationBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AbstractIdentificationVariableDeclarationStateObject
addRangeDeclaration(IdentificationVariableDeclaration expression)
Creates the concrete instance of anAbstractIdentificationVariableDeclarationStateObject
for the givenIdentificationVariableDeclaration
.void
visit(CollectionValuedPathExpression expression)
Visits theCollectionValuedPathExpression
expression.-
Methods inherited from class org.eclipse.persistence.jpa.jpql.tools.model.BasicStateObjectBuilder.AbstractRangeDeclarationBuilder
buildStateObject, visit, visit, visit, visit
-
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
-
-
-
-
Method Detail
-
addRangeDeclaration
protected AbstractIdentificationVariableDeclarationStateObject addRangeDeclaration(IdentificationVariableDeclaration expression)
Creates the concrete instance of anAbstractIdentificationVariableDeclarationStateObject
for the givenIdentificationVariableDeclaration
.- Specified by:
addRangeDeclaration
in classBasicStateObjectBuilder.AbstractRangeDeclarationBuilder<SimpleFromClauseStateObject>
- Parameters:
expression
- TheIdentificationVariableDeclaration
to convert into aStateObject
- Returns:
- A new
StateObject
representing an identification variable declaration
-
visit
public void visit(CollectionValuedPathExpression expression)
Visits theCollectionValuedPathExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
-