org.mars_sim.msp.core.person.medical
Class MedicalEvent

java.lang.Object
  extended by org.mars_sim.msp.core.events.HistoricalEvent
      extended by org.mars_sim.msp.core.person.medical.MedicalEvent

public class MedicalEvent
extends HistoricalEvent

This class represents the historical action of a medical problem occuring or being resolved. Death is also recorded with medical events.


Field Summary
static String CURED
           
static String DEATH
           
static String DEGRADES
           
static String RECOVERY
           
static String STARTS
           
static String TREATED
           
 
Constructor Summary
MedicalEvent(Person person, HealthProblem illness, String eventType)
          Constructor
 
Method Summary
 
Methods inherited from class org.mars_sim.msp.core.events.HistoricalEvent
getCategory, getDescription, getSource, getTimestamp, getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CURED

public static final String CURED
See Also:
Constant Field Values

STARTS

public static final String STARTS
See Also:
Constant Field Values

DEGRADES

public static final String DEGRADES
See Also:
Constant Field Values

RECOVERY

public static final String RECOVERY
See Also:
Constant Field Values

TREATED

public static final String TREATED
See Also:
Constant Field Values

DEATH

public static final String DEATH
See Also:
Constant Field Values
Constructor Detail

MedicalEvent

public MedicalEvent(Person person,
                    HealthProblem illness,
                    String eventType)
Constructor

Parameters:
person - the person with the medical problem.
illness - the medical problem.
eventType - the medical event type.


Copyright © 2009-2013. All Rights Reserved.