Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.tripi.asp
Class ConstValue  view ConstValue download ConstValue.java

java.lang.Object
  extended bycom.tripi.asp.ConstValue
All Implemented Interfaces:
SimpleReference

public class ConstValue
extends java.lang.Object
implements SimpleReference

ConstValue handles constant values, preventing changing the value.

Version:
0.9

Field Summary
(package private)  java.lang.Object value
          Value this constant contains
 
Constructor Summary
ConstValue(java.lang.Object value)
          Constructor.
 
Method Summary
 java.lang.Object getValue()
          Obtains the value of this variable
 void setValue(java.lang.Object value)
          Sets the value of this variable, throws an error for these constant values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

java.lang.Object value
Value this constant contains

Constructor Detail

ConstValue

public ConstValue(java.lang.Object value)
Constructor.

Method Detail

setValue

public void setValue(java.lang.Object value)
              throws AspException
Sets the value of this variable, throws an error for these constant values.

Specified by:
setValue in interface SimpleReference

getValue

public java.lang.Object getValue()
                          throws AspException
Obtains the value of this variable

Specified by:
getValue in interface SimpleReference