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 theFROM
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
Constructors Modifier Constructor Description protected
RangeDeclarationBuilder()
-
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(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
-
-
-
-
Method Detail
-
addRangeDeclaration
protected AbstractIdentificationVariableDeclarationStateObject addRangeDeclaration(IdentificationVariableDeclaration expression)
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
public void visit(AbstractSchemaName expression)
Visits theAbstractSchemaName
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classBasicStateObjectBuilder.AbstractRangeDeclarationBuilder<FromClauseStateObject>
- Parameters:
expression
- TheExpression
to visit
-
-