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

Quick Search    Search Deep

com.clra.web
Class LabelValueBean  view LabelValueBean download LabelValueBean.java

java.lang.Object
  extended bycom.clra.web.LabelValueBean

public class LabelValueBean
extends java.lang.Object

Simple JavaBean to represent label-value pairs for use in collections that are utilized by the <form:options> tag.

Version:
$Revision: 1.3 $ $Date: 2003/02/26 03:38:46 $

Field Summary
protected  java.lang.String label
          The label to be displayed to the user.
protected  java.lang.String value
          The value to be returned to the server.
 
Constructor Summary
LabelValueBean(java.lang.String label, java.lang.String value)
          Construct a new LabelValueBean with the specified values.
 
Method Summary
 java.lang.String getLabel()
           
 java.lang.String getValue()
           
 java.lang.String toString()
          Return a string representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

label

protected java.lang.String label
The label to be displayed to the user.


value

protected java.lang.String value
The value to be returned to the server.

Constructor Detail

LabelValueBean

public LabelValueBean(java.lang.String label,
                      java.lang.String value)
Construct a new LabelValueBean with the specified values.

Method Detail

getLabel

public java.lang.String getLabel()

getValue

public java.lang.String getValue()

toString

public java.lang.String toString()
Return a string representation of this object.