|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjess.Node
jess.HasLHS
Parent class of Defrules and Defqueries.
(C) 2005 Sandia National Laboratories
Field Summary |
Fields inherited from class jess.Node |
LEFT, RIGHT |
Method Summary | |
abstract java.lang.Object |
accept(Visitor jv)
A proper accept() implementation should call one of the visitXXX() methods on the Visitor. |
protected void |
addCE(jess.ConditionalElementX ce,
Rete engine)
Add a conditional element to this construct |
void |
addNode(Node n)
Add a node to this sink. |
ConditionalElement |
getConditionalElements()
Consider this ConditionalElement to be READ ONLY! |
java.lang.String |
getDisplayName()
Fetch the display name of this construct |
java.lang.String |
getDocstring()
Get the documentation string for this construct. |
int |
getGroupSize()
Fetch the number of elenments on the LHS of this construct. |
java.lang.String |
getModule()
Returns the name of the module this construct belongs to. |
java.lang.String |
getName()
Fetch the name of this construct |
HasLHS |
getNext()
Some rules that use the "or" conditional element can be compiled into multiple subrules. |
int |
getNodeCount()
|
int |
getNodeIndexHash()
Get the node-index-hash setting of this construct. |
java.util.Iterator |
getNodes()
|
int |
getPatternCount()
|
java.lang.String |
listNodes()
Return a string (useful for debugging) describing all the Rete network nodes connected to this construct. |
void |
setLHS(Group ce,
Rete engine)
|
void |
setNodeIndexHash(int h)
Set the node-index-hash of this construct. |
Methods inherited from class jess.Node |
addJessListener, getSuccessors, removeJessListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface jess.Named |
getConstructType |
Method Detail |
public int getGroupSize()
public ConditionalElement getConditionalElements()
public java.lang.String listNodes()
listNodes
in interface jess.NodeSink
public HasLHS getNext()
public int getPatternCount()
public void setLHS(Group ce, Rete engine) throws JessException
JessException
protected void addCE(jess.ConditionalElementX ce, Rete engine) throws JessException
JessException
public java.util.Iterator getNodes()
public int getNodeCount()
public void addNode(Node n) throws JessException
jess.NodeSink
addNode
in interface jess.NodeSink
n
- a Rete network node
JessException
- if n is nullpublic void setNodeIndexHash(int h)
h
- The node index hash valuepublic int getNodeIndexHash()
public final java.lang.String getName()
getName
in interface Named
public java.lang.String getDisplayName()
public final java.lang.String getDocstring()
getDocstring
in interface Named
public abstract java.lang.Object accept(Visitor jv)
Visitable
accept
in interface Visitable
jv
- a visitor to invoke
public java.lang.String getModule()
Modular
getModule
in interface Modular
|
© 2006 Sandia Corporation | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |