org.apache.openjpa.persistence.query
Class OrPredicate

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

public class OrPredicate
extends LogicalPredicate

Denotes (e1 OR e2) predicate.

Author:
Pinaki Poddar
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.openjpa.persistence.query.AbstractVisitable
CLOSE_BRACE, COMMA, EMPTY, OPEN_BRACE, SPACE
 
Constructor Summary
OrPredicate(Predicate p1, Predicate p2)
           
 
Method Summary
 
Methods inherited from class org.apache.openjpa.persistence.query.LogicalPredicate
and, asExpression, 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

OrPredicate

public OrPredicate(Predicate p1,
                   Predicate p2)


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