| 
 | ||||||||||
| 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) 2006 Sandia National Laboratories
| Field Summary | 
| Fields inherited from class jess.Node | 
| TYPE_ADAPTER, TYPE_NODE1, TYPE_NODE2, TYPE_NODENOT2, TYPE_NONE, TYPE_TERMINAL, TYPE_TEST | 
| 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 | getNodeType() | 
|  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, successors | 
| 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.NodeSinkpublic 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
JessExceptionpublic java.util.Iterator getNodes()
public int getNodeCount()
public void addNode(Node n)
             throws JessException
jess.NodeSink
addNode in interface jess.NodeSinkn - 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 Namedpublic java.lang.String getDisplayName()
public final java.lang.String getDocstring()
getDocstring in interface Namedpublic abstract java.lang.Object accept(Visitor jv)
Visitable
accept in interface Visitablejv - a visitor to invoke
public java.lang.String getModule()
Modular
getModule in interface Modularpublic int getNodeType()
getNodeType in class Node| 
 | © 2007 Sandia Corporation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||