com.zphinx.spine.vo
Class LabelIntBean

java.lang.Object
  extended by com.zphinx.spine.vo.LabelIntBean
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ManagedDaoBean

public class LabelIntBean
extends Object
implements Serializable

LabelIntBean is a bean used to associate a label/name with an int value

Version:
$1.0

Copyright ©Zphinx Software Solutions

Author:
David Ladapo
See Also:
Serialized Form

Constructor Summary
LabelIntBean()
          Public Constructor
LabelIntBean(String label, int intValue)
          Constructor to set the label and the int value
 
Method Summary
 boolean equals(Object obj)
           
 int getIntValue()
          Gets the int in this object
 String getLabel()
          Gets the name of the Label
 int hashCode()
           
 void setIntValue(int intValue)
          Gets the int in this object
 void setLabel(String label)
          Sets the name of the label
 String toString()
          Returns a description for this LabelIntBean
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LabelIntBean

public LabelIntBean()
Public Constructor


LabelIntBean

public LabelIntBean(String label,
                    int intValue)
Constructor to set the label and the int value

Parameters:
label - The name of the label
intValue - The int to set in this bean
Method Detail

getLabel

public String getLabel()
Gets the name of the Label

Returns:
Returns the label.

setLabel

public void setLabel(String label)
Sets the name of the label

Parameters:
label - The label to set.

getIntValue

public int getIntValue()
Gets the int in this object

Returns:
Returns the intValue.

setIntValue

public void setIntValue(int intValue)
Gets the int in this object

Parameters:
intValue - The intValue to set.

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Returns a description for this LabelIntBean

Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object