com.aurel.track.dropdowns
Class StateBean

java.lang.Object
  extended by com.aurel.track.util.LabelValueBean
      extended by com.aurel.track.dropdowns.StateBean
All Implemented Interfaces:
java.io.Serializable

public class StateBean
extends LabelValueBean

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

Version:
$Revision: 1.6 $ $Date: 2007-09-06 19:34:57 $
Author:
Joerg Friedrich
See Also:
Serialized Form

Field Summary
protected  java.lang.String stateFlag
          The project key of the class.
 
Fields inherited from class com.aurel.track.util.LabelValueBean
label, value
 
Constructor Summary
StateBean()
           
StateBean(java.lang.String label, java.lang.String value, java.lang.String stateflag)
          Construct a new ProjectBean with the specified values.
 
Method Summary
 java.lang.String getStateFlag()
           
 void setStateFlag(java.lang.String flag)
           
 java.lang.String toString()
          Return a string representation of this object.
 
Methods inherited from class com.aurel.track.util.LabelValueBean
equals, equals, getLabel, getValue, hashCode, setLabel, setValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

stateFlag

protected java.lang.String stateFlag
The project key of the class.

Constructor Detail

StateBean

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

Parameters:
label - The label to be displayed to the user
value - The value to be returned to the server

StateBean

public StateBean()
Method Detail

setStateFlag

public void setStateFlag(java.lang.String flag)

getStateFlag

public java.lang.String getStateFlag()

toString

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

Overrides:
toString in class LabelValueBean


Issue Tracking with Track+: Home Page      Copyright © 2008 Trackplus. All Rights Reserved.