Package org.eclipse.persistence.jpa.jpql.model.query

Examples of org.eclipse.persistence.jpa.jpql.model.query.IdentificationVariableStateObject


   * {@inheritDoc}
   */
  @Override
  public void visit(IdentificationVariable expression) {

    IdentificationVariableStateObject stateObject = new IdentificationVariableStateObject(
      parent,
      expression.getText()
    );

    stateObject.setVirtual(expression.isVirtual());
    stateObject.setExpression(expression);
    this.stateObject = stateObject;
  }
View Full Code Here


   * {@inheritDoc}
   */
  @Override
  public void visit(IdentificationVariable expression) {

    IdentificationVariableStateObject stateObject = new IdentificationVariableStateObject(
      parent,
      expression.getText()
    );

    stateObject.setVirtual(expression.isVirtual());
    stateObject.setExpression(expression);
    this.stateObject = stateObject;
  }
View Full Code Here

    @Override
    public void visit(IdentificationVariable expression) {

      stateObject.setIdentificationVariable(expression.getText());

      IdentificationVariableStateObject variable = stateObject.getRangeVariableDeclaration().getIdentificationVariableStateObject();
      variable.setVirtual(expression.isVirtual());
      variable.setExpression(expression);
    }
View Full Code Here

  protected StateObject buildCollectionPath(String path) {
    return new CollectionValuedPathExpressionStateObject(parent, path);
  }

  protected StateObject buildIdentificationVariable(String literal) {
    return new IdentificationVariableStateObject(parent, literal);
  }
View Full Code Here

    /**
     * {@inheritDoc}
     */
    @Override
    public void visit(IdentificationVariable expression) {
      IdentificationVariableStateObject variable = stateObject.getIdentificationVariable();
      variable.setExpression(expression);
      variable.setText(expression.getText());
      variable.setVirtual(expression.isVirtual());
    }
View Full Code Here

    /**
     * {@inheritDoc}
     */
    @Override
    public void visit(IdentificationVariable expression) {
      IdentificationVariableStateObject variable = stateObject.getIdentificationVariableStateObject();
      variable.setExpression(expression);
      variable.setText(expression.getText());
      variable.setVirtual(expression.isVirtual());
    }
View Full Code Here

    @Override
    public void visit(IdentificationVariable expression) {

      if (updateItem == null) {

        IdentificationVariableStateObject variable = stateObject.getIdentificationVariableStateObject();

        variable.setText(expression.getText());
        variable.setVirtual(expression.isVirtual());
        variable.setExpression(expression);
      }
    }
View Full Code Here

TOP

Related Classes of org.eclipse.persistence.jpa.jpql.model.query.IdentificationVariableStateObject

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.