EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

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

java.lang.Object
  extended by org.eclipse.persistence.jpa.jpql.parser.AnonymousExpressionVisitor
      extended by org.eclipse.persistence.jpa.jpql.model.BasicStateObjectBuilder.SelectItemBuilder
All Implemented Interfaces:
IBuilder<StateObject,SelectClauseStateObject>, ExpressionVisitor
Enclosing class:
BasicStateObjectBuilder

protected class BasicStateObjectBuilder.SelectItemBuilder
extends AnonymousExpressionVisitor
implements IBuilder<StateObject,SelectClauseStateObject>

This builder is responsible to create the items owned by the top-level SELECT clause.


Field Summary
protected  SelectClauseStateObject parent
           
protected  StateObject stateObject
           
 
Constructor Summary
protected BasicStateObjectBuilder.SelectItemBuilder()
           
 
Method Summary
 StateObject buildStateObject(SelectClauseStateObject parent, Expression expression)
          Creates the StateObject representation of the given Expression.
protected  void visit(Expression expression)
          Blindly visit the given Expression.
 void visit(ResultVariable expression)
          Visits the ResultVariable expression.
 
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, visit, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parent

protected SelectClauseStateObject parent

stateObject

protected StateObject stateObject
Constructor Detail

BasicStateObjectBuilder.SelectItemBuilder

protected BasicStateObjectBuilder.SelectItemBuilder()
Method Detail

buildStateObject

public StateObject buildStateObject(SelectClauseStateObject parent,
                                    Expression expression)
Creates the StateObject representation of the given Expression.

Specified by:
buildStateObject in interface IBuilder<StateObject,SelectClauseStateObject>
Parameters:
parent - The parent of the new StateObject to create
expression - The parsed Expression to convert into a StateObject
Returns:
The StateObject representation of the given Expression

visit

protected void visit(Expression expression)
Blindly visit the given Expression.

Overrides:
visit in class AnonymousExpressionVisitor
Parameters:
expression - The Expression to visit

visit

public void visit(ResultVariable expression)
Visits the ResultVariable 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