use of org.openehealth.ipf.commons.ihe.xds.core.stub.ebrs30.rim.ObjectFactory in project ipf by oehf.
the class Ebrs30MarshalingTest method setUp.
@BeforeEach
public void setUp() throws JAXBException {
factory = new EbXMLFactory30();
objectLibrary = factory.createObjectLibrary();
context = JAXBContext.newInstance("org.openehealth.ipf.commons.ihe.xds.core.stub.ebrs30.rs");
request = new SubmitObjectsRequest();
var objListElement = new RegistryObjectListType();
request.setRegistryObjectList(objListElement);
var objList = objListElement.getIdentifiable();
docEntry = factory.createExtrinsic("Document01", objectLibrary);
docEntry.setObjectType(DocumentEntryType.STABLE.getUuid());
objList.add(new ObjectFactory().createExtrinsicObject(((EbXMLExtrinsicObject30) docEntry).getInternal()));
}
Aggregations