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

java.lang.Object
  extended by org.mars_sim.msp.core.person.medical.MedicalConfig
All Implemented Interfaces:
Serializable

public class MedicalConfig
extends Object
implements Serializable

Provides configuration information about medical complaints. Uses a JDOM document to get the information.

See Also:
Serialized Form

Constructor Summary
MedicalConfig(org.jdom.Document medicalDoc)
          Constructor
 
Method Summary
 void destroy()
          Prepare the object for garbage collection.
 List<Complaint> getComplaintList()
          Gets a list of medical complaints.
 List<Treatment> getTreatmentList()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MedicalConfig

public MedicalConfig(org.jdom.Document medicalDoc)
Constructor

Parameters:
medicalDoc - DOM document of medical configuration.
Method Detail

getComplaintList

public List<Complaint> getComplaintList()
Gets a list of medical complaints.

Returns:
list of complaints
Throws:
Exception - if list could not be found.

getTreatmentList

public List<Treatment> getTreatmentList()

destroy

public void destroy()
Prepare the object for garbage collection.



Copyright © 2009-2013. All Rights Reserved.