org.omegahat.Interfaces.NativeInterface
Class AnonymousReference

java.lang.Object
  |
  +--org.omegahat.Interfaces.NativeInterface.InterfaceReference
        |
        +--org.omegahat.Interfaces.NativeInterface.AnonymousReference
All Implemented Interfaces:
org.omegahat.Environment.Language.Evaluable

public class AnonymousReference
extends InterfaceReference

A class that represents a variable stored in the anonymousDatabase() of an OmegaInterfaceManager. When evaluated, this retrieves the value of the identified variable.


Fields inherited from class org.omegahat.Interfaces.NativeInterface.InterfaceReference
className, database, key, manager
 
Constructor Summary
AnonymousReference(java.lang.String key, OmegaInterfaceManager manager)
          Create a reference to the specified variable in the manager's anonymousDatabase().
AnonymousReference(java.lang.String key, OmegaInterfaceManager manager, org.omegahat.Environment.Databases.Database db, java.lang.String className)
          Create an anonymous reference to the variable identified by key in the given Database and controlled by the
 
Methods inherited from class org.omegahat.Interfaces.NativeInterface.InterfaceReference
database, database, eval, eval, getClassName, key, key, manager, manager, setClassName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnonymousReference

public AnonymousReference(java.lang.String key,
                          OmegaInterfaceManager manager,
                          org.omegahat.Environment.Databases.Database db,
                          java.lang.String className)
Create an anonymous reference to the variable identified by key in the given Database and controlled by the

AnonymousReference

public AnonymousReference(java.lang.String key,
                          OmegaInterfaceManager manager)
Create a reference to the specified variable in the manager's anonymousDatabase().