summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Pielmann2012-09-17 09:13:51 (EDT)
committer Stephan Born2012-09-17 09:13:51 (EDT)
commit8eb841bf36f1c0a2aeb368c81a09e91ac3ff02df (patch)
tree2f304e1fd41884d8dd8d4c3c9278ce2cad3bde3f
parentbe417288ffbe75cb2296a8bb36694bac3cdda910 (diff)
downloadorg.eclipse.stardust.ide-8eb841bf36f1c0a2aeb368c81a09e91ac3ff02df.zip
org.eclipse.stardust.ide-8eb841bf36f1c0a2aeb368c81a09e91ac3ff02df.tar.gz
org.eclipse.stardust.ide-8eb841bf36f1c0a2aeb368c81a09e91ac3ff02df.tar.bz2
CRNT-26235 Pepper: Further enhancements of ModelBuilder API
git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ide@59279 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 8b1b0b7..a49b74c 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
@@ -375,7 +375,7 @@ public class ModelBuilderFacade
org.eclipse.stardust.model.xpdl.xpdl2.DataTypeType dataTypeType = xpdlFactory
.createDataTypeType();
- String typeId = data.getType().getId();
+ String typeId = ModelerConstants.DOCUMENT_DATA_TYPE_KEY;
parameterType.setDataType(dataTypeType);
dataTypeType.setCarnotType(typeId);
@@ -406,7 +406,11 @@ public class ModelBuilderFacade
.createFormalParameterMappingsType();
}
- parameterMappingsType.setMappedData(parameterType, data);
+ if (data != null)
+ {
+ parameterMappingsType.setMappedData(parameterType, data);
+ }
+
processInterface.setFormalParameterMappings(parameterMappingsType);
return parameterType;