EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

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

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

Constructor Detail

BasicStateObjectBuilder.RangeDeclarationBuilder

protected BasicStateObjectBuilder.RangeDeclarationBuilder()
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<FromClauseStateObject>
Parameters:
expression - The IdentificationVariableDeclaration to convert into a StateObject
Returns:
A new StateObject representing an identification variable declaration

visit

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

Specified by:
visit in interface ExpressionVisitor
Overrides:
visit in class BasicStateObjectBuilder.AbstractRangeDeclarationBuilder<FromClauseStateObject>
Parameters:
expression - The Expression to visit

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference