aspoev.interpreter.base
Class VariableReferenceElement

java.lang.Object
  extended byaspoev.interpreter.base.Element
      extended byaspoev.interpreter.base.StatementElement
          extended byaspoev.interpreter.base.RValuedElement
              extended byaspoev.interpreter.base.VariableReferenceElement
All Implemented Interfaces:
java.lang.Cloneable, aspoev.Executable, pJ.jasmine.PRI, java.io.Serializable
Direct Known Subclasses:
FieldReferenceElement, ThisElement

public class VariableReferenceElement
extends RValuedElement
implements pJ.jasmine.PRI

See Also:
Serialized Form

Field Summary
static VariableReferenceElement ADAPTER
           
static VariableReferenceElement DATABASE
           
static VariableReferenceElement MANAGER
           
protected  java.lang.String name
           
static VariableReferenceElement NULL
           
protected  boolean staticReference
           
static VariableReferenceElement THIS
           
 
Fields inherited from class aspoev.interpreter.base.Element
parent
 
Fields inherited from interface pJ.jasmine.PRI
DELETECHANGE, MODIFYCHANGE, NOCHANGE
 
Constructor Summary
protected VariableReferenceElement(java.lang.String name)
           
 
Method Summary
 java.lang.Object clone()
           
static VariableReferenceElement create(java.lang.String name)
           
 boolean equals(java.lang.Object other)
           
protected  java.lang.Object executeElement()
           
 java.util.Collection getChildrenByType(java.lang.Class childClass)
           
 java.lang.String getCodeString()
           
 java.lang.String getHandle()
           
 TypeReferenceElement getType()
           
 java.lang.Object getValue()
           
 int hashCode()
           
 boolean isStaticReference()
           
 java.lang.String setHandle(java.lang.String newName)
           
 void setValue(java.lang.Object newVal)
           
 java.lang.String toString()
           
 
Methods inherited from class aspoev.interpreter.base.Element
execute, getRValue, persist
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ADAPTER

public static final VariableReferenceElement ADAPTER

MANAGER

public static final VariableReferenceElement MANAGER

DATABASE

public static final VariableReferenceElement DATABASE

THIS

public static final VariableReferenceElement THIS

NULL

public static final VariableReferenceElement NULL

staticReference

protected boolean staticReference

name

protected java.lang.String name
Constructor Detail

VariableReferenceElement

protected VariableReferenceElement(java.lang.String name)
Method Detail

clone

public java.lang.Object clone()
Specified by:
clone in class Element

create

public static VariableReferenceElement create(java.lang.String name)

equals

public boolean equals(java.lang.Object other)

executeElement

protected java.lang.Object executeElement()
Overrides:
executeElement in class StatementElement

getHandle

public java.lang.String getHandle()

getType

public TypeReferenceElement getType()

getValue

public java.lang.Object getValue()

hashCode

public int hashCode()

isStaticReference

public boolean isStaticReference()

setHandle

public java.lang.String setHandle(java.lang.String newName)

setValue

public void setValue(java.lang.Object newVal)

getChildrenByType

public java.util.Collection getChildrenByType(java.lang.Class childClass)
Specified by:
getChildrenByType in class Element

getCodeString

public java.lang.String getCodeString()
Specified by:
getCodeString in class Element

toString

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