Hi Matt!
After examining your code fragment in detail I stumbled across the
following "problem" and would like to present my solution, just in case
someone experiences the same problem.
The presented example contains the following:
// Convert / "save" EMF to DOM
RegistryPackage packageInstance = RegistryPackage.eINSTANCE;
DocumentRoot root = RegistryFactory.eINSTANCE.createDocumentRoot();
root.setSubmitObjectsRequest(submitObjectsRequest);
The "problem" is, that the class/interface DocumentRoot -
org.eclipse.ohf.ihe.common.ebxml._3._0.rs.DocumentRoot - as returned by
RegistryFactory.eINSTANCE.createDocumentRoot() does not contain a method
"setSubmitObjectsRequest".
My "solution" - or approach - is to use the method
"setRegisterRequest()", as shown in the lines below:
org.eclipse.ohf.ihe.common.ebxml._3._0.rs.DocumentRoot root =
RegistryFactory.eINSTANCE.createDocumentRoot();
root.setRegistryRequest(submitObjectsRequest);
It seems to work, so I think the "problem" is saved. Thanks again for
your help!
Greetings
Stefan