|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mars_sim.msp.simulation.person.medical.DeathInfo
public class DeathInfo
This class represents the status of a Person when death occurs. It records the Complaint that caused the death to occur, the time of death and the Location. The Location is recorded as a dead body may be moved from the place of death. This class is immutable since once Death occurs it is final.
Constructor Summary | |
---|---|
DeathInfo(Person person)
The construct creates an instance of a DeathInfo class. |
Method Summary | |
---|---|
Unit |
getContainerUnit()
Gets the container unit at the time of death. |
java.lang.String |
getIllness()
Get the name of the illness that caused the death. |
java.lang.String |
getJob()
Gets the person's job at the time of death. |
Coordinates |
getLocationOfDeath()
Gets the location of death. |
java.lang.String |
getMalfunction()
Gets the most serious emergency malfunction local to the person at time of death. |
java.lang.String |
getMission()
Gets the mission the person was on at time of death. |
java.lang.String |
getMissionPhase()
Gets the mission phase at time of death. |
java.lang.String |
getPlaceOfDeath()
Gets the place the death happened. |
java.lang.String |
getTask()
Gets the task the person was doing at time of death. |
java.lang.String |
getTaskPhase()
Gets the task phase at time of death. |
java.lang.String |
getTimeOfDeath()
Get the time death happened. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DeathInfo(Person person)
person
- the dead personMethod Detail |
---|
public java.lang.String getTimeOfDeath()
public java.lang.String getPlaceOfDeath()
public Unit getContainerUnit()
public java.lang.String getIllness()
public Coordinates getLocationOfDeath()
public java.lang.String getJob()
public java.lang.String getMission()
public java.lang.String getMissionPhase()
public java.lang.String getTask()
public java.lang.String getTaskPhase()
public java.lang.String getMalfunction()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |