net.wotonomy.control
Class EONotQualifier

java.lang.Object
  extended by net.wotonomy.control.EOQualifier
      extended by net.wotonomy.control.EONotQualifier
All Implemented Interfaces:
EOKeyValueArchiving, EOQualifierEvaluation

public class EONotQualifier
extends EOQualifier
implements EOKeyValueArchiving, EOQualifierEvaluation

EONotQualifiier negates a specified qualifier, evaluating to the opposite of the specified qualifier.

Version:
$Revision: 894 $
Author:
michael@mpowers.net, yjcheung@intersectsoft.com, $Author: cgruber $

Field Summary
 
Fields inherited from class net.wotonomy.control.EOQualifier
QualifierOperatorCaseInsensitiveLike, QualifierOperatorContains, QualifierOperatorEqual, QualifierOperatorGreaterThan, QualifierOperatorGreaterThanOrEqualTo, QualifierOperatorLessThan, QualifierOperatorLessThanOrEqualTo, QualifierOperatorLike, QualifierOperatorNotEqual
 
Constructor Summary
EONotQualifier(EOQualifier aQualifier)
           
 
Method Summary
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.
 EOQualifier qualifier()
          Returns the qualifier that this qualifier negates.
 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

EONotQualifier

public EONotQualifier(EOQualifier aQualifier)
Method Detail

qualifier

public EOQualifier qualifier()
Returns the qualifier that this qualifier negates.


evaluateWithObject

public boolean evaluateWithObject(java.lang.Object anObject)
Evaluates this qualifier for the specified object, and returns whether the object is qualified. evaluateWithObject is invoked on qualifier and the result is negated and returned.

Specified by:
evaluateWithObject in interface EOQualifierEvaluation
Overrides:
evaluateWithObject in class EOQualifier

toString

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

Overrides:
toString in class EOQualifier

decodeWithKeyValueUnarchiver

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

encodeWithKeyValueArchiver

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


Copyright © 2006 null. All Rights Reserved.