Class MedicalSituation
java.lang.Object
org.episteme.social.sociology.Situation
org.episteme.social.economics.EconomicSituation
org.episteme.social.economics.WorkSituation
org.episteme.social.medicine.consultation.MedicalSituation
- All Implemented Interfaces:
Serializable, Commented, ComprehensiveIdentification, Identified<Identification>, Named, Positioned<Place>
A class representing the interaction of people around a common activity
or conflict. Situations happen usually at dedicated places.
- Since:
- 1.0
- Version:
- 1.1
- Author:
- Silvere Martin-Michiellot
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMedicalSituation(String name, String comments) Creates a new MedicalSituation object. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDoctor(Individual individual, Organization organization) Adds a doctor to the medical situation.voidaddPatient(Individual individual) Adds a patient to the medical situation.Methods inherited from class WorkSituation
addRole, addWorkerMethods inherited from class EconomicSituation
addEconomicAgentMethods inherited from class Situation
addParticipant, addParticipant, equals, getId, getIdentification, getPosition, getRoles, getTraits, hashCode, removeParticipant, setPosition, toStringMethods inherited from interface Commented
getComments, getTrait, setCommentsMethods inherited from interface ComprehensiveIdentification
getName, getTrait, setName, setTrait
-
Constructor Details
-
MedicalSituation
-
-
Method Details
-
addDoctor
Adds a doctor to the medical situation.- Parameters:
individual- the individual taking the doctor roleorganization- the organization the doctor belongs to
-
addPatient
Adds a patient to the medical situation.- Parameters:
individual- the individual taking the patient role
-