Class MedicalTechnologyUsagePayload

java.lang.Object
application.presenter.event.model.medicaltechnology.payload.MedicalTechnologyUsagePayload

public class MedicalTechnologyUsagePayload extends Object
MedicalTechnologyEvent event payload.
  • Field Details

    • MEDICAL_TECHNOLOGY_USAGE_EVENT_KEY

      public static final String MEDICAL_TECHNOLOGY_USAGE_EVENT_KEY
      Medical Technology Usage event key.
      See Also:
  • Constructor Details

    • MedicalTechnologyUsagePayload

      public MedicalTechnologyUsagePayload(String medicalTechnologyID, MedicalTechnologyTypePayload medicalTechnologyType, boolean inUse)
      Default constructor.
      Parameters:
      medicalTechnologyID - the medical technology id.
      medicalTechnologyType - the type of the medical technology.
      inUse - if the medical technology is in use.
  • Method Details

    • getMedicalTechnologyID

      public String getMedicalTechnologyID()
      Get the medical technology id involved in the event.
      Returns:
      the medical technology id.
    • getMedicalTechnologyType

      public MedicalTechnologyTypePayload getMedicalTechnologyType()
      Get the medical technology type involved in the event.
      Returns:
      the medical technology type.
    • isInUse

      public boolean isInUse()
      State if the medical technology is being used.
      Returns:
      true if the involved medical technology is in use, false otherwise.