|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.util.AbstractBaseLinkedListNode
org.drools.reteoo.TupleMatch
public class TupleMatch
TupleMatch
maintains a reference to the parent ReteTuple
and a List
of all resulting joins.
This is a List rather than a single instance reference because we need to create a join for each TupleSink branches.
A reference is also maintained to the ObjectMatches
instance; this is so the FactHandleImpl
that
is used in the join can be referenced, and also any other TupleMatch
es the FactHandleImpl
is joined with.
TupleMatch
,
ObjectMatches
,
ReteTuple
,
Serialized FormConstructor Summary | |
---|---|
TupleMatch(ReteTuple tuple,
ObjectMatches objectMatches)
Construct a TupleMatch with references to the parent ReteTuple and
FactHandleImpl , via ObjecMatches. |
Method Summary | |
---|---|
void |
addJoinedTuple(ReteTuple tuple)
Adds a resulting join to the List . |
java.util.List |
getJoinedTuples()
Return the List of joined ReteTuple s. |
ObjectMatches |
getObjectMatches()
Returns the referenced ObjectMatches which provides the
FactHandleImpl the ReteTuple is joined with. |
ReteTuple |
getTuple()
Return the parent ReteTuple |
Methods inherited from class org.drools.util.AbstractBaseLinkedListNode |
---|
getNext, getPrevious, setNext, setPrevious |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TupleMatch(ReteTuple tuple, ObjectMatches objectMatches)
TupleMatch
with references to the parent ReteTuple
and
FactHandleImpl
, via ObjecMatches.
tuple
- objectMatches
- Method Detail |
---|
public ReteTuple getTuple()
ReteTuple
ReteTuple
public ObjectMatches getObjectMatches()
ObjectMatches
which provides the
FactHandleImpl
the ReteTuple
is joined with.
ObjectMatches
public void addJoinedTuple(ReteTuple tuple)
List
. A join is made for each TupleSink
.
tuple
- public java.util.List getJoinedTuples()
List
of joined ReteTuple
s.
List.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |