package eventsourcing
- Alphabetic
- Public
- All
Type Members
-
abstract
class
Event extends AnyRef
Abstract class of general event.
-
case class
InsertAnesthetistEvent(id: DoctorID, a: Anesthetist, eventID: Int = EventType.INSERT_ANESTHETIST.id, timestamp: LocalDateTime = LocalDateTime.now()) extends Event with Product with Serializable
Event of insert of anesthetist.
Event of insert of anesthetist.
- id
, id of the anesthetist.
- a
, anesthetist to insert.
- eventID
, id of the event.
- timestamp
, timestamp of the event.
-
case class
InsertCardiologistEvent(id: DoctorID, c: Cardiologist, eventID: Int = EventType.INSERT_CARDIOLOGIST.id, timestamp: LocalDateTime = LocalDateTime.now()) extends Event with Product with Serializable
Event of insert of cardiologist.
Event of insert of cardiologist.
- id
, id of the rescuer.
- c
, cardiologist to insert.
- eventID
, id of the event.
- timestamp
, timestamp of the event.
-
case class
InsertCardiologyPredictionsEvent(id: DoctorID, c: CardiologyPrediction, eventID: Int = ..., timestamp: LocalDateTime = LocalDateTime.now()) extends Event with Product with Serializable
Event of insert of cardiology prediction.
Event of insert of cardiology prediction.
- id
, id of the doctor.
- c
, cardiology prediction to insert.
- eventID
, id of the event.
- timestamp
, timestamp of the event.
-
case class
InsertCardiologyVisitEvent(id: PatientID, c: CardiologyVisit, eventID: Int = ..., timestamp: LocalDateTime = LocalDateTime.now()) extends Event with Product with Serializable
Event of insert of cardiology visit.
Event of insert of cardiology visit.
- id
, id of the doctor.
- c
, cardiology visit to insert.
- eventID
, id of the event.
- timestamp
, timestamp of the event.
-
case class
InsertGeneralInfoEvent(id: PatientID, g: GeneralInfo, eventID: Int = EventType.INSERT_GENERAL_INFO.id, timestamp: LocalDateTime = LocalDateTime.now()) extends Event with Product with Serializable
Event of insert of general info.
Event of insert of general info.
- id
, id of the patient.
- g
, general info to insert.
- eventID
, id of the event.
- timestamp
, timestamp of the event.
-
case class
InsertGeneralPractitionerEvent(id: DoctorID, g: GeneralPractitioner, eventID: Int = ..., timestamp: LocalDateTime = LocalDateTime.now()) extends Event with Product with Serializable
Event of insert of general practitioner.
Event of insert of general practitioner.
- id
, id of the general practitioner.
- g
, general practitioner to insert.
- eventID
, id of the event.
- timestamp
, timestamp of the event.
-
case class
InsertGeneralPractitionerInfoEvent(id: PatientID, g: GeneralPractitionerInfo, eventID: Int = ..., timestamp: LocalDateTime = LocalDateTime.now()) extends Event with Product with Serializable
Event of insert of general practitioner info.
Event of insert of general practitioner info.
- id
, id of the patient.
- g
, general practitioner info to insert.
- eventID
, id of the event.
- timestamp
, timestamp of the event.
-
case class
InsertInstrumentalistEvent(id: DoctorID, i: Instrumentalist, eventID: Int = EventType.INSERT_INSTRUMENTALIST.id, timestamp: LocalDateTime = LocalDateTime.now()) extends Event with Product with Serializable
Event of insert of instrumentalist.
Event of insert of instrumentalist.
- id
, id of the instrumentalist.
- i
, instrumentalist to insert.
- eventID
, id of the event.
- timestamp
, timestamp of the event.
-
case class
InsertMedicalRecordEvent(id: PatientID, m: MedicalRecord, eventID: Int = EventType.INSERT_MEDICAL_RECORD.id, timestamp: LocalDateTime = LocalDateTime.now()) extends Event with Product with Serializable
Event of insert of medical record.
Event of insert of medical record.
- id
, id of the patient.
- m
, medical record to insert.
- eventID
, id of the event.
- timestamp
, timestamp of the event.
-
case class
InsertPatientInfoEvent(id: PatientID, p: Patient, eventID: Int = EventType.INSERT_PATIENT_INFO.id, timestamp: LocalDateTime = LocalDateTime.now()) extends Event with Product with Serializable
Event of insert of patient info.
Event of insert of patient info.
- id
, id of the patient.
- p
, patient info to insert.
- eventID
, id of the event.
- timestamp
, timestamp of the event.
-
case class
InsertRescuerEvent(id: DoctorID, r: Rescuer, eventID: Int = EventType.INSERT_RESCUER.id, timestamp: LocalDateTime = LocalDateTime.now()) extends Event with Product with Serializable
Event of insert of rescuer.
Event of insert of rescuer.
- id
, id of the rescuer.
- r
, rescuer to insert.
- eventID
, id of the event.
- timestamp
, timestamp of the event.
-
case class
InsertSurgeonEvent(id: DoctorID, s: Surgeon, eventID: Int = EventType.INSERT_SURGEON.id, timestamp: LocalDateTime = LocalDateTime.now()) extends Event with Product with Serializable
Event of insert of surgeon.
Event of insert of surgeon.
- id
, id of the surgeon.
- s
, surgeon to insert.
- eventID
, id of the event.
- timestamp
, timestamp of the event.
-
case class
InsertWardNurseEvent(id: DoctorID, w: WardNurse, eventID: Int = EventType.INSERT_WARD_NURSE.id, timestamp: LocalDateTime = LocalDateTime.now()) extends Event with Product with Serializable
Event of insert of ward nurse.
Event of insert of ward nurse.
- id
, id of the ward nurse.
- w
, ward nurse to insert.
- eventID
, id of the event.
- timestamp
, timestamp of the event.
-
case class
UpdateAnesthetistEvent(id: DoctorID, a: Anesthetist, eventID: Int = EventType.INSERT_ANESTHETIST.id, timestamp: LocalDateTime = LocalDateTime.now()) extends Event with Product with Serializable
Event of update of anesthetist.
Event of update of anesthetist.
- id
, id of the anesthetist.
- a
, anesthetist to update.
- eventID
, id of the event.
- timestamp
, timestamp of the event.
-
case class
UpdateCardiologistEvent(id: DoctorID, c: Cardiologist, eventID: Int = EventType.UPDATE_CARDIOLOGIST.id, timestamp: LocalDateTime = LocalDateTime.now()) extends Event with Product with Serializable
Event of update of cardiologist.
Event of update of cardiologist.
- id
, id of the rescuer.
- c
, cardiologist to update.
- eventID
, id of the event.
- timestamp
, timestamp of the event.
-
case class
UpdateCardiologyPredictionsEvent(id: DoctorID, c: CardiologyPrediction, eventID: Int = ..., timestamp: LocalDateTime = LocalDateTime.now()) extends Event with Product with Serializable
Event of update of cardiology prediction.
Event of update of cardiology prediction.
- id
, id of the doctor.
- c
, cardiology prediction to update.
- eventID
, id of the event.
- timestamp
, timestamp of the event.
-
case class
UpdateCardiologyVisitEvent(id: PatientID, c: CardiologyVisit, eventID: Int = ..., timestamp: LocalDateTime = LocalDateTime.now()) extends Event with Product with Serializable
Event of update of cardiology visit.
Event of update of cardiology visit.
- id
, id of the doctor.
- c
, cardiology visit to update.
- eventID
, id of the event.
- timestamp
, timestamp of the event.
-
case class
UpdateGeneralInfoEvent(id: PatientID, g: GeneralInfo, eventID: Int = EventType.UPDATE_GENERAL_INFO.id, timestamp: LocalDateTime = LocalDateTime.now()) extends Event with Product with Serializable
Event of update of general info.
Event of update of general info.
- id
, id of the patient.
- g
, general info to update.
- eventID
, id of the event.
- timestamp
, timestamp of the event.
-
case class
UpdateGeneralPractitionerEvent(id: DoctorID, g: GeneralPractitioner, eventID: Int = ..., timestamp: LocalDateTime = LocalDateTime.now()) extends Event with Product with Serializable
Event of update of general practitioner.
Event of update of general practitioner.
- id
, id of the general practitioner.
- g
, general practitioner to update.
- eventID
, id of the event.
- timestamp
, timestamp of the event.
-
case class
UpdateGeneralPractitionerInfoEvent(id: PatientID, g: GeneralPractitionerInfo, eventID: Int = ..., timestamp: LocalDateTime = LocalDateTime.now()) extends Event with Product with Serializable
Event of update of general practitioner info.
Event of update of general practitioner info.
- id
, id of the patient.
- g
, general practitioner info to update.
- eventID
, id of the event.
- timestamp
, timestamp of the event.
-
case class
UpdateInstrumentalistEvent(id: DoctorID, i: Instrumentalist, eventID: Int = EventType.UPDATE_INSTRUMENTALIST.id, timestamp: LocalDateTime = LocalDateTime.now()) extends Event with Product with Serializable
Event of update of instrumentalist.
Event of update of instrumentalist.
- id
, id of the instrumentalist.
- i
, instrumentalist to update.
- eventID
, id of the event.
- timestamp
, timestamp of the event.
-
case class
UpdateMedicalRecordEvent(id: PatientID, m: MedicalRecord, eventID: Int = EventType.UPDATE_MEDICAL_RECORD.id, timestamp: LocalDateTime = LocalDateTime.now()) extends Event with Product with Serializable
Event of update of medical record.
Event of update of medical record.
- id
, id of the patient.
- m
, medical record to update.
- eventID
, id of the event.
- timestamp
, timestamp of the event.
-
case class
UpdatePatientInfoEvent(id: PatientID, p: Patient, eventID: Int = EventType.UPDATE_PATIENT_INFO.id, timestamp: LocalDateTime = LocalDateTime.now()) extends Event with Product with Serializable
Event of update of patient info.
Event of update of patient info.
- id
, id of the patient.
- p
, patient info to update.
- eventID
, id of the event.
- timestamp
, timestamp of the event.
-
case class
UpdateRescuerEvent(id: DoctorID, r: Rescuer, eventID: Int = EventType.UPDATE_RESCUER.id, timestamp: LocalDateTime = LocalDateTime.now()) extends Event with Product with Serializable
Event of update of rescuer.
Event of update of rescuer.
- id
, id of the rescuer.
- r
, rescuer to update.
- eventID
, id of the event.
- timestamp
, timestamp of the event.
-
case class
UpdateSurgeonEvent(id: DoctorID, s: Surgeon, eventID: Int = EventType.UPDATE_SURGEON.id, timestamp: LocalDateTime = LocalDateTime.now()) extends Event with Product with Serializable
Event of update of surgeon.
Event of update of surgeon.
- id
, id of the surgeon.
- s
, surgeon to update.
- eventID
, id of the event.
- timestamp
, timestamp of the event.
-
case class
UpdateWardNurseEvent(id: DoctorID, w: WardNurse, eventID: Int = EventType.UPDATE_WARD_NURSE.id, timestamp: LocalDateTime = LocalDateTime.now()) extends Event with Product with Serializable
Event of update of ward nurse.
Event of update of ward nurse.
- id
, id of the ward nurse.
- w
, ward nurse to update.
- eventID
, id of the event.
- timestamp
, timestamp of the event.
Value Members
-
object
EventStore
Store of event for event sourcing.
-
object
EventType extends Enumeration
Event's type enumeration.