ajax.catalog
Class ConstantDeclaration

java.lang.Object
  |
  +--ajax.catalog.ConstantDeclaration

public class ConstantDeclaration
extends java.lang.Object


Constructor Summary
ConstantDeclaration(java.lang.String name, Constant value)
          Constructor
 
Method Summary
 java.lang.String getName()
          Gets the name of the constant
 Constant getValue()
          Gets the value assigned to the constant
 java.lang.String toString()
          Converts the composed type into a human read-able object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConstantDeclaration

public ConstantDeclaration(java.lang.String name,
                           Constant value)
Constructor
Method Detail

getName

public java.lang.String getName()
Gets the name of the constant

getValue

public Constant getValue()
Gets the value assigned to the constant

toString

public java.lang.String toString()
Converts the composed type into a human read-able object.
Overrides:
toString in class java.lang.Object