EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.jpa.jpql.model
Class BasicStateObjectBuilder.SimpleRangeDeclarationBuilder

java.lang.Object
  extended by org.eclipse.persistence.jpa.jpql.parser.AnonymousExpressionVisitor
      extended by org.eclipse.persistence.jpa.jpql.parser.AbstractTraverseChildrenVisitor
          extended by org.eclipse.persistence.jpa.jpql.model.BasicStateObjectBuilder.AbstractRangeDeclarationBuilder<SimpleFromClauseStateObject>
              extended by org.eclipse.persistence.jpa.jpql.model.BasicStateObjectBuilder.SimpleRangeDeclarationBuilder
All Implemented Interfaces:
IBuilder<AbstractIdentificationVariableDeclarationStateObject,SimpleFromClauseStateObject>, ExpressionVisitor
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.model.BasicStateObjectBuilder.AbstractRangeDeclarationBuilder
parent, stateObject
 
Constructor Summary
protected BasicStateObjectBuilder.SimpleRangeDeclarationBuilder()
           
 
Method Summary
protected  AbstractIdentificationVariableDeclarationStateObject addRangeDeclaration(IdentificationVariableDeclaration expression)
          Creates the concrete instance of an AbstractIdentificationVariableDeclarationStateObject for the given IdentificationVariableDeclaration.
 void visit(CollectionValuedPathExpression expression)
          Visits the CollectionValuedPathExpression expression.
 
Methods inherited from class org.eclipse.persistence.jpa.jpql.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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicStateObjectBuilder.SimpleRangeDeclarationBuilder

protected BasicStateObjectBuilder.SimpleRangeDeclarationBuilder()
Method Detail

addRangeDeclaration

protected AbstractIdentificationVariableDeclarationStateObject addRangeDeclaration(IdentificationVariableDeclaration expression)
Creates the concrete instance of an AbstractIdentificationVariableDeclarationStateObject for the given IdentificationVariableDeclaration.

Specified by:
addRangeDeclaration in class BasicStateObjectBuilder.AbstractRangeDeclarationBuilder<SimpleFromClauseStateObject>
Parameters:
expression - The IdentificationVariableDeclaration to convert into a StateObject
Returns:
A new StateObject representing an identification variable declaration

visit

public void visit(CollectionValuedPathExpression expression)
Visits the CollectionValuedPathExpression expression.

Specified by:
visit in interface ExpressionVisitor
Overrides:
visit in class AnonymousExpressionVisitor
Parameters:
expression - The Expression to visit

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference