|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.drools.rule.Extraction
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.
Extractor
Field Summary | |
static Extraction[] |
EMPTY_ARRAY
Empty Extraction array. |
Constructor Summary | |
Extraction(Declaration targetDeclaration)
|
|
Extraction(Declaration targetDeclaration,
Extractor extractor)
Construct. |
Method Summary | |
Extractor |
getExtractor()
Retrieve the Extractor responsible
for generating the assignment value. |
Declaration[] |
getRequiredTupleMembers()
Retrieve the array of Declaration s required
by this condition to perform its duties. |
Declaration |
getTargetDeclaration()
Retrieve the Declaration for the target
of the assignment. |
void |
setExtractor(Extractor extractor)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final Extraction[] EMPTY_ARRAY
Extraction
array.
Constructor Detail |
public Extraction(Declaration targetDeclaration, Extractor extractor)
targetDeclaration
- The target of this assignment.extractor
- Value generator for the assignment.public Extraction(Declaration targetDeclaration)
Method Detail |
public Declaration getTargetDeclaration()
Declaration
for the target
of the assignment.
Declaration
public void setExtractor(Extractor extractor)
public Extractor getExtractor()
Extractor
responsible
for generating the assignment value.
Extractor
.public Declaration[] getRequiredTupleMembers()
Declaration
s required
by this condition to perform its duties.
Declarations
expected
on incoming Tuple
s.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |