org.drools.rule
Class Extraction
java.lang.Object
|
+--org.drools.rule.Extraction
- public class Extraction
- extends java.lang.Object
A Condition
representing a consistent assignment
as defined by the Rete-OO algorithm.
The assignment occurs through the process of extracting a
new fact from existing facts.
- Author:
- bob mcwhirter
- See Also:
Extractor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Extraction
public Extraction(Declaration targetDeclaration,
Extractor extractor)
- Construct.
- Parameters:
targetDeclaration
- The target of this assignment.extractor
- Value generator for the assignment.
getTargetDeclaration
public Declaration getTargetDeclaration()
- Retrieve the
Declaration
for the target
of the assignment.
- Returns:
- The target's
Declaration
getExtractor
public Extractor getExtractor()
- Retrieve the
Extractor
responsible
for generating the assignment value.
- Returns:
- The
Extractor
.
getRequiredTupleMembers
public Declaration[] getRequiredTupleMembers()
- Retrieve the array of
Declaration
s required
by this condition to perform its duties.
- Returns:
- The array of
Declarations
expected
on incoming Tuple
s.
Copyright © 2001-2003 The Werken Company. All Rights Reserved.