org.kuali.rice.core.api.criteria
Class OrPredicate

java.lang.Object
  extended by org.kuali.rice.core.api.criteria.AbstractPredicate
      extended by org.kuali.rice.core.api.criteria.AbstractCompositePredicate
          extended by org.kuali.rice.core.api.criteria.OrPredicate
All Implemented Interfaces:
Serializable, CompositePredicate, Predicate, ModelObjectBasic, ModelObjectComplete

public final class OrPredicate
extends AbstractCompositePredicate

An immutable composite predicate which implements "or-ing" of multiple predicates together.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
for a convenient way to construct this class., Serialized Form

Nested Class Summary
(package private) static class OrPredicate.Constants
          Defines some internal constants used on this class.
 
Field Summary
private  Collection<Element> _futureElements
           
private static long serialVersionUID
           
 
Constructor Summary
private OrPredicate()
          Used only by JAXB for construction.
(package private) OrPredicate(Set<Predicate> predicates)
          Construct an "Or" predicate from the given list of predicates.
 
Method Summary
 
Methods inherited from class org.kuali.rice.core.api.criteria.AbstractCompositePredicate
getPredicates, toString
 
Methods inherited from class org.kuali.rice.core.api.criteria.AbstractPredicate
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectComplete
equals, hashCode
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

_futureElements

private final Collection<Element> _futureElements
Constructor Detail

OrPredicate

private OrPredicate()
Used only by JAXB for construction.


OrPredicate

OrPredicate(Set<Predicate> predicates)
Construct an "Or" predicate from the given list of predicates. The given list of predicates can be null or empty. If the list is null then it will be translated internally to an empty list.

Parameters:
predicates - the List of predicates to set on the And predicate


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.