summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Pielmann2012-08-16 05:09:06 (EDT)
committer Manik Kishore2012-08-16 05:09:06 (EDT)
commite3cd513e2d6db9d1a9819b3bb8dfd61a64d8c250 (patch)
treeab402947444436b817c08ec091dbdfaf0d8d83cf
parentc18857baca977bb8597dfa1a4e6802e42008ce00 (diff)
downloadorg.eclipse.stardust.ide-e3cd513e2d6db9d1a9819b3bb8dfd61a64d8c250.zip
org.eclipse.stardust.ide-e3cd513e2d6db9d1a9819b3bb8dfd61a64d8c250.tar.gz
org.eclipse.stardust.ide-e3cd513e2d6db9d1a9819b3bb8dfd61a64d8c250.tar.bz2
CRNT-25760 Refactor/Clean up MB Facade: Javadoc
git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ide@58447 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/MBFacade.java12
1 files changed, 10 insertions, 2 deletions
diff --git a/model/org.eclipse.stardust.model.xpdl.builder/src/main/java/org/eclipse/stardust/model/xpdl/builder/utils/MBFacade.java b/model/org.eclipse.stardust.model.xpdl.builder/src/main/java/org/eclipse/stardust/model/xpdl/builder/utils/MBFacade.java
index 4e93f3f..354508f 100644
--- a/model/org.eclipse.stardust.model.xpdl.builder/src/main/java/org/eclipse/stardust/model/xpdl/builder/utils/MBFacade.java
+++ b/model/org.eclipse.stardust.model.xpdl.builder/src/main/java/org/eclipse/stardust/model/xpdl/builder/utils/MBFacade.java
@@ -588,10 +588,18 @@ public class MBFacade
return activity;
}
- public ProcessDefinitionType createProcess(ModelType model, String name, String id)
+ /**
+ * Creates a process.
+ *
+ * @param model model to create the process in
+ * @param processID id of the process
+ * @param processName name of the process
+ * @return process created
+ */
+ public ProcessDefinitionType createProcess(ModelType model, String processName, String processID)
{
ProcessDefinitionType processDefinition = newProcessDefinition(model)
- .withIdAndName(id, name).build();
+ .withIdAndName(processID, processName).build();
// Create diagram bits too