Class BasicStateObjectBuilder.RangeDeclarationBuilder
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<FromClauseStateObject>
org.eclipse.persistence.jpa.jpql.tools.model.BasicStateObjectBuilder.RangeDeclarationBuilder
- All Implemented Interfaces:
ExpressionVisitor
,IBuilder<AbstractIdentificationVariableDeclarationStateObject,
FromClauseStateObject>
- Enclosing class:
BasicStateObjectBuilder
protected class BasicStateObjectBuilder.RangeDeclarationBuilder
extends BasicStateObjectBuilder.AbstractRangeDeclarationBuilder<FromClauseStateObject>
This builder is responsible to create a new identification variable declaration and to add it
to the state object representing the
FROM
clause of the top-level query.-
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
(AbstractSchemaName expression) Visits theAbstractSchemaName
expression.Methods inherited from class org.eclipse.persistence.jpa.jpql.tools.model.BasicStateObjectBuilder.AbstractRangeDeclarationBuilder
buildStateObject, 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, visit
-
Constructor Details
-
RangeDeclarationBuilder
protected RangeDeclarationBuilder()
-
-
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<FromClauseStateObject>
- Parameters:
expression
- TheIdentificationVariableDeclaration
to convert into aStateObject
- Returns:
- A new
StateObject
representing an identification variable declaration
-
visit
Description copied from interface:ExpressionVisitor
Visits theAbstractSchemaName
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classBasicStateObjectBuilder.AbstractRangeDeclarationBuilder<FromClauseStateObject>
- Parameters:
expression
- TheExpression
to visit
-