use of com.plumdo.form.rest.instance.FormInstanceResponse in project plumdo-work by wengwh.
the class ResponseFactory method createFormInstanceResponse.
public FormInstanceResponse createFormInstanceResponse(FormInstance formInstance) {
FormInstanceResponse response = new FormInstanceResponse();
response.setBaseEntity(formInstance);
response.setBusinessKey(formInstance.getBusinessKey());
for (FormData formData : formInstance.getFormDatas()) {
response.addFormData(formData);
}
return response;
}
Aggregations