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

Examples of org.eclipse.persistence.jpa.jpql.tools.model.query.CaseExpressionStateObject


   * @param parent The parent of the <code><b>CASE</b></code> expression to build, which is only
   * required when a JPQL fragment needs to be parsed
   */
  protected AbstractCaseExpressionStateObjectBuilder(StateObject parent) {
    super(parent);
    caseExpressionStateObject = new CaseExpressionStateObject(parent);
  }
View Full Code Here


    StateObject caseOperand = stateObject;

    expression.getElseExpression().accept(this);
    StateObject elseStateObject = stateObject;

    CaseExpressionStateObject caseExpressionStateObject = new CaseExpressionStateObject(
      parent,
      caseOperand,
      Collections.<WhenClauseStateObject>emptyList(),
      elseStateObject
    );

    whenClauseBuilder().buildStateObject(caseExpressionStateObject, expression);

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

TOP

Related Classes of org.eclipse.persistence.jpa.jpql.tools.model.query.CaseExpressionStateObject

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.