org.apache.openjpa.jdbc.kernel.exps
Class HasContainsExpressionVisitor

java.lang.Object
  extended by org.apache.openjpa.kernel.exps.AbstractExpressionVisitor
      extended by org.apache.openjpa.jdbc.kernel.exps.HasContainsExpressionVisitor
All Implemented Interfaces:
ExpressionVisitor

 class HasContainsExpressionVisitor
extends AbstractExpressionVisitor

Determines whether the visited expressions include a "contains" expression.

Author:
Abe White

Constructor Summary
HasContainsExpressionVisitor()
           
 
Method Summary
 void enter(Expression exp)
          Enter an expression.
static boolean hasContains(Expression exp)
           
 
Methods inherited from class org.apache.openjpa.kernel.exps.AbstractExpressionVisitor
enter, exit, exit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HasContainsExpressionVisitor

HasContainsExpressionVisitor()
Method Detail

hasContains

public static boolean hasContains(Expression exp)

enter

public void enter(Expression exp)
Description copied from interface: ExpressionVisitor
Enter an expression. The expression will then invoke visits on its components.

Specified by:
enter in interface ExpressionVisitor
Overrides:
enter in class AbstractExpressionVisitor


Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.