if (ebgConnected) {
return new EbgConnectedCatchEventNode(
IdService.getUniqueProcessId(clientId, processJaxb),
IdService.getUniqueFlowNodeId(clientId, processJaxb, subProcessesJaxb,
intermediateCatchEventJaxb),
new EventDefinitionParameter(clientId, processJaxb, subProcessesJaxb,flowNodeJaxb),
this.getOutgoingActorReferences(clientId, processJaxb, subProcessesJaxb,
intermediateCatchEventJaxb, sequenceFlowsJaxb),
this.getDataObjectService(flowNodeJaxb));
// else instantiate the standard catch node
} else {
return new IntermediateCatchEventNode(
IdService.getUniqueProcessId(clientId, processJaxb),
IdService.getUniqueFlowNodeId(clientId, processJaxb, subProcessesJaxb,
intermediateCatchEventJaxb),
new EventDefinitionParameter(clientId, processJaxb, subProcessesJaxb,flowNodeJaxb),
this.getOutgoingActorReferences(clientId, processJaxb, subProcessesJaxb,
intermediateCatchEventJaxb, sequenceFlowsJaxb),
this.getDataObjectService(flowNodeJaxb));
}
}