Home | Trees | Index | Help |
|
---|
Package Modeling :: Package interfaces :: Module Qualifier :: Class QualifierInterface |
|
Base
--+
|
QualifierInterface
Method Summary | |
---|---|
Adds the receiver's qualifier keys to the supplied list. | |
Returns the set (tuple) of keys used in the qualifier. | |
bindingKeys(self)
| |
Tests whether the supplied object matches the qualifier Parameter 'object' should be a subclass of KeyValueCoding | |
keyPathForBindingKey(self,
aKey)
| |
Checks that all qualifierKeys can be found in the supplied class description, either in attributes or relationships. |
Method Details |
---|
addQualifierKeysToSet(self, qualifierKeysList)Adds the receiver's qualifier keys to the supplied list. This must be overriden in subclasses |
allQualifierKeys(self)Returns the set (tuple) of keys used in the qualifier. The returned tuple has no duplicate. For example, for a qualifier defined like this: NOT((age<=30 OR age>50) AND book.title caseInsensitiveLike "*hitchhiker*" the set ('age', 'book.title') is returned. Subclasses should not override this method: override addQualifierKeysToSet instead. |
evaluateWithObject(self, object)Tests whether the supplied object matches the qualifier Parameter 'object' should be a subclass of KeyValueCoding |
validateKeysWithRootClassDescription(self, aClassDescription)Checks that all qualifierKeys can be found in the supplied class description, either in attributes or relationships. When a keypath is involved, like 'book.title', only the first part, i.e. 'book', while be checked against the class description ; the remaining part is not checked at all. Raises ValueError on failure. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sat Mar 4 13:36:24 2006 | http://epydoc.sf.net |