Package org.eclipse.persistence.jpa.jpql.AbstractEclipseLinkSemanticValidator

Examples of org.eclipse.persistence.jpa.jpql.AbstractEclipseLinkSemanticValidator.EclipseLinkOwningClauseVisitor


  /**
   * {@inheritDoc}
   */
  @Override
  protected OwningClauseVisitor buildOwningClauseVisitor() {
    return new EclipseLinkOwningClauseVisitor();
  }
View Full Code Here


   * @param expression The {@link Expression} to visit its parent hierarchy up to the clause
   * @return <code>true</code> if the first parent being a clause is the <b>UNION</b> clause;
   * <code>false</code> otherwise
   */
  protected boolean isOwnedByUnionClause(Expression expression) {
    EclipseLinkOwningClauseVisitor visitor = getOwningClauseVisitor();
    try {
      expression.accept(visitor);
      return visitor.unionClause != null;
    }
    finally {
      visitor.dispose();
    }
  }
View Full Code Here

  /**
   * {@inheritDoc}
   */
  @Override
  protected OwningClauseVisitor buildOwningClauseVisitor() {
    return new EclipseLinkOwningClauseVisitor();
  }
View Full Code Here

   * @param expression The {@link Expression} to visit its parent hierarchy up to the clause
   * @return <code>true</code> if the first parent being a clause is the <b>UNION</b> clause;
   * <code>false</code> otherwise
   */
  protected boolean isOwnedByUnionClause(Expression expression) {
    EclipseLinkOwningClauseVisitor visitor = getOwningClauseVisitor();
    try {
      expression.accept(visitor);
      return visitor.unionClause != null;
    }
    finally {
      visitor.dispose();
    }
  }
View Full Code Here

TOP

Related Classes of org.eclipse.persistence.jpa.jpql.AbstractEclipseLinkSemanticValidator.EclipseLinkOwningClauseVisitor

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.