- Timestamp:
- 03/12/15 15:24:31 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-plugin-uml/src/main/java/de/ugoe/cs/autoquest/plugin/uml/UMLUtils.java
r1913 r1916 135 135 for (List<Event> sequence : sequences) { 136 136 for (Event event : sequence) { 137 if (event.getType() instanceof SOAPEventType) { 138 SOAPEventType eventType = (SOAPEventType) event.getType(); 139 Set<String> curCalledMethods = calledMethods.get(eventType.getServiceName()); 137 String serviceName = getServiceNameFromEvent(event); 138 String calledMethod = getCalledMethodFromEvent(event); 139 if( serviceName!=null ) { 140 Set<String> curCalledMethods = calledMethods.get(serviceName); 140 141 if (curCalledMethods == null) { 141 142 curCalledMethods = new TreeSet<>(); 142 calledMethods.put( eventType.getServiceName(), curCalledMethods);143 } 144 curCalledMethods.add( eventType.getCalledMethod());143 calledMethods.put(serviceName, curCalledMethods); 144 } 145 curCalledMethods.add(calledMethod); 145 146 } 146 147 } … … 1014 1015 ubtInstSpecPkg = (Package) type.getModel().createPackagedElement(pkgUBTInstSpecs, UMLPackage.Literals.PACKAGE); 1015 1016 } 1016 String serviceName = ((SOAPEventType) event.getType()).getServiceName();1017 String serviceName = getServiceNameFromEvent(event); 1017 1018 Package serviceInstSpecPkg = (Package) ubtInstSpecPkg.getOwnedMember(serviceName); 1018 1019 if( serviceInstSpecPkg==null ) {
Note: See TracChangeset
for help on using the changeset viewer.