com.clra.web
Class LabelValueBean
java.lang.Object
|
+--com.clra.web.LabelValueBean
- public class LabelValueBean
- extends Object
Simple JavaBean to represent label-value pairs for use in collections
that are utilized by the <form:options>
tag.
- Version:
- $Revision: 1.2 $ $Date: 2002/02/18 18:06:07 $
- Author:
- Craig R. McClanahan
-- original author, Rick Hall
-- adapted to CLRA
Field Summary |
protected String |
label
The label to be displayed to the user. |
protected String |
value
The value to be returned to the server. |
label
protected String label
- The label to be displayed to the user.
value
protected String value
- The value to be returned to the server.
LabelValueBean
public LabelValueBean(String label,
String value)
- Construct a new LabelValueBean with the specified values.
- Parameters:
label
- The label to be displayed to the uservalue
- The value to be returned to the server
getLabel
public String getLabel()
getValue
public String getValue()
toString
public String toString()
- Return a string representation of this object.
- Overrides:
toString
in class Object