org.concord.util.script
Class FactAssignStatement

java.lang.Object
  |
  +--org.concord.util.script.ScriptObject
        |
        +--org.concord.util.script.Statement
              |
              +--org.concord.util.script.FactAssignStatement
All Implemented Interfaces:
java.beans.BeanInfo

public class FactAssignStatement
extends Statement

The FactAssignStatement class implements the node that supports the semantics of the "fact assignment" statement. The fact assignment statement retrieves the fact ID from the pattern and stores it in a variable that can be used by JESS (Java Expert System Shell) rules engine.

Version:
$Revision: 1.1.1.1 $ $Date: 2001/04/28 00:39:30 $
Author:
$Author: ed $

Field Summary
protected  java.lang.String lhs
           
protected  ScriptObject rhs
           
 
Fields inherited from class org.concord.util.script.Statement
empty
 
Fields inherited from class org.concord.util.script.ScriptObject
beginColumn, beginLine, debug, deleted, doConversion, endColumn, endLine, name, nil, runtimeTable, script
 
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
 
Constructor Summary
FactAssignStatement()
           
 
Method Summary
 void delete()
           
 java.lang.String getLHS()
           
 ScriptObject getRHS()
           
 void setLHS(java.lang.String varName)
           
 void setRHS(ScriptObject pred)
           
 
Methods inherited from class org.concord.util.script.Statement
getLocals, interpret
 
Methods inherited from class org.concord.util.script.ScriptObject
findConstructor, findMethod, getAdditionalBeanInfo, getArrayValue, getAtom, getBeanDescriptor, getCurrentFrame, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getField, getFieldValue, getIcon, getMethodDescriptors, getName, getPropertyDescriptors, getScript, popFrame, pushFrame, setArrayValue, setCurrentFrame, setFieldValue, setName, setScript, setSourceBounds
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lhs

protected java.lang.String lhs

rhs

protected ScriptObject rhs
Constructor Detail

FactAssignStatement

public FactAssignStatement()
Method Detail

delete

public void delete()
Overrides:
delete in class ScriptObject

setLHS

public void setLHS(java.lang.String varName)

getLHS

public java.lang.String getLHS()

setRHS

public void setRHS(ScriptObject pred)

getRHS

public ScriptObject getRHS()