steve.pums.assess.bus
Class CohortBean

java.lang.Object
  extended by steve.pums.assess.bus.CohortBean

public class CohortBean
extends java.lang.Object

Used to represent a particular cohort, used for project registration drop-downs


Constructor Summary
CohortBean()
          Creates a new instance of CohortBean
CohortBean(int ID, java.lang.String cohortDesc)
          Creates a cohort with values
 
Method Summary
 java.lang.String getCohortDesc()
          Getter for cohort description
 int getID()
          Getter for cohort ID
 void setCohortDesc(java.lang.String cohortDesc)
          Setter for cohort description
 void setID(int ID)
          Setter for cohort ID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CohortBean

public CohortBean()
Creates a new instance of CohortBean


CohortBean

public CohortBean(int ID,
                  java.lang.String cohortDesc)
Creates a cohort with values

Parameters:
ID - ID of cohort
cohortDesc - Description of cohort
Method Detail

getCohortDesc

public java.lang.String getCohortDesc()
Getter for cohort description

Returns:
Cohort descrption

setCohortDesc

public void setCohortDesc(java.lang.String cohortDesc)
Setter for cohort description

Parameters:
cohortDesc - Cohort description

getID

public int getID()
Getter for cohort ID

Returns:
ID of cohort

setID

public void setID(int ID)
Setter for cohort ID

Parameters:
ID - Cohort ID