|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--jess.Context
An execution context for Funcalls.
(C) 1998 E.J. Friedman-Hill and the Sandia Corporation
| Method Summary | |
Rete |
getEngine()
|
Fact |
getFact()
If this context represents a join network node from a rule LHS, this will return the right input of the node. |
jess.LogicalNode |
getLogicalSupportNode()
|
Token |
getToken()
If this context represents a join network node from a rule LHS, this will return the left input of the node. |
Value |
getVariable(java.lang.String name)
Get the value of a variable |
void |
setVariable(java.lang.String name,
Value value)
Set a (possibly new) variable to some type and value |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public final Token getToken()
public final Fact getFact()
public final jess.LogicalNode getLogicalSupportNode()
public final Rete getEngine()
public Value getVariable(java.lang.String name)
throws JessException
name - The name of the variable with no leading '?' or '$'
charactersJessException - If the variable is undefined
public void setVariable(java.lang.String name,
Value value)
throws JessException
name - Name of the variablevalue - The value of the variablepublic java.lang.String toString()
toString in class java.lang.Object
|
© 1997 E.J. Friedman-Hill and Sandia Corporation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||