summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Pielmann2012-09-17 04:21:39 (EDT)
committerStephan Born2012-09-17 04:21:39 (EDT)
commitc39019cd44a3c9c241adcfed2fbcf1e27e91977f (patch)
tree75debe200a4063e96613613065eb169672974978
parenteb02807e104261e03478b73a421ec5b194e5bcb8 (diff)
downloadorg.eclipse.stardust.ide-c39019cd44a3c9c241adcfed2fbcf1e27e91977f.zip
org.eclipse.stardust.ide-c39019cd44a3c9c241adcfed2fbcf1e27e91977f.tar.gz
org.eclipse.stardust.ide-c39019cd44a3c9c241adcfed2fbcf1e27e91977f.tar.bz2
CRNT-26235 Pepper: Further enhancements of ModelBuilder API
git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ide@59254 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--model/org.eclipse.stardust.model.xpdl.builder/src/main/java/org/eclipse/stardust/model/xpdl/builder/utils/ModelBuilderFacade.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/model/org.eclipse.stardust.model.xpdl.builder/src/main/java/org/eclipse/stardust/model/xpdl/builder/utils/ModelBuilderFacade.java b/model/org.eclipse.stardust.model.xpdl.builder/src/main/java/org/eclipse/stardust/model/xpdl/builder/utils/ModelBuilderFacade.java
index 9964191..8b1b0b7 100644
--- a/model/org.eclipse.stardust.model.xpdl.builder/src/main/java/org/eclipse/stardust/model/xpdl/builder/utils/ModelBuilderFacade.java
+++ b/model/org.eclipse.stardust.model.xpdl.builder/src/main/java/org/eclipse/stardust/model/xpdl/builder/utils/ModelBuilderFacade.java
@@ -322,7 +322,7 @@ public class ModelBuilderFacade
org.eclipse.stardust.model.xpdl.xpdl2.DataTypeType dataTypeType = xpdlFactory
.createDataTypeType();
- String typeId = data.getType().getId();
+ String typeId = PredefinedConstants.STRUCTURED_DATA;
parameterType.setDataType(dataTypeType);
dataTypeType.setCarnotType(typeId);
@@ -353,7 +353,11 @@ public class ModelBuilderFacade
.createFormalParameterMappingsType();
}
- parameterMappingsType.setMappedData(parameterType, data);
+ if (data != null)
+ {
+ parameterMappingsType.setMappedData(parameterType, data);
+ }
+
processInterface.setFormalParameterMappings(parameterMappingsType);
return parameterType;