Add mutator for payload

This commit is contained in:
Tadgh 2021-01-25 12:20:38 -05:00
parent 4c9df3f7b4
commit 5c0b3ea905
2 changed files with 9 additions and 1 deletions

View File

@ -37,4 +37,12 @@ public class ResourceOperationMessage extends BaseResourceModifiedMessage {
public ResourceOperationMessage(FhirContext theFhirContext, IBaseResource theNewResource, OperationTypeEnum theOperationType, RequestDetails theRequest) { public ResourceOperationMessage(FhirContext theFhirContext, IBaseResource theNewResource, OperationTypeEnum theOperationType, RequestDetails theRequest) {
super(theFhirContext, theNewResource, theOperationType, theRequest); super(theFhirContext, theNewResource, theOperationType, theRequest);
} }
/**
* If you are using a non-fhir-resource payload, you may set the payload directly here instead of using the constructor.
* @param thePayload the payload of the message.
*/
public void setPayload(String thePayload) {
this.myPayload = thePayload;
}
} }