Medicine
The domain object representing a single medicine in a dosage that is part of a pill regimen.
MEDICINE_END_DATE_CANNOT_BE_BEFORE_START_DATE
Error message for medicine validation.
Constructs an instance without setting any fields.
Creates a medicine instance using the provided data.
equals
getEndDate
getName
getStartDate
hashCode
setEndDate
setName
setStartDate
validate
Validates this medicine, by checking if the start date is not after the end date.