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

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


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

      TreatExpressionStateObject treatStateObject = new TreatExpressionStateObject(
        stateObject,
        expression.hasAs(),
        literal(expression.getEntityType(), LiteralType.ENTITY_TYPE)
      );

      treatStateObject.setExpression(expression);
      stateObject.getJoinAssociationPathStateObject().decorate(treatStateObject);
      expression.getCollectionValuedPathExpression().accept(this);
    }
View Full Code Here


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

      TreatExpressionStateObject treatStateObject = new TreatExpressionStateObject(
        stateObject,
        expression.hasAs(),
        literal(expression.getEntityType(), LiteralType.ENTITY_TYPE)
      );

      treatStateObject.setExpression(expression);
      stateObject.getJoinAssociationPathStateObject().decorate(treatStateObject);
      expression.getCollectionValuedPathExpression().accept(this);
    }
View Full Code Here

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

      TreatExpressionStateObject treatStateObject = new TreatExpressionStateObject(
        stateObject,
        expression.hasAs(),
        literal(expression.getEntityType(), LiteralType.ENTITY_TYPE)
      );

      treatStateObject.setExpression(expression);
      stateObject.getJoinAssociationPathStateObject().decorate(treatStateObject);
      expression.getCollectionValuedPathExpression().accept(this);
    }
View Full Code Here

TOP

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

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.