Class BasicStateObjectBuilder.JoinBuilder
- java.lang.Object
-
- org.eclipse.persistence.jpa.jpql.parser.AbstractExpressionVisitor
-
- org.eclipse.persistence.jpa.jpql.tools.model.BasicStateObjectBuilder.JoinBuilder
-
- All Implemented Interfaces:
ExpressionVisitor
,IBuilder<JoinStateObject,AbstractIdentificationVariableDeclarationStateObject>
- Enclosing class:
- BasicStateObjectBuilder
protected class BasicStateObjectBuilder.JoinBuilder extends AbstractExpressionVisitor implements IBuilder<JoinStateObject,AbstractIdentificationVariableDeclarationStateObject>
-
-
Field Summary
Fields Modifier and Type Field Description protected AbstractIdentificationVariableDeclarationStateObject
parent
protected JoinStateObject
stateObject
-
Constructor Summary
Constructors Modifier Constructor Description protected
JoinBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JoinStateObject
buildStateObject(AbstractIdentificationVariableDeclarationStateObject parent, Expression expression)
Creates theStateObject
representation of the givenExpression
.void
visit(CollectionExpression expression)
Visits theCollectionExpression
expression.void
visit(IdentificationVariableDeclaration expression)
Visits theIdentificationVariableDeclaration
expression.void
visit(Join expression)
Visits theJoin
expression.void
visit(TreatExpression expression)
Visits theTreatExpression
expression.-
Methods inherited from class org.eclipse.persistence.jpa.jpql.parser.AbstractExpressionVisitor
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
-
-
-
-
Field Detail
-
parent
protected AbstractIdentificationVariableDeclarationStateObject parent
-
stateObject
protected JoinStateObject stateObject
-
-
Method Detail
-
buildStateObject
public JoinStateObject buildStateObject(AbstractIdentificationVariableDeclarationStateObject parent, Expression expression)
Creates theStateObject
representation of the givenExpression
.- Specified by:
buildStateObject
in interfaceIBuilder<JoinStateObject,AbstractIdentificationVariableDeclarationStateObject>
- Parameters:
parent
- The parent of the newStateObject
to createexpression
- The parsedExpression
to convert into aStateObject
- Returns:
- The
StateObject
representation of the givenExpression
-
visit
public void visit(CollectionExpression expression)
Visits theCollectionExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAbstractExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(IdentificationVariableDeclaration expression)
Visits theIdentificationVariableDeclaration
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAbstractExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(Join expression)
Visits theJoin
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAbstractExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(TreatExpression expression)
Visits theTreatExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAbstractExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
-