|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjess.Defglobal
Class used to represent Defglobals. You can create Defglobals and add them to a Rete engine using Rete.addDefglobal.
(C) 1997 Ernest J. Friedman-Hill and Sandia National Laboratories
Constructor Summary | |
Defglobal(java.lang.String name,
Value val)
Create a defglobal. |
Method Summary | |
java.lang.Object |
accept(Visitor v)
|
Value |
getInitializationValue()
Get this defglobal's initialization value. |
java.lang.String |
getName()
Get this defglobal's variable name |
void |
reset(Rete engine)
Reinject this Defglobal into the engine |
java.lang.String |
toString()
Describe myself |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Defglobal(java.lang.String name, Value val) throws JessException
name
- The defglobal's variable name. Note that the name
must begin and end with an asterisk.val
- The initial value for the defglobal; can be an
RU.FUNCALL value.
JessException
- If anything goes wrong.Method Detail |
public void reset(Rete engine) throws JessException
JessException
public java.lang.String getName()
public Value getInitializationValue()
public java.lang.String toString()
public java.lang.Object accept(Visitor v)
accept
in interface Visitable
|
© 2001 E.J. Friedman-Hill and Sandia Corporation | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |