Package moppy :: Module mop :: Class SelectionCriteria
[show private | hide private]
[frames | no frames]

Class SelectionCriteria

object --+
         |
        SelectionCriteria


SelectionCriteria

Pattern used to map a selection to a set of objects in the object domain. Can use attributes such as namespace (i.e. com.blah.mypackage.mymodule.*), class name (mypackage.mymodule.MyClass), method name (i.e. set*, get*, execute(), blah() ), attribute access (__getattr__, someFieldName or __setattr__ someFieldName), or using tagged metadata loaded elsewhere (@mutable-method, @security-required)
Method Summary
  __init__(self)
a new object with type S, a subtype of T __new__(S, ...)
  AND(self, andClause)
  match(self, ctx)
If ANY of the orClauses match, return True else if ALL of the andClauses match, return True else return False
  OR(self, orClause)

Method Details

__new__(S, ...)

Returns:
a new object with type S, a subtype of T

match(self, ctx)

If ANY of the orClauses match, return True else if ALL of the andClauses match, return True else return False

Generated by Epydoc 1.1 on Wed May 14 00:03:20 2003 http://epydoc.sf.net