com.x8ing.mc.bp
Class Bug

java.lang.Object
  extended by 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)
           
 
Method Summary
 int getBugID()
           
 Bug.BugState getBugState()
           
 java.util.Calendar getDiscoveryDate()
           
 double getEstimatedCostToFixBug()
           
 double getNegativImpactOnBusinessProcess()
           
 void setBugState(Bug.BugState bugState)
           
 void setDiscoveryDate(java.util.Calendar discoveryDate)
           
 void setEstimatedCostToFixBug(double estimatedCostToFixBug)
           
 void setNegativImpactOnBusinessProcess(double negativImpaceOnBusinessProcess)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Bug

public Bug(java.util.Calendar discoveryDate,
           double negativImpactOnBusinessProcess,
           double estimatedCostToFixBug,
           int bugID)
Parameters:
discoveryDate -
negativImpactOnBusinessProcess -
estimatedCostToFixBug -
bugID - will be given by BugList.
Method Detail

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