|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jess.Node | +--jess.HasLHS
Parent class of Defrules and Defqueries.
(C) 1997 Ernest J. Friedman-Hill and Sandia National Laboratories
Fields inherited from class jess.Node |
LEFT, m_usecount, RIGHT |
Method Summary | |
abstract java.lang.Object |
accept(Visitor jv)
|
java.lang.String |
getDisplayName()
Fetch the display name of this construct |
java.lang.String |
getDocstring()
Get the documentation string for this construct. |
java.lang.String |
getModule()
|
java.lang.String |
getName()
Fetch the name of this construct |
int |
getNodeIndexHash()
Get the node-index-hash setting of this construct. |
int |
getNPatterns()
Fetch the number of patterns on the LHS of this construct. |
Pattern |
getPattern(int idx)
Return the idx-th Pattern on this construct's LHS. |
java.lang.String |
listNodes()
Return a string (useful for debugging) describing all the Rete network nodes connected to this construct. |
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 |
Method Detail |
public int getNPatterns()
public Pattern getPattern(int idx)
idx
- The zero-based index of the desired patternpublic java.lang.String listNodes()
public void setNodeIndexHash(int h)
h
- The node index hash valuepublic int getNodeIndexHash()
public final java.lang.String getName()
getName
in interface Modular
public java.lang.String getDisplayName()
public final java.lang.String getDocstring()
public abstract java.lang.Object accept(Visitor jv)
accept
in interface Visitable
public java.lang.String getModule()
getModule
in interface Modular
|
© 1997 E.J. Friedman-Hill and Sandia Corporation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |