com.webobjects.directtoweb
Class NonNullQualifier
java.lang.Object
|
+--com.webobjects.eocontrol.EOQualifier
|
+--com.webobjects.directtoweb.NonNullQualifier
- All Implemented Interfaces:
- EOKeyValueArchiving, EOQualifierEvaluation, Serializable
- public class NonNullQualifier
- extends EOQualifier
- implements EOKeyValueArchiving
- See Also:
- Serialized Form
Methods inherited from class com.webobjects.eocontrol.EOQualifier |
allQualifierKeys, allQualifierOperators, bindingKeys, clone, evaluateWithObject, filterArrayWithQualifier, filteredArrayWithQualifier, keyPathForBindingKey, operatorSelectorForSelectorNamed, operatorSelectorForString, qualifierToMatchAllValues, qualifierToMatchAnyValue, qualifierWithQualifierFormat, relationalQualifierOperators, stringForOperatorSelector |
NonNullQualifier
public NonNullQualifier(String key)
addQualifierKeysToSet
public void addQualifierKeysToSet(NSMutableSet qualKeys)
- Description copied from class:
EOQualifier
- Adds the receiver's qualifier keys to qualifierKeys. The subclasses
in the EOControl framework do this by traversing the tree of qualifiers.
Node qualifiers (such as EOAndQualifier) recursively invoke this
method until they reach a leaf qualifier (such as EOKeyValueQualifier)
which adds its key to the set.
Subclasses of EOQualifier must implement this method.
- Overrides:
addQualifierKeysToSet
in class EOQualifier
- Following copied from class:
com.webobjects.eocontrol.EOQualifier
- Parameters:
qualifierKeys
- The mutable array of qualifier keys
decodeWithKeyValueUnarchiver
public static Object decodeWithKeyValueUnarchiver(EOKeyValueUnarchiver unarchiver)
description
public String description()
encodeWithKeyValueArchiver
public void encodeWithKeyValueArchiver(EOKeyValueArchiver archiver)
- Description copied from interface:
EOKeyValueArchiving
- Asks the receiver to archive its state into the EOKeyValueArchiver
archiver
.
- Specified by:
encodeWithKeyValueArchiver
in interface EOKeyValueArchiving
- Following copied from interface:
com.webobjects.eocontrol.EOKeyValueArchiving
- Parameters:
archiver
- the EOKeyValueArchiver- See Also:
EOKeyValueArchiver
evaluateWithObject
public boolean evaluateWithObject(EOKeyValueCodingAdditions o)
qualifierWithBindings
public EOQualifier qualifierWithBindings(NSDictionary bindings,
boolean requiresAll)
- Description copied from class:
EOQualifier
- Returns a new qualifier substituting all variables with values
found in bindings. If requiresAll is
true
, any variable not found
in bindings throws an exception. If requiresAll is false
, missing
variable values cause the qualifier node to be pruned from the tree.
- Overrides:
qualifierWithBindings
in class EOQualifier
- Following copied from class:
com.webobjects.eocontrol.EOQualifier
- Parameters:
bindings
- bindings dictionaryrequiresAll
- Value indicating if all the criteria are required- Returns:
- new qualifier substituting all variables with values
in bindings
toString
public String toString()
- Overrides:
toString
in class Object
validateKeysWithRootClassDescription
public void validateKeysWithRootClassDescription(EOClassDescription classDesc)
- Description copied from class:
EOQualifier
- Ensures that the receiver contains keys and key paths that belong
to or originate from classDescription. This method raises an exception
if an unknown key is found, otherwise it returns
null
to indicate
that the keys contained by the qualifier are valid.
- Overrides:
validateKeysWithRootClassDescription
in class EOQualifier
- Following copied from class:
com.webobjects.eocontrol.EOQualifier
- Parameters:
classDescription
- The EOClassDescription to be checked with the receiver
Copyright © 2003 Apple Computer, Inc.