com.ibm.able.rules
Class AblePatternMatchClause
java.lang.Object
|
+--com.ibm.able.rules.AblePatternMatchClause
- All Implemented Interfaces:
- java.io.Serializable
- public class AblePatternMatchClause
- extends java.lang.Object
- implements java.io.Serializable
This class is used to consolidate a set of Selector
variables and their associated constraint expressions for processing of
an AblePatternMatchRule. This object represents the when() part of a
when()/do{} pattern match rule.
- See Also:
AblePatternMatchRule
,
AbleSelector
, Serialized Form
Method Summary |
static java.lang.String |
Copyright()
Determine the copyright of this class. |
java.util.Vector |
match(AbleWorkingMemory theWorkingMemory)
Returns a set of bindings that meet all selector constraints defined in
the when() part of a when/do pattern match rule |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
selectors
protected java.util.Vector selectors
resultSet
protected java.util.Vector resultSet
selectorVars
protected AbleVariable[] selectorVars
numSelectors
protected int numSelectors
workingMemory
protected AbleWorkingMemory workingMemory
myTracer
protected AbleLogger myTracer
myRuleSet
protected AbleRuleSet myRuleSet
AblePatternMatchClause
public AblePatternMatchClause(java.util.Vector theSelectors)
- Create a PatternMatchClause
- Parameters:
theSelectors
- A Vector of AbleSelectors which make up the when() part of a
when/do pattern match rule
match
public java.util.Vector match(AbleWorkingMemory theWorkingMemory)
throws AbleDataException
- Returns a set of bindings that meet all selector constraints defined in
the when() part of a when/do pattern match rule
- Parameters:
theWorkingMemory
- The associated working memory to search
Copyright
public static java.lang.String Copyright()
- Determine the copyright of this class.
- Returns:
- A String containing this class's copyright statement.
(C) Copyright IBM Corporation 1999, 2003