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 the
FROM
clause of a subquery.-
Field Summary
Fields inherited from class org.eclipse.persistence.jpa.jpql.tools.model.BasicStateObjectBuilder.AbstractRangeDeclarationBuilder
parent, stateObject
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddRangeDeclaration
(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, visit, visit, visit, visit, visit, visit, visit, visit, visit
-
Constructor Details
-
SimpleRangeDeclarationBuilder
protected SimpleRangeDeclarationBuilder()
-
-
Method Details
-
addRangeDeclaration
protected AbstractIdentificationVariableDeclarationStateObject addRangeDeclaration(IdentificationVariableDeclaration expression) Description copied from class:BasicStateObjectBuilder.AbstractRangeDeclarationBuilder
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
Description copied from interface:ExpressionVisitor
Visits theCollectionValuedPathExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-