org.apache.openjpa.persistence.query
Class IsEmptyExpression

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.IsEmptyExpression
All Implemented Interfaces:
Serializable, Predicate, Visitable

public class IsEmptyExpression
extends UnaryExpressionPredicate

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
IsEmptyExpression(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

IsEmptyExpression

public IsEmptyExpression(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-2012 Apache Software Foundation. All Rights Reserved.