| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjess.Defglobal
A Defglobal is a globally-accessible Jess variable. It has a special naming convention: the name must begin and end with an asterisk (*). You can create Defglobals and add them to a Rete engine using Rete.addDefglobal.x
 (C) 2006 Sandia National Laboratories
| Constructor Summary | |
| Defglobal(java.lang.String name,
          Value val)Create a defglobal. | |
| Method Summary | |
|  java.lang.Object | accept(Visitor v)A proper accept() implementation should call one of the visitXXX() methods on the Visitor. | 
|  java.lang.String | getConstructType()Return the type of construct this object is; for example, "defrule", "deftemplate", etc. | 
|  java.lang.String | getDocstring()Always returns null | 
|  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)
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.| Method Detail | 
public void reset(Rete engine)
           throws JessException
JessExceptionpublic java.lang.String getName()
getName in interface Namedpublic Value getInitializationValue()
public java.lang.String toString()
public java.lang.Object accept(Visitor v)
Visitable
accept in interface Visitablev - a visitor to invoke
public final java.lang.String getConstructType()
Named
getConstructType in interface Namedpublic final java.lang.String getDocstring()
getDocstring in interface Named| 
 | © 2007 Sandia Corporation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||