com.x8ing.mc.bp
Class Bug
java.lang.Object
com.x8ing.mc.bp.Bug
public class Bug
- extends java.lang.Object
Data object to store the characteristics of a bug.
- Author:
- Patrick Heusser
Nested Class Summary |
static class |
Bug.BugState
kind of an enum. |
Constructor Summary |
Bug(java.util.Calendar discoveryDate,
double negativImpactOnBusinessProcess,
double estimatedCostToFixBug,
int bugID)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Bug
public Bug(java.util.Calendar discoveryDate,
double negativImpactOnBusinessProcess,
double estimatedCostToFixBug,
int bugID)
- Parameters:
discoveryDate
- negativImpactOnBusinessProcess
- estimatedCostToFixBug
- bugID
- will be given by BugList.
getDiscoveryDate
public java.util.Calendar getDiscoveryDate()
setDiscoveryDate
public void setDiscoveryDate(java.util.Calendar discoveryDate)
getEstimatedCostToFixBug
public double getEstimatedCostToFixBug()
setEstimatedCostToFixBug
public void setEstimatedCostToFixBug(double estimatedCostToFixBug)
getNegativImpactOnBusinessProcess
public double getNegativImpactOnBusinessProcess()
setNegativImpactOnBusinessProcess
public void setNegativImpactOnBusinessProcess(double negativImpaceOnBusinessProcess)
getBugID
public int getBugID()
getBugState
public Bug.BugState getBugState()
setBugState
public void setBugState(Bug.BugState bugState)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
by Patrick Heusser