com.pow2.util
Class LabelValueBean

java.lang.Object
  extended bycom.pow2.util.LabelValueBean

public class LabelValueBean
extends Object

A simple label / value bean class.

Author:
Luca Fossato

Constructor Summary
LabelValueBean()
          Constructor
LabelValueBean(String label, String value)
          Constructor
 
Method Summary
 String getLabel()
          Gets the label attribute of the LabelValueBean object
 String getValue()
          Gets the value attribute of the LabelValueBean object
 void setLabel(String label)
          Sets the label attribute of the LabelValueBean object
 void setValue(String value)
          Sets the value attribute of the LabelValueBean object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LabelValueBean

public LabelValueBean()
Constructor


LabelValueBean

public LabelValueBean(String label,
                      String value)
Constructor

Parameters:
label - the label name
value - the label value
Method Detail

setLabel

public void setLabel(String label)
Sets the label attribute of the LabelValueBean object

Parameters:
label - The new label value

setValue

public void setValue(String value)
Sets the value attribute of the LabelValueBean object

Parameters:
value - The new value value

getLabel

public String getLabel()
Gets the label attribute of the LabelValueBean object

Returns:
The label value

getValue

public String getValue()
Gets the value attribute of the LabelValueBean object

Returns:
The value value


Copyright © 2002-2004 Power Of Two S.R.L. All Rights Reserved.