bsh
Class NameSpace.TypedVariable

java.lang.Object
  |
  +--bsh.NameSpace.TypedVariable
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
NameSpace

static class NameSpace.TypedVariable
extends java.lang.Object
implements java.io.Serializable


Field Summary
(package private)  boolean isFinal
           
(package private)  java.lang.Class type
           
(package private)  java.lang.Object value
           
 
Constructor Summary
(package private) NameSpace.TypedVariable(java.lang.Class type, java.lang.Object value, boolean isFinal)
           
 
Method Summary
(package private)  java.lang.Class getType()
           
(package private)  java.lang.Object getValue()
           
(package private)  void setValue(java.lang.Object val)
          Set the value of the typed variable.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

type

java.lang.Class type

value

java.lang.Object value

isFinal

boolean isFinal
Constructor Detail

NameSpace.TypedVariable

NameSpace.TypedVariable(java.lang.Class type,
                        java.lang.Object value,
                        boolean isFinal)
                  throws EvalError
Method Detail

setValue

void setValue(java.lang.Object val)
        throws EvalError
Set the value of the typed variable.

EvalError

getValue

java.lang.Object getValue()

getType

java.lang.Class getType()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object