Class EOOrQualifier

  extended by net.wotonomy.control.EOQualifier
      extended by net.wotonomy.control.EOOrQualifier
All Implemented Interfaces:
EOKeyValueArchiving, EOQualifierEvaluation

public class EOOrQualifier
extends EOQualifier
implements EOKeyValueArchiving, EOQualifierEvaluation

EOOrQualifier contains other EOQualifiers, evaluating as true if any of the contained qualifiers evaluate as true.

$Revision: 894 $
Author:,, $Author: cgruber $

Field Summary
Fields inherited from class net.wotonomy.control.EOQualifier
QualifierOperatorCaseInsensitiveLike, QualifierOperatorContains, QualifierOperatorEqual, QualifierOperatorGreaterThan, QualifierOperatorGreaterThanOrEqualTo, QualifierOperatorLessThan, QualifierOperatorLessThanOrEqualTo, QualifierOperatorLike, QualifierOperatorNotEqual
Constructor Summary
EOOrQualifier(java.util.List aQualifierList)
Method Summary
 void addQualifier(EOQualifier qualifier)
          Add a new qualifier to the list.
static java.lang.Object decodeWithKeyValueUnarchiver(EOKeyValueUnarchiver arch)
 void encodeWithKeyValueArchiver(EOKeyValueArchiver arch)
 boolean evaluateWithObject(java.lang.Object anObject)
          Evaluates this qualifier for the specified object, and returns whether the object is qualified. qualifiers()
          Returns a List of qualifiers contained by this qualifier.
 java.lang.String toString()
          Returns a string representation of this qualifier.
Methods inherited from class net.wotonomy.control.EOQualifier
addQualifierKeysToSet, allQualifierKeys, allQualifierOperators, bindingKeys, filterArrayWithQualifier, filteredArrayWithQualifier, keyPathForBindingKey, operatorSelectorForString, qualifierToMatchAllValues, qualifierToMatchAnyValue, qualifierWithBindings, qualifierWithQualifierFormat, relationalQualifierOperators, stringForOperatorSelector, validateKeysWithRootClassDescription
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public EOOrQualifier(java.util.List aQualifierList)
Method Detail


public qualifiers()
Returns a List of qualifiers contained by this qualifier.


public void addQualifier(EOQualifier qualifier)
Add a new qualifier to the list.


public boolean evaluateWithObject(java.lang.Object anObject)
Evaluates this qualifier for the specified object, and returns whether the object is qualified. selector() is invoked on the value for key() on the specified object, with value() as the parameter. Note: this has a lazy "or" implementation. Ex. Qal1 or Qal2. If Qal1 is evaluated to be true, then it returns true without further evaluate Qal2.

Specified by:
evaluateWithObject in interface EOQualifierEvaluation
evaluateWithObject in class EOQualifier


public java.lang.String toString()
Returns a string representation of this qualifier.

toString in class EOQualifier


public static java.lang.Object decodeWithKeyValueUnarchiver(EOKeyValueUnarchiver arch)


public void encodeWithKeyValueArchiver(EOKeyValueArchiver arch)
Specified by:
encodeWithKeyValueArchiver in interface EOKeyValueArchiving

Copyright © 2006 null. All Rights Reserved.