jess
Class FuncallValue

java.lang.Object
  |
  +--jess.Value
        |
        +--jess.FuncallValue

public class FuncallValue
extends Value
implements java.io.Serializable

A class to represent a Jess function call stored in a Value. It is 'self-resolving' using Context

(C) 1998 E.J. Friedman-Hill and the Sandia Corporation

Author:
Ernest J. Friedman-Hill
See Also:
Serialized Form

Constructor Summary
FuncallValue(Funcall f)
           
 
Method Summary
 java.lang.String atomValue(Context c)
           
 java.lang.Object externalAddressValue(Context c)
           
 int factIDValue(Context c)
           
 Fact factValue(Context c)
           
 double floatValue(Context c)
           
 int intValue(Context c)
           
 ValueVector listValue(Context c)
           
 double numericValue(Context c)
           
 Value resolveValue(Context c)
           
 java.lang.String stringValue(Context c)
           
 java.lang.String variableValue(Context c)
           
 
Methods inherited from class jess.Value
equals, equals, equalsStar, funcallValue, hashCode, intArrayValue, toString, toStringWithParens, type
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FuncallValue

public FuncallValue(Funcall f)
             throws JessException
Parameters:
value -  
type -  
Throws:
JessException -  
Method Detail

resolveValue

public Value resolveValue(Context c)
                   throws JessException
Overrides:
resolveValue in class Value

externalAddressValue

public final java.lang.Object externalAddressValue(Context c)
                                            throws JessException
Overrides:
externalAddressValue in class Value

factValue

public final Fact factValue(Context c)
                     throws JessException
Overrides:
factValue in class Value

listValue

public final ValueVector listValue(Context c)
                            throws JessException
Overrides:
listValue in class Value

intValue

public final int intValue(Context c)
                   throws JessException
Overrides:
intValue in class Value

floatValue

public final double floatValue(Context c)
                        throws JessException
Overrides:
floatValue in class Value

numericValue

public final double numericValue(Context c)
                          throws JessException
Overrides:
numericValue in class Value

atomValue

public final java.lang.String atomValue(Context c)
                                 throws JessException
Overrides:
atomValue in class Value

variableValue

public final java.lang.String variableValue(Context c)
                                     throws JessException
Overrides:
variableValue in class Value

stringValue

public final java.lang.String stringValue(Context c)
                                   throws JessException
Overrides:
stringValue in class Value

factIDValue

public final int factIDValue(Context c)
                      throws JessException
Overrides:
factIDValue in class Value

© 1997 E.J. Friedman-Hill and Sandia Corporation