}
if (flowActivity.sources().length > 0){
Sources sources = BPELFactory.eINSTANCE.createSources();
activity.setSources(sources);
for(int i=0; i < flowActivity.sources().length; i++){
FlowLinkSource linkSource = flowActivity.sources()[i];
Link link = linkMap.get(linkSource.name());
if (link == null){
link = BPELFactory.eINSTANCE.createLink();
link.setName(linkSource.name());
linkMap.put(linkSource.name(), link);