public abstract class BaseNode extends java.lang.Object implements Node
| Modifier and Type | Field and Description |
|---|---|
protected long |
nodeId |
protected ReteContainer |
reteContainer |
protected java.lang.Object |
tag |
protected java.util.Set<TraceInfo> |
traceInfos |
| Constructor and Description |
|---|
BaseNode(ReteContainer reteContainer) |
| Modifier and Type | Method and Description |
|---|---|
void |
acceptPropagatedTraceInfo(TraceInfo traceInfo)
accepts traceability info propagated to this node
|
void |
assignTraceInfo(TraceInfo traceInfo)
assigns new traceability info to this node
|
ReteContainer |
getContainer() |
long |
getNodeId() |
java.lang.Object |
getTag() |
protected java.lang.String |
getTraceInfoPatternsEnumerated()
Descendants should use this in e.g.
|
java.util.Set<TraceInfo> |
getTraceInfos() |
void |
setTag(java.lang.Object tag)
Assigns a descriptive tag to the node
|
java.lang.String |
toString() |
protected java.lang.String |
toStringCore()
clients should override this to append before the tag / trace indicators
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCommunicationTrackerprotected ReteContainer reteContainer
protected long nodeId
protected java.lang.Object tag
protected java.util.Set<TraceInfo> traceInfos
public BaseNode(ReteContainer reteContainer)
reteContainer - the container to create this node inpublic java.lang.String toString()
toString in class java.lang.Objectprotected java.lang.String toStringCore()
public ReteContainer getContainer()
getContainer in interface Nodepublic long getNodeId()
public java.lang.Object getTag()
public void setTag(java.lang.Object tag)
Nodepublic java.util.Set<TraceInfo> getTraceInfos()
getTraceInfos in interface Nodepublic void assignTraceInfo(TraceInfo traceInfo)
NodeassignTraceInfo in interface Nodepublic void acceptPropagatedTraceInfo(TraceInfo traceInfo)
NodeacceptPropagatedTraceInfo in interface Nodeprotected java.lang.String getTraceInfoPatternsEnumerated()