com.softwareag.centrasite.appl.framework.validation.impl
Class SelectableValue

java.lang.Object
  extended by com.softwareag.centrasite.appl.framework.validation.impl.SelectableValue
All Implemented Interfaces:
java.io.Serializable

public class SelectableValue
extends java.lang.Object
implements java.io.Serializable

A selectable value is an instance of this class.

See Also:
Serialized Form

Constructor Summary
SelectableValue(java.lang.Object pValue, java.lang.String pDescription)
          Creates a new instance with the given value and description.
 
Method Summary
 java.lang.String getDescription()
          Returns the values description, which is being displayed to the user.
 java.lang.Object getValue()
          Returns the value, which is set on the bean, if the value is selected.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectableValue

public SelectableValue(java.lang.Object pValue,
                       java.lang.String pDescription)
Creates a new instance with the given value and description.

Method Detail

getValue

public java.lang.Object getValue()
Returns the value, which is set on the bean, if the value is selected.


getDescription

public java.lang.String getDescription()
Returns the values description, which is being displayed to the user.