|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjess.Node
jess.HasLHS
public abstract class HasLHS
Parent class of Defrules and Defqueries.
(C) 2013 Sandia Corporation
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. |
java.util.Iterator |
getBindingNames()
Return an iterator listing all the variable names used on this rule's left hand side. |
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, decrementUseCount, getSuccessors, getUseCount, incrementUseCount, 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()
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 getBindingNames()
public java.util.Iterator getNodes()
public int getNodeCount()
public void addNode(Node n) throws JessException
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
public int getNodeType()
getNodeType
in class Node
|
© 2013 Sandia Corporation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |