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

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

public final class OrPredicate
extends AbstractDataTransferObject

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

Method Summary
 Set<Predicate> getPredicates()
          Returns an unmodifiable set of predicates contained within this composite predicate.
 String toString()
          This will return a proper string representation of the Model Object.
 
Methods inherited from class org.kuali.rice.core.api.mo.AbstractDataTransferObject
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields
 
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
 

Method Detail

getPredicates

public Set<Predicate> getPredicates()
Description copied from interface: CompositePredicate
Returns an unmodifiable set of predicates contained within this composite predicate. This set could be empty but should never be null.

Specified by:
getPredicates in interface CompositePredicate
Returns:
the set of predicates contained within this composite

toString

public final String toString()
Description copied from interface: ModelObjectBasic
This will return a proper string representation of the Model Object. All of the fields comprising the "public" api should be represented in the return value.

Specified by:
toString in interface ModelObjectBasic
Returns:
the string representation


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.