org.apache.openjpa.persistence.query
Class AndPredicate

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

public class AndPredicate
extends LogicalPredicate

Denotes (e1 AND 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
AndPredicate(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

AndPredicate

public AndPredicate(Predicate p1,
                    Predicate p2)


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