org.apache.openjpa.persistence.query
Class IsNullExpression

java.lang.Object
  extended by org.apache.openjpa.persistence.query.AbstractVisitable
      extended by org.apache.openjpa.persistence.query.UnaryExpressionPredicate
          extended by org.apache.openjpa.persistence.query.IsNullExpression
All Implemented Interfaces:
Serializable, Predicate, Visitable

public class IsNullExpression
extends UnaryExpressionPredicate

Denotes e IS NULL Expression.

Author:
Pinaki Poddar
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.openjpa.persistence.query.UnaryExpressionPredicate
_e, _op
 
Fields inherited from class org.apache.openjpa.persistence.query.AbstractVisitable
CLOSE_BRACE, COMMA, EMPTY, OPEN_BRACE, SPACE
 
Constructor Summary
IsNullExpression(Expression op)
           
 
Method Summary
 String asExpression(AliasContext ctx)
          Get a JPQL fragment as used in WHERE clause.
 
Methods inherited from class org.apache.openjpa.persistence.query.UnaryExpressionPredicate
and, getOperand, getOperator, not, or
 
Methods inherited from class org.apache.openjpa.persistence.query.AbstractVisitable
asJoinable, asProjection, getAliasHint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.openjpa.persistence.query.Visitable
asJoinable, asProjection, getAliasHint
 

Constructor Detail

IsNullExpression

public IsNullExpression(Expression op)
Method Detail

asExpression

public String asExpression(AliasContext ctx)
Description copied from interface: Visitable
Get a JPQL fragment as used in WHERE clause.

Specified by:
asExpression in interface Visitable
Overrides:
asExpression in class UnaryExpressionPredicate


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