if (packageBpelNamespaceMap.get(e) != null)
fireAddMappingEvent(new JbprocessAttributeMapping("bpel namespace",e,"targetNamespace",packageBpelNamespaceMap.get(e)));
if (xsdSchemaMap.get(e) != null){
XSDSchema schema = xsdSchemaMap.get(e);
schema.updateElement();
fireAddMappingEvent(new JbprocessElementMapping(e,schema.getElement()));
}
if (wsdlDefMap.get(e) != null){
Definition wsdl = wsdlDefMap.get(e);
wsdl.updateElement();
fireAddMappingEvent(new JbprocessElementMapping(e,wsdl.getElement()));
}
if (classProcessMap.get(e) != null){
org.eclipse.bpel.model.Process process = classProcessMap.get(e);
process.updateElement();
fireAddMappingEvent(new JbprocessBpelProcessMapping(e,process));
}
if (typePortTypeMap.get(e) != null){
PortType portType = typePortTypeMap.get(e);
portType.updateElement();
fireAddMappingEvent(new JbprocessElementMapping(e,portType.getDocumentationElement()));
}
if (methodElementDeclMap.get(e) != null){
XSDElementDeclaration elem = methodElementDeclMap.get(e);
elem.updateElement();
fireAddMappingEvent(new JbprocessElementMapping(e,elem.getElement()));
}
if (fieldElementDeclMap.get(e) != null){
XSDElementDeclaration elem = fieldElementDeclMap.get(e);
elem.updateElement();
fireAddMappingEvent(new JbprocessElementMapping(e,elem.getElement()));
}
if (fieldVariableMap.get(e) != null){
Variable variable = fieldVariableMap.get(e);
variable.updateElement();
fireAddMappingEvent(new JbprocessElementMapping(e,variable.getElement()));
}
if (methodOperationMap.get(e) != null){
Operation operation = methodOperationMap.get(e);
operation.updateElement();
fireAddMappingEvent(new JbprocessElementMapping(e,operation.getElement()));
}
if (typeXSDComplexTypeMap.get(e) != null){
XSDComplexTypeDefinition complexType = typeXSDComplexTypeMap.get(e);
complexType.updateElement();
fireAddMappingEvent(new JbprocessElementMapping(e,complexType.getElement()));
}
if (wsdlRpcLitResultMap.get(e) != null){
Part part = wsdlRpcLitResultMap.get(e);
part.updateElement();
fireAddMappingEvent(new JbprocessElementMapping(e,part.getElement()));
}
if (wsdlDocLitWrapResultMap.get(e) != null){
XSDElementDeclaration elem = wsdlDocLitWrapResultMap.get(e);
elem.updateElement();
fireAddMappingEvent(new JbprocessElementMapping(e,elem.getElement()));
}
if (wsdlRpcLitParamMap.get(e) != null){
Part part = wsdlRpcLitParamMap.get(e);
part.updateElement();
fireAddMappingEvent(new JbprocessElementMapping(e,part.getElement()));
}
if (wsdlDocLitParamElemMap.get(e) != null){
List<XSDElementDeclaration> elems = wsdlDocLitParamElemMap.get(e);
for (XSDElementDeclaration elem : elems){
elem.updateElement();
fireAddMappingEvent(new JbprocessElementMapping(e,elem.getElement()));
}
}
if (nodeDataStack.peek().activity != null){
fireAddMappingEvent(new JbprocessElementMapping(e,nodeDataStack.peek().activity.getElement()));
}
/*
if (packageBpelNamespaceMap.get(e) != null)
container.add(new JbprocessAttributeMapping("bpel namespace",e,"targetNamespace",packageBpelNamespaceMap.get(e)));
if (xsdSchemaMap.get(e) != null){