Package Modeling :: Package interfaces :: Module Qualifier
[show private | hide private]
[frames | no frames]

Module Modeling.interfaces.Qualifier

Qualifier API

CVS Information

$Id: Qualifier.py,v 1.4 2004/07/20 06:21:41 sbigaret Exp $

Classes
Base  
QualifierInterface  

Function Summary
  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
  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)
  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:
  relationalQualifierOperators()
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'

Generated by Epydoc 2.1 on Sat Mar 4 13:36:25 2006 http://epydoc.sf.net