railo.runtime.interpreter.ref.var
Class Variable

java.lang.Object
  extended by railo.runtime.interpreter.ref.RefSupport
      extended by railo.runtime.interpreter.ref.var.Variable
All Implemented Interfaces:
Ref, Set

public final class Variable
extends RefSupport
implements Set


Constructor Summary
Variable(PageContext pc, Ref parent, Ref refKey)
           
Variable(PageContext pc, Ref parent, String key)
           
 
Method Summary
 Object getCollection()
          return the value for that the reference is for
 Ref getKey()
           
 String getKeyAsString()
           
 Ref getParent()
           
 String getTypeName()
          return the name name of a reference
 Object getValue()
          return the value for that the reference is for
 Object setValue(Object obj)
           
 Object touchValue()
          return the value for that the reference is for
 
Methods inherited from class railo.runtime.interpreter.ref.RefSupport
eeq
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface railo.runtime.interpreter.ref.Ref
eeq
 

Constructor Detail

Variable

public Variable(PageContext pc,
                Ref parent,
                String key)
Parameters:
pc -
parent -
key -

Variable

public Variable(PageContext pc,
                Ref parent,
                Ref refKey)
Parameters:
pc -
parent -
refKey -
Method Detail

getValue

public Object getValue()
                throws PageException
Description copied from interface: Ref
return the value for that the reference is for

Specified by:
getValue in interface Ref
Returns:
value to reference
Throws:
PageException
See Also:
Ref.getValue()

touchValue

public Object touchValue()
                  throws PageException
Description copied from interface: Ref
return the value for that the reference is for

Specified by:
touchValue in interface Ref
Overrides:
touchValue in class RefSupport
Returns:
value to reference
Throws:
PageException
See Also:
Ref.touchValue()

getCollection

public Object getCollection()
                     throws PageException
Description copied from interface: Ref
return the value for that the reference is for

Specified by:
getCollection in interface Ref
Overrides:
getCollection in class RefSupport
Returns:
value to reference
Throws:
PageException
See Also:
Ref.getCollection()

setValue

public Object setValue(Object obj)
                throws PageException
Specified by:
setValue in interface Set
Returns:
sets a value
Throws:
PageException
See Also:
Set.setValue(java.lang.Object)

getTypeName

public String getTypeName()
Description copied from interface: Ref
return the name name of a reference

Specified by:
getTypeName in interface Ref
Returns:
type as string
See Also:
Ref.getTypeName()

getKey

public Ref getKey()
           throws PageException
Specified by:
getKey in interface Set
Throws:
PageException
See Also:
Set.getKey()

getKeyAsString

public String getKeyAsString()
                      throws PageException
Specified by:
getKeyAsString in interface Set
Throws:
PageException

getParent

public Ref getParent()
              throws PageException
Specified by:
getParent in interface Set
Throws:
PageException
See Also:
Set.getParent()


Copyright © 2012 Railo