Class CreatePrescriptionDTO
- java.lang.Object
-
- be.business.connector.recipe.prescriber.dto.CreatePrescriptionDTO
-
public class CreatePrescriptionDTO extends Object
The Class CreatePrescriptionDTO.- Author:
- Bruno Casneuf
-
-
Constructor Summary
Constructors Constructor Description CreatePrescriptionDTO(int sequenceNumber, boolean feedbackRequested, String patientId, byte[] prescription, String prescriptionType, String visi)Instantiates a new creates the prescription DTO.CreatePrescriptionDTO(int sequenceNumber, boolean feedbackRequested, String patientId, byte[] prescription, String prescriptionType, String visi, be.recipe.api.prescriber.VisionOtherPrescribers visionOtherPrescribers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExceptiongetException()StringgetPatientId()Gets the patient id.byte[]getPrescription()Gets the prescription.StringgetPrescriptionType()Gets the prescription type.StringgetRid()intgetSequenceNumber()StringgetVisi()Gets the visi.be.recipe.api.prescriber.VisionOtherPrescribersgetVisionOtherPrescribers()booleanisErrorOccured()booleanisFeedbackRequested()Checks if is feedback requested.voidrethrowException()voidsetErrorOccured(boolean errorOccured)voidsetException(Exception exception)voidsetPrescription(byte[] prescription)voidsetRid(String rid)voidsetSequenceNumber(int sequenceNumber)voidsetVisionOtherPrescribers(be.recipe.api.prescriber.VisionOtherPrescribers visionOtherPrescribers)
-
-
-
Constructor Detail
-
CreatePrescriptionDTO
public CreatePrescriptionDTO(int sequenceNumber, boolean feedbackRequested, String patientId, byte[] prescription, String prescriptionType, String visi)Instantiates a new creates the prescription DTO.- Parameters:
feedbackRequested- the feedback requestedpatientId- the patient idprescription- the prescriptionprescriptionType- the prescription typevisi- the visi
-
-
Method Detail
-
isFeedbackRequested
public boolean isFeedbackRequested()
Checks if is feedback requested.- Returns:
- the feedbackRequested
-
getPatientId
public String getPatientId()
Gets the patient id.- Returns:
- the patientId
-
getPrescription
public byte[] getPrescription()
Gets the prescription.- Returns:
- the prescription
-
getPrescriptionType
public String getPrescriptionType()
Gets the prescription type.- Returns:
- the prescriptionType
-
getVisi
public String getVisi()
Gets the visi.- Returns:
- the visi
-
getRid
public String getRid()
- Returns:
- the rid
-
setRid
public void setRid(String rid)
- Parameters:
rid- the rid to set
-
getException
public Exception getException()
- Returns:
- the exception
-
setException
public void setException(Exception exception)
- Parameters:
exception- the exception to set
-
setErrorOccured
public void setErrorOccured(boolean errorOccured)
- Parameters:
errorOccured- errorOccurred
-
isErrorOccured
public boolean isErrorOccured()
- Returns:
- the errorOccured
-
setSequenceNumber
public void setSequenceNumber(int sequenceNumber)
-
getSequenceNumber
public int getSequenceNumber()
- Returns:
- the sequenceNumber
-
setPrescription
public void setPrescription(byte[] prescription)
- Parameters:
prescription- the prescription
-
getVisionOtherPrescribers
public be.recipe.api.prescriber.VisionOtherPrescribers getVisionOtherPrescribers()
-
setVisionOtherPrescribers
public void setVisionOtherPrescribers(be.recipe.api.prescriber.VisionOtherPrescribers visionOtherPrescribers)
-
-