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

java.lang.Object
  extended by org.apache.openjpa.jdbc.kernel.exps.CompareEqualExpression
      extended by org.apache.openjpa.jdbc.kernel.exps.NotEqualExpression
All Implemented Interfaces:
Serializable, Exp, Expression

 class NotEqualExpression
extends CompareEqualExpression

Compares two values.

Author:
Abe White

Constructor Summary
NotEqualExpression(Val val1, Val val2)
          Constructor.
 
Method Summary
 void appendTo(Select sel, ExpContext ctx, BinaryOpExpState bstate, SQLBuffer buf, boolean val1Null, boolean val2Null)
          Append the SQL for the comparison.
 
Methods inherited from class org.apache.openjpa.jdbc.kernel.exps.CompareEqualExpression
acceptVisit, appendTo, getValue1, getValue2, initialize, isDirectComparison, selectColumns
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotEqualExpression

public NotEqualExpression(Val val1,
                          Val val2)
Constructor. Supply values to compare.

Method Detail

appendTo

public void appendTo(Select sel,
                     ExpContext ctx,
                     BinaryOpExpState bstate,
                     SQLBuffer buf,
                     boolean val1Null,
                     boolean val2Null)
Description copied from class: CompareEqualExpression
Append the SQL for the comparison.

Specified by:
appendTo in class CompareEqualExpression


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