Class BasicStateObjectBuilder.CollectionMemberDeclarationBuilder
- 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.CollectionMemberDeclarationBuilder
-
- All Implemented Interfaces:
ExpressionVisitor
,IBuilder<CollectionMemberDeclarationStateObject,AbstractFromClauseStateObject>
- Enclosing class:
- BasicStateObjectBuilder
protected static class BasicStateObjectBuilder.CollectionMemberDeclarationBuilder extends AbstractTraverseChildrenVisitor implements IBuilder<CollectionMemberDeclarationStateObject,AbstractFromClauseStateObject>
-
-
Field Summary
Fields Modifier and Type Field Description protected AbstractFromClauseStateObject
parent
protected CollectionMemberDeclarationStateObject
stateObject
-
Constructor Summary
Constructors Modifier Constructor Description protected
CollectionMemberDeclarationBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CollectionMemberDeclarationStateObject
buildStateObject(AbstractFromClauseStateObject parent, Expression expression)
Creates theStateObject
representation of the givenExpression
.void
visit(CollectionMemberDeclaration expression)
Visits theCollectionMemberDeclaration
expression.void
visit(CollectionValuedPathExpression expression)
Visits theCollectionValuedPathExpression
expression.void
visit(IdentificationVariable expression)
Visits theIdentificationVariable
expression.-
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
-
-
-
-
Field Detail
-
parent
protected AbstractFromClauseStateObject parent
-
stateObject
protected CollectionMemberDeclarationStateObject stateObject
-
-
Method Detail
-
buildStateObject
public CollectionMemberDeclarationStateObject buildStateObject(AbstractFromClauseStateObject parent, Expression expression)
Creates theStateObject
representation of the givenExpression
.- Specified by:
buildStateObject
in interfaceIBuilder<CollectionMemberDeclarationStateObject,AbstractFromClauseStateObject>
- 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(CollectionMemberDeclaration expression)
Visits theCollectionMemberDeclaration
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(CollectionValuedPathExpression expression)
Visits theCollectionValuedPathExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(IdentificationVariable expression)
Visits theIdentificationVariable
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
-