Home | Trees | Index | Help |
|
---|
Package Modeling :: Package interfaces :: Module Qualifier |
|
Qualifier API
- Predefined Operators
- Module functions (building qualifiers, in-memory filtering, etc.)
- Qualifiers: AND, NOT, ...
CVS Information
$Id: Qualifier.py,v 1.4 2004/07/20 06:21:41 sbigaret Exp $
Classes | |
---|---|
Base |
|
QualifierInterface |
Function Summary | |
---|---|
Returns all strings which can be turned into a QualifierOperator by method 'operatorForString()' | |
Returns those objects in 'objects' which match the supplied qualifier | |
Returns the QualifierOperator corresponding to the supplied string | |
QualifierOperatorCaseInsensitiveLike(value1,
value2)
| |
QualifierOperatorContains(value1,
value2)
| |
QualifierOperatorEqual(value1,
value2)
| |
QualifierOperatorGreaterThan(value1,
value2)
| |
QualifierOperatorGreaterThanOrEqualTo(value1,
value2)
| |
QualifierOperatorLessThan(value1,
value2)
| |
QualifierOperatorLessThanOrEqualTo(value1,
value2)
| |
QualifierOperatorLike(value1,
value2)
| |
QualifierOperatorNotEqual(value1,
value2)
| |
Returns an AndQualifier composed with KeyValueQualifier matching the keys in the dictionary with their values --used operator: OperatorQualifierEqual | |
Returns an OrQualifier composed with KeyValueQualifier matching the keys in the dictionary with their values --used operator: OperatorQualifierEqual | |
Builds a Qualifier from a given expression, such as: | |
Returns all operators except those dedicated to string comparisons, 'like' and 'caseInsensitiveLike' |
Function Details |
---|
allQualifierOperators()Returns all strings which can be turned into a QualifierOperator by method 'operatorForString()' |
filteredArrayWithQualifier(objects, qualifier)Returns those objects in 'objects' which match the supplied qualifier |
operatorForString(aString)Returns the QualifierOperator corresponding to the supplied string |
qualifierToMatchAllValues(aDictionary)Returns an AndQualifier composed with KeyValueQualifier matching the keys in the dictionary with their values --used operator: OperatorQualifierEqual |
qualifierToMatchAnyValues(aDictionary)Returns an OrQualifier composed with KeyValueQualifier matching the keys in the dictionary with their values --used operator: OperatorQualifierEqual |
qualifierWithQualifierFormat(qualifierFormat)Builds a Qualifier from a given expression, such as: NOT ( name=='truc' AND age>30 AND age < 65 ) |
relationalQualifierOperators()Returns all operators except those dedicated to string comparisons, 'like' and 'caseInsensitiveLike' |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sat Mar 4 13:36:25 2006 | http://epydoc.sf.net |