|
|||||||||
| Home >> All >> org >> yajre >> [ reteoo overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.yajre.reteoo
Class TupleSource

java.lang.Objectorg.yajre.reteoo.TupleSource
- Direct Known Subclasses:
- AssignmentNode, FilterNode, JoinNode, ParameterNode
- public abstract class TupleSource
- extends java.lang.Object
A source of ReteTuples for a TupleSink.
Chain nodes propagate Tuples and extend this
class.
| Field Summary | |
private TupleSink |
tupleSink
The next link in the chain. |
| Constructor Summary | |
protected |
TupleSource()
|
| Method Summary | |
protected abstract java.util.Set |
getTupleDeclarations()
Retrieve the Set of org.yajre.spi.Declarations
in the propagated Tuples. |
protected TupleSink |
getTupleSink()
Retrieve the TupleSink that receives propagated
Tuples. |
protected void |
propagateAssertion(ReteTuple tuple,
org.yajre.WorkingMemory mem)
Propagate the assertion of a Tuple to the next
TupleSink node in the chain. |
protected void |
propagateRetraction(org.yajre.spi.Declaration decl,
org.yajre.WorkingMemory mem)
Propagate the retraction of a Tuple to the next
TupleSink node in the chain. |
protected void |
setTupleSink(TupleSink tupleSink)
Set the TupleSink that receives
Tuples propagated from this
TupleSource. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
tupleSink
private TupleSink tupleSink
- The next link in the chain.
| Constructor Detail |
TupleSource
protected TupleSource()
| Method Detail |
getTupleDeclarations
protected abstract java.util.Set getTupleDeclarations()
- Retrieve the
Setof org.yajre.spi.Declarations in the propagatedTuples.
setTupleSink
protected final void setTupleSink(TupleSink tupleSink)
- Set the
TupleSinkthat receivesTuplespropagated from thisTupleSource.
getTupleSink
protected final TupleSink getTupleSink()
- Retrieve the
TupleSinkthat receives propagatedTuples.
propagateAssertion
protected final void propagateAssertion(ReteTuple tuple, org.yajre.WorkingMemory mem) throws org.yajre.AssertionException
- Propagate the assertion of a
Tupleto the nextTupleSinknode in the chain.
propagateRetraction
protected final void propagateRetraction(org.yajre.spi.Declaration decl, org.yajre.WorkingMemory mem) throws org.yajre.RetractionException
- Propagate the retraction of a
Tupleto the nextTupleSinknode in the chain.
|
|||||||||
| Home >> All >> org >> yajre >> [ reteoo overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.yajre.reteoo.TupleSource