JBoss JBPM SVN: r1675 - in jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm: pvm and 2 other directories.
by do-not-reply@jboss.org
Author: tom.baeyens(a)jboss.com
Date: 2008-07-18 10:11:32 -0400 (Fri, 18 Jul 2008)
New Revision: 1675
Added:
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/CheckInTests.java
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/DbTests.java
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/NonDbTests.java
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/AutomaticDecisionTest.java
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/BasicExecutionFlowTest.java
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/EventPropagationTest.java
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/EventTest.java
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/ExceptionHandlerTest.java
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/ExecutionStateTest.java
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/ExternalDecisionTest.java
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/FunctionalActivityTest.java
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/LoopingTest.java
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/PvmClientTests.java
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/ScopeStateTest.java
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/ScopeVariableDeclarationTest.java
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/ScopeVariableTest.java
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/SubProcessTest.java
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/TransitionAsWaitStateTest.java
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/TransitionBasedConcurrencyTest.java
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/TransitionEventsTest.java
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/VariableTest.java
Removed:
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/AllTests.java
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/AutomaticDecisionTest.java
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/BasicExecutionFlowTest.java
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/EventPropagationTest.java
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/EventTest.java
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/ExceptionHandlerTest.java
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/ExecutionStateTest.java
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/ExternalDecisionTest.java
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/FunctionalActivityTest.java
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/LoopingTest.java
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/PvmClientTests.java
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/ScopeStateTest.java
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/ScopeVariableDeclarationTest.java
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/ScopeVariableTest.java
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/SubProcessTest.java
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/TransitionAsWaitStateTest.java
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/TransitionBasedConcurrencyTest.java
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/TransitionEventsTest.java
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/VariableTest.java
Log:
restructuring of the test suite
Deleted: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/AllTests.java
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/AllTests.java 2008-07-17 20:14:17 UTC (rev 1674)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/AllTests.java 2008-07-18 14:11:32 UTC (rev 1675)
@@ -1,45 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jbpm;
-
-import org.jbpm.pvm.client.PvmClientTests;
-import org.jbpm.wire.WireTests;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-
-/**
- * @author Tom Baeyens
- */
-public class AllTests {
-
- public static Test suite() {
- TestSuite suite = new TestSuite("Test for org.jbpm");
- //$JUnit-BEGIN$
- suite.addTest(PvmClientTests.suite());
- suite.addTest(WireTests.suite());
- //$JUnit-END$
- return suite;
- }
-
-}
Copied: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/CheckInTests.java (from rev 1674, jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/AllTests.java)
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/CheckInTests.java (rev 0)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/CheckInTests.java 2008-07-18 14:11:32 UTC (rev 1675)
@@ -0,0 +1,41 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jbpm.pvm;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+/**
+ * @author Tom Baeyens
+ */
+public class CheckInTests {
+
+ public static Test suite() {
+ TestSuite suite = new TestSuite("Test for org.jbpm");
+ //$JUnit-BEGIN$
+ suite.addTest(NonDbTests.suite());
+ suite.addTest(DbTests.suite());
+ //$JUnit-END$
+ return suite;
+ }
+
+}
Property changes on: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/CheckInTests.java
___________________________________________________________________
Name: svn:mergeinfo
+
Added: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/DbTests.java
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/DbTests.java (rev 0)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/DbTests.java 2008-07-18 14:11:32 UTC (rev 1675)
@@ -0,0 +1,43 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jbpm.pvm;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+
+/**
+ * @author Tom Baeyens
+ */
+public class DbTests {
+
+ public static Test suite() {
+ TestSuite suite = new TestSuite("Test for org.jbpm.pvm");
+ //$JUnit-BEGIN$
+
+ // TODO
+
+ //$JUnit-END$
+ return suite;
+ }
+
+}
Added: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/NonDbTests.java
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/NonDbTests.java (rev 0)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/NonDbTests.java 2008-07-18 14:11:32 UTC (rev 1675)
@@ -0,0 +1,45 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jbpm.pvm;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+import org.jbpm.pvm.basicfeatures.PvmClientTests;
+import org.jbpm.wire.WireTests;
+
+
+/**
+ * @author Tom Baeyens
+ */
+public class NonDbTests {
+
+ public static Test suite() {
+ TestSuite suite = new TestSuite("Test for org.jbpm.pvm");
+ //$JUnit-BEGIN$
+ suite.addTest(PvmClientTests.suite());
+ suite.addTest(WireTests.suite());
+ //$JUnit-END$
+ return suite;
+ }
+
+}
Copied: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/AutomaticDecisionTest.java (from rev 1674, jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/AutomaticDecisionTest.java)
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/AutomaticDecisionTest.java (rev 0)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/AutomaticDecisionTest.java 2008-07-18 14:11:32 UTC (rev 1675)
@@ -0,0 +1,109 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jbpm.pvm.basicfeatures;
+
+import java.util.Map;
+
+import org.jbpm.pvm.test.base.JbpmTestCase;
+import org.jbpm.pvm.activity.Activity;
+import org.jbpm.pvm.activity.ActivityExecution;
+import org.jbpm.pvm.activity.ExternalActivity;
+import org.jbpm.pvm.client.ClientProcessDefinition;
+import org.jbpm.pvm.client.ClientProcessInstance;
+import org.jbpm.pvm.model.ProcessFactory;
+
+
+/** shows an automatic decision.
+ *
+ * @author Tom Baeyens
+ */
+public class AutomaticDecisionTest extends JbpmTestCase {
+
+ public static class AutomaticCreditRating implements Activity {
+ private static final long serialVersionUID = 1L;
+ public void execute(ActivityExecution execution) {
+ int creditRate = (Integer) execution.getVariable("creditRate");
+
+ if (creditRate > 5) {
+ execution.take("good");
+
+ } else if (creditRate < -5) {
+ execution.take("bad");
+
+ } else {
+ execution.take("average");
+ }
+ }
+ }
+
+ public static class WaitState implements ExternalActivity {
+ private static final long serialVersionUID = 1L;
+ public void execute(ActivityExecution execution) {
+ execution.waitForSignal();
+ }
+ public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters) {
+ execution.take(signalName);
+ }
+ }
+
+ public static ClientProcessDefinition createCreditProcess() {
+ return ProcessFactory.build()
+ .node("creditRate?").initial().behaviour(new AutomaticCreditRating())
+ .transition("good").to("priority delivery")
+ .transition("average").to("bulk delivery")
+ .transition("bad").to("payment upfront")
+ .node("priority delivery").behaviour(new WaitState())
+ .node("bulk delivery").behaviour(new WaitState())
+ .node("payment upfront").behaviour(new WaitState())
+ .done();
+ }
+
+ public void testGoodRating() {
+ ClientProcessDefinition processDefinition = createCreditProcess();
+
+ ClientProcessInstance execution = processDefinition.createProcessInstance();
+ execution.setVariable("creditRate", 7);
+ execution.begin();
+
+ assertEquals("priority delivery", execution.getNode().getName());
+ }
+
+ public void testAverageRating() {
+ ClientProcessDefinition processDefinition = createCreditProcess();
+
+ ClientProcessInstance execution = processDefinition.createProcessInstance();
+ execution.setVariable("creditRate", 2);
+ execution.begin();
+
+ assertEquals("bulk delivery", execution.getNode().getName());
+ }
+
+ public void testBadRating() {
+ ClientProcessDefinition processDefinition = createCreditProcess();
+
+ ClientProcessInstance execution = processDefinition.createProcessInstance();
+ execution.setVariable("creditRate", -7);
+ execution.begin();
+
+ assertEquals("payment upfront", execution.getNode().getName());
+ }
+}
Property changes on: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/AutomaticDecisionTest.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:mergeinfo
+
Name: svn:eol-style
+ LF
Copied: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/BasicExecutionFlowTest.java (from rev 1674, jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/BasicExecutionFlowTest.java)
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/BasicExecutionFlowTest.java (rev 0)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/BasicExecutionFlowTest.java 2008-07-18 14:11:32 UTC (rev 1675)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jbpm.pvm.basicfeatures;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+
+import org.jbpm.pvm.test.base.JbpmTestCase;
+import org.jbpm.pvm.activity.Activity;
+import org.jbpm.pvm.activity.ActivityExecution;
+import org.jbpm.pvm.activity.ExternalActivity;
+import org.jbpm.pvm.client.ClientProcessDefinition;
+import org.jbpm.pvm.client.ClientProcessInstance;
+import org.jbpm.pvm.model.ProcessFactory;
+
+/** shows wait states and automatic activities in a simple
+ * sequence based on transitions.
+ *
+ * @author Tom Baeyens
+ */
+public class BasicExecutionFlowTest extends JbpmTestCase {
+
+ // automatic activity will log an event in a given list
+
+ public static class AutomaticActivity implements Activity {
+ private static final long serialVersionUID = 1L;
+ List<String> events;
+ public AutomaticActivity(List<String> events) {
+ this.events = events;
+ }
+ public void execute(ActivityExecution execution) {
+ events.add("execute["+execution.getNodeName()+"]");
+ }
+ }
+
+ public static class WaitState implements ExternalActivity {
+ private static final long serialVersionUID = 1L;
+ List<String> events;
+ public WaitState(List<String> events) {
+ this.events = events;
+ }
+ public void execute(ActivityExecution execution) {
+ events.add("execute["+execution.getNodeName()+"]");
+ execution.waitForSignal();
+ }
+ public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters) throws Exception {
+ events.add("signal["+execution.getNodeName()+"]");
+ execution.take(signalName);
+ }
+ }
+
+ public void testChainOfAutomaticActivitiesAndWaitStates() {
+ List<String> recordedEvents = new ArrayList<String>();
+ AutomaticActivity automaticActivity = new AutomaticActivity(recordedEvents);
+ WaitState waitState = new WaitState(recordedEvents);
+
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .node("a").initial().behaviour(automaticActivity)
+ .transition().to("b")
+ .node("b").behaviour(automaticActivity)
+ .transition().to("c")
+ .node("c").behaviour(waitState)
+ .transition().to("d")
+ .node("d").behaviour(waitState)
+ .transition().to("e")
+ .node("e").behaviour(automaticActivity)
+ .transition().to("f")
+ .node("f").behaviour(automaticActivity)
+ .done();
+
+ ClientProcessInstance processInstance = processDefinition.beginProcessInstance();
+
+ List<String> expectedEvents = new ArrayList<String>();
+
+ expectedEvents.add("execute[a]");
+ expectedEvents.add("execute[b]");
+ expectedEvents.add("execute[c]");
+
+ assertEquals("c", processInstance.getNodeName());
+ assertFalse(processInstance.isEnded());
+ assertEquals(expectedEvents, recordedEvents);
+
+ processInstance.signal();
+
+ expectedEvents.add("signal[c]");
+ expectedEvents.add("execute[d]");
+
+ assertEquals("d", processInstance.getNodeName());
+ assertFalse(processInstance.isEnded());
+ assertEquals(expectedEvents, recordedEvents);
+
+ processInstance.signal();
+
+ expectedEvents.add("signal[d]");
+ expectedEvents.add("execute[e]");
+ expectedEvents.add("execute[f]");
+
+ assertEquals("f", processInstance.getNodeName());
+ assertTrue(processInstance.isEnded());
+ assertEquals(expectedEvents, recordedEvents);
+ }
+
+ public void testDelayedBegin() {
+ List<String> recordedEvents = new ArrayList<String>();
+
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .node("a").initial().behaviour(new WaitState(recordedEvents))
+ .done();
+
+ ClientProcessInstance processInstance = processDefinition.createProcessInstance();
+
+ // here, inbetween create and begin of a process instance, the variables can be initialized
+ // or subprocessinstance-superprocessinstance relation can be set up
+
+ // so we verify that the process execution didn't start yet
+ List<String> expectedEvents = new ArrayList<String>();
+ assertEquals(expectedEvents, recordedEvents);
+
+ processInstance.begin();
+
+ expectedEvents.add("execute[a]");
+ assertEquals(expectedEvents, recordedEvents);
+ }
+}
Property changes on: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/BasicExecutionFlowTest.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:mergeinfo
+
Name: svn:eol-style
+ LF
Copied: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/EventPropagationTest.java (from rev 1674, jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/EventPropagationTest.java)
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/EventPropagationTest.java (rev 0)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/EventPropagationTest.java 2008-07-18 14:11:32 UTC (rev 1675)
@@ -0,0 +1,358 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jbpm.pvm.basicfeatures;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+
+import org.jbpm.pvm.test.base.JbpmTestCase;
+import org.jbpm.pvm.activity.Activity;
+import org.jbpm.pvm.activity.ActivityExecution;
+import org.jbpm.pvm.activity.ExternalActivity;
+import org.jbpm.pvm.client.ClientProcessDefinition;
+import org.jbpm.pvm.client.ClientProcessInstance;
+import org.jbpm.pvm.listener.EventListener;
+import org.jbpm.pvm.listener.EventListenerExecution;
+import org.jbpm.pvm.model.Event;
+import org.jbpm.pvm.model.Node;
+import org.jbpm.pvm.model.ObservableElement;
+import org.jbpm.pvm.model.ProcessFactory;
+
+/**
+ * @author Tom Baeyens
+ */
+public class EventPropagationTest extends JbpmTestCase
+{
+
+ public class Recorder implements EventListener {
+ private static final long serialVersionUID = 1L;
+ public List<Object> events = new ArrayList<Object>();
+ public void notify(EventListenerExecution execution) {
+ ObservableElement element = execution.getEventSource();
+ String elementName = element.getName();
+ events.add(execution.getEvent()+" on "+(elementName!=null ? elementName : element));
+ }
+ }
+
+ public static class FireableState implements ExternalActivity {
+ private static final long serialVersionUID = 1L;
+ public void execute(ActivityExecution execution) {
+ execution.waitForSignal();
+ }
+ public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters) {
+ execution.fire(signalName, execution.getNode());
+ }
+ }
+
+ public static class AutomaticActivity implements Activity {
+ private static final long serialVersionUID = 1L;
+ public void execute(ActivityExecution execution) {
+ }
+ }
+
+ public static class WaitState implements ExternalActivity {
+ private static final long serialVersionUID = 1L;
+ public void execute(ActivityExecution execution) {
+ execution.waitForSignal();
+ }
+ public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters){
+ }
+ }
+
+ public void testListenToNodeLeaveOnProcessForProcessNodes(){
+ Recorder recorder = new Recorder();
+
+ ClientProcessDefinition processDefinition = ProcessFactory.build("propagate")
+ .event(Event.NODE_END)
+ .listener(recorder)
+ .node("initial").initial().behaviour(new WaitState())
+ .transition().to("end")
+ .node("end").behaviour(new WaitState())
+ .done();
+
+ ClientProcessInstance execution = processDefinition.beginProcessInstance();
+ execution.signal();
+
+ assertEquals("event(node-end) on initial", recorder.events.get(0));
+ assertEquals(1, recorder.events.size());
+ }
+
+ public void testListenToNodeEnterOnProcessForProcessNodes(){
+ Recorder recorder = new Recorder();
+
+ ClientProcessDefinition processDefinition = ProcessFactory.build("propagate")
+ .event(Event.NODE_BEGIN)
+ .listener(recorder)
+ .node("initial").initial().behaviour(new WaitState())
+ .transition().to("end")
+ .node("end").behaviour(new WaitState())
+ .done();
+
+ ClientProcessInstance execution = processDefinition.beginProcessInstance();
+ execution.signal();
+
+ assertEquals("event(node-begin) on end", recorder.events.get(0));
+ assertEquals(1, recorder.events.size());
+ }
+
+ public void testListenToTransitionOnProcessForTransitionBetweenProcessNodes(){
+ Recorder recorder = new Recorder();
+
+ ClientProcessDefinition processDefinition = ProcessFactory.build("propagate")
+ .event(Event.TRANSITION_TAKE)
+ .listener(recorder)
+ .node("initial").initial().behaviour(new WaitState())
+ .transition("go").to("end")
+ .node("end").behaviour(new WaitState())
+ .done();
+
+ ClientProcessInstance execution = processDefinition.beginProcessInstance();
+ execution.signal();
+
+ assertEquals("event(transition-take) on go", recorder.events.get(0));
+ assertEquals(1, recorder.events.size());
+ }
+
+ // propagation of process elements in composite nodes ///////////////////////
+
+ public static class Sequence implements ExternalActivity {
+ private static final long serialVersionUID = 1L;
+ public void execute(ActivityExecution execution) {
+ List<Node> nodes = execution.getNode().getNodes();
+ if ( (nodes!=null)
+ && (!nodes.isEmpty())
+ ) {
+ execution.execute(nodes.get(0));
+ }
+ }
+ public void signal(ActivityExecution execution, String signal, Map<String, Object> parameters) {
+ Node previous = execution.getPreviousNode();
+ List<Node> nodes = execution.getNode().getNodes();
+ int index = nodes.indexOf(previous);
+ index++;
+ if (index < nodes.size()) {
+ Node next = nodes.get(index);
+ execution.execute(next);
+ }
+ }
+ }
+
+
+ public void testListenToNodeLeaveOnProcessForSequenceChildNodes(){
+ Recorder recorder = new Recorder();
+
+ ClientProcessDefinition processDefinition = ProcessFactory.build("propagate")
+ .event(Event.NODE_END)
+ .listener(recorder)
+ .compositeNode("sequence").initial().behaviour(new Sequence())
+ .needsPrevious()
+ .node("one").behaviour(new WaitState())
+ .node("two").behaviour(new WaitState())
+ .node("three").behaviour(new WaitState())
+ .compositeEnd()
+ .node("end").behaviour(new WaitState())
+ .done();
+
+ ClientProcessInstance execution = processDefinition.beginProcessInstance();
+ assertEquals(0, recorder.events.size());
+ execution.signal();
+ assertEquals("event(node-end) on one", recorder.events.get(0));
+ assertEquals(1, recorder.events.size());
+ execution.signal();
+ assertEquals("event(node-end) on two", recorder.events.get(1));
+ assertEquals(2, recorder.events.size());
+ execution.signal();
+ assertEquals("event(node-end) on three", recorder.events.get(2));
+ assertEquals(3, recorder.events.size());
+ }
+
+ public void testListenToNodeLeaveOnProcessForTransitionBetweenSequenceChildNodes(){
+ Recorder recorder = new Recorder();
+
+ ClientProcessDefinition processDefinition = ProcessFactory.build("propagate")
+ .event(Event.NODE_END)
+ .listener(recorder)
+ .compositeNode("sequence").initial().behaviour(new Sequence())
+ .node("one").behaviour(new WaitState())
+ .transition().to("two")
+ .node("two").behaviour(new WaitState())
+ .compositeEnd()
+ .node("end").behaviour(new WaitState())
+ .done();
+
+ ClientProcessInstance execution = processDefinition.beginProcessInstance();
+
+ assertEquals(0, recorder.events.size());
+ execution.signal();
+ assertEquals("event(node-end) on one", recorder.events.get(0));
+ assertEquals(1, recorder.events.size());
+ execution.signal();
+ assertEquals("event(node-end) on two", recorder.events.get(1));
+ assertEquals(2, recorder.events.size());
+ }
+
+
+ public void testListenToNodeEnterOnProcessForSequenceChildNodes(){
+ Recorder recorder = new Recorder();
+
+ ClientProcessDefinition processDefinition = ProcessFactory.build("propagate")
+ .event(Event.NODE_BEGIN)
+ .listener(recorder)
+ .compositeNode("sequence").initial().behaviour(new Sequence())
+ .needsPrevious()
+ .node("one").behaviour(new WaitState())
+ .node("two").behaviour(new WaitState())
+ .node("three").behaviour(new WaitState())
+ .compositeEnd()
+ .node("end").behaviour(new WaitState())
+ .done();
+
+ ClientProcessInstance execution = processDefinition.beginProcessInstance();
+ assertEquals("event(node-begin) on one", recorder.events.get(0));
+ assertEquals(1, recorder.events.size());
+ execution.signal();
+ assertEquals("event(node-begin) on two", recorder.events.get(1));
+ assertEquals(2, recorder.events.size());
+ execution.signal();
+ assertEquals("event(node-begin) on three", recorder.events.get(2));
+ assertEquals(3, recorder.events.size());
+ }
+
+ public void testListenToTransitionTakeOnProcessForTransitionBetweenSequenceChildNodes(){
+ Recorder recorder = new Recorder();
+
+ ClientProcessDefinition processDefinition = ProcessFactory.build("propagate")
+ .event(Event.TRANSITION_TAKE)
+ .listener(recorder)
+ .compositeNode("sequence").initial().behaviour(new Sequence())
+ .node("one").behaviour(new WaitState())
+ .transition("increment").to("two")
+ .node("two").behaviour(new WaitState())
+ .compositeEnd()
+ .node("end").behaviour(new WaitState())
+ .done();
+
+ ClientProcessInstance execution = processDefinition.beginProcessInstance();
+
+ assertEquals(0, recorder.events.size());
+ execution.signal();
+ assertEquals("event(transition-take) on increment", recorder.events.get(0));
+ assertEquals(1, recorder.events.size());
+ }
+
+ public void testDeeplyNestedCustomEvent(){
+ Recorder processRecorder = new Recorder();
+ Recorder outerRecorder = new Recorder();
+ Recorder middelRecorder = new Recorder();
+ Recorder innerRecorder = new Recorder();
+ Recorder nestedStateRecorder = new Recorder();
+
+ ClientProcessDefinition processDefinition = ProcessFactory.build("propagate")
+ .event("hello")
+ .listener(processRecorder)
+ .compositeNode("outer").initial().behaviour(new Sequence())
+ .event("hello")
+ .listener(outerRecorder)
+ .compositeNode("middel").behaviour(new Sequence())
+ .event("hello")
+ .listener(middelRecorder)
+ .compositeNode("inner").behaviour(new Sequence())
+ .event("hello")
+ .listener(innerRecorder)
+ .node("nested state").behaviour(new FireableState())
+ .event("hello")
+ .listener(nestedStateRecorder)
+ .compositeEnd()
+ .compositeEnd()
+ .compositeEnd()
+ .done();
+
+ ClientProcessInstance execution = processDefinition.beginProcessInstance();
+
+ assertEquals(0, processRecorder.events.size());
+ execution.signal("hello");
+
+ assertEquals("event(hello) on nested state", processRecorder.events.get(0));
+ assertEquals(1, processRecorder.events.size());
+
+ assertEquals("event(hello) on nested state", outerRecorder.events.get(0));
+ assertEquals(1, outerRecorder.events.size());
+
+ assertEquals("event(hello) on nested state", middelRecorder.events.get(0));
+ assertEquals(1, middelRecorder.events.size());
+
+ assertEquals("event(hello) on nested state", innerRecorder.events.get(0));
+ assertEquals(1, innerRecorder.events.size());
+
+ assertEquals("event(hello) on nested state", nestedStateRecorder.events.get(0));
+ assertEquals(1, nestedStateRecorder.events.size());
+ }
+
+ public void testPropagatedEventsDisabled(){
+ Recorder processRecorder = new Recorder();
+ Recorder outerRecorder = new Recorder();
+ Recorder middleRecorder = new Recorder();
+ Recorder innerRecorder = new Recorder();
+ Recorder nestedStateRecorder = new Recorder();
+
+ ClientProcessDefinition processDefinition = ProcessFactory.build("propagate")
+ .event("hello")
+ .listener(processRecorder)
+ .compositeNode("outer").initial().behaviour(new Sequence())
+ .event("hello")
+ .listener(outerRecorder)
+ .compositeNode("middle").behaviour(new Sequence())
+ .event("hello")
+ .listener(middleRecorder)
+ .propagationDisabled()
+ .compositeNode("inner").behaviour(new Sequence())
+ .event("hello")
+ .listener(innerRecorder)
+ .node("nested state").behaviour(new FireableState())
+ .event("hello")
+ .listener(nestedStateRecorder)
+ .compositeEnd()
+ .compositeEnd()
+ .compositeEnd()
+ .done();
+
+ ClientProcessInstance execution = processDefinition.beginProcessInstance();
+
+ // the middle action should not be executed for an event that was propagated from the nested state
+ execution.signal("hello");
+
+ assertEquals("event(hello) on nested state", processRecorder.events.get(0));
+ assertEquals(1, processRecorder.events.size());
+
+ assertEquals("event(hello) on nested state", outerRecorder.events.get(0));
+ assertEquals(1, outerRecorder.events.size());
+
+ assertEquals(0, middleRecorder.events.size());
+
+ assertEquals("event(hello) on nested state", innerRecorder.events.get(0));
+ assertEquals(1, innerRecorder.events.size());
+
+ assertEquals("event(hello) on nested state", nestedStateRecorder.events.get(0));
+ assertEquals(1, nestedStateRecorder.events.size());
+ }
+}
Property changes on: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/EventPropagationTest.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:mergeinfo
+
Name: svn:eol-style
+ LF
Copied: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/EventTest.java (from rev 1674, jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/EventTest.java)
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/EventTest.java (rev 0)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/EventTest.java 2008-07-18 14:11:32 UTC (rev 1675)
@@ -0,0 +1,266 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jbpm.pvm.basicfeatures;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+
+import org.jbpm.pvm.test.base.JbpmTestCase;
+import org.jbpm.pvm.activity.Activity;
+import org.jbpm.pvm.activity.ActivityExecution;
+import org.jbpm.pvm.activity.ExternalActivity;
+import org.jbpm.pvm.client.ClientProcessDefinition;
+import org.jbpm.pvm.client.ClientProcessInstance;
+import org.jbpm.pvm.internal.model.ExecutionImpl;
+import org.jbpm.pvm.internal.model.ProcessDefinitionImpl;
+import org.jbpm.pvm.listener.EventListener;
+import org.jbpm.pvm.listener.EventListenerExecution;
+import org.jbpm.pvm.model.Event;
+import org.jbpm.pvm.model.Node;
+import org.jbpm.pvm.model.ObservableElement;
+import org.jbpm.pvm.model.ProcessFactory;
+
+/** shows how actions are listeners to following processDefinition events:
+ * <ul>
+ * <li>node-leave</li>
+ * <li>transition</li>
+ * <li>node-enter</li>
+ * <li>custom event</li>
+ * </ul>
+ *
+ * @author Tom Baeyens
+ */
+public class EventTest extends JbpmTestCase {
+
+ public static class AutomaticActivity implements Activity {
+ private static final long serialVersionUID = 1L;
+ public void execute(ActivityExecution execution) {
+ }
+ }
+
+ public static class WaitState implements ExternalActivity {
+ private static final long serialVersionUID = 1L;
+ public void execute(ActivityExecution execution) {
+ execution.waitForSignal();
+ }
+ public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters){
+ execution.take(signalName);
+ }
+ }
+
+
+ // node leave action ////////////////////////////////////////////////////////
+
+ public static class NodeLeaveAction implements EventListener {
+ private static final long serialVersionUID = 1L;
+ public void notify(EventListenerExecution execution) {
+ execution.setVariable("msg", "Kilroy was here");
+
+ assertEquals("initial", execution.getNode().getName());
+ assertEquals("initial", execution.getEventSource().getName());
+ assertEquals("leave node action test", execution.getProcessDefinition().getName());
+ assertEquals("end", execution.getTransition().getDestination().getName());
+ }
+ }
+
+ public void testEventListenerOnNodeEnd() {
+ NodeLeaveAction nodeLeaveAction = new NodeLeaveAction();
+
+ ClientProcessDefinition processDefinition = ProcessFactory.build("leave node action test")
+ .node("initial").initial().behaviour(new WaitState())
+ .event(Event.NODE_END)
+ .listener(nodeLeaveAction)
+ .transition().to("end")
+ .node("end").behaviour(new WaitState())
+ .done();
+
+ ClientProcessInstance execution = processDefinition.beginProcessInstance();
+
+ assertEquals("initial", execution.getNode().getName());
+ execution.signal();
+ assertEquals("Kilroy was here", execution.getVariable("msg"));
+ }
+
+ // transition action ////////////////////////////////////////////////////////
+
+ public static class TransitionAction implements EventListener {
+ private static final long serialVersionUID = 1L;
+ public void notify(EventListenerExecution execution) throws Exception {
+ execution.setVariable("msg", "Kilroy was here");
+
+ assertNull(execution.getNode());
+ assertEquals("t", execution.getEventSource().getName());
+ assertEquals("transition action test", execution.getProcessDefinition().getName());
+ assertEquals("end", execution.getTransition().getDestination().getName());
+ }
+ }
+
+ public void testEventListenerOnTransition() {
+ TransitionAction transitionAction = new TransitionAction();
+
+ ClientProcessDefinition processDefinition = ProcessFactory.build("transition action test")
+ .node("initial").initial().behaviour(new WaitState())
+ .transition("t").to("end")
+ .listener(transitionAction)
+ .node("end").behaviour(new WaitState())
+ .done();
+
+ ClientProcessInstance execution = processDefinition.beginProcessInstance();
+
+ assertEquals("initial", execution.getNode().getName());
+ execution.signal("t");
+ assertEquals("Kilroy was here", execution.getVariable("msg"));
+ }
+
+ // node enter action ////////////////////////////////////////////////////////
+
+ public static class NodeBeginAction implements EventListener {
+ private static final long serialVersionUID = 1L;
+ public void notify(EventListenerExecution execution) throws Exception {
+ execution.setVariable("msg", "Kilroy was here");
+
+ assertEquals("end", execution.getNode().getName());
+ assertEquals("end", execution.getEventSource().getName());
+ assertEquals("enter node action test", execution.getProcessDefinition().getName());
+ assertEquals("end", execution.getTransition().getDestination().getName());
+ }
+ }
+
+ public void testEventListenerOnNodeBegin() {
+ NodeBeginAction nodeBeginAction = new NodeBeginAction();
+
+ ClientProcessDefinition processDefinition = ProcessFactory.build("enter node action test")
+ .node("initial").initial().behaviour(new WaitState())
+ .transition().to("end")
+ .node("end").behaviour(new WaitState())
+ .event(Event.NODE_BEGIN)
+ .listener(nodeBeginAction)
+ .done();
+
+ ClientProcessInstance execution = processDefinition.beginProcessInstance();
+
+ assertEquals("initial", execution.getNode().getName());
+ execution.signal();
+ assertEquals("Kilroy was here", execution.getVariable("msg"));
+ }
+
+ // custom event ////////////////////////////////////////////////////////////
+
+ public static class WaitStateWithCustomEvent implements ExternalActivity {
+ private static final long serialVersionUID = 1L;
+ public void execute(ActivityExecution execution) throws Exception {
+ execution.waitForSignal();
+ }
+ public void signal(ActivityExecution execution, String signal, Map<String, Object> parameters) throws Exception {
+ Node node = execution.getNode();
+ if ( (signal!=null)
+ && (node!=null)
+ && (node.hasEvent(signal))
+ ) {
+ execution.fire(signal, node);
+ execution.waitForSignal();
+ }
+ }
+ }
+
+ public static class CheckRivetsAction implements EventListener {
+ private static final long serialVersionUID = 1L;
+ public void notify(EventListenerExecution execution) throws Exception {
+ execution.setVariable("msg", "Kilroy was here");
+
+ assertEquals("initial", execution.getNode().getName());
+ assertEquals("initial", execution.getEventSource().getName());
+ assertEquals("custom node action test", execution.getProcessDefinition().getName());
+ assertNull(execution.getTransition());
+ }
+ }
+
+ public void testCustomEventInNode() {
+ CheckRivetsAction checkRivetsAction = new CheckRivetsAction();
+
+ ClientProcessDefinition processDefinition = ProcessFactory.build("custom node action test")
+ .node("initial").initial().behaviour(new WaitStateWithCustomEvent())
+ .event("end of riveter shift") // http://en.wikipedia.org/wiki/Kilroy_was_here
+ .listener(checkRivetsAction)
+ .transition().to("end")
+ .node("end").behaviour(new WaitState())
+ .done();
+
+ ClientProcessInstance execution = processDefinition.beginProcessInstance();
+
+ assertEquals("initial", execution.getNode().getName());
+ assertNull(execution.getVariable("msg"));
+
+ execution.signal("end of riveter shift");
+
+ assertEquals("initial", execution.getNode().getName());
+ assertEquals("Kilroy was here", execution.getVariable("msg"));
+
+ execution.signal();
+
+ assertEquals("end", execution.getNode().getName());
+ }
+
+ public static class EndState implements Activity {
+ private static final long serialVersionUID = 1L;
+ public void execute(ActivityExecution execution) throws Exception {
+ execution.end();
+ }
+ }
+
+ public static class RecordingProcessDefinition extends ProcessDefinitionImpl {
+ private static final long serialVersionUID = 1L;
+ protected ExecutionImpl newProcessInstance() {
+ return new RecordingExecution();
+ }
+ }
+
+ public static class RecordingExecution extends ExecutionImpl {
+ private static final long serialVersionUID = 1L;
+ List<String> events = new ArrayList<String>();
+ public void fire(String eventName, ObservableElement eventSource) {
+ events.add(eventName+" on "+eventSource);
+ }
+ }
+
+ public void testBasicEventSequence() {
+ ClientProcessDefinition processDefinition = ProcessFactory.build("basic", new RecordingProcessDefinition())
+ .node("initial").initial().behaviour(new AutomaticActivity())
+ .transition().to("end")
+ .node("end").behaviour(new EndState())
+ .done();
+
+ RecordingExecution execution = (RecordingExecution) processDefinition.beginProcessInstance();
+
+ int index = 0;
+ assertEquals("process-begin on processDefinition(basic)", execution.events.get(index));
+ index++;
+ assertEquals("node-end on node(initial)", execution.events.get(index));
+ index++;
+ assertEquals("transition-take on (initial)-->(end)", execution.events.get(index));
+ index++;
+ assertEquals("node-begin on node(end)", execution.events.get(index));
+ index++;
+ assertEquals("process-end on processDefinition(basic)", execution.events.get(index));
+ }
+}
Property changes on: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/EventTest.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:mergeinfo
+
Name: svn:eol-style
+ LF
Copied: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/ExceptionHandlerTest.java (from rev 1674, jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/ExceptionHandlerTest.java)
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/ExceptionHandlerTest.java (rev 0)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/ExceptionHandlerTest.java 2008-07-18 14:11:32 UTC (rev 1675)
@@ -0,0 +1,325 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jbpm.pvm.basicfeatures;
+
+import java.util.Map;
+
+import org.jbpm.pvm.test.base.JbpmTestCase;
+import org.jbpm.pvm.activity.ActivityExecution;
+import org.jbpm.pvm.activity.ExternalActivity;
+import org.jbpm.pvm.client.ClientProcessDefinition;
+import org.jbpm.pvm.client.ClientProcessInstance;
+import org.jbpm.pvm.listener.EventListener;
+import org.jbpm.pvm.listener.EventListenerExecution;
+import org.jbpm.pvm.model.Event;
+import org.jbpm.pvm.model.ProcessFactory;
+
+/**
+ * @author Tom Baeyens
+ */
+public class ExceptionHandlerTest extends JbpmTestCase
+{
+
+ public static class WaitState implements ExternalActivity {
+ private static final long serialVersionUID = 1L;
+ public void execute(ActivityExecution execution) {
+ execution.waitForSignal();
+ }
+ public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters){
+ }
+ }
+
+ public static class Catcher implements EventListener {
+ private static final long serialVersionUID = 1L;
+ int timesInvoked = 0;
+ public void notify(EventListenerExecution execution) {
+ timesInvoked++;
+ }
+ }
+
+ public static class Batter implements EventListener {
+ private static final long serialVersionUID = 1L;
+ public void notify(EventListenerExecution execution) {
+ throw new RuntimeException("catch me");
+ }
+ }
+
+ public void testExceptionHandlerOnProcessDefinition() {
+ Catcher catcher = new Catcher();
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .exceptionHandler(RuntimeException.class)
+ .listener(catcher)
+ .exceptionHandlerEnd()
+ .node("initial").initial().behaviour(new WaitState())
+ .event(Event.NODE_END)
+ .listener(new Batter())
+ .transition().to("end")
+ .node("end").behaviour(new WaitState())
+ .done();
+
+ ClientProcessInstance execution = processDefinition.beginProcessInstance();
+
+ assertEquals("initial", execution.getNode().getName());
+ assertEquals(0, catcher.timesInvoked);
+ execution.signal();
+ assertEquals(1, catcher.timesInvoked);
+ assertEquals("end", execution.getNode().getName());
+ }
+
+ public void testExceptionHandlerOnEvent() {
+ Catcher catcher = new Catcher();
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .node("initial").initial().behaviour(new WaitState())
+ .event(Event.NODE_END)
+ .exceptionHandler(RuntimeException.class)
+ .listener(catcher)
+ .exceptionHandlerEnd()
+ .listener(new Batter())
+ .transition().to("end")
+ .node("end").behaviour(new WaitState())
+ .done();
+
+ ClientProcessInstance execution = processDefinition.beginProcessInstance();
+
+ assertEquals("initial", execution.getNode().getName());
+ assertEquals(0, catcher.timesInvoked);
+ execution.signal();
+ assertEquals(1, catcher.timesInvoked);
+ assertEquals("end", execution.getNode().getName());
+ }
+
+ public void testExceptionHandlerOnAction() {
+ Catcher catcher = new Catcher();
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .node("initial").initial().behaviour(new WaitState())
+ .event(Event.NODE_END)
+ .listener(new Batter())
+ .exceptionHandler(RuntimeException.class)
+ .listener(catcher)
+ .exceptionHandlerEnd()
+ .transition().to("end")
+ .node("end").behaviour(new WaitState())
+ .done();
+
+ ClientProcessInstance execution = processDefinition.beginProcessInstance();
+
+ assertEquals("initial", execution.getNode().getName());
+ assertEquals(0, catcher.timesInvoked);
+ execution.signal();
+ assertEquals(1, catcher.timesInvoked);
+ assertEquals("end", execution.getNode().getName());
+ }
+
+ public void testExceptionHandlerOnOtherNode() {
+ Catcher catcher = new Catcher();
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .node("initial").initial().behaviour(new WaitState())
+ .event(Event.NODE_END)
+ .listener(new Batter())
+ .transition().to("end")
+ .node("end").behaviour(new WaitState())
+ .exceptionHandler(RuntimeException.class)
+ .listener(catcher)
+ .exceptionHandlerEnd()
+ .done();
+
+ ClientProcessInstance execution = processDefinition.beginProcessInstance();
+
+ assertEquals("initial", execution.getNode().getName());
+ assertEquals(0, catcher.timesInvoked);
+ try {
+ execution.signal();
+ fail("expected exception");
+ } catch (RuntimeException e) {
+ // OK
+ }
+ }
+
+ public void testExceptionHandlerOnOtherEvent() {
+ Catcher catcher = new Catcher();
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .node("initial").initial().behaviour(new WaitState())
+ .event("other")
+ .exceptionHandler(RuntimeException.class)
+ .listener(catcher)
+ .exceptionHandlerEnd()
+ .event(Event.NODE_END)
+ .listener(new Batter())
+ .transition().to("end")
+ .node("end").behaviour(new WaitState())
+ .done();
+
+ ClientProcessInstance execution = processDefinition.beginProcessInstance();
+
+ assertEquals("initial", execution.getNode().getName());
+ try {
+ execution.signal();
+ fail("expected exception");
+ } catch (RuntimeException e) {
+ // OK
+ }
+ }
+
+ public static class BehavedAction implements EventListener {
+ private static final long serialVersionUID = 1L;
+ public void notify(EventListenerExecution execution) {
+ // behaving. not throwing any exception
+ }
+ }
+
+ public void testExceptionHandlerOnOtherAction() {
+ Catcher catcher = new Catcher();
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .node("initial").initial().behaviour(new WaitState())
+ .event(Event.NODE_END)
+ .listener(new BehavedAction())
+ .exceptionHandler(RuntimeException.class)
+ .listener(catcher)
+ .exceptionHandlerEnd()
+ .listener(new Batter())
+ .transition().to("end")
+ .node("end").behaviour(new WaitState())
+ .done();
+
+ ClientProcessInstance execution = processDefinition.beginProcessInstance();
+
+ assertEquals("initial", execution.getNode().getName());
+ try {
+ execution.signal();
+ fail("expected exception");
+ } catch (RuntimeException e) {
+ // OK
+ }
+ }
+
+ public void testUnmatchedExceptionHandlerOnAction() {
+ Catcher catcher = new Catcher();
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .node("initial").initial().behaviour(new WaitState())
+ .event(Event.NODE_END)
+ .listener(new Batter())
+ .exceptionHandler(NullPointerException.class)
+ .listener(catcher)
+ .exceptionHandlerEnd()
+ .transition().to("end")
+ .node("end").behaviour(new WaitState())
+ .done();
+
+ ClientProcessInstance execution = processDefinition.beginProcessInstance();
+
+ assertEquals("initial", execution.getNode().getName());
+ try {
+ execution.signal();
+ fail("expected exception");
+ } catch (RuntimeException e) {
+ // OK
+ }
+ }
+
+ public static class RethrowingCatcher implements EventListener {
+ private static final long serialVersionUID = 1L;
+ public void notify(EventListenerExecution execution) {
+ // this exception handler will itself throw an exception
+ throw new RuntimeException("greetz from the retrhowing catcher");
+ }
+ }
+
+
+ public void testRethrowingExceptionHandler() {
+ RethrowingCatcher rethrowingCatcher = new RethrowingCatcher();
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .node("initial").initial().behaviour(new WaitState())
+ .event(Event.NODE_END)
+ .listener(new Batter())
+ .exceptionHandler(RuntimeException.class)
+ .listener(rethrowingCatcher)
+ .exceptionHandlerEnd()
+ .transition().to("end")
+ .node("end").behaviour(new WaitState())
+ .done();
+
+ ClientProcessInstance execution = processDefinition.beginProcessInstance();
+
+ try {
+ execution.signal();
+ fail("expected exception");
+ } catch (RuntimeException e) {
+ assertTextPresent("greetz from the retrhowing catcher", e.getMessage());
+ }
+ }
+
+ public void testRethrowingExceptionHandlerCaughtByTheOuterExceptionHandler() {
+
+ // just like in java, when an exception handler rethrows, the search
+ // for a matching exception handler will continue in the outer scope
+ // (=the surrounding process element)
+
+ RethrowingCatcher rethrowingCatcher = new RethrowingCatcher();
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .node("initial").initial().behaviour(new WaitState())
+ .event(Event.NODE_END)
+ .exceptionHandler(RuntimeException.class)
+ .listener(new Catcher())
+ .exceptionHandlerEnd()
+ .listener(new Batter())
+ .exceptionHandler(RuntimeException.class)
+ .listener(rethrowingCatcher)
+ .exceptionHandlerEnd()
+ .transition().to("end")
+ .node("end").behaviour(new WaitState())
+ .done();
+
+ ClientProcessInstance execution = processDefinition.beginProcessInstance();
+
+ assertEquals("initial", execution.getNode().getName());
+ execution.signal();
+ }
+
+ public void testRethrowingExceptionHandlerIgnoredByTheSubsequentExceptionHandlerInTheSameScope() {
+
+ // just like in java, subsequent exception handlers will be skipped when the
+ // an exception handler rethrows
+
+ RethrowingCatcher rethrowingCatcher = new RethrowingCatcher();
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .node("initial").initial().behaviour(new WaitState())
+ .event(Event.NODE_END)
+ .listener(new Batter())
+ .exceptionHandler(RuntimeException.class)
+ .listener(rethrowingCatcher)
+ .exceptionHandlerEnd()
+ .exceptionHandler(RuntimeException.class)
+ .listener(new Catcher())
+ .exceptionHandlerEnd()
+ .transition().to("end")
+ .node("end").behaviour(new WaitState())
+ .done();
+
+ ClientProcessInstance execution = processDefinition.beginProcessInstance();
+ try {
+ execution.signal();
+ fail("expected exception");
+ } catch (RuntimeException e) {
+ assertTextPresent("greetz from the retrhowing catcher", e.getMessage());
+ }
+ }
+}
Property changes on: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/ExceptionHandlerTest.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:mergeinfo
+
Name: svn:eol-style
+ LF
Copied: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/ExecutionStateTest.java (from rev 1674, jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/ExecutionStateTest.java)
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/ExecutionStateTest.java (rev 0)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/ExecutionStateTest.java 2008-07-18 14:11:32 UTC (rev 1675)
@@ -0,0 +1,221 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jbpm.pvm.basicfeatures;
+
+import java.util.Map;
+
+import org.jbpm.pvm.test.base.JbpmTestCase;
+import org.jbpm.pvm.Execution;
+import org.jbpm.pvm.PvmException;
+import org.jbpm.pvm.activity.Activity;
+import org.jbpm.pvm.activity.ActivityExecution;
+import org.jbpm.pvm.activity.ExternalActivity;
+import org.jbpm.pvm.client.ClientProcessDefinition;
+import org.jbpm.pvm.client.ClientProcessInstance;
+import org.jbpm.pvm.model.ProcessFactory;
+
+/** shows the basics of the state property on the execution.
+ *
+ * The state is automatically managed by the execution.
+ * An execution can only receive external triggers in case it is in
+ * the active state.
+ *
+ * Nested executions can occur in case of scoped executions
+ * and in case of concurrent executions. In both cases, only
+ * leave executions in the execution hierarchy are active.
+ *
+ * Executions are either locked or active. So in any state which
+ * is not active, the execution is locked and cannot accept external
+ * signals. Executions can be ended in 3 ways:
+ *
+ * 1) with execution.end() : then the state will be set to 'ended'
+ * 2) with execution.cancel() : then the state will be set to 'cancelled'
+ * 3) with execution.end(String) : then the state will be set to the
+ * given state string. An exception will be raised if the given
+ * state maches any of the known states.
+ *
+ * @author Tom Baeyens
+ */
+public class ExecutionStateTest extends JbpmTestCase {
+
+ public static class AutomaticActivity implements Activity {
+ private static final long serialVersionUID = 1L;
+ public void execute(ActivityExecution execution) {
+ assertEquals(Execution.STATE_ACTIVE, execution.getState());
+ }
+ }
+
+ public static class WaitState implements ExternalActivity {
+ private static final long serialVersionUID = 1L;
+ public void execute(ActivityExecution execution) {
+ assertEquals(Execution.STATE_ACTIVE, execution.getState());
+ execution.waitForSignal();
+ }
+ public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters) {
+ assertEquals(Execution.STATE_ACTIVE, execution.getState());
+ execution.take(signalName);
+ }
+ }
+
+ public void testBasicState() {
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .node("a").initial().behaviour(new AutomaticActivity())
+ .transition().to("b")
+ .node("b").behaviour(new WaitState())
+ .transition().to("c")
+ .node("c").behaviour(new AutomaticActivity())
+ .done();
+
+ ClientProcessInstance processInstance = processDefinition.createProcessInstance();
+
+ assertEquals(Execution.STATE_CREATED, processInstance.getState());
+
+ processInstance.begin();
+
+ assertEquals(Execution.STATE_ACTIVE, processInstance.getState());
+
+ processInstance.signal();
+
+ assertEquals(Execution.STATE_ENDED, processInstance.getState());
+ }
+
+ public void testSignalOnInactiveExecution() {
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .node("a").initial().behaviour(new AutomaticActivity())
+ .transition().to("b")
+ .node("b").behaviour(new WaitState())
+ .scope()
+ .transition().to("c")
+ .node("c").behaviour(new AutomaticActivity())
+ .done();
+
+ ClientProcessInstance processInstance = processDefinition.createProcessInstance();
+ processInstance.begin();
+
+ assertEquals(Execution.STATE_INACTIVE, processInstance.getState());
+
+ try {
+ processInstance.signal();
+ fail("expected exception");
+ } catch (PvmException e) {
+ // OK
+ assertTextPresent("process-instance is not active: inactive", e.getMessage());
+ }
+ }
+
+ public void testCancel() {
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .node("a").initial().behaviour(new AutomaticActivity())
+ .transition().to("b")
+ .node("b").behaviour(new WaitState())
+ .transition().to("c")
+ .node("c").behaviour(new AutomaticActivity())
+ .done();
+
+ ClientProcessInstance processInstance = processDefinition.createProcessInstance();
+ processInstance.begin();
+ processInstance.cancel();
+
+ assertEquals(Execution.STATE_CANCELLED, processInstance.getState());
+
+ try {
+ processInstance.signal();
+ fail("expected exception");
+ } catch (PvmException e) {
+ // OK
+ assertTextPresent("process-instance is not active: cancelled", e.getMessage());
+ }
+ }
+
+ public void testCustomState() {
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .node("a").initial().behaviour(new AutomaticActivity())
+ .transition().to("b")
+ .node("b").behaviour(new WaitState())
+ .transition().to("c")
+ .node("c").behaviour(new AutomaticActivity())
+ .done();
+
+ ClientProcessInstance processInstance = processDefinition.createProcessInstance();
+ processInstance.begin();
+ processInstance.end("error");
+
+ assertEquals("error", processInstance.getState());
+
+ try {
+ processInstance.signal();
+ fail("expected exception");
+ } catch (PvmException e) {
+ // OK
+ assertTextPresent("process-instance is not active: error", e.getMessage());
+ }
+ }
+
+ public void testInvalidCustomStates() {
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .node("a").initial().behaviour(new AutomaticActivity())
+ .transition().to("b")
+ .node("b").behaviour(new WaitState())
+ .transition().to("c")
+ .node("c").behaviour(new AutomaticActivity())
+ .done();
+
+ ClientProcessInstance processInstance = processDefinition.createProcessInstance();
+ processInstance.begin();
+
+ try {
+ processInstance.end("active");
+ fail("expected exception");
+ } catch (PvmException e) {
+ // OK
+ assertTextPresent("invalid end state: active", e.getMessage());
+ }
+ try {
+ processInstance.end("suspended");
+ fail("expected exception");
+ } catch (PvmException e) {
+ // OK
+ assertTextPresent("invalid end state: suspended", e.getMessage());
+ }
+ try {
+ processInstance.end("created");
+ fail("expected exception");
+ } catch (PvmException e) {
+ // OK
+ assertTextPresent("invalid end state: created", e.getMessage());
+ }
+ try {
+ processInstance.end("async");
+ fail("expected exception");
+ } catch (PvmException e) {
+ // OK
+ assertTextPresent("invalid end state: async", e.getMessage());
+ }
+ try {
+ processInstance.end("inactive");
+ fail("expected exception");
+ } catch (PvmException e) {
+ // OK
+ assertTextPresent("invalid end state: inactive", e.getMessage());
+ }
+ }
+}
Property changes on: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/ExecutionStateTest.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:mergeinfo
+
Name: svn:eol-style
+ LF
Copied: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/ExternalDecisionTest.java (from rev 1674, jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/ExternalDecisionTest.java)
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/ExternalDecisionTest.java (rev 0)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/ExternalDecisionTest.java 2008-07-18 14:11:32 UTC (rev 1675)
@@ -0,0 +1,100 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jbpm.pvm.basicfeatures;
+
+import junit.framework.TestCase;
+import org.jbpm.pvm.samples.activities.AutomaticActivity;
+import org.jbpm.pvm.samples.activities.WaitState;
+import org.jbpm.pvm.activity.ActivityExecution;
+import org.jbpm.pvm.activity.ExternalActivity;
+import org.jbpm.pvm.client.ClientProcessDefinition;
+import org.jbpm.pvm.client.ClientProcessInstance;
+import org.jbpm.pvm.samples.ex04.Decision;
+import org.jbpm.pvm.model.ProcessFactory;
+
+import java.util.Map;
+
+
+/**
+ * @author Tom Baeyens
+ */
+public class ExternalDecisionTest extends TestCase {
+
+ public static class ExternalDecision implements ExternalActivity {
+ private static final long serialVersionUID = 1L;
+ public void execute(ActivityExecution execution) throws Exception {
+ execution.waitForSignal();
+ }
+ public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters) throws Exception {
+ execution.take(signalName);
+ }
+ }
+
+ public static class WaitState implements ExternalActivity {
+ private static final long serialVersionUID = 1L;
+ public void execute(ActivityExecution execution) {
+ execution.waitForSignal();
+ }
+ public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters) {
+ execution.take(signalName);
+ }
+ }
+
+ public static ClientProcessDefinition createCreditProcess() {
+ return ProcessFactory.build()
+ .node("creditRate?").initial().behaviour(new ExternalDecision())
+ .transition("good").to("priority delivery")
+ .transition("average").to("bulk delivery")
+ .transition("bad").to("payment upfront")
+ .node("priority delivery").behaviour(new WaitState())
+ .node("bulk delivery").behaviour(new WaitState())
+ .node("payment upfront").behaviour(new WaitState())
+ .done();
+ }
+
+ public void testGoodRating() {
+ ClientProcessDefinition processDefinition = createCreditProcess();
+ ClientProcessInstance execution = processDefinition.beginProcessInstance();
+
+ execution.signal("good");
+
+ assertEquals("priority delivery", execution.getNode().getName());
+ }
+
+ public void testAverageRating() {
+ ClientProcessDefinition processDefinition = createCreditProcess();
+ ClientProcessInstance execution = processDefinition.beginProcessInstance();
+
+ execution.signal("average");
+
+ assertEquals("bulk delivery", execution.getNode().getName());
+ }
+
+ public void testBadRating() {
+ ClientProcessDefinition processDefinition = createCreditProcess();
+ ClientProcessInstance execution = processDefinition.beginProcessInstance();
+
+ execution.signal("bad");
+
+ assertEquals("payment upfront", execution.getNode().getName());
+ }
+}
Property changes on: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/ExternalDecisionTest.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:mergeinfo
+
Name: svn:eol-style
+ LF
Copied: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/FunctionalActivityTest.java (from rev 1674, jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/FunctionalActivityTest.java)
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/FunctionalActivityTest.java (rev 0)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/FunctionalActivityTest.java 2008-07-18 14:11:32 UTC (rev 1675)
@@ -0,0 +1,158 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jbpm.pvm.basicfeatures;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+
+import org.jbpm.pvm.test.base.JbpmTestCase;
+import org.jbpm.pvm.activity.Activity;
+import org.jbpm.pvm.activity.ActivityExecution;
+import org.jbpm.pvm.activity.ExternalActivity;
+import org.jbpm.pvm.client.ClientProcessDefinition;
+import org.jbpm.pvm.client.ClientProcessInstance;
+import org.jbpm.pvm.listener.EventListener;
+import org.jbpm.pvm.listener.EventListenerExecution;
+import org.jbpm.pvm.model.Node;
+import org.jbpm.pvm.model.OpenExecution;
+import org.jbpm.pvm.model.ProcessFactory;
+
+
+/** shows how functional nodes (nodes that have a specific function
+ * not related to control flow) can be implemented.
+ *
+ * Examples of functional nodes could be sending an email, doing a
+ * SQL update on a database, generating a file and so on.
+ *
+ * Functional nodes can be used as node behaviour in a transition based
+ * process, event listener and as node behaviour in nested node
+ * execution.
+ *
+ * @author Tom Baeyens
+ */
+public class FunctionalActivityTest extends JbpmTestCase
+{
+
+ public static class FunctionalActivity implements Activity, EventListener {
+ private static final long serialVersionUID = 1L;
+ List<String> events;
+ public FunctionalActivity(List<String> events) {
+ this.events = events;
+ }
+ public void execute(ActivityExecution execution) {
+ perform(execution);
+ }
+ public void notify(EventListenerExecution execution) {
+ perform(execution);
+ }
+ void perform(OpenExecution execution) {
+ events.add("performed automatic activity");
+ }
+ }
+
+ public void testFunctionalActivityAsNodeBehaviourWithTransitions() {
+ List<String> recordedEvents = new ArrayList<String>();
+ FunctionalActivity functionalActivity = new FunctionalActivity(recordedEvents);
+
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .node("a").initial().behaviour(functionalActivity)
+ .transition().to("b")
+ .node("b").behaviour(functionalActivity)
+ .transition().to("c")
+ .node("c").behaviour(functionalActivity)
+ .done();
+
+ ClientProcessInstance processInstance = processDefinition.createProcessInstance();
+
+ List<String> expectedEvents = new ArrayList<String>();
+
+ assertEquals("a", processInstance.getNodeName());
+ assertFalse(processInstance.isEnded());
+ assertEquals(expectedEvents, recordedEvents);
+
+ processInstance.begin();
+
+ expectedEvents.add("performed automatic activity");
+ expectedEvents.add("performed automatic activity");
+ expectedEvents.add("performed automatic activity");
+
+ assertEquals(expectedEvents, recordedEvents);
+ }
+
+
+ public static class AutomaticActivity implements Activity {
+ private static final long serialVersionUID = 1L;
+ public void execute(ActivityExecution execution) {
+ }
+ }
+
+ public void testFunctionalActivityAsEventListener() {
+ List<String> recordedEvents = new ArrayList<String>();
+ FunctionalActivity functionalActivity = new FunctionalActivity(recordedEvents);
+
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .node("a").initial().behaviour(new AutomaticActivity())
+ .transition().to("b")
+ .listener(functionalActivity)
+ .node("b").behaviour(new AutomaticActivity())
+ .done();
+
+ ClientProcessInstance processInstance = processDefinition.createProcessInstance();
+ processInstance.begin();
+
+ List<String> expectedEvents = new ArrayList<String>();
+ expectedEvents.add("performed automatic activity");
+
+ assertEquals(expectedEvents, recordedEvents);
+ }
+
+ public static class Composite implements ExternalActivity {
+ private static final long serialVersionUID = 1L;
+ public void execute(ActivityExecution execution) {
+ Node nestedNode = execution.getNode().getNodes().get(0);
+ execution.execute(nestedNode);
+ }
+ public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters) {
+ }
+ }
+
+ public void testFunctionalActivityAsNestedNode() {
+ List<String> recordedEvents = new ArrayList<String>();
+ FunctionalActivity functionalActivity = new FunctionalActivity(recordedEvents);
+
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .compositeNode("a").initial().behaviour(new Composite())
+ .node().behaviour(functionalActivity)
+ .compositeEnd()
+ .done();
+
+ ClientProcessInstance processInstance = processDefinition.createProcessInstance();
+ processInstance.begin();
+
+ List<String> expectedEvents = new ArrayList<String>();
+ expectedEvents.add("performed automatic activity");
+
+ assertEquals(expectedEvents, recordedEvents);
+ }
+
+}
Property changes on: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/FunctionalActivityTest.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:mergeinfo
+
Name: svn:eol-style
+ LF
Copied: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/LoopingTest.java (from rev 1674, jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/LoopingTest.java)
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/LoopingTest.java (rev 0)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/LoopingTest.java 2008-07-18 14:11:32 UTC (rev 1675)
@@ -0,0 +1,105 @@
+package org.jbpm.pvm.basicfeatures;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+
+import org.jbpm.pvm.test.base.JbpmTestCase;
+import org.jbpm.pvm.activity.Activity;
+import org.jbpm.pvm.activity.ActivityExecution;
+import org.jbpm.pvm.activity.ExternalActivity;
+import org.jbpm.pvm.client.ClientProcessDefinition;
+import org.jbpm.pvm.client.ClientProcessInstance;
+import org.jbpm.pvm.model.ProcessFactory;
+
+public class LoopingTest extends JbpmTestCase
+{
+
+ public static class For implements ExternalActivity {
+ private static final long serialVersionUID = 1L;
+
+ int startIndex = 0;
+ int loops;
+ int increment = 1;
+ String indexKey = "index";
+
+ public For(int loops) {
+ this.loops = loops;
+ }
+
+ public void execute(ActivityExecution execution) throws Exception {
+ Integer index = (Integer) execution.getVariable(indexKey);
+
+ if (index==null) {
+ execution.setVariable(indexKey, startIndex);
+ execution.take("loop");
+
+ } else {
+ index++;
+ if (index<(startIndex+loops)){
+ execution.setVariable(indexKey, index);
+ execution.take("loop");
+
+ } else {
+ execution.removeVariable(indexKey);
+ execution.take("done");
+ }
+ }
+ }
+ public void signal(ActivityExecution execution, String signal, Map<String, Object> parameters) throws Exception {
+ throw new UnsupportedOperationException();
+ }
+
+ public void setStartIndex(int startIndex) {
+ this.startIndex = startIndex;
+ }
+ public void setLoops(int loops) {
+ this.loops = loops;
+ }
+ public void setIncrement(int increment) {
+ this.increment = increment;
+ }
+ public void setIndexVariable(String indexVariable) {
+ this.indexKey = indexVariable;
+ }
+ }
+
+ static List<Object> recordedIndexes = new ArrayList<Object>();
+
+ public static class Recorder implements Activity {
+ private static final long serialVersionUID = 1L;
+ public void execute(ActivityExecution execution) throws Exception {
+ recordedIndexes.add(execution.getVariable("index"));
+ }
+ }
+
+ public static class WaitState implements ExternalActivity {
+ private static final long serialVersionUID = 1L;
+ public void execute(ActivityExecution execution) {
+ execution.waitForSignal();
+ }
+ public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters){
+ }
+ }
+
+ public void testWhile() {
+ int loops = 20;
+
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .node("for").initial().behaviour(new For(loops))
+ .transition("loop").to("recorder")
+ .transition("done").to("end")
+ .node("recorder").behaviour(new Recorder())
+ .transition().to("for")
+ .node("end").behaviour(new WaitState())
+ .done();
+
+ ClientProcessInstance execution = processDefinition.beginProcessInstance();
+
+ List<Object> expectedIndexes = new ArrayList<Object>();
+ for (int i=0; i<loops; i++) expectedIndexes.add(i);
+
+ assertEquals(expectedIndexes, recordedIndexes);
+ assertEquals("end", execution.getNode().getName());
+ }
+}
Property changes on: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/LoopingTest.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:mergeinfo
+
Name: svn:eol-style
+ LF
Copied: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/PvmClientTests.java (from rev 1674, jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/PvmClientTests.java)
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/PvmClientTests.java (rev 0)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/PvmClientTests.java 2008-07-18 14:11:32 UTC (rev 1675)
@@ -0,0 +1,57 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jbpm.pvm.basicfeatures;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+
+/**
+ * @author Tom Baeyens
+ */
+public class PvmClientTests {
+
+ public static Test suite() {
+ TestSuite suite = new TestSuite("Test for org.jbpm.pvm.client");
+ //$JUnit-BEGIN$
+ suite.addTestSuite(BasicExecutionFlowTest.class);
+ suite.addTestSuite(TransitionAsWaitStateTest.class);
+ suite.addTestSuite(TransitionBasedConcurrencyTest.class);
+ suite.addTestSuite(ScopeStateTest.class);
+ suite.addTestSuite(SubProcessTest.class);
+ suite.addTestSuite(ExecutionStateTest.class);
+ suite.addTestSuite(ExceptionHandlerTest.class);
+ suite.addTestSuite(FunctionalActivityTest.class);
+ suite.addTestSuite(ScopeVariableDeclarationTest.class);
+ suite.addTestSuite(LoopingTest.class);
+ suite.addTestSuite(TransitionEventsTest.class);
+ suite.addTestSuite(ExternalDecisionTest.class);
+ suite.addTestSuite(VariableTest.class);
+ suite.addTestSuite(ScopeVariableTest.class);
+ suite.addTestSuite(EventTest.class);
+ suite.addTestSuite(AutomaticDecisionTest.class);
+ suite.addTestSuite(EventPropagationTest.class);
+ //$JUnit-END$
+ return suite;
+ }
+
+}
Property changes on: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/PvmClientTests.java
___________________________________________________________________
Name: svn:mergeinfo
+
Copied: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/ScopeStateTest.java (from rev 1674, jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/ScopeStateTest.java)
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/ScopeStateTest.java (rev 0)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/ScopeStateTest.java 2008-07-18 14:11:32 UTC (rev 1675)
@@ -0,0 +1,85 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jbpm.pvm.basicfeatures;
+
+import java.util.Map;
+
+import org.jbpm.pvm.test.base.JbpmTestCase;
+import org.jbpm.pvm.Execution;
+import org.jbpm.pvm.activity.Activity;
+import org.jbpm.pvm.activity.ActivityExecution;
+import org.jbpm.pvm.activity.ExternalActivity;
+import org.jbpm.pvm.client.ClientProcessDefinition;
+import org.jbpm.pvm.client.ClientProcessInstance;
+import org.jbpm.pvm.model.ProcessFactory;
+
+/**
+ * @author Tom Baeyens
+ */
+public class ScopeStateTest extends JbpmTestCase
+{
+
+ public static class AutomaticActivity implements Activity {
+ private static final long serialVersionUID = 1L;
+ public void execute(ActivityExecution execution) {
+ assertEquals(Execution.STATE_ACTIVE, execution.getState());
+ }
+ }
+
+ public static class WaitState implements ExternalActivity {
+ private static final long serialVersionUID = 1L;
+ public void execute(ActivityExecution execution) {
+ assertEquals(Execution.STATE_ACTIVE, execution.getState());
+ execution.waitForSignal();
+ }
+ public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters) throws Exception {
+ assertEquals(Execution.STATE_ACTIVE, execution.getState());
+ execution.take(signalName);
+ }
+ }
+
+ public void testInactivationWhenCreatingNestedExecution() {
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .node("a").initial().behaviour(new AutomaticActivity())
+ .transition().to("b")
+ .node("b").behaviour(new WaitState())
+ .scope()
+ .transition().to("c")
+ .node("c").behaviour(new WaitState())
+ .done();
+
+ ClientProcessInstance processInstance = processDefinition.createProcessInstance();
+
+ assertEquals(Execution.STATE_CREATED, processInstance.getState());
+
+ processInstance.begin();
+ Execution scopeExecution = processInstance.getExecutions().iterator().next();
+
+ assertEquals(Execution.STATE_INACTIVE, processInstance.getState());
+ assertEquals(Execution.STATE_ACTIVE, scopeExecution.getState());
+
+ processInstance.signal(scopeExecution);
+
+ assertEquals(Execution.STATE_ENDED, scopeExecution.getState());
+ assertEquals(Execution.STATE_ACTIVE, processInstance.getState());
+ }
+}
Property changes on: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/ScopeStateTest.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:mergeinfo
+
Name: svn:eol-style
+ LF
Copied: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/ScopeVariableDeclarationTest.java (from rev 1674, jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/ScopeVariableDeclarationTest.java)
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/ScopeVariableDeclarationTest.java (rev 0)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/ScopeVariableDeclarationTest.java 2008-07-18 14:11:32 UTC (rev 1675)
@@ -0,0 +1,223 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jbpm.pvm.basicfeatures;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.jbpm.pvm.test.base.JbpmTestCase;
+import org.jbpm.pvm.activity.ActivityExecution;
+import org.jbpm.pvm.activity.ExternalActivity;
+import org.jbpm.pvm.client.ClientProcessDefinition;
+import org.jbpm.pvm.client.ClientProcessInstance;
+import org.jbpm.pvm.model.Node;
+import org.jbpm.pvm.model.OpenExecution;
+import org.jbpm.pvm.model.ProcessFactory;
+
+
+/**
+ * @author Tom Baeyens
+ */
+public class ScopeVariableDeclarationTest extends JbpmTestCase
+{
+
+ public static class WaitState implements ExternalActivity {
+ private static final long serialVersionUID = 1L;
+ public void execute(ActivityExecution execution) {
+ execution.waitForSignal();
+ }
+ public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters) {
+ execution.take(signalName);
+ }
+ }
+
+ public static class Composite implements ExternalActivity {
+ private static final long serialVersionUID = 1L;
+ public void execute(ActivityExecution execution) {
+ Node child = execution.getNode().getNodes().get(0);
+ execution.execute(child);
+ }
+ public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters) {
+ }
+ }
+
+ public void testProcessInstanceVariableDeclaration() {
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .variable("flight")
+ .node("a").initial().behaviour(new WaitState())
+ .done();
+
+ ClientProcessInstance processInstance = processDefinition.beginProcessInstance();
+
+ assertTrue(processInstance.hasVariable("flight"));
+ assertNull(processInstance.getVariable("flight"));
+ }
+
+ public void testProcessInstanceVariableDeclarationWithInitialValue() {
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .variable("flight", "B52")
+ .node("a").initial().behaviour(new WaitState())
+ .done();
+
+ ClientProcessInstance processInstance = processDefinition.beginProcessInstance();
+
+ assertTrue(processInstance.hasVariable("flight"));
+ assertEquals("B52", processInstance.getVariable("flight"));
+ }
+
+ public void testNestedScopeDeclarations() {
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .variable("flight", "B52")
+ .compositeNode("outer").behaviour(new Composite())
+ .variable("duration", "22 minutes")
+ .compositeNode("middle").behaviour(new Composite())
+ .variable("altitude", "31000 ft")
+ .compositeNode("inner").behaviour(new Composite())
+ .variable("passengers", "52")
+ .compositeNode("start").initial().behaviour(new WaitState())
+ .variable("fuel", "kerosine")
+ .compositeEnd()
+ .compositeEnd()
+ .compositeEnd()
+ .compositeEnd()
+ .done();
+
+ Map<String, Object> expectedVariables = new HashMap<String, Object>();
+
+ ClientProcessInstance processInstance = processDefinition.beginProcessInstance();
+
+ expectedVariables.put("flight", "B52");
+ assertEquals(expectedVariables, processInstance.getVariables());
+
+ OpenExecution outerExecution = processInstance.getExecution("outer");
+ expectedVariables.put("duration", "22 minutes");
+ assertEquals(expectedVariables, outerExecution.getVariables());
+
+ OpenExecution middleExecution = outerExecution.getExecution("middle");
+ expectedVariables.put("altitude", "31000 ft");
+ assertEquals(expectedVariables, middleExecution.getVariables());
+
+ OpenExecution innerExecution = middleExecution.getExecution("inner");
+ expectedVariables.put("passengers", "52");
+ assertEquals(expectedVariables, innerExecution.getVariables());
+
+ OpenExecution startExecution = innerExecution.getExecution("start");
+ expectedVariables.put("fuel", "kerosine");
+ assertEquals(expectedVariables, startExecution.getVariables());
+ }
+
+ public void testHiddenVariable() {
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .variable("flight", "B52")
+ .compositeNode("c").behaviour(new Composite())
+ .variable("flight", "U2")
+ .node("i").initial().behaviour(new WaitState())
+ .variable("flight", "C130")
+ .compositeEnd()
+ .done();
+
+ ClientProcessInstance processInstance = processDefinition.beginProcessInstance();
+ OpenExecution executionC = processInstance.getExecution("c");
+ OpenExecution executionI = executionC.getExecution("i");
+
+ assertEquals("B52", processInstance.getVariable("flight"));
+ assertEquals("U2", executionC.getVariable("flight"));
+ assertEquals("C130", executionI.getVariable("flight"));
+ }
+
+ public void testAutomaticScopeManagement() {
+ /*
+ process
+ ${flight} = 'B52'
+ +--------------------------------------------------------------------+
+ | outer |
+ | ${duration} = '22 minutes' |
+ | +-------------------------------+ |
+ | | left-middle | |
+ | | ${altitude} = '31000 ft' | |
+ | | +---------------------------+ | +----------------------------+ |
+ | | | left-inner | | | right-middle | |
+ | | | ${passengers} | | | ${customer} = 'coca cola' | |
+ | | | +-----------------------+ | | | +--------------------+ | |
+ | | | | left-start | -------> | right-inner | | |
+ | | | | ${fuel} = 'kerosine' | | | | | ${date} = 'today' | | |
+ | | | +-----------------------+ | | | +--------------------+ | |
+ | | +---------------------------+ | +----------------------------+ |
+ +--------------------------------------------------------------------+
+ */
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .variable("flight", "B52")
+ .compositeNode("outer").behaviour(new Composite())
+ .variable("duration", "22 minutes")
+ .compositeNode("left-middle").behaviour(new Composite())
+ .variable("altitude", "31000 ft")
+ .compositeNode("left-inner").behaviour(new Composite())
+ .variable("passengers", "52")
+ .compositeNode("left-start").initial().behaviour(new WaitState())
+ .variable("fuel", "kerosine")
+ .transition().to("right-inner")
+ .compositeEnd()
+ .compositeEnd()
+ .compositeEnd()
+ .compositeNode("right-middle").behaviour(new Composite())
+ .variable("customer", "coca-cola")
+ .compositeNode("right-inner").behaviour(new WaitState())
+ .variable("date", "today")
+ .compositeEnd()
+ .compositeEnd()
+ .compositeEnd()
+ .done();
+
+ ClientProcessInstance processInstance = processDefinition.beginProcessInstance();
+ OpenExecution outerExecution = processInstance.getExecution("outer");
+ OpenExecution leftMiddleExecution = outerExecution.getExecution("left-middle");
+ OpenExecution leftInnerExecution = leftMiddleExecution.getExecution("left-inner");
+ OpenExecution leftStartExecution = leftInnerExecution.getExecution("left-start");
+
+ Map<String, Object> expectedVariables = new HashMap<String, Object>();
+ expectedVariables.put("flight", "B52");
+ expectedVariables.put("duration", "22 minutes");
+ expectedVariables.put("altitude", "31000 ft");
+ expectedVariables.put("passengers", "52");
+ expectedVariables.put("fuel", "kerosine");
+ assertEquals(expectedVariables, leftStartExecution.getVariables());
+
+ processInstance.signal(leftStartExecution);
+
+ OpenExecution rightMiddleExecution = outerExecution.getExecution("right-middle");
+ OpenExecution rightInnerExecution = rightMiddleExecution.getExecution("right-inner");
+
+ expectedVariables = new HashMap<String, Object>();
+ expectedVariables.put("flight", "B52");
+ expectedVariables.put("duration", "22 minutes");
+
+ assertEquals(expectedVariables, outerExecution.getVariables());
+
+ expectedVariables.put("customer", "coca-cola");
+ assertEquals(expectedVariables, rightMiddleExecution.getVariables());
+
+ expectedVariables.put("date", "today");
+ assertEquals(expectedVariables, rightInnerExecution.getVariables());
+ }
+
+
+}
Property changes on: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/ScopeVariableDeclarationTest.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:mergeinfo
+
Name: svn:eol-style
+ LF
Copied: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/ScopeVariableTest.java (from rev 1674, jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/ScopeVariableTest.java)
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/ScopeVariableTest.java (rev 0)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/ScopeVariableTest.java 2008-07-18 14:11:32 UTC (rev 1675)
@@ -0,0 +1,187 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jbpm.pvm.basicfeatures;
+
+import java.util.Map;
+
+import org.jbpm.pvm.test.base.JbpmTestCase;
+import org.jbpm.pvm.PvmException;
+import org.jbpm.pvm.activity.ActivityExecution;
+import org.jbpm.pvm.activity.ExternalActivity;
+import org.jbpm.pvm.client.ClientProcessDefinition;
+import org.jbpm.pvm.client.ClientProcessInstance;
+import org.jbpm.pvm.model.OpenExecution;
+import org.jbpm.pvm.model.ProcessFactory;
+
+/**
+ *
+ * +---+ +--------+ +---+
+ * | a | | b | | c |
+ * | | --> | | --> | |
+ * | | | SCOPE! | | |
+ * +---+ +--------+ +---+
+ *
+ * @author Tom Baeyens
+ */
+public class ScopeVariableTest extends JbpmTestCase
+{
+
+ public static class WaitState implements ExternalActivity {
+ private static final long serialVersionUID = 1L;
+ public void execute(ActivityExecution execution) {
+ execution.waitForSignal();
+ }
+ public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters) {
+ execution.take(signalName);
+ }
+ }
+
+ public void testOuterscopeLookup() {
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .node("a").initial().behaviour(new WaitState())
+ .transition().to("b")
+ .node("b").behaviour(new WaitState())
+ .scope() // !!!!
+ .transition().to("c")
+ .node("c").behaviour(new WaitState())
+ .done();
+
+ ClientProcessInstance processInstance = processDefinition.beginProcessInstance();
+ processInstance.setVariable("destination", "anywhere");
+
+ processInstance.signal();
+
+ OpenExecution bScope = processInstance.getExecution("b");
+
+ // check if the global vars are still visible within the scope for b.
+ assertEquals("anywhere", bScope.getVariable("destination"));
+
+ bScope.createVariable("temp", "23C");
+ assertEquals("23C", bScope.getVariable("temp"));
+ assertNull(processInstance.getVariable("temp"));
+ }
+
+ public void testLocalVariableLookup() {
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .node("a").initial().behaviour(new WaitState())
+ .transition().to("b")
+ .node("b").behaviour(new WaitState())
+ .scope() // !!!!
+ .transition().to("c")
+ .node("c").behaviour(new WaitState())
+ .done();
+
+ ClientProcessInstance processInstance = processDefinition.beginProcessInstance();
+
+ processInstance.signal();
+ OpenExecution bScope = processInstance.getExecution("b");
+
+ bScope.createVariable("temp", "23C");
+
+ assertEquals("23C", bScope.getVariable("temp"));
+ assertNull(processInstance.getVariable("temp"));
+
+ processInstance.signal(bScope);
+
+ assertTrue(bScope.isEnded());
+ assertNull(processInstance.getVariable("temp"));
+ }
+
+ public void testLocalVariableUpdate() {
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .node("a").initial().behaviour(new WaitState())
+ .transition().to("b")
+ .node("b").behaviour(new WaitState())
+ .scope() // !!!!
+ .transition().to("c")
+ .node("c").behaviour(new WaitState())
+ .done();
+
+ ClientProcessInstance processInstance = processDefinition.beginProcessInstance();
+
+ processInstance.signal();
+ OpenExecution bScope = processInstance.getExecution("b");
+
+ bScope.createVariable("temp", "23C");
+ bScope.setVariable("temp", "28C");
+
+ assertEquals("28C", bScope.getVariable("temp"));
+
+ processInstance.signal(bScope);
+
+ assertTrue(bScope.isEnded());
+ assertNull(processInstance.getVariable("temp"));
+ }
+
+ public void testDefaultCreationOnGlobalScope() {
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .node("a").initial().behaviour(new WaitState())
+ .transition().to("b")
+ .node("b").behaviour(new WaitState())
+ .scope() // !!!!
+ .transition().to("c")
+ .node("c").behaviour(new WaitState())
+ .done();
+
+ ClientProcessInstance processInstance = processDefinition.beginProcessInstance();
+
+ processInstance.signal();
+ OpenExecution bScope = processInstance.getExecution("b");
+
+ bScope.setVariable("temp", "28C");
+ assertEquals("28C", bScope.getVariable("temp"));
+
+ processInstance.signal(bScope);
+
+ assertTrue(bScope.isEnded());
+ assertEquals("28C", processInstance.getVariable("temp"));
+ }
+
+ public void testVariableUpdatesOnEndedScope() {
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .node("a").initial().behaviour(new WaitState())
+ .transition().to("b")
+ .node("b").behaviour(new WaitState())
+ .scope() // !!!!
+ .transition().to("c")
+ .node("c").behaviour(new WaitState())
+ .done();
+
+ ClientProcessInstance processInstance = processDefinition.beginProcessInstance();
+
+ processInstance.signal();
+ OpenExecution bScope = processInstance.getExecution("b");
+
+ bScope.createVariable("temp", "28C");
+
+ processInstance.signal(bScope);
+
+ try {
+ bScope.setVariable("temp", "21C");
+ fail("expected exception");
+ } catch (PvmException e) {
+ // OK
+ assertTextPresent("can't update variable 'temp' on execution[b]", e.getMessage());
+ }
+ }
+
+}
Property changes on: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/ScopeVariableTest.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:mergeinfo
+
Name: svn:eol-style
+ LF
Copied: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/SubProcessTest.java (from rev 1674, jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/SubProcessTest.java)
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/SubProcessTest.java (rev 0)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/SubProcessTest.java 2008-07-18 14:11:32 UTC (rev 1675)
@@ -0,0 +1,108 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jbpm.pvm.basicfeatures;
+
+import java.util.Map;
+
+import org.jbpm.pvm.test.base.JbpmTestCase;
+import org.jbpm.pvm.activity.Activity;
+import org.jbpm.pvm.activity.ActivityExecution;
+import org.jbpm.pvm.activity.ExternalActivity;
+import org.jbpm.pvm.client.ClientProcessDefinition;
+import org.jbpm.pvm.client.ClientProcessInstance;
+import org.jbpm.pvm.model.ProcessFactory;
+
+/**
+ * @author Tom Baeyens
+ */
+public class SubProcessTest extends JbpmTestCase
+{
+
+ public static class SubProcess implements ExternalActivity {
+ private static final long serialVersionUID = 1L;
+ ClientProcessDefinition subProcess;
+ public SubProcess(ClientProcessDefinition subProcess) {
+ this.subProcess = subProcess;
+ }
+ public void execute(ActivityExecution execution) throws Exception {
+ ClientProcessInstance subProcessInstance = execution.beginSubProcessInstance(subProcess);
+ if (!subProcessInstance.isEnded()) {
+ execution.waitForSignal();
+ }
+ }
+ public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters) throws Exception {
+ }
+ }
+
+ public static class AutomaticActivity implements Activity {
+ private static final long serialVersionUID = 1L;
+ public void execute(ActivityExecution execution) {
+ }
+ }
+
+ public static class WaitState implements ExternalActivity {
+ private static final long serialVersionUID = 1L;
+ public void execute(ActivityExecution execution) {
+ execution.waitForSignal();
+ }
+ public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters){
+ }
+ }
+
+ public static class EndState implements Activity {
+ public void execute(ActivityExecution execution) throws Exception {
+ execution.end();
+ }
+ }
+
+ public void testSubProcess() {
+ ClientProcessDefinition subProcess = ProcessFactory.build("sub")
+ .node("sub1").initial().behaviour(new AutomaticActivity())
+ .transition().to("sub2")
+ .node("sub2").behaviour(new WaitState())
+ .transition().to("sub3")
+ .node("sub3").behaviour(new EndState())
+ .done();
+
+ ClientProcessDefinition superProcess = ProcessFactory.build("super")
+ .node("super1").initial().behaviour(new AutomaticActivity())
+ .transition().to("super2")
+ .node("super2").behaviour(new SubProcess(subProcess))
+ .transition().to("super3")
+ .node("super3").behaviour(new WaitState())
+ .done();
+
+ ClientProcessInstance superProcesInstance = superProcess.beginProcessInstance();
+ assertEquals("super2", superProcesInstance.getNode().getName());
+
+ ClientProcessInstance subProcessInstance = (ClientProcessInstance) superProcesInstance.getSubProcessInstance();
+ assertNotNull(subProcessInstance);
+ assertEquals("sub2", subProcessInstance.getNode().getName());
+
+ subProcessInstance.signal();
+
+ assertEquals("sub3", subProcessInstance.getNode().getName());
+ assertTrue(subProcessInstance.isEnded());
+
+ assertEquals("super3", superProcesInstance.getNode().getName());
+ }
+}
Property changes on: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/SubProcessTest.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:mergeinfo
+
Name: svn:eol-style
+ LF
Copied: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/TransitionAsWaitStateTest.java (from rev 1674, jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/TransitionAsWaitStateTest.java)
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/TransitionAsWaitStateTest.java (rev 0)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/TransitionAsWaitStateTest.java 2008-07-18 14:11:32 UTC (rev 1675)
@@ -0,0 +1,83 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jbpm.pvm.basicfeatures;
+
+import java.util.Map;
+
+import org.jbpm.pvm.test.base.JbpmTestCase;
+import org.jbpm.pvm.activity.Activity;
+import org.jbpm.pvm.activity.ActivityExecution;
+import org.jbpm.pvm.activity.ExternalActivity;
+import org.jbpm.pvm.client.ClientProcessDefinition;
+import org.jbpm.pvm.client.ClientProcessInstance;
+import org.jbpm.pvm.listener.Condition;
+import org.jbpm.pvm.listener.EventListenerExecution;
+import org.jbpm.pvm.model.ProcessFactory;
+
+/** this test shows how to implement a transition that behaves as a
+ * wait state.
+ *
+ * @author Tom Baeyens
+ */
+public class TransitionAsWaitStateTest extends JbpmTestCase
+{
+
+ public static class AlwaysTrue implements Condition {
+ private static final long serialVersionUID = 1L;
+ public boolean evaluate(EventListenerExecution execution) {
+ return true;
+ }
+ };
+
+ public static class AutomaticActivity implements Activity {
+ private static final long serialVersionUID = 1L;
+ public void execute(ActivityExecution execution) {
+ }
+ }
+
+ public static class WaitState implements ExternalActivity {
+ private static final long serialVersionUID = 1L;
+ public void execute(ActivityExecution execution) {
+ execution.waitForSignal();
+ }
+ public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters){
+ }
+ }
+
+ public void testSmallAmount() {
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .node("make loss").initial().behaviour(new AutomaticActivity())
+ .transition("use jbpm").to("make profit")
+ .waitCondition(new AlwaysTrue())
+ .node("make profit").behaviour(new WaitState())
+ .done();
+
+ ClientProcessInstance execution = processDefinition.beginProcessInstance();
+
+ assertNull(execution.getNode());
+
+ execution.signal();
+
+ assertEquals("make profit", execution.getNode().getName());
+ }
+
+}
Property changes on: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/TransitionAsWaitStateTest.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:mergeinfo
+
Name: svn:eol-style
+ LF
Copied: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/TransitionBasedConcurrencyTest.java (from rev 1674, jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/TransitionBasedConcurrencyTest.java)
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/TransitionBasedConcurrencyTest.java (rev 0)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/TransitionBasedConcurrencyTest.java 2008-07-18 14:11:32 UTC (rev 1675)
@@ -0,0 +1,170 @@
+package org.jbpm.pvm.basicfeatures;
+
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.List;
+import java.util.Map;
+
+import org.jbpm.pvm.test.base.JbpmTestCase;
+import org.jbpm.pvm.Execution;
+import org.jbpm.pvm.activity.Activity;
+import org.jbpm.pvm.activity.ActivityExecution;
+import org.jbpm.pvm.activity.ExternalActivity;
+import org.jbpm.pvm.client.ClientProcessDefinition;
+import org.jbpm.pvm.client.ClientProcessInstance;
+import org.jbpm.pvm.model.Node;
+import org.jbpm.pvm.model.OpenExecution;
+import org.jbpm.pvm.model.ProcessFactory;
+import org.jbpm.pvm.model.Transition;
+
+/**
+ * concurrent execution where synchronization is done by checking if the
+ * number of expected child executions arrived at the join.
+ *
+ * @author Tom Baeyens
+ */
+public class TransitionBasedConcurrencyTest extends JbpmTestCase
+{
+
+ public static class Fork implements Activity {
+ private static final long serialVersionUID = 1L;
+ public void execute(ActivityExecution execution) {
+ Node node = execution.getNode();
+ List<Transition> outgoingTransitions = node.getOutgoingTransitions();
+
+ // for each outgoing transition
+ for (Transition outgoingTransition: outgoingTransitions) {
+ // launch a concurrent path of execution
+ String childExecutionName = outgoingTransition.getName();
+ // creating the execution will cause the execution to become inactive
+ Execution childExecution = execution.createExecution(childExecutionName);
+ execution.take(outgoingTransition, childExecution);
+ }
+ }
+ }
+
+ public static class Join implements Activity {
+ private static final long serialVersionUID = 1L;
+ public void execute(ActivityExecution execution) throws Exception {
+ // end the child execution execution
+ // this will also remove the execution from it's parent
+ execution.end();
+
+ Node join = execution.getNode();
+ List<OpenExecution> joinedExecutions = findJoinedExecutions(execution, join);
+
+ if (isComplete(joinedExecutions, join)) {
+ remove(joinedExecutions, execution);
+ OpenExecution processInstance = execution.getProcessInstance();
+
+ Execution outgoingExecution = null;
+ if ( processInstance.getExecutions()==null
+ || processInstance.getExecutions().isEmpty()
+ ) {
+ outgoingExecution = processInstance;
+ } else {
+ outgoingExecution = execution.createExecution(processInstance);
+ }
+
+ execution.move(join, outgoingExecution);
+ Transition transition = join.getDefaultTransition();
+ execution.take(transition, outgoingExecution);
+ }
+ }
+
+ List<OpenExecution> findJoinedExecutions(OpenExecution execution, Node join) {
+ List<OpenExecution> joinedExecutions = new ArrayList<OpenExecution>();
+ scanRecursive(execution.getProcessInstance(), join, joinedExecutions);
+ return joinedExecutions;
+ }
+
+ void scanRecursive(OpenExecution execution, Node join, List<OpenExecution> joinedExecutions) {
+ // if the execution is positioned in the join
+ if (join.equals(execution.getNode())) {
+ joinedExecutions.add(execution);
+ }
+ Collection<OpenExecution> childExecutions = execution.getExecutions();
+ if (childExecutions!=null) {
+ for (OpenExecution childExecution: childExecutions) {
+ scanRecursive(childExecution, join, joinedExecutions);
+ }
+ }
+ }
+
+ boolean isComplete(List<OpenExecution> joinedExecutions, Node join) {
+ int executionsToJoin = join.getIncomingTransitions().size();
+ return (executionsToJoin==joinedExecutions.size());
+ }
+
+ void remove(List<OpenExecution> joinedExecutions, ActivityExecution execution) {
+ for (OpenExecution joinedExecution: joinedExecutions) {
+ execution.removeExecution(joinedExecution, joinedExecution.getParent());
+ }
+ }
+ }
+
+ public static class WaitState implements ExternalActivity {
+ private static final long serialVersionUID = 1L;
+ public void execute(ActivityExecution execution) {
+ execution.waitForSignal();
+ }
+ public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters) {
+ execution.take(signalName);
+ }
+ }
+
+ public void testTransitionBasedConcurrency() {
+
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .node("fork").initial().behaviour(new Fork())
+ .transition("billing").to("bill")
+ .transition("shipping").to("ship")
+ .node("bill").behaviour(new WaitState())
+ .transition().to("join")
+ .node("ship").behaviour(new WaitState())
+ .transition().to("join")
+ .node("join").behaviour(new Join())
+ .transition().to("end")
+ .node("end").behaviour(new WaitState())
+ .done();
+
+ ClientProcessInstance main = processDefinition.beginProcessInstance();
+
+ assertEquals("fork", main.getNode().getName());
+ assertEquals(Execution.STATE_INACTIVE, main.getState());
+
+ Execution billing = main.getExecution("billing");
+ assertNotNull(billing);
+ assertEquals("bill", billing.getNodeName());
+ assertFalse(billing.isEnded());
+
+ Execution shipping = main.getExecution("shipping");
+
+ assertNotNull(shipping);
+ assertEquals("ship", shipping.getNodeName());
+ assertFalse(shipping.isEnded());
+ assertTrue(main.getExecutions().contains(billing));
+ assertTrue(main.getExecutions().contains(shipping));
+
+ main.signal(billing);
+
+ assertEquals("fork", main.getNodeName());
+ assertEquals("join", billing.getNodeName());
+ assertTrue(billing.isEnded());
+ assertEquals("ship", shipping.getNodeName());
+ assertFalse(shipping.isEnded());
+ assertTrue(billing.isEnded());
+ assertEquals(Execution.STATE_INACTIVE, main.getState());
+
+ main.signal(shipping);
+
+ assertEquals(Execution.STATE_ACTIVE, main.getState());
+ assertEquals("end", main.getNodeName());
+ assertEquals("join", billing.getNodeName());
+ assertTrue(billing.isEnded());
+ assertEquals("join", shipping.getNodeName());
+ assertTrue(shipping.isEnded());
+ assertFalse(main.getExecutions().contains(billing));
+ assertFalse(main.getExecutions().contains(shipping));
+ }
+}
Property changes on: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/TransitionBasedConcurrencyTest.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:mergeinfo
+
Name: svn:eol-style
+ LF
Copied: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/TransitionEventsTest.java (from rev 1674, jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/TransitionEventsTest.java)
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/TransitionEventsTest.java (rev 0)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/TransitionEventsTest.java 2008-07-18 14:11:32 UTC (rev 1675)
@@ -0,0 +1,454 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jbpm.pvm.basicfeatures;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+
+import org.jbpm.pvm.test.base.JbpmTestCase;
+import org.jbpm.pvm.activity.ActivityExecution;
+import org.jbpm.pvm.activity.ExternalActivity;
+import org.jbpm.pvm.client.ClientProcessDefinition;
+import org.jbpm.pvm.client.ClientProcessInstance;
+import org.jbpm.pvm.listener.EventListener;
+import org.jbpm.pvm.listener.EventListenerExecution;
+import org.jbpm.pvm.model.Event;
+import org.jbpm.pvm.model.ProcessFactory;
+
+/**
+ * @author Tom Baeyens
+ */
+public class TransitionEventsTest extends JbpmTestCase
+{
+
+ public static class WaitState implements ExternalActivity {
+ private static final long serialVersionUID = 1L;
+ public void execute(ActivityExecution execution) {
+ execution.waitForSignal();
+ }
+ public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters){
+ }
+ }
+
+ public class Recorder implements EventListener {
+ private static final long serialVersionUID = 1L;
+ public List<Object> events = new ArrayList<Object>();
+ public void notify(EventListenerExecution execution) {
+ events.add(execution.getEvent()+" on "+execution.getEventSource());
+ }
+ }
+
+
+ public void testCompositeLeave(){
+ Recorder processListener = new Recorder();
+ Recorder outsideListener = new Recorder();
+ Recorder compositeListener = new Recorder();
+ Recorder insideListener = new Recorder();
+
+ /*
+ +--------------+
+ | composite |
+ | +--------+ | +---------+
+ | | inside |------->| outside |
+ | +--------+ | +---------+
+ +--------------+
+ */
+
+ ClientProcessDefinition processDefinition = ProcessFactory.build("leave a super state")
+ .event(Event.NODE_END)
+ .listener(processListener)
+ .event(Event.NODE_BEGIN)
+ .listener(processListener)
+ .event(Event.TRANSITION_TAKE)
+ .listener(processListener)
+ .compositeNode("composite")
+ .event(Event.NODE_END)
+ .listener(compositeListener)
+ .event(Event.NODE_BEGIN)
+ .listener(compositeListener)
+ .event(Event.TRANSITION_TAKE)
+ .listener(compositeListener)
+ .node("inside").initial().behaviour(new WaitState())
+ .event(Event.NODE_END)
+ .listener(insideListener)
+ .event(Event.NODE_BEGIN)
+ .listener(insideListener)
+ .event(Event.TRANSITION_TAKE)
+ .listener(insideListener)
+ .transition().to("outside")
+ .compositeEnd()
+ .node("outside").behaviour(new WaitState())
+ .event(Event.NODE_END)
+ .listener(outsideListener)
+ .event(Event.NODE_BEGIN)
+ .listener(outsideListener)
+ .event(Event.TRANSITION_TAKE)
+ .listener(outsideListener)
+ .done();
+
+ ClientProcessInstance execution = processDefinition.beginProcessInstance();
+
+ assertEquals(0, processListener.events.size());
+ assertEquals(0, outsideListener.events.size());
+ assertEquals(0, compositeListener.events.size());
+ assertEquals(0, insideListener.events.size());
+
+ assertEquals("inside", execution.getNode().getName());
+
+ execution.signal();
+
+ assertEquals("[event(node-end) on node(inside), " +
+ "event(node-end) on node(composite), " +
+ "event(transition-take) on (inside)-->(outside), " +
+ "event(node-begin) on node(outside)]",
+ processListener.events.toString());
+
+ assertEquals("[event(node-begin) on node(outside)]",
+ outsideListener.events.toString());
+
+ assertEquals("[event(node-end) on node(inside), " +
+ "event(node-end) on node(composite)]",
+ compositeListener.events.toString());
+
+ assertEquals("[event(node-end) on node(inside)]",
+ insideListener.events.toString());
+ }
+
+ public void testCompositeEnter(){
+ Recorder processListener = new Recorder();
+ Recorder outsideListener = new Recorder();
+ Recorder compositeListener = new Recorder();
+ Recorder insideListener = new Recorder();
+
+ /*
+ +--------------+
+ | composite |
+ +---------+ | +--------+ |
+ | outside |------>| inside | |
+ +---------+ | +--------+ |
+ +--------------+
+ */
+
+ ClientProcessDefinition processDefinition = ProcessFactory.build("enter a super state")
+ .event(Event.NODE_END)
+ .listener(processListener)
+ .event(Event.NODE_BEGIN)
+ .listener(processListener)
+ .event(Event.TRANSITION_TAKE)
+ .listener(processListener)
+ .node("outside").initial().behaviour(new WaitState())
+ .event(Event.NODE_END)
+ .listener(outsideListener)
+ .event(Event.NODE_BEGIN)
+ .listener(outsideListener)
+ .event(Event.TRANSITION_TAKE)
+ .listener(outsideListener)
+ .transition().to("inside")
+ .compositeNode("composite")
+ .event(Event.NODE_END)
+ .listener(compositeListener)
+ .event(Event.NODE_BEGIN)
+ .listener(compositeListener)
+ .event(Event.TRANSITION_TAKE)
+ .listener(compositeListener)
+ .node("inside").behaviour(new WaitState())
+ .event(Event.NODE_END)
+ .listener(insideListener)
+ .event(Event.NODE_BEGIN)
+ .listener(insideListener)
+ .event(Event.TRANSITION_TAKE)
+ .listener(insideListener)
+ .compositeEnd()
+ .done();
+
+ ClientProcessInstance execution = processDefinition.beginProcessInstance();
+
+ assertEquals(0, processListener.events.size());
+ assertEquals(0, outsideListener.events.size());
+ assertEquals(0, compositeListener.events.size());
+ assertEquals(0, insideListener.events.size());
+
+ execution.signal();
+
+ assertEquals("[event(node-end) on node(outside), " +
+ "event(transition-take) on (outside)-->(inside), " +
+ "event(node-begin) on node(composite), " +
+ "event(node-begin) on node(inside)]",
+ processListener.events.toString());
+
+ assertEquals("[event(node-end) on node(outside)]",
+ outsideListener.events.toString());
+
+ assertEquals("[event(node-begin) on node(composite), " +
+ "event(node-begin) on node(inside)]",
+ compositeListener.events.toString());
+
+ assertEquals("[event(node-begin) on node(inside)]",
+ insideListener.events.toString());
+ }
+
+ public void testSelfTransition(){
+ Recorder processListener = new Recorder();
+ Recorder compositeListener = new Recorder();
+ Recorder insideListener = new Recorder();
+
+ /*
+ +-----------------+
+ | composite |
+ | +--------+ |
+ | | inside |---+ |
+ | | | | |
+ | | |<--+ |
+ | +--------+ |
+ +-----------------+
+ */
+
+ ClientProcessDefinition processDefinition = ProcessFactory.build("leave a super state")
+ .event(Event.NODE_END)
+ .listener(processListener)
+ .event(Event.NODE_BEGIN)
+ .listener(processListener)
+ .event(Event.TRANSITION_TAKE)
+ .listener(processListener)
+ .compositeNode("composite")
+ .event(Event.NODE_END)
+ .listener(compositeListener)
+ .event(Event.NODE_BEGIN)
+ .listener(compositeListener)
+ .event(Event.TRANSITION_TAKE)
+ .listener(compositeListener)
+ .node("inside").initial().behaviour(new WaitState())
+ .event(Event.NODE_END)
+ .listener(insideListener)
+ .event(Event.NODE_BEGIN)
+ .listener(insideListener)
+ .event(Event.TRANSITION_TAKE)
+ .listener(insideListener)
+ .transition().to("inside")
+ .compositeEnd()
+ .done();
+
+ ClientProcessInstance execution = processDefinition.beginProcessInstance();
+
+ assertEquals(0, processListener.events.size());
+ assertEquals(0, compositeListener.events.size());
+ assertEquals(0, insideListener.events.size());
+
+ assertEquals("inside", execution.getNode().getName());
+
+ execution.signal();
+
+ assertEquals("[event(node-end) on node(inside), " +
+ "event(transition-take) on (inside)-->(inside), " +
+ "event(node-begin) on node(inside)]",
+ processListener.events.toString());
+
+ assertEquals("[event(node-end) on node(inside), " +
+ "event(transition-take) on (inside)-->(inside), " +
+ "event(node-begin) on node(inside)]",
+ compositeListener.events.toString());
+
+ assertEquals("[event(node-end) on node(inside), " +
+ "event(node-begin) on node(inside)]",
+ insideListener.events.toString());
+ }
+
+
+ public void testCompositeLeaveInheritedTransition(){
+ Recorder processListener = new Recorder();
+ Recorder outsideListener = new Recorder();
+ Recorder compositeListener = new Recorder();
+ Recorder insideListener = new Recorder();
+
+ /*
+ +--------------+ +---------+
+ | composite |------->| outside |
+ | +--------+ | +---------+
+ | | inside | |
+ | +--------+ |
+ +--------------+
+ */
+
+ ClientProcessDefinition processDefinition = ProcessFactory.build("leave a super state")
+ .event(Event.NODE_END)
+ .listener(processListener)
+ .event(Event.NODE_BEGIN)
+ .listener(processListener)
+ .event(Event.TRANSITION_TAKE)
+ .listener(processListener)
+ .compositeNode("composite")
+ .event(Event.NODE_END)
+ .listener(compositeListener)
+ .event(Event.NODE_BEGIN)
+ .listener(compositeListener)
+ .event(Event.TRANSITION_TAKE)
+ .listener(compositeListener)
+ .transition().to("outside")
+ .node("inside").initial().behaviour(new WaitState())
+ .event(Event.NODE_END)
+ .listener(insideListener)
+ .event(Event.NODE_BEGIN)
+ .listener(insideListener)
+ .event(Event.TRANSITION_TAKE)
+ .listener(insideListener)
+ .compositeEnd()
+ .node("outside").behaviour(new WaitState())
+ .event(Event.NODE_END)
+ .listener(outsideListener)
+ .event(Event.NODE_BEGIN)
+ .listener(outsideListener)
+ .event(Event.TRANSITION_TAKE)
+ .listener(outsideListener)
+ .done();
+
+ ClientProcessInstance execution = processDefinition.beginProcessInstance();
+
+ assertEquals(0, processListener.events.size());
+ assertEquals(0, outsideListener.events.size());
+ assertEquals(0, compositeListener.events.size());
+ assertEquals(0, insideListener.events.size());
+
+ assertEquals("inside", execution.getNode().getName());
+
+ execution.signal();
+
+ assertEquals("[event(node-end) on node(inside), " +
+ "event(node-end) on node(composite), " +
+ "event(transition-take) on (composite)-->(outside), " +
+ "event(node-begin) on node(outside)]",
+ processListener.events.toString());
+
+ assertEquals("[event(node-begin) on node(outside)]",
+ outsideListener.events.toString());
+
+ assertEquals("[event(node-end) on node(inside), " +
+ "event(node-end) on node(composite)]",
+ compositeListener.events.toString());
+
+ assertEquals("[event(node-end) on node(inside)]",
+ insideListener.events.toString());
+ }
+
+ public void testCompositeLeaveInheritedTransitionExtraNesting(){
+ Recorder processListener = new Recorder();
+ Recorder sourceOutsideListener = new Recorder();
+ Recorder sourceMiddleListener = new Recorder();
+ Recorder sourceInsideListener = new Recorder();
+ Recorder destinationOutsideListener = new Recorder();
+ Recorder destinationInsideListener = new Recorder();
+
+ /*
+ +--------------------------+
+ | source outside |
+ | +--------------------+ | +--------------------------+
+ | | source middle | | | destination outside |
+ | | +---------------+ | | | +--------------------+ |
+ | | | source inside | |----------->| destination inside | |
+ | | +---------------+ | | | +--------------------+ |
+ | +--------------------+ | +--------------------------+
+ +--------------------------+
+ */
+
+ ClientProcessDefinition processDefinition = ProcessFactory.build("leave a super state")
+ .event(Event.NODE_END)
+ .listener(processListener)
+ .event(Event.NODE_BEGIN)
+ .listener(processListener)
+ .event(Event.TRANSITION_TAKE)
+ .listener(processListener)
+ .compositeNode("source outside")
+ .event(Event.NODE_END)
+ .listener(sourceOutsideListener)
+ .event(Event.NODE_BEGIN)
+ .listener(sourceOutsideListener)
+ .event(Event.TRANSITION_TAKE)
+ .listener(sourceOutsideListener)
+ .compositeNode("source middle")
+ .event(Event.NODE_END)
+ .listener(sourceMiddleListener)
+ .event(Event.NODE_BEGIN)
+ .listener(sourceMiddleListener)
+ .event(Event.TRANSITION_TAKE)
+ .listener(sourceMiddleListener)
+ .transition().to("destination inside")
+ .node("source inside").initial().behaviour(new WaitState())
+ .event(Event.NODE_END)
+ .listener(sourceInsideListener)
+ .event(Event.NODE_BEGIN)
+ .listener(sourceInsideListener)
+ .event(Event.TRANSITION_TAKE)
+ .listener(sourceInsideListener)
+ .compositeEnd()
+ .compositeEnd()
+ .compositeNode("destination outside")
+ .event(Event.NODE_END)
+ .listener(destinationOutsideListener)
+ .event(Event.NODE_BEGIN)
+ .listener(destinationOutsideListener)
+ .event(Event.TRANSITION_TAKE)
+ .listener(destinationOutsideListener)
+ .node("destination inside").behaviour(new WaitState())
+ .event(Event.NODE_END)
+ .listener(destinationInsideListener)
+ .event(Event.NODE_BEGIN)
+ .listener(destinationInsideListener)
+ .event(Event.TRANSITION_TAKE)
+ .listener(destinationInsideListener)
+ .compositeEnd()
+ .done();
+
+
+ ClientProcessInstance execution = processDefinition.beginProcessInstance();
+
+ assertEquals("source inside", execution.getNode().getName());
+
+ execution.signal();
+
+ assertEquals("[event(node-end) on node(source inside), " +
+ "event(node-end) on node(source middle), " +
+ "event(node-end) on node(source outside), " +
+ "event(transition-take) on (source middle)-->(destination inside), " +
+ "event(node-begin) on node(destination outside), " +
+ "event(node-begin) on node(destination inside)]",
+ processListener.events.toString());
+
+ assertEquals("[event(node-end) on node(source inside), " +
+ "event(node-end) on node(source middle), " +
+ "event(node-end) on node(source outside)]",
+ sourceOutsideListener.events.toString());
+
+ assertEquals("[event(node-end) on node(source inside), " +
+ "event(node-end) on node(source middle)]",
+ sourceMiddleListener.events.toString());
+
+ assertEquals("[event(node-end) on node(source inside)]",
+ sourceInsideListener.events.toString());
+
+ assertEquals("[event(node-begin) on node(destination outside), " +
+ "event(node-begin) on node(destination inside)]",
+ destinationOutsideListener.events.toString());
+
+ assertEquals("[event(node-begin) on node(destination inside)]",
+ destinationInsideListener.events.toString());
+ }
+}
Property changes on: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/TransitionEventsTest.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:mergeinfo
+
Name: svn:eol-style
+ LF
Copied: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/VariableTest.java (from rev 1674, jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/VariableTest.java)
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/VariableTest.java (rev 0)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/VariableTest.java 2008-07-18 14:11:32 UTC (rev 1675)
@@ -0,0 +1,247 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jbpm.pvm.basicfeatures;
+
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.Map;
+import java.util.Set;
+
+import org.jbpm.pvm.test.base.JbpmTestCase;
+import org.jbpm.pvm.activity.ActivityExecution;
+import org.jbpm.pvm.activity.ExternalActivity;
+import org.jbpm.pvm.client.ClientProcessDefinition;
+import org.jbpm.pvm.client.ClientProcessInstance;
+import org.jbpm.pvm.model.ProcessFactory;
+
+/**
+ * @author Tom Baeyens
+ */
+public class VariableTest extends JbpmTestCase {
+
+ public static class WaitState implements ExternalActivity {
+ private static final long serialVersionUID = 1L;
+ public void execute(ActivityExecution execution) {
+ execution.waitForSignal();
+ }
+ public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters){
+ }
+ }
+
+ public void testSetAndGetVariable() {
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .node("a").initial().behaviour(new WaitState())
+ .done();
+
+ ClientProcessInstance processInstance = processDefinition.beginProcessInstance();
+
+ processInstance.setVariable("customer", "coca-cola");
+ assertEquals("coca-cola", processInstance.getVariable("customer"));
+
+ processInstance.setVariable("address", "usa");
+ assertEquals("usa", processInstance.getVariable("address"));
+
+ processInstance.setVariable("size", "big");
+ assertEquals("big", processInstance.getVariable("size"));
+ }
+
+ public void testHasVariable() {
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .node("a").initial().behaviour(new WaitState())
+ .done();
+
+ ClientProcessInstance processInstance = processDefinition.beginProcessInstance();
+
+ processInstance.setVariable("customer", "coca-cola");
+
+ assertTrue(processInstance.hasVariable("customer"));
+ assertFalse(processInstance.hasVariable("address"));
+ }
+
+ public void testSetVariables() {
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .node("a").initial().behaviour(new WaitState())
+ .done();
+
+ ClientProcessInstance processInstance = processDefinition.beginProcessInstance();
+
+ Map<String, Object> variables = new HashMap<String, Object>();
+ variables.put("customer", "coca-cola");
+ variables.put("address", "usa");
+ variables.put("size", "big");
+
+ processInstance.setVariables(variables);
+
+ assertEquals("coca-cola", processInstance.getVariable("customer"));
+ assertEquals("usa", processInstance.getVariable("address"));
+ assertEquals("big", processInstance.getVariable("size"));
+ }
+
+ public void testGetVariables() {
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .node("a").initial().behaviour(new WaitState())
+ .done();
+
+ ClientProcessInstance processInstance = processDefinition.beginProcessInstance();
+
+ processInstance.setVariable("customer", "coca-cola");
+ processInstance.setVariable("address", "usa");
+ processInstance.setVariable("size", "big");
+
+ Map<String, Object> expectedVariables = new HashMap<String, Object>();
+ expectedVariables.put("customer", "coca-cola");
+ expectedVariables.put("address", "usa");
+ expectedVariables.put("size", "big");
+ assertEquals(expectedVariables, processInstance.getVariables());
+ }
+
+ public void testRemoveVariable() {
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .node("a").initial().behaviour(new WaitState())
+ .done();
+
+ ClientProcessInstance processInstance = processDefinition.beginProcessInstance();
+
+ processInstance.setVariable("customer", "coca-cola");
+ processInstance.setVariable("address", "usa");
+ processInstance.setVariable("size", "big");
+
+ Map<String, Object> expectedVariables = new HashMap<String, Object>();
+ expectedVariables.put("customer", "coca-cola");
+ expectedVariables.put("address", "usa");
+ expectedVariables.put("size", "big");
+
+ assertEquals(expectedVariables, processInstance.getVariables());
+
+ processInstance.removeVariable("address");
+ expectedVariables.remove("address");
+
+ assertEquals(expectedVariables, processInstance.getVariables());
+
+ processInstance.removeVariable("customer");
+ expectedVariables.remove("customer");
+
+ assertEquals(expectedVariables, processInstance.getVariables());
+
+ processInstance.removeVariable("size");
+ expectedVariables.remove("size");
+
+ assertEquals(expectedVariables, processInstance.getVariables());
+ }
+
+ public void testRemoveVariables() {
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .node("a").initial().behaviour(new WaitState())
+ .done();
+
+ ClientProcessInstance processInstance = processDefinition.beginProcessInstance();
+
+ processInstance.setVariable("customer", "coca-cola");
+ processInstance.setVariable("address", "usa");
+ processInstance.setVariable("size", "big");
+
+ processInstance.removeVariables();
+
+ Map<String, Object> expectedVariables = new HashMap<String, Object>();
+ assertEquals(expectedVariables, processInstance.getVariables());
+ }
+
+ public void testGetVariableKeys() {
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .node("a").initial().behaviour(new WaitState())
+ .done();
+
+ ClientProcessInstance processInstance = processDefinition.beginProcessInstance();
+
+ processInstance.setVariable("customer", "coca-cola");
+ processInstance.setVariable("address", "usa");
+ processInstance.setVariable("size", "big");
+
+ Set<String> expectedVariableKeys = new HashSet<String>();
+ expectedVariableKeys.add("customer");
+ expectedVariableKeys.add("address");
+ expectedVariableKeys.add("size");
+ assertEquals(expectedVariableKeys, new HashSet<String>(processInstance.getVariableKeys()));
+ }
+
+ public void testGetUnexistingVariable() {
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .node("a").initial().behaviour(new WaitState())
+ .done();
+
+ ClientProcessInstance processInstance = processDefinition.beginProcessInstance();
+
+ assertNull(processInstance.getVariable("answer to life, the universe and everything"));
+ }
+
+ public static class VariableActivity implements ExternalActivity {
+ private static final long serialVersionUID = 1L;
+ public void execute(ActivityExecution execution) {
+ assertEquals("coca-cola", execution.getVariable("customer"));
+ execution.setVariable("message", "Killroy was here");
+ execution.waitForSignal();
+ }
+ public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters) {
+ }
+ }
+
+ public void testInitialiseVariablesBeforeProcessInstanceBegin() {
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .node("a").initial().behaviour(new VariableActivity())
+ .done();
+
+ // here, the process instance is created first, and only later it is begun
+ ClientProcessInstance processInstance = processDefinition.createProcessInstance();
+ processInstance.setVariable("customer", "coca-cola");
+ processInstance.begin();
+ assertEquals("Killroy was here", processInstance.getVariable("message"));
+ }
+
+ public void testNullValue() {
+ ClientProcessDefinition processDefinition = ProcessFactory.build()
+ .node("a").initial().behaviour(new WaitState())
+ .done();
+
+ ClientProcessInstance processInstance = processDefinition.beginProcessInstance();
+
+ processInstance.setVariable("niks", null);
+ processInstance.setVariable("nada", null);
+
+ assertTrue(processInstance.hasVariables());
+ assertTrue(processInstance.hasVariable("niks"));
+ assertTrue(processInstance.hasVariable("nada"));
+
+ assertNull(processInstance.getVariable("niks"));
+ assertNull(processInstance.getVariable("nada"));
+
+ Set<String> expectedKeys = new HashSet<String>();
+ expectedKeys.add("niks");
+ expectedKeys.add("nada");
+ assertEquals(expectedKeys, new HashSet<String>(processInstance.getVariableKeys()));
+
+ Map<String, Object> expectedVariables = new HashMap<String, Object>();
+ expectedVariables.put("niks", null);
+ expectedVariables.put("nada", null);
+ assertEquals(expectedVariables, new HashMap<String, Object>(processInstance.getVariables()));
+ }
+
+}
Property changes on: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/basicfeatures/VariableTest.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:mergeinfo
+
Name: svn:eol-style
+ LF
Deleted: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/AutomaticDecisionTest.java
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/AutomaticDecisionTest.java 2008-07-17 20:14:17 UTC (rev 1674)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/AutomaticDecisionTest.java 2008-07-18 14:11:32 UTC (rev 1675)
@@ -1,107 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jbpm.pvm.client;
-
-import java.util.Map;
-
-import org.jbpm.pvm.test.base.JbpmTestCase;
-import org.jbpm.pvm.activity.Activity;
-import org.jbpm.pvm.activity.ActivityExecution;
-import org.jbpm.pvm.activity.ExternalActivity;
-import org.jbpm.pvm.model.ProcessFactory;
-
-
-/** shows an automatic decision.
- *
- * @author Tom Baeyens
- */
-public class AutomaticDecisionTest extends JbpmTestCase {
-
- public static class AutomaticCreditRating implements Activity {
- private static final long serialVersionUID = 1L;
- public void execute(ActivityExecution execution) {
- int creditRate = (Integer) execution.getVariable("creditRate");
-
- if (creditRate > 5) {
- execution.take("good");
-
- } else if (creditRate < -5) {
- execution.take("bad");
-
- } else {
- execution.take("average");
- }
- }
- }
-
- public static class WaitState implements ExternalActivity {
- private static final long serialVersionUID = 1L;
- public void execute(ActivityExecution execution) {
- execution.waitForSignal();
- }
- public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters) {
- execution.take(signalName);
- }
- }
-
- public static ClientProcessDefinition createCreditProcess() {
- return ProcessFactory.build()
- .node("creditRate?").initial().behaviour(new AutomaticCreditRating())
- .transition("good").to("priority delivery")
- .transition("average").to("bulk delivery")
- .transition("bad").to("payment upfront")
- .node("priority delivery").behaviour(new WaitState())
- .node("bulk delivery").behaviour(new WaitState())
- .node("payment upfront").behaviour(new WaitState())
- .done();
- }
-
- public void testGoodRating() {
- ClientProcessDefinition processDefinition = createCreditProcess();
-
- ClientProcessInstance execution = processDefinition.createProcessInstance();
- execution.setVariable("creditRate", 7);
- execution.begin();
-
- assertEquals("priority delivery", execution.getNode().getName());
- }
-
- public void testAverageRating() {
- ClientProcessDefinition processDefinition = createCreditProcess();
-
- ClientProcessInstance execution = processDefinition.createProcessInstance();
- execution.setVariable("creditRate", 2);
- execution.begin();
-
- assertEquals("bulk delivery", execution.getNode().getName());
- }
-
- public void testBadRating() {
- ClientProcessDefinition processDefinition = createCreditProcess();
-
- ClientProcessInstance execution = processDefinition.createProcessInstance();
- execution.setVariable("creditRate", -7);
- execution.begin();
-
- assertEquals("payment upfront", execution.getNode().getName());
- }
-}
Deleted: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/BasicExecutionFlowTest.java
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/BasicExecutionFlowTest.java 2008-07-17 20:14:17 UTC (rev 1674)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/BasicExecutionFlowTest.java 2008-07-18 14:11:32 UTC (rev 1675)
@@ -1,142 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jbpm.pvm.client;
-
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Map;
-
-import org.jbpm.pvm.test.base.JbpmTestCase;
-import org.jbpm.pvm.activity.Activity;
-import org.jbpm.pvm.activity.ActivityExecution;
-import org.jbpm.pvm.activity.ExternalActivity;
-import org.jbpm.pvm.model.ProcessFactory;
-
-/** shows wait states and automatic activities in a simple
- * sequence based on transitions.
- *
- * @author Tom Baeyens
- */
-public class BasicExecutionFlowTest extends JbpmTestCase {
-
- // automatic activity will log an event in a given list
-
- public static class AutomaticActivity implements Activity {
- private static final long serialVersionUID = 1L;
- List<String> events;
- public AutomaticActivity(List<String> events) {
- this.events = events;
- }
- public void execute(ActivityExecution execution) {
- events.add("execute["+execution.getNodeName()+"]");
- }
- }
-
- public static class WaitState implements ExternalActivity {
- private static final long serialVersionUID = 1L;
- List<String> events;
- public WaitState(List<String> events) {
- this.events = events;
- }
- public void execute(ActivityExecution execution) {
- events.add("execute["+execution.getNodeName()+"]");
- execution.waitForSignal();
- }
- public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters) throws Exception {
- events.add("signal["+execution.getNodeName()+"]");
- execution.take(signalName);
- }
- }
-
- public void testChainOfAutomaticActivitiesAndWaitStates() {
- List<String> recordedEvents = new ArrayList<String>();
- AutomaticActivity automaticActivity = new AutomaticActivity(recordedEvents);
- WaitState waitState = new WaitState(recordedEvents);
-
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .node("a").initial().behaviour(automaticActivity)
- .transition().to("b")
- .node("b").behaviour(automaticActivity)
- .transition().to("c")
- .node("c").behaviour(waitState)
- .transition().to("d")
- .node("d").behaviour(waitState)
- .transition().to("e")
- .node("e").behaviour(automaticActivity)
- .transition().to("f")
- .node("f").behaviour(automaticActivity)
- .done();
-
- ClientProcessInstance processInstance = processDefinition.beginProcessInstance();
-
- List<String> expectedEvents = new ArrayList<String>();
-
- expectedEvents.add("execute[a]");
- expectedEvents.add("execute[b]");
- expectedEvents.add("execute[c]");
-
- assertEquals("c", processInstance.getNodeName());
- assertFalse(processInstance.isEnded());
- assertEquals(expectedEvents, recordedEvents);
-
- processInstance.signal();
-
- expectedEvents.add("signal[c]");
- expectedEvents.add("execute[d]");
-
- assertEquals("d", processInstance.getNodeName());
- assertFalse(processInstance.isEnded());
- assertEquals(expectedEvents, recordedEvents);
-
- processInstance.signal();
-
- expectedEvents.add("signal[d]");
- expectedEvents.add("execute[e]");
- expectedEvents.add("execute[f]");
-
- assertEquals("f", processInstance.getNodeName());
- assertTrue(processInstance.isEnded());
- assertEquals(expectedEvents, recordedEvents);
- }
-
- public void testDelayedBegin() {
- List<String> recordedEvents = new ArrayList<String>();
-
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .node("a").initial().behaviour(new WaitState(recordedEvents))
- .done();
-
- ClientProcessInstance processInstance = processDefinition.createProcessInstance();
-
- // here, inbetween create and begin of a process instance, the variables can be initialized
- // or subprocessinstance-superprocessinstance relation can be set up
-
- // so we verify that the process execution didn't start yet
- List<String> expectedEvents = new ArrayList<String>();
- assertEquals(expectedEvents, recordedEvents);
-
- processInstance.begin();
-
- expectedEvents.add("execute[a]");
- assertEquals(expectedEvents, recordedEvents);
- }
-}
Deleted: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/EventPropagationTest.java
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/EventPropagationTest.java 2008-07-17 20:14:17 UTC (rev 1674)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/EventPropagationTest.java 2008-07-18 14:11:32 UTC (rev 1675)
@@ -1,356 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jbpm.pvm.client;
-
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Map;
-
-import org.jbpm.pvm.test.base.JbpmTestCase;
-import org.jbpm.pvm.activity.Activity;
-import org.jbpm.pvm.activity.ActivityExecution;
-import org.jbpm.pvm.activity.ExternalActivity;
-import org.jbpm.pvm.listener.EventListener;
-import org.jbpm.pvm.listener.EventListenerExecution;
-import org.jbpm.pvm.model.Event;
-import org.jbpm.pvm.model.Node;
-import org.jbpm.pvm.model.ObservableElement;
-import org.jbpm.pvm.model.ProcessFactory;
-
-/**
- * @author Tom Baeyens
- */
-public class EventPropagationTest extends JbpmTestCase
-{
-
- public class Recorder implements EventListener {
- private static final long serialVersionUID = 1L;
- public List<Object> events = new ArrayList<Object>();
- public void notify(EventListenerExecution execution) {
- ObservableElement element = execution.getEventSource();
- String elementName = element.getName();
- events.add(execution.getEvent()+" on "+(elementName!=null ? elementName : element));
- }
- }
-
- public static class FireableState implements ExternalActivity {
- private static final long serialVersionUID = 1L;
- public void execute(ActivityExecution execution) {
- execution.waitForSignal();
- }
- public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters) {
- execution.fire(signalName, execution.getNode());
- }
- }
-
- public static class AutomaticActivity implements Activity {
- private static final long serialVersionUID = 1L;
- public void execute(ActivityExecution execution) {
- }
- }
-
- public static class WaitState implements ExternalActivity {
- private static final long serialVersionUID = 1L;
- public void execute(ActivityExecution execution) {
- execution.waitForSignal();
- }
- public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters){
- }
- }
-
- public void testListenToNodeLeaveOnProcessForProcessNodes(){
- Recorder recorder = new Recorder();
-
- ClientProcessDefinition processDefinition = ProcessFactory.build("propagate")
- .event(Event.NODE_END)
- .listener(recorder)
- .node("initial").initial().behaviour(new WaitState())
- .transition().to("end")
- .node("end").behaviour(new WaitState())
- .done();
-
- ClientProcessInstance execution = processDefinition.beginProcessInstance();
- execution.signal();
-
- assertEquals("event(node-end) on initial", recorder.events.get(0));
- assertEquals(1, recorder.events.size());
- }
-
- public void testListenToNodeEnterOnProcessForProcessNodes(){
- Recorder recorder = new Recorder();
-
- ClientProcessDefinition processDefinition = ProcessFactory.build("propagate")
- .event(Event.NODE_BEGIN)
- .listener(recorder)
- .node("initial").initial().behaviour(new WaitState())
- .transition().to("end")
- .node("end").behaviour(new WaitState())
- .done();
-
- ClientProcessInstance execution = processDefinition.beginProcessInstance();
- execution.signal();
-
- assertEquals("event(node-begin) on end", recorder.events.get(0));
- assertEquals(1, recorder.events.size());
- }
-
- public void testListenToTransitionOnProcessForTransitionBetweenProcessNodes(){
- Recorder recorder = new Recorder();
-
- ClientProcessDefinition processDefinition = ProcessFactory.build("propagate")
- .event(Event.TRANSITION_TAKE)
- .listener(recorder)
- .node("initial").initial().behaviour(new WaitState())
- .transition("go").to("end")
- .node("end").behaviour(new WaitState())
- .done();
-
- ClientProcessInstance execution = processDefinition.beginProcessInstance();
- execution.signal();
-
- assertEquals("event(transition-take) on go", recorder.events.get(0));
- assertEquals(1, recorder.events.size());
- }
-
- // propagation of process elements in composite nodes ///////////////////////
-
- public static class Sequence implements ExternalActivity {
- private static final long serialVersionUID = 1L;
- public void execute(ActivityExecution execution) {
- List<Node> nodes = execution.getNode().getNodes();
- if ( (nodes!=null)
- && (!nodes.isEmpty())
- ) {
- execution.execute(nodes.get(0));
- }
- }
- public void signal(ActivityExecution execution, String signal, Map<String, Object> parameters) {
- Node previous = execution.getPreviousNode();
- List<Node> nodes = execution.getNode().getNodes();
- int index = nodes.indexOf(previous);
- index++;
- if (index < nodes.size()) {
- Node next = nodes.get(index);
- execution.execute(next);
- }
- }
- }
-
-
- public void testListenToNodeLeaveOnProcessForSequenceChildNodes(){
- Recorder recorder = new Recorder();
-
- ClientProcessDefinition processDefinition = ProcessFactory.build("propagate")
- .event(Event.NODE_END)
- .listener(recorder)
- .compositeNode("sequence").initial().behaviour(new Sequence())
- .needsPrevious()
- .node("one").behaviour(new WaitState())
- .node("two").behaviour(new WaitState())
- .node("three").behaviour(new WaitState())
- .compositeEnd()
- .node("end").behaviour(new WaitState())
- .done();
-
- ClientProcessInstance execution = processDefinition.beginProcessInstance();
- assertEquals(0, recorder.events.size());
- execution.signal();
- assertEquals("event(node-end) on one", recorder.events.get(0));
- assertEquals(1, recorder.events.size());
- execution.signal();
- assertEquals("event(node-end) on two", recorder.events.get(1));
- assertEquals(2, recorder.events.size());
- execution.signal();
- assertEquals("event(node-end) on three", recorder.events.get(2));
- assertEquals(3, recorder.events.size());
- }
-
- public void testListenToNodeLeaveOnProcessForTransitionBetweenSequenceChildNodes(){
- Recorder recorder = new Recorder();
-
- ClientProcessDefinition processDefinition = ProcessFactory.build("propagate")
- .event(Event.NODE_END)
- .listener(recorder)
- .compositeNode("sequence").initial().behaviour(new Sequence())
- .node("one").behaviour(new WaitState())
- .transition().to("two")
- .node("two").behaviour(new WaitState())
- .compositeEnd()
- .node("end").behaviour(new WaitState())
- .done();
-
- ClientProcessInstance execution = processDefinition.beginProcessInstance();
-
- assertEquals(0, recorder.events.size());
- execution.signal();
- assertEquals("event(node-end) on one", recorder.events.get(0));
- assertEquals(1, recorder.events.size());
- execution.signal();
- assertEquals("event(node-end) on two", recorder.events.get(1));
- assertEquals(2, recorder.events.size());
- }
-
-
- public void testListenToNodeEnterOnProcessForSequenceChildNodes(){
- Recorder recorder = new Recorder();
-
- ClientProcessDefinition processDefinition = ProcessFactory.build("propagate")
- .event(Event.NODE_BEGIN)
- .listener(recorder)
- .compositeNode("sequence").initial().behaviour(new Sequence())
- .needsPrevious()
- .node("one").behaviour(new WaitState())
- .node("two").behaviour(new WaitState())
- .node("three").behaviour(new WaitState())
- .compositeEnd()
- .node("end").behaviour(new WaitState())
- .done();
-
- ClientProcessInstance execution = processDefinition.beginProcessInstance();
- assertEquals("event(node-begin) on one", recorder.events.get(0));
- assertEquals(1, recorder.events.size());
- execution.signal();
- assertEquals("event(node-begin) on two", recorder.events.get(1));
- assertEquals(2, recorder.events.size());
- execution.signal();
- assertEquals("event(node-begin) on three", recorder.events.get(2));
- assertEquals(3, recorder.events.size());
- }
-
- public void testListenToTransitionTakeOnProcessForTransitionBetweenSequenceChildNodes(){
- Recorder recorder = new Recorder();
-
- ClientProcessDefinition processDefinition = ProcessFactory.build("propagate")
- .event(Event.TRANSITION_TAKE)
- .listener(recorder)
- .compositeNode("sequence").initial().behaviour(new Sequence())
- .node("one").behaviour(new WaitState())
- .transition("increment").to("two")
- .node("two").behaviour(new WaitState())
- .compositeEnd()
- .node("end").behaviour(new WaitState())
- .done();
-
- ClientProcessInstance execution = processDefinition.beginProcessInstance();
-
- assertEquals(0, recorder.events.size());
- execution.signal();
- assertEquals("event(transition-take) on increment", recorder.events.get(0));
- assertEquals(1, recorder.events.size());
- }
-
- public void testDeeplyNestedCustomEvent(){
- Recorder processRecorder = new Recorder();
- Recorder outerRecorder = new Recorder();
- Recorder middelRecorder = new Recorder();
- Recorder innerRecorder = new Recorder();
- Recorder nestedStateRecorder = new Recorder();
-
- ClientProcessDefinition processDefinition = ProcessFactory.build("propagate")
- .event("hello")
- .listener(processRecorder)
- .compositeNode("outer").initial().behaviour(new Sequence())
- .event("hello")
- .listener(outerRecorder)
- .compositeNode("middel").behaviour(new Sequence())
- .event("hello")
- .listener(middelRecorder)
- .compositeNode("inner").behaviour(new Sequence())
- .event("hello")
- .listener(innerRecorder)
- .node("nested state").behaviour(new FireableState())
- .event("hello")
- .listener(nestedStateRecorder)
- .compositeEnd()
- .compositeEnd()
- .compositeEnd()
- .done();
-
- ClientProcessInstance execution = processDefinition.beginProcessInstance();
-
- assertEquals(0, processRecorder.events.size());
- execution.signal("hello");
-
- assertEquals("event(hello) on nested state", processRecorder.events.get(0));
- assertEquals(1, processRecorder.events.size());
-
- assertEquals("event(hello) on nested state", outerRecorder.events.get(0));
- assertEquals(1, outerRecorder.events.size());
-
- assertEquals("event(hello) on nested state", middelRecorder.events.get(0));
- assertEquals(1, middelRecorder.events.size());
-
- assertEquals("event(hello) on nested state", innerRecorder.events.get(0));
- assertEquals(1, innerRecorder.events.size());
-
- assertEquals("event(hello) on nested state", nestedStateRecorder.events.get(0));
- assertEquals(1, nestedStateRecorder.events.size());
- }
-
- public void testPropagatedEventsDisabled(){
- Recorder processRecorder = new Recorder();
- Recorder outerRecorder = new Recorder();
- Recorder middleRecorder = new Recorder();
- Recorder innerRecorder = new Recorder();
- Recorder nestedStateRecorder = new Recorder();
-
- ClientProcessDefinition processDefinition = ProcessFactory.build("propagate")
- .event("hello")
- .listener(processRecorder)
- .compositeNode("outer").initial().behaviour(new Sequence())
- .event("hello")
- .listener(outerRecorder)
- .compositeNode("middle").behaviour(new Sequence())
- .event("hello")
- .listener(middleRecorder)
- .propagationDisabled()
- .compositeNode("inner").behaviour(new Sequence())
- .event("hello")
- .listener(innerRecorder)
- .node("nested state").behaviour(new FireableState())
- .event("hello")
- .listener(nestedStateRecorder)
- .compositeEnd()
- .compositeEnd()
- .compositeEnd()
- .done();
-
- ClientProcessInstance execution = processDefinition.beginProcessInstance();
-
- // the middle action should not be executed for an event that was propagated from the nested state
- execution.signal("hello");
-
- assertEquals("event(hello) on nested state", processRecorder.events.get(0));
- assertEquals(1, processRecorder.events.size());
-
- assertEquals("event(hello) on nested state", outerRecorder.events.get(0));
- assertEquals(1, outerRecorder.events.size());
-
- assertEquals(0, middleRecorder.events.size());
-
- assertEquals("event(hello) on nested state", innerRecorder.events.get(0));
- assertEquals(1, innerRecorder.events.size());
-
- assertEquals("event(hello) on nested state", nestedStateRecorder.events.get(0));
- assertEquals(1, nestedStateRecorder.events.size());
- }
-}
Deleted: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/EventTest.java
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/EventTest.java 2008-07-17 20:14:17 UTC (rev 1674)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/EventTest.java 2008-07-18 14:11:32 UTC (rev 1675)
@@ -1,264 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jbpm.pvm.client;
-
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Map;
-
-import org.jbpm.pvm.test.base.JbpmTestCase;
-import org.jbpm.pvm.activity.Activity;
-import org.jbpm.pvm.activity.ActivityExecution;
-import org.jbpm.pvm.activity.ExternalActivity;
-import org.jbpm.pvm.internal.model.ExecutionImpl;
-import org.jbpm.pvm.internal.model.ProcessDefinitionImpl;
-import org.jbpm.pvm.listener.EventListener;
-import org.jbpm.pvm.listener.EventListenerExecution;
-import org.jbpm.pvm.model.Event;
-import org.jbpm.pvm.model.Node;
-import org.jbpm.pvm.model.ObservableElement;
-import org.jbpm.pvm.model.ProcessFactory;
-
-/** shows how actions are listeners to following processDefinition events:
- * <ul>
- * <li>node-leave</li>
- * <li>transition</li>
- * <li>node-enter</li>
- * <li>custom event</li>
- * </ul>
- *
- * @author Tom Baeyens
- */
-public class EventTest extends JbpmTestCase {
-
- public static class AutomaticActivity implements Activity {
- private static final long serialVersionUID = 1L;
- public void execute(ActivityExecution execution) {
- }
- }
-
- public static class WaitState implements ExternalActivity {
- private static final long serialVersionUID = 1L;
- public void execute(ActivityExecution execution) {
- execution.waitForSignal();
- }
- public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters){
- execution.take(signalName);
- }
- }
-
-
- // node leave action ////////////////////////////////////////////////////////
-
- public static class NodeLeaveAction implements EventListener {
- private static final long serialVersionUID = 1L;
- public void notify(EventListenerExecution execution) {
- execution.setVariable("msg", "Kilroy was here");
-
- assertEquals("initial", execution.getNode().getName());
- assertEquals("initial", execution.getEventSource().getName());
- assertEquals("leave node action test", execution.getProcessDefinition().getName());
- assertEquals("end", execution.getTransition().getDestination().getName());
- }
- }
-
- public void testEventListenerOnNodeEnd() {
- NodeLeaveAction nodeLeaveAction = new NodeLeaveAction();
-
- ClientProcessDefinition processDefinition = ProcessFactory.build("leave node action test")
- .node("initial").initial().behaviour(new WaitState())
- .event(Event.NODE_END)
- .listener(nodeLeaveAction)
- .transition().to("end")
- .node("end").behaviour(new WaitState())
- .done();
-
- ClientProcessInstance execution = processDefinition.beginProcessInstance();
-
- assertEquals("initial", execution.getNode().getName());
- execution.signal();
- assertEquals("Kilroy was here", execution.getVariable("msg"));
- }
-
- // transition action ////////////////////////////////////////////////////////
-
- public static class TransitionAction implements EventListener {
- private static final long serialVersionUID = 1L;
- public void notify(EventListenerExecution execution) throws Exception {
- execution.setVariable("msg", "Kilroy was here");
-
- assertNull(execution.getNode());
- assertEquals("t", execution.getEventSource().getName());
- assertEquals("transition action test", execution.getProcessDefinition().getName());
- assertEquals("end", execution.getTransition().getDestination().getName());
- }
- }
-
- public void testEventListenerOnTransition() {
- TransitionAction transitionAction = new TransitionAction();
-
- ClientProcessDefinition processDefinition = ProcessFactory.build("transition action test")
- .node("initial").initial().behaviour(new WaitState())
- .transition("t").to("end")
- .listener(transitionAction)
- .node("end").behaviour(new WaitState())
- .done();
-
- ClientProcessInstance execution = processDefinition.beginProcessInstance();
-
- assertEquals("initial", execution.getNode().getName());
- execution.signal("t");
- assertEquals("Kilroy was here", execution.getVariable("msg"));
- }
-
- // node enter action ////////////////////////////////////////////////////////
-
- public static class NodeBeginAction implements EventListener {
- private static final long serialVersionUID = 1L;
- public void notify(EventListenerExecution execution) throws Exception {
- execution.setVariable("msg", "Kilroy was here");
-
- assertEquals("end", execution.getNode().getName());
- assertEquals("end", execution.getEventSource().getName());
- assertEquals("enter node action test", execution.getProcessDefinition().getName());
- assertEquals("end", execution.getTransition().getDestination().getName());
- }
- }
-
- public void testEventListenerOnNodeBegin() {
- NodeBeginAction nodeBeginAction = new NodeBeginAction();
-
- ClientProcessDefinition processDefinition = ProcessFactory.build("enter node action test")
- .node("initial").initial().behaviour(new WaitState())
- .transition().to("end")
- .node("end").behaviour(new WaitState())
- .event(Event.NODE_BEGIN)
- .listener(nodeBeginAction)
- .done();
-
- ClientProcessInstance execution = processDefinition.beginProcessInstance();
-
- assertEquals("initial", execution.getNode().getName());
- execution.signal();
- assertEquals("Kilroy was here", execution.getVariable("msg"));
- }
-
- // custom event ////////////////////////////////////////////////////////////
-
- public static class WaitStateWithCustomEvent implements ExternalActivity {
- private static final long serialVersionUID = 1L;
- public void execute(ActivityExecution execution) throws Exception {
- execution.waitForSignal();
- }
- public void signal(ActivityExecution execution, String signal, Map<String, Object> parameters) throws Exception {
- Node node = execution.getNode();
- if ( (signal!=null)
- && (node!=null)
- && (node.hasEvent(signal))
- ) {
- execution.fire(signal, node);
- execution.waitForSignal();
- }
- }
- }
-
- public static class CheckRivetsAction implements EventListener {
- private static final long serialVersionUID = 1L;
- public void notify(EventListenerExecution execution) throws Exception {
- execution.setVariable("msg", "Kilroy was here");
-
- assertEquals("initial", execution.getNode().getName());
- assertEquals("initial", execution.getEventSource().getName());
- assertEquals("custom node action test", execution.getProcessDefinition().getName());
- assertNull(execution.getTransition());
- }
- }
-
- public void testCustomEventInNode() {
- CheckRivetsAction checkRivetsAction = new CheckRivetsAction();
-
- ClientProcessDefinition processDefinition = ProcessFactory.build("custom node action test")
- .node("initial").initial().behaviour(new WaitStateWithCustomEvent())
- .event("end of riveter shift") // http://en.wikipedia.org/wiki/Kilroy_was_here
- .listener(checkRivetsAction)
- .transition().to("end")
- .node("end").behaviour(new WaitState())
- .done();
-
- ClientProcessInstance execution = processDefinition.beginProcessInstance();
-
- assertEquals("initial", execution.getNode().getName());
- assertNull(execution.getVariable("msg"));
-
- execution.signal("end of riveter shift");
-
- assertEquals("initial", execution.getNode().getName());
- assertEquals("Kilroy was here", execution.getVariable("msg"));
-
- execution.signal();
-
- assertEquals("end", execution.getNode().getName());
- }
-
- public static class EndState implements Activity {
- private static final long serialVersionUID = 1L;
- public void execute(ActivityExecution execution) throws Exception {
- execution.end();
- }
- }
-
- public static class RecordingProcessDefinition extends ProcessDefinitionImpl {
- private static final long serialVersionUID = 1L;
- protected ExecutionImpl newProcessInstance() {
- return new RecordingExecution();
- }
- }
-
- public static class RecordingExecution extends ExecutionImpl {
- private static final long serialVersionUID = 1L;
- List<String> events = new ArrayList<String>();
- public void fire(String eventName, ObservableElement eventSource) {
- events.add(eventName+" on "+eventSource);
- }
- }
-
- public void testBasicEventSequence() {
- ClientProcessDefinition processDefinition = ProcessFactory.build("basic", new RecordingProcessDefinition())
- .node("initial").initial().behaviour(new AutomaticActivity())
- .transition().to("end")
- .node("end").behaviour(new EndState())
- .done();
-
- RecordingExecution execution = (RecordingExecution) processDefinition.beginProcessInstance();
-
- int index = 0;
- assertEquals("process-begin on processDefinition(basic)", execution.events.get(index));
- index++;
- assertEquals("node-end on node(initial)", execution.events.get(index));
- index++;
- assertEquals("transition-take on (initial)-->(end)", execution.events.get(index));
- index++;
- assertEquals("node-begin on node(end)", execution.events.get(index));
- index++;
- assertEquals("process-end on processDefinition(basic)", execution.events.get(index));
- }
-}
Deleted: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/ExceptionHandlerTest.java
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/ExceptionHandlerTest.java 2008-07-17 20:14:17 UTC (rev 1674)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/ExceptionHandlerTest.java 2008-07-18 14:11:32 UTC (rev 1675)
@@ -1,323 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jbpm.pvm.client;
-
-import java.util.Map;
-
-import org.jbpm.pvm.test.base.JbpmTestCase;
-import org.jbpm.pvm.activity.ActivityExecution;
-import org.jbpm.pvm.activity.ExternalActivity;
-import org.jbpm.pvm.listener.EventListener;
-import org.jbpm.pvm.listener.EventListenerExecution;
-import org.jbpm.pvm.model.Event;
-import org.jbpm.pvm.model.ProcessFactory;
-
-/**
- * @author Tom Baeyens
- */
-public class ExceptionHandlerTest extends JbpmTestCase
-{
-
- public static class WaitState implements ExternalActivity {
- private static final long serialVersionUID = 1L;
- public void execute(ActivityExecution execution) {
- execution.waitForSignal();
- }
- public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters){
- }
- }
-
- public static class Catcher implements EventListener {
- private static final long serialVersionUID = 1L;
- int timesInvoked = 0;
- public void notify(EventListenerExecution execution) {
- timesInvoked++;
- }
- }
-
- public static class Batter implements EventListener {
- private static final long serialVersionUID = 1L;
- public void notify(EventListenerExecution execution) {
- throw new RuntimeException("catch me");
- }
- }
-
- public void testExceptionHandlerOnProcessDefinition() {
- Catcher catcher = new Catcher();
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .exceptionHandler(RuntimeException.class)
- .listener(catcher)
- .exceptionHandlerEnd()
- .node("initial").initial().behaviour(new WaitState())
- .event(Event.NODE_END)
- .listener(new Batter())
- .transition().to("end")
- .node("end").behaviour(new WaitState())
- .done();
-
- ClientProcessInstance execution = processDefinition.beginProcessInstance();
-
- assertEquals("initial", execution.getNode().getName());
- assertEquals(0, catcher.timesInvoked);
- execution.signal();
- assertEquals(1, catcher.timesInvoked);
- assertEquals("end", execution.getNode().getName());
- }
-
- public void testExceptionHandlerOnEvent() {
- Catcher catcher = new Catcher();
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .node("initial").initial().behaviour(new WaitState())
- .event(Event.NODE_END)
- .exceptionHandler(RuntimeException.class)
- .listener(catcher)
- .exceptionHandlerEnd()
- .listener(new Batter())
- .transition().to("end")
- .node("end").behaviour(new WaitState())
- .done();
-
- ClientProcessInstance execution = processDefinition.beginProcessInstance();
-
- assertEquals("initial", execution.getNode().getName());
- assertEquals(0, catcher.timesInvoked);
- execution.signal();
- assertEquals(1, catcher.timesInvoked);
- assertEquals("end", execution.getNode().getName());
- }
-
- public void testExceptionHandlerOnAction() {
- Catcher catcher = new Catcher();
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .node("initial").initial().behaviour(new WaitState())
- .event(Event.NODE_END)
- .listener(new Batter())
- .exceptionHandler(RuntimeException.class)
- .listener(catcher)
- .exceptionHandlerEnd()
- .transition().to("end")
- .node("end").behaviour(new WaitState())
- .done();
-
- ClientProcessInstance execution = processDefinition.beginProcessInstance();
-
- assertEquals("initial", execution.getNode().getName());
- assertEquals(0, catcher.timesInvoked);
- execution.signal();
- assertEquals(1, catcher.timesInvoked);
- assertEquals("end", execution.getNode().getName());
- }
-
- public void testExceptionHandlerOnOtherNode() {
- Catcher catcher = new Catcher();
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .node("initial").initial().behaviour(new WaitState())
- .event(Event.NODE_END)
- .listener(new Batter())
- .transition().to("end")
- .node("end").behaviour(new WaitState())
- .exceptionHandler(RuntimeException.class)
- .listener(catcher)
- .exceptionHandlerEnd()
- .done();
-
- ClientProcessInstance execution = processDefinition.beginProcessInstance();
-
- assertEquals("initial", execution.getNode().getName());
- assertEquals(0, catcher.timesInvoked);
- try {
- execution.signal();
- fail("expected exception");
- } catch (RuntimeException e) {
- // OK
- }
- }
-
- public void testExceptionHandlerOnOtherEvent() {
- Catcher catcher = new Catcher();
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .node("initial").initial().behaviour(new WaitState())
- .event("other")
- .exceptionHandler(RuntimeException.class)
- .listener(catcher)
- .exceptionHandlerEnd()
- .event(Event.NODE_END)
- .listener(new Batter())
- .transition().to("end")
- .node("end").behaviour(new WaitState())
- .done();
-
- ClientProcessInstance execution = processDefinition.beginProcessInstance();
-
- assertEquals("initial", execution.getNode().getName());
- try {
- execution.signal();
- fail("expected exception");
- } catch (RuntimeException e) {
- // OK
- }
- }
-
- public static class BehavedAction implements EventListener {
- private static final long serialVersionUID = 1L;
- public void notify(EventListenerExecution execution) {
- // behaving. not throwing any exception
- }
- }
-
- public void testExceptionHandlerOnOtherAction() {
- Catcher catcher = new Catcher();
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .node("initial").initial().behaviour(new WaitState())
- .event(Event.NODE_END)
- .listener(new BehavedAction())
- .exceptionHandler(RuntimeException.class)
- .listener(catcher)
- .exceptionHandlerEnd()
- .listener(new Batter())
- .transition().to("end")
- .node("end").behaviour(new WaitState())
- .done();
-
- ClientProcessInstance execution = processDefinition.beginProcessInstance();
-
- assertEquals("initial", execution.getNode().getName());
- try {
- execution.signal();
- fail("expected exception");
- } catch (RuntimeException e) {
- // OK
- }
- }
-
- public void testUnmatchedExceptionHandlerOnAction() {
- Catcher catcher = new Catcher();
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .node("initial").initial().behaviour(new WaitState())
- .event(Event.NODE_END)
- .listener(new Batter())
- .exceptionHandler(NullPointerException.class)
- .listener(catcher)
- .exceptionHandlerEnd()
- .transition().to("end")
- .node("end").behaviour(new WaitState())
- .done();
-
- ClientProcessInstance execution = processDefinition.beginProcessInstance();
-
- assertEquals("initial", execution.getNode().getName());
- try {
- execution.signal();
- fail("expected exception");
- } catch (RuntimeException e) {
- // OK
- }
- }
-
- public static class RethrowingCatcher implements EventListener {
- private static final long serialVersionUID = 1L;
- public void notify(EventListenerExecution execution) {
- // this exception handler will itself throw an exception
- throw new RuntimeException("greetz from the retrhowing catcher");
- }
- }
-
-
- public void testRethrowingExceptionHandler() {
- RethrowingCatcher rethrowingCatcher = new RethrowingCatcher();
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .node("initial").initial().behaviour(new WaitState())
- .event(Event.NODE_END)
- .listener(new Batter())
- .exceptionHandler(RuntimeException.class)
- .listener(rethrowingCatcher)
- .exceptionHandlerEnd()
- .transition().to("end")
- .node("end").behaviour(new WaitState())
- .done();
-
- ClientProcessInstance execution = processDefinition.beginProcessInstance();
-
- try {
- execution.signal();
- fail("expected exception");
- } catch (RuntimeException e) {
- assertTextPresent("greetz from the retrhowing catcher", e.getMessage());
- }
- }
-
- public void testRethrowingExceptionHandlerCaughtByTheOuterExceptionHandler() {
-
- // just like in java, when an exception handler rethrows, the search
- // for a matching exception handler will continue in the outer scope
- // (=the surrounding process element)
-
- RethrowingCatcher rethrowingCatcher = new RethrowingCatcher();
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .node("initial").initial().behaviour(new WaitState())
- .event(Event.NODE_END)
- .exceptionHandler(RuntimeException.class)
- .listener(new Catcher())
- .exceptionHandlerEnd()
- .listener(new Batter())
- .exceptionHandler(RuntimeException.class)
- .listener(rethrowingCatcher)
- .exceptionHandlerEnd()
- .transition().to("end")
- .node("end").behaviour(new WaitState())
- .done();
-
- ClientProcessInstance execution = processDefinition.beginProcessInstance();
-
- assertEquals("initial", execution.getNode().getName());
- execution.signal();
- }
-
- public void testRethrowingExceptionHandlerIgnoredByTheSubsequentExceptionHandlerInTheSameScope() {
-
- // just like in java, subsequent exception handlers will be skipped when the
- // an exception handler rethrows
-
- RethrowingCatcher rethrowingCatcher = new RethrowingCatcher();
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .node("initial").initial().behaviour(new WaitState())
- .event(Event.NODE_END)
- .listener(new Batter())
- .exceptionHandler(RuntimeException.class)
- .listener(rethrowingCatcher)
- .exceptionHandlerEnd()
- .exceptionHandler(RuntimeException.class)
- .listener(new Catcher())
- .exceptionHandlerEnd()
- .transition().to("end")
- .node("end").behaviour(new WaitState())
- .done();
-
- ClientProcessInstance execution = processDefinition.beginProcessInstance();
- try {
- execution.signal();
- fail("expected exception");
- } catch (RuntimeException e) {
- assertTextPresent("greetz from the retrhowing catcher", e.getMessage());
- }
- }
-}
Deleted: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/ExecutionStateTest.java
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/ExecutionStateTest.java 2008-07-17 20:14:17 UTC (rev 1674)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/ExecutionStateTest.java 2008-07-18 14:11:32 UTC (rev 1675)
@@ -1,219 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jbpm.pvm.client;
-
-import java.util.Map;
-
-import org.jbpm.pvm.test.base.JbpmTestCase;
-import org.jbpm.pvm.Execution;
-import org.jbpm.pvm.PvmException;
-import org.jbpm.pvm.activity.Activity;
-import org.jbpm.pvm.activity.ActivityExecution;
-import org.jbpm.pvm.activity.ExternalActivity;
-import org.jbpm.pvm.model.ProcessFactory;
-
-/** shows the basics of the state property on the execution.
- *
- * The state is automatically managed by the execution.
- * An execution can only receive external triggers in case it is in
- * the active state.
- *
- * Nested executions can occur in case of scoped executions
- * and in case of concurrent executions. In both cases, only
- * leave executions in the execution hierarchy are active.
- *
- * Executions are either locked or active. So in any state which
- * is not active, the execution is locked and cannot accept external
- * signals. Executions can be ended in 3 ways:
- *
- * 1) with execution.end() : then the state will be set to 'ended'
- * 2) with execution.cancel() : then the state will be set to 'cancelled'
- * 3) with execution.end(String) : then the state will be set to the
- * given state string. An exception will be raised if the given
- * state maches any of the known states.
- *
- * @author Tom Baeyens
- */
-public class ExecutionStateTest extends JbpmTestCase {
-
- public static class AutomaticActivity implements Activity {
- private static final long serialVersionUID = 1L;
- public void execute(ActivityExecution execution) {
- assertEquals(Execution.STATE_ACTIVE, execution.getState());
- }
- }
-
- public static class WaitState implements ExternalActivity {
- private static final long serialVersionUID = 1L;
- public void execute(ActivityExecution execution) {
- assertEquals(Execution.STATE_ACTIVE, execution.getState());
- execution.waitForSignal();
- }
- public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters) {
- assertEquals(Execution.STATE_ACTIVE, execution.getState());
- execution.take(signalName);
- }
- }
-
- public void testBasicState() {
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .node("a").initial().behaviour(new AutomaticActivity())
- .transition().to("b")
- .node("b").behaviour(new WaitState())
- .transition().to("c")
- .node("c").behaviour(new AutomaticActivity())
- .done();
-
- ClientProcessInstance processInstance = processDefinition.createProcessInstance();
-
- assertEquals(Execution.STATE_CREATED, processInstance.getState());
-
- processInstance.begin();
-
- assertEquals(Execution.STATE_ACTIVE, processInstance.getState());
-
- processInstance.signal();
-
- assertEquals(Execution.STATE_ENDED, processInstance.getState());
- }
-
- public void testSignalOnInactiveExecution() {
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .node("a").initial().behaviour(new AutomaticActivity())
- .transition().to("b")
- .node("b").behaviour(new WaitState())
- .scope()
- .transition().to("c")
- .node("c").behaviour(new AutomaticActivity())
- .done();
-
- ClientProcessInstance processInstance = processDefinition.createProcessInstance();
- processInstance.begin();
-
- assertEquals(Execution.STATE_INACTIVE, processInstance.getState());
-
- try {
- processInstance.signal();
- fail("expected exception");
- } catch (PvmException e) {
- // OK
- assertTextPresent("process-instance is not active: inactive", e.getMessage());
- }
- }
-
- public void testCancel() {
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .node("a").initial().behaviour(new AutomaticActivity())
- .transition().to("b")
- .node("b").behaviour(new WaitState())
- .transition().to("c")
- .node("c").behaviour(new AutomaticActivity())
- .done();
-
- ClientProcessInstance processInstance = processDefinition.createProcessInstance();
- processInstance.begin();
- processInstance.cancel();
-
- assertEquals(Execution.STATE_CANCELLED, processInstance.getState());
-
- try {
- processInstance.signal();
- fail("expected exception");
- } catch (PvmException e) {
- // OK
- assertTextPresent("process-instance is not active: cancelled", e.getMessage());
- }
- }
-
- public void testCustomState() {
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .node("a").initial().behaviour(new AutomaticActivity())
- .transition().to("b")
- .node("b").behaviour(new WaitState())
- .transition().to("c")
- .node("c").behaviour(new AutomaticActivity())
- .done();
-
- ClientProcessInstance processInstance = processDefinition.createProcessInstance();
- processInstance.begin();
- processInstance.end("error");
-
- assertEquals("error", processInstance.getState());
-
- try {
- processInstance.signal();
- fail("expected exception");
- } catch (PvmException e) {
- // OK
- assertTextPresent("process-instance is not active: error", e.getMessage());
- }
- }
-
- public void testInvalidCustomStates() {
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .node("a").initial().behaviour(new AutomaticActivity())
- .transition().to("b")
- .node("b").behaviour(new WaitState())
- .transition().to("c")
- .node("c").behaviour(new AutomaticActivity())
- .done();
-
- ClientProcessInstance processInstance = processDefinition.createProcessInstance();
- processInstance.begin();
-
- try {
- processInstance.end("active");
- fail("expected exception");
- } catch (PvmException e) {
- // OK
- assertTextPresent("invalid end state: active", e.getMessage());
- }
- try {
- processInstance.end("suspended");
- fail("expected exception");
- } catch (PvmException e) {
- // OK
- assertTextPresent("invalid end state: suspended", e.getMessage());
- }
- try {
- processInstance.end("created");
- fail("expected exception");
- } catch (PvmException e) {
- // OK
- assertTextPresent("invalid end state: created", e.getMessage());
- }
- try {
- processInstance.end("async");
- fail("expected exception");
- } catch (PvmException e) {
- // OK
- assertTextPresent("invalid end state: async", e.getMessage());
- }
- try {
- processInstance.end("inactive");
- fail("expected exception");
- } catch (PvmException e) {
- // OK
- assertTextPresent("invalid end state: inactive", e.getMessage());
- }
- }
-}
Deleted: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/ExternalDecisionTest.java
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/ExternalDecisionTest.java 2008-07-17 20:14:17 UTC (rev 1674)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/ExternalDecisionTest.java 2008-07-18 14:11:32 UTC (rev 1675)
@@ -1,98 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jbpm.pvm.client;
-
-import junit.framework.TestCase;
-import org.jbpm.pvm.samples.activities.AutomaticActivity;
-import org.jbpm.pvm.samples.activities.WaitState;
-import org.jbpm.pvm.activity.ActivityExecution;
-import org.jbpm.pvm.activity.ExternalActivity;
-import org.jbpm.pvm.samples.ex04.Decision;
-import org.jbpm.pvm.model.ProcessFactory;
-
-import java.util.Map;
-
-
-/**
- * @author Tom Baeyens
- */
-public class ExternalDecisionTest extends TestCase {
-
- public static class ExternalDecision implements ExternalActivity {
- private static final long serialVersionUID = 1L;
- public void execute(ActivityExecution execution) throws Exception {
- execution.waitForSignal();
- }
- public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters) throws Exception {
- execution.take(signalName);
- }
- }
-
- public static class WaitState implements ExternalActivity {
- private static final long serialVersionUID = 1L;
- public void execute(ActivityExecution execution) {
- execution.waitForSignal();
- }
- public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters) {
- execution.take(signalName);
- }
- }
-
- public static ClientProcessDefinition createCreditProcess() {
- return ProcessFactory.build()
- .node("creditRate?").initial().behaviour(new ExternalDecision())
- .transition("good").to("priority delivery")
- .transition("average").to("bulk delivery")
- .transition("bad").to("payment upfront")
- .node("priority delivery").behaviour(new WaitState())
- .node("bulk delivery").behaviour(new WaitState())
- .node("payment upfront").behaviour(new WaitState())
- .done();
- }
-
- public void testGoodRating() {
- ClientProcessDefinition processDefinition = createCreditProcess();
- ClientProcessInstance execution = processDefinition.beginProcessInstance();
-
- execution.signal("good");
-
- assertEquals("priority delivery", execution.getNode().getName());
- }
-
- public void testAverageRating() {
- ClientProcessDefinition processDefinition = createCreditProcess();
- ClientProcessInstance execution = processDefinition.beginProcessInstance();
-
- execution.signal("average");
-
- assertEquals("bulk delivery", execution.getNode().getName());
- }
-
- public void testBadRating() {
- ClientProcessDefinition processDefinition = createCreditProcess();
- ClientProcessInstance execution = processDefinition.beginProcessInstance();
-
- execution.signal("bad");
-
- assertEquals("payment upfront", execution.getNode().getName());
- }
-}
Deleted: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/FunctionalActivityTest.java
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/FunctionalActivityTest.java 2008-07-17 20:14:17 UTC (rev 1674)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/FunctionalActivityTest.java 2008-07-18 14:11:32 UTC (rev 1675)
@@ -1,156 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jbpm.pvm.client;
-
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Map;
-
-import org.jbpm.pvm.test.base.JbpmTestCase;
-import org.jbpm.pvm.activity.Activity;
-import org.jbpm.pvm.activity.ActivityExecution;
-import org.jbpm.pvm.activity.ExternalActivity;
-import org.jbpm.pvm.listener.EventListener;
-import org.jbpm.pvm.listener.EventListenerExecution;
-import org.jbpm.pvm.model.Node;
-import org.jbpm.pvm.model.OpenExecution;
-import org.jbpm.pvm.model.ProcessFactory;
-
-
-/** shows how functional nodes (nodes that have a specific function
- * not related to control flow) can be implemented.
- *
- * Examples of functional nodes could be sending an email, doing a
- * SQL update on a database, generating a file and so on.
- *
- * Functional nodes can be used as node behaviour in a transition based
- * process, event listener and as node behaviour in nested node
- * execution.
- *
- * @author Tom Baeyens
- */
-public class FunctionalActivityTest extends JbpmTestCase
-{
-
- public static class FunctionalActivity implements Activity, EventListener {
- private static final long serialVersionUID = 1L;
- List<String> events;
- public FunctionalActivity(List<String> events) {
- this.events = events;
- }
- public void execute(ActivityExecution execution) {
- perform(execution);
- }
- public void notify(EventListenerExecution execution) {
- perform(execution);
- }
- void perform(OpenExecution execution) {
- events.add("performed automatic activity");
- }
- }
-
- public void testFunctionalActivityAsNodeBehaviourWithTransitions() {
- List<String> recordedEvents = new ArrayList<String>();
- FunctionalActivity functionalActivity = new FunctionalActivity(recordedEvents);
-
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .node("a").initial().behaviour(functionalActivity)
- .transition().to("b")
- .node("b").behaviour(functionalActivity)
- .transition().to("c")
- .node("c").behaviour(functionalActivity)
- .done();
-
- ClientProcessInstance processInstance = processDefinition.createProcessInstance();
-
- List<String> expectedEvents = new ArrayList<String>();
-
- assertEquals("a", processInstance.getNodeName());
- assertFalse(processInstance.isEnded());
- assertEquals(expectedEvents, recordedEvents);
-
- processInstance.begin();
-
- expectedEvents.add("performed automatic activity");
- expectedEvents.add("performed automatic activity");
- expectedEvents.add("performed automatic activity");
-
- assertEquals(expectedEvents, recordedEvents);
- }
-
-
- public static class AutomaticActivity implements Activity {
- private static final long serialVersionUID = 1L;
- public void execute(ActivityExecution execution) {
- }
- }
-
- public void testFunctionalActivityAsEventListener() {
- List<String> recordedEvents = new ArrayList<String>();
- FunctionalActivity functionalActivity = new FunctionalActivity(recordedEvents);
-
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .node("a").initial().behaviour(new AutomaticActivity())
- .transition().to("b")
- .listener(functionalActivity)
- .node("b").behaviour(new AutomaticActivity())
- .done();
-
- ClientProcessInstance processInstance = processDefinition.createProcessInstance();
- processInstance.begin();
-
- List<String> expectedEvents = new ArrayList<String>();
- expectedEvents.add("performed automatic activity");
-
- assertEquals(expectedEvents, recordedEvents);
- }
-
- public static class Composite implements ExternalActivity {
- private static final long serialVersionUID = 1L;
- public void execute(ActivityExecution execution) {
- Node nestedNode = execution.getNode().getNodes().get(0);
- execution.execute(nestedNode);
- }
- public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters) {
- }
- }
-
- public void testFunctionalActivityAsNestedNode() {
- List<String> recordedEvents = new ArrayList<String>();
- FunctionalActivity functionalActivity = new FunctionalActivity(recordedEvents);
-
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .compositeNode("a").initial().behaviour(new Composite())
- .node().behaviour(functionalActivity)
- .compositeEnd()
- .done();
-
- ClientProcessInstance processInstance = processDefinition.createProcessInstance();
- processInstance.begin();
-
- List<String> expectedEvents = new ArrayList<String>();
- expectedEvents.add("performed automatic activity");
-
- assertEquals(expectedEvents, recordedEvents);
- }
-
-}
Deleted: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/LoopingTest.java
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/LoopingTest.java 2008-07-17 20:14:17 UTC (rev 1674)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/LoopingTest.java 2008-07-18 14:11:32 UTC (rev 1675)
@@ -1,103 +0,0 @@
-package org.jbpm.pvm.client;
-
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Map;
-
-import org.jbpm.pvm.test.base.JbpmTestCase;
-import org.jbpm.pvm.activity.Activity;
-import org.jbpm.pvm.activity.ActivityExecution;
-import org.jbpm.pvm.activity.ExternalActivity;
-import org.jbpm.pvm.model.ProcessFactory;
-
-public class LoopingTest extends JbpmTestCase
-{
-
- public static class For implements ExternalActivity {
- private static final long serialVersionUID = 1L;
-
- int startIndex = 0;
- int loops;
- int increment = 1;
- String indexKey = "index";
-
- public For(int loops) {
- this.loops = loops;
- }
-
- public void execute(ActivityExecution execution) throws Exception {
- Integer index = (Integer) execution.getVariable(indexKey);
-
- if (index==null) {
- execution.setVariable(indexKey, startIndex);
- execution.take("loop");
-
- } else {
- index++;
- if (index<(startIndex+loops)){
- execution.setVariable(indexKey, index);
- execution.take("loop");
-
- } else {
- execution.removeVariable(indexKey);
- execution.take("done");
- }
- }
- }
- public void signal(ActivityExecution execution, String signal, Map<String, Object> parameters) throws Exception {
- throw new UnsupportedOperationException();
- }
-
- public void setStartIndex(int startIndex) {
- this.startIndex = startIndex;
- }
- public void setLoops(int loops) {
- this.loops = loops;
- }
- public void setIncrement(int increment) {
- this.increment = increment;
- }
- public void setIndexVariable(String indexVariable) {
- this.indexKey = indexVariable;
- }
- }
-
- static List<Object> recordedIndexes = new ArrayList<Object>();
-
- public static class Recorder implements Activity {
- private static final long serialVersionUID = 1L;
- public void execute(ActivityExecution execution) throws Exception {
- recordedIndexes.add(execution.getVariable("index"));
- }
- }
-
- public static class WaitState implements ExternalActivity {
- private static final long serialVersionUID = 1L;
- public void execute(ActivityExecution execution) {
- execution.waitForSignal();
- }
- public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters){
- }
- }
-
- public void testWhile() {
- int loops = 20;
-
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .node("for").initial().behaviour(new For(loops))
- .transition("loop").to("recorder")
- .transition("done").to("end")
- .node("recorder").behaviour(new Recorder())
- .transition().to("for")
- .node("end").behaviour(new WaitState())
- .done();
-
- ClientProcessInstance execution = processDefinition.beginProcessInstance();
-
- List<Object> expectedIndexes = new ArrayList<Object>();
- for (int i=0; i<loops; i++) expectedIndexes.add(i);
-
- assertEquals(expectedIndexes, recordedIndexes);
- assertEquals("end", execution.getNode().getName());
- }
-}
Deleted: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/PvmClientTests.java
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/PvmClientTests.java 2008-07-17 20:14:17 UTC (rev 1674)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/PvmClientTests.java 2008-07-18 14:11:32 UTC (rev 1675)
@@ -1,57 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jbpm.pvm.client;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-
-/**
- * @author Tom Baeyens
- */
-public class PvmClientTests {
-
- public static Test suite() {
- TestSuite suite = new TestSuite("Test for org.jbpm.pvm.client");
- //$JUnit-BEGIN$
- suite.addTestSuite(BasicExecutionFlowTest.class);
- suite.addTestSuite(TransitionAsWaitStateTest.class);
- suite.addTestSuite(TransitionBasedConcurrencyTest.class);
- suite.addTestSuite(ScopeStateTest.class);
- suite.addTestSuite(SubProcessTest.class);
- suite.addTestSuite(ExecutionStateTest.class);
- suite.addTestSuite(ExceptionHandlerTest.class);
- suite.addTestSuite(FunctionalActivityTest.class);
- suite.addTestSuite(ScopeVariableDeclarationTest.class);
- suite.addTestSuite(LoopingTest.class);
- suite.addTestSuite(TransitionEventsTest.class);
- suite.addTestSuite(ExternalDecisionTest.class);
- suite.addTestSuite(VariableTest.class);
- suite.addTestSuite(ScopeVariableTest.class);
- suite.addTestSuite(EventTest.class);
- suite.addTestSuite(AutomaticDecisionTest.class);
- suite.addTestSuite(EventPropagationTest.class);
- //$JUnit-END$
- return suite;
- }
-
-}
Deleted: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/ScopeStateTest.java
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/ScopeStateTest.java 2008-07-17 20:14:17 UTC (rev 1674)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/ScopeStateTest.java 2008-07-18 14:11:32 UTC (rev 1675)
@@ -1,83 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jbpm.pvm.client;
-
-import java.util.Map;
-
-import org.jbpm.pvm.test.base.JbpmTestCase;
-import org.jbpm.pvm.Execution;
-import org.jbpm.pvm.activity.Activity;
-import org.jbpm.pvm.activity.ActivityExecution;
-import org.jbpm.pvm.activity.ExternalActivity;
-import org.jbpm.pvm.model.ProcessFactory;
-
-/**
- * @author Tom Baeyens
- */
-public class ScopeStateTest extends JbpmTestCase
-{
-
- public static class AutomaticActivity implements Activity {
- private static final long serialVersionUID = 1L;
- public void execute(ActivityExecution execution) {
- assertEquals(Execution.STATE_ACTIVE, execution.getState());
- }
- }
-
- public static class WaitState implements ExternalActivity {
- private static final long serialVersionUID = 1L;
- public void execute(ActivityExecution execution) {
- assertEquals(Execution.STATE_ACTIVE, execution.getState());
- execution.waitForSignal();
- }
- public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters) throws Exception {
- assertEquals(Execution.STATE_ACTIVE, execution.getState());
- execution.take(signalName);
- }
- }
-
- public void testInactivationWhenCreatingNestedExecution() {
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .node("a").initial().behaviour(new AutomaticActivity())
- .transition().to("b")
- .node("b").behaviour(new WaitState())
- .scope()
- .transition().to("c")
- .node("c").behaviour(new WaitState())
- .done();
-
- ClientProcessInstance processInstance = processDefinition.createProcessInstance();
-
- assertEquals(Execution.STATE_CREATED, processInstance.getState());
-
- processInstance.begin();
- Execution scopeExecution = processInstance.getExecutions().iterator().next();
-
- assertEquals(Execution.STATE_INACTIVE, processInstance.getState());
- assertEquals(Execution.STATE_ACTIVE, scopeExecution.getState());
-
- processInstance.signal(scopeExecution);
-
- assertEquals(Execution.STATE_ENDED, scopeExecution.getState());
- assertEquals(Execution.STATE_ACTIVE, processInstance.getState());
- }
-}
Deleted: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/ScopeVariableDeclarationTest.java
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/ScopeVariableDeclarationTest.java 2008-07-17 20:14:17 UTC (rev 1674)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/ScopeVariableDeclarationTest.java 2008-07-18 14:11:32 UTC (rev 1675)
@@ -1,221 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jbpm.pvm.client;
-
-import java.util.HashMap;
-import java.util.Map;
-
-import org.jbpm.pvm.test.base.JbpmTestCase;
-import org.jbpm.pvm.activity.ActivityExecution;
-import org.jbpm.pvm.activity.ExternalActivity;
-import org.jbpm.pvm.model.Node;
-import org.jbpm.pvm.model.OpenExecution;
-import org.jbpm.pvm.model.ProcessFactory;
-
-
-/**
- * @author Tom Baeyens
- */
-public class ScopeVariableDeclarationTest extends JbpmTestCase
-{
-
- public static class WaitState implements ExternalActivity {
- private static final long serialVersionUID = 1L;
- public void execute(ActivityExecution execution) {
- execution.waitForSignal();
- }
- public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters) {
- execution.take(signalName);
- }
- }
-
- public static class Composite implements ExternalActivity {
- private static final long serialVersionUID = 1L;
- public void execute(ActivityExecution execution) {
- Node child = execution.getNode().getNodes().get(0);
- execution.execute(child);
- }
- public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters) {
- }
- }
-
- public void testProcessInstanceVariableDeclaration() {
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .variable("flight")
- .node("a").initial().behaviour(new WaitState())
- .done();
-
- ClientProcessInstance processInstance = processDefinition.beginProcessInstance();
-
- assertTrue(processInstance.hasVariable("flight"));
- assertNull(processInstance.getVariable("flight"));
- }
-
- public void testProcessInstanceVariableDeclarationWithInitialValue() {
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .variable("flight", "B52")
- .node("a").initial().behaviour(new WaitState())
- .done();
-
- ClientProcessInstance processInstance = processDefinition.beginProcessInstance();
-
- assertTrue(processInstance.hasVariable("flight"));
- assertEquals("B52", processInstance.getVariable("flight"));
- }
-
- public void testNestedScopeDeclarations() {
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .variable("flight", "B52")
- .compositeNode("outer").behaviour(new Composite())
- .variable("duration", "22 minutes")
- .compositeNode("middle").behaviour(new Composite())
- .variable("altitude", "31000 ft")
- .compositeNode("inner").behaviour(new Composite())
- .variable("passengers", "52")
- .compositeNode("start").initial().behaviour(new WaitState())
- .variable("fuel", "kerosine")
- .compositeEnd()
- .compositeEnd()
- .compositeEnd()
- .compositeEnd()
- .done();
-
- Map<String, Object> expectedVariables = new HashMap<String, Object>();
-
- ClientProcessInstance processInstance = processDefinition.beginProcessInstance();
-
- expectedVariables.put("flight", "B52");
- assertEquals(expectedVariables, processInstance.getVariables());
-
- OpenExecution outerExecution = processInstance.getExecution("outer");
- expectedVariables.put("duration", "22 minutes");
- assertEquals(expectedVariables, outerExecution.getVariables());
-
- OpenExecution middleExecution = outerExecution.getExecution("middle");
- expectedVariables.put("altitude", "31000 ft");
- assertEquals(expectedVariables, middleExecution.getVariables());
-
- OpenExecution innerExecution = middleExecution.getExecution("inner");
- expectedVariables.put("passengers", "52");
- assertEquals(expectedVariables, innerExecution.getVariables());
-
- OpenExecution startExecution = innerExecution.getExecution("start");
- expectedVariables.put("fuel", "kerosine");
- assertEquals(expectedVariables, startExecution.getVariables());
- }
-
- public void testHiddenVariable() {
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .variable("flight", "B52")
- .compositeNode("c").behaviour(new Composite())
- .variable("flight", "U2")
- .node("i").initial().behaviour(new WaitState())
- .variable("flight", "C130")
- .compositeEnd()
- .done();
-
- ClientProcessInstance processInstance = processDefinition.beginProcessInstance();
- OpenExecution executionC = processInstance.getExecution("c");
- OpenExecution executionI = executionC.getExecution("i");
-
- assertEquals("B52", processInstance.getVariable("flight"));
- assertEquals("U2", executionC.getVariable("flight"));
- assertEquals("C130", executionI.getVariable("flight"));
- }
-
- public void testAutomaticScopeManagement() {
- /*
- process
- ${flight} = 'B52'
- +--------------------------------------------------------------------+
- | outer |
- | ${duration} = '22 minutes' |
- | +-------------------------------+ |
- | | left-middle | |
- | | ${altitude} = '31000 ft' | |
- | | +---------------------------+ | +----------------------------+ |
- | | | left-inner | | | right-middle | |
- | | | ${passengers} | | | ${customer} = 'coca cola' | |
- | | | +-----------------------+ | | | +--------------------+ | |
- | | | | left-start | -------> | right-inner | | |
- | | | | ${fuel} = 'kerosine' | | | | | ${date} = 'today' | | |
- | | | +-----------------------+ | | | +--------------------+ | |
- | | +---------------------------+ | +----------------------------+ |
- +--------------------------------------------------------------------+
- */
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .variable("flight", "B52")
- .compositeNode("outer").behaviour(new Composite())
- .variable("duration", "22 minutes")
- .compositeNode("left-middle").behaviour(new Composite())
- .variable("altitude", "31000 ft")
- .compositeNode("left-inner").behaviour(new Composite())
- .variable("passengers", "52")
- .compositeNode("left-start").initial().behaviour(new WaitState())
- .variable("fuel", "kerosine")
- .transition().to("right-inner")
- .compositeEnd()
- .compositeEnd()
- .compositeEnd()
- .compositeNode("right-middle").behaviour(new Composite())
- .variable("customer", "coca-cola")
- .compositeNode("right-inner").behaviour(new WaitState())
- .variable("date", "today")
- .compositeEnd()
- .compositeEnd()
- .compositeEnd()
- .done();
-
- ClientProcessInstance processInstance = processDefinition.beginProcessInstance();
- OpenExecution outerExecution = processInstance.getExecution("outer");
- OpenExecution leftMiddleExecution = outerExecution.getExecution("left-middle");
- OpenExecution leftInnerExecution = leftMiddleExecution.getExecution("left-inner");
- OpenExecution leftStartExecution = leftInnerExecution.getExecution("left-start");
-
- Map<String, Object> expectedVariables = new HashMap<String, Object>();
- expectedVariables.put("flight", "B52");
- expectedVariables.put("duration", "22 minutes");
- expectedVariables.put("altitude", "31000 ft");
- expectedVariables.put("passengers", "52");
- expectedVariables.put("fuel", "kerosine");
- assertEquals(expectedVariables, leftStartExecution.getVariables());
-
- processInstance.signal(leftStartExecution);
-
- OpenExecution rightMiddleExecution = outerExecution.getExecution("right-middle");
- OpenExecution rightInnerExecution = rightMiddleExecution.getExecution("right-inner");
-
- expectedVariables = new HashMap<String, Object>();
- expectedVariables.put("flight", "B52");
- expectedVariables.put("duration", "22 minutes");
-
- assertEquals(expectedVariables, outerExecution.getVariables());
-
- expectedVariables.put("customer", "coca-cola");
- assertEquals(expectedVariables, rightMiddleExecution.getVariables());
-
- expectedVariables.put("date", "today");
- assertEquals(expectedVariables, rightInnerExecution.getVariables());
- }
-
-
-}
Deleted: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/ScopeVariableTest.java
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/ScopeVariableTest.java 2008-07-17 20:14:17 UTC (rev 1674)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/ScopeVariableTest.java 2008-07-18 14:11:32 UTC (rev 1675)
@@ -1,185 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jbpm.pvm.client;
-
-import java.util.Map;
-
-import org.jbpm.pvm.test.base.JbpmTestCase;
-import org.jbpm.pvm.PvmException;
-import org.jbpm.pvm.activity.ActivityExecution;
-import org.jbpm.pvm.activity.ExternalActivity;
-import org.jbpm.pvm.model.OpenExecution;
-import org.jbpm.pvm.model.ProcessFactory;
-
-/**
- *
- * +---+ +--------+ +---+
- * | a | | b | | c |
- * | | --> | | --> | |
- * | | | SCOPE! | | |
- * +---+ +--------+ +---+
- *
- * @author Tom Baeyens
- */
-public class ScopeVariableTest extends JbpmTestCase
-{
-
- public static class WaitState implements ExternalActivity {
- private static final long serialVersionUID = 1L;
- public void execute(ActivityExecution execution) {
- execution.waitForSignal();
- }
- public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters) {
- execution.take(signalName);
- }
- }
-
- public void testOuterscopeLookup() {
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .node("a").initial().behaviour(new WaitState())
- .transition().to("b")
- .node("b").behaviour(new WaitState())
- .scope() // !!!!
- .transition().to("c")
- .node("c").behaviour(new WaitState())
- .done();
-
- ClientProcessInstance processInstance = processDefinition.beginProcessInstance();
- processInstance.setVariable("destination", "anywhere");
-
- processInstance.signal();
-
- OpenExecution bScope = processInstance.getExecution("b");
-
- // check if the global vars are still visible within the scope for b.
- assertEquals("anywhere", bScope.getVariable("destination"));
-
- bScope.createVariable("temp", "23C");
- assertEquals("23C", bScope.getVariable("temp"));
- assertNull(processInstance.getVariable("temp"));
- }
-
- public void testLocalVariableLookup() {
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .node("a").initial().behaviour(new WaitState())
- .transition().to("b")
- .node("b").behaviour(new WaitState())
- .scope() // !!!!
- .transition().to("c")
- .node("c").behaviour(new WaitState())
- .done();
-
- ClientProcessInstance processInstance = processDefinition.beginProcessInstance();
-
- processInstance.signal();
- OpenExecution bScope = processInstance.getExecution("b");
-
- bScope.createVariable("temp", "23C");
-
- assertEquals("23C", bScope.getVariable("temp"));
- assertNull(processInstance.getVariable("temp"));
-
- processInstance.signal(bScope);
-
- assertTrue(bScope.isEnded());
- assertNull(processInstance.getVariable("temp"));
- }
-
- public void testLocalVariableUpdate() {
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .node("a").initial().behaviour(new WaitState())
- .transition().to("b")
- .node("b").behaviour(new WaitState())
- .scope() // !!!!
- .transition().to("c")
- .node("c").behaviour(new WaitState())
- .done();
-
- ClientProcessInstance processInstance = processDefinition.beginProcessInstance();
-
- processInstance.signal();
- OpenExecution bScope = processInstance.getExecution("b");
-
- bScope.createVariable("temp", "23C");
- bScope.setVariable("temp", "28C");
-
- assertEquals("28C", bScope.getVariable("temp"));
-
- processInstance.signal(bScope);
-
- assertTrue(bScope.isEnded());
- assertNull(processInstance.getVariable("temp"));
- }
-
- public void testDefaultCreationOnGlobalScope() {
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .node("a").initial().behaviour(new WaitState())
- .transition().to("b")
- .node("b").behaviour(new WaitState())
- .scope() // !!!!
- .transition().to("c")
- .node("c").behaviour(new WaitState())
- .done();
-
- ClientProcessInstance processInstance = processDefinition.beginProcessInstance();
-
- processInstance.signal();
- OpenExecution bScope = processInstance.getExecution("b");
-
- bScope.setVariable("temp", "28C");
- assertEquals("28C", bScope.getVariable("temp"));
-
- processInstance.signal(bScope);
-
- assertTrue(bScope.isEnded());
- assertEquals("28C", processInstance.getVariable("temp"));
- }
-
- public void testVariableUpdatesOnEndedScope() {
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .node("a").initial().behaviour(new WaitState())
- .transition().to("b")
- .node("b").behaviour(new WaitState())
- .scope() // !!!!
- .transition().to("c")
- .node("c").behaviour(new WaitState())
- .done();
-
- ClientProcessInstance processInstance = processDefinition.beginProcessInstance();
-
- processInstance.signal();
- OpenExecution bScope = processInstance.getExecution("b");
-
- bScope.createVariable("temp", "28C");
-
- processInstance.signal(bScope);
-
- try {
- bScope.setVariable("temp", "21C");
- fail("expected exception");
- } catch (PvmException e) {
- // OK
- assertTextPresent("can't update variable 'temp' on execution[b]", e.getMessage());
- }
- }
-
-}
Deleted: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/SubProcessTest.java
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/SubProcessTest.java 2008-07-17 20:14:17 UTC (rev 1674)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/SubProcessTest.java 2008-07-18 14:11:32 UTC (rev 1675)
@@ -1,106 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jbpm.pvm.client;
-
-import java.util.Map;
-
-import org.jbpm.pvm.test.base.JbpmTestCase;
-import org.jbpm.pvm.activity.Activity;
-import org.jbpm.pvm.activity.ActivityExecution;
-import org.jbpm.pvm.activity.ExternalActivity;
-import org.jbpm.pvm.model.ProcessFactory;
-
-/**
- * @author Tom Baeyens
- */
-public class SubProcessTest extends JbpmTestCase
-{
-
- public static class SubProcess implements ExternalActivity {
- private static final long serialVersionUID = 1L;
- ClientProcessDefinition subProcess;
- public SubProcess(ClientProcessDefinition subProcess) {
- this.subProcess = subProcess;
- }
- public void execute(ActivityExecution execution) throws Exception {
- ClientProcessInstance subProcessInstance = execution.beginSubProcessInstance(subProcess);
- if (!subProcessInstance.isEnded()) {
- execution.waitForSignal();
- }
- }
- public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters) throws Exception {
- }
- }
-
- public static class AutomaticActivity implements Activity {
- private static final long serialVersionUID = 1L;
- public void execute(ActivityExecution execution) {
- }
- }
-
- public static class WaitState implements ExternalActivity {
- private static final long serialVersionUID = 1L;
- public void execute(ActivityExecution execution) {
- execution.waitForSignal();
- }
- public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters){
- }
- }
-
- public static class EndState implements Activity {
- public void execute(ActivityExecution execution) throws Exception {
- execution.end();
- }
- }
-
- public void testSubProcess() {
- ClientProcessDefinition subProcess = ProcessFactory.build("sub")
- .node("sub1").initial().behaviour(new AutomaticActivity())
- .transition().to("sub2")
- .node("sub2").behaviour(new WaitState())
- .transition().to("sub3")
- .node("sub3").behaviour(new EndState())
- .done();
-
- ClientProcessDefinition superProcess = ProcessFactory.build("super")
- .node("super1").initial().behaviour(new AutomaticActivity())
- .transition().to("super2")
- .node("super2").behaviour(new SubProcess(subProcess))
- .transition().to("super3")
- .node("super3").behaviour(new WaitState())
- .done();
-
- ClientProcessInstance superProcesInstance = superProcess.beginProcessInstance();
- assertEquals("super2", superProcesInstance.getNode().getName());
-
- ClientProcessInstance subProcessInstance = (ClientProcessInstance) superProcesInstance.getSubProcessInstance();
- assertNotNull(subProcessInstance);
- assertEquals("sub2", subProcessInstance.getNode().getName());
-
- subProcessInstance.signal();
-
- assertEquals("sub3", subProcessInstance.getNode().getName());
- assertTrue(subProcessInstance.isEnded());
-
- assertEquals("super3", superProcesInstance.getNode().getName());
- }
-}
Deleted: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/TransitionAsWaitStateTest.java
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/TransitionAsWaitStateTest.java 2008-07-17 20:14:17 UTC (rev 1674)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/TransitionAsWaitStateTest.java 2008-07-18 14:11:32 UTC (rev 1675)
@@ -1,81 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jbpm.pvm.client;
-
-import java.util.Map;
-
-import org.jbpm.pvm.test.base.JbpmTestCase;
-import org.jbpm.pvm.activity.Activity;
-import org.jbpm.pvm.activity.ActivityExecution;
-import org.jbpm.pvm.activity.ExternalActivity;
-import org.jbpm.pvm.listener.Condition;
-import org.jbpm.pvm.listener.EventListenerExecution;
-import org.jbpm.pvm.model.ProcessFactory;
-
-/** this test shows how to implement a transition that behaves as a
- * wait state.
- *
- * @author Tom Baeyens
- */
-public class TransitionAsWaitStateTest extends JbpmTestCase
-{
-
- public static class AlwaysTrue implements Condition {
- private static final long serialVersionUID = 1L;
- public boolean evaluate(EventListenerExecution execution) {
- return true;
- }
- };
-
- public static class AutomaticActivity implements Activity {
- private static final long serialVersionUID = 1L;
- public void execute(ActivityExecution execution) {
- }
- }
-
- public static class WaitState implements ExternalActivity {
- private static final long serialVersionUID = 1L;
- public void execute(ActivityExecution execution) {
- execution.waitForSignal();
- }
- public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters){
- }
- }
-
- public void testSmallAmount() {
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .node("make loss").initial().behaviour(new AutomaticActivity())
- .transition("use jbpm").to("make profit")
- .waitCondition(new AlwaysTrue())
- .node("make profit").behaviour(new WaitState())
- .done();
-
- ClientProcessInstance execution = processDefinition.beginProcessInstance();
-
- assertNull(execution.getNode());
-
- execution.signal();
-
- assertEquals("make profit", execution.getNode().getName());
- }
-
-}
Deleted: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/TransitionBasedConcurrencyTest.java
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/TransitionBasedConcurrencyTest.java 2008-07-17 20:14:17 UTC (rev 1674)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/TransitionBasedConcurrencyTest.java 2008-07-18 14:11:32 UTC (rev 1675)
@@ -1,168 +0,0 @@
-package org.jbpm.pvm.client;
-
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.List;
-import java.util.Map;
-
-import org.jbpm.pvm.test.base.JbpmTestCase;
-import org.jbpm.pvm.Execution;
-import org.jbpm.pvm.activity.Activity;
-import org.jbpm.pvm.activity.ActivityExecution;
-import org.jbpm.pvm.activity.ExternalActivity;
-import org.jbpm.pvm.model.Node;
-import org.jbpm.pvm.model.OpenExecution;
-import org.jbpm.pvm.model.ProcessFactory;
-import org.jbpm.pvm.model.Transition;
-
-/**
- * concurrent execution where synchronization is done by checking if the
- * number of expected child executions arrived at the join.
- *
- * @author Tom Baeyens
- */
-public class TransitionBasedConcurrencyTest extends JbpmTestCase
-{
-
- public static class Fork implements Activity {
- private static final long serialVersionUID = 1L;
- public void execute(ActivityExecution execution) {
- Node node = execution.getNode();
- List<Transition> outgoingTransitions = node.getOutgoingTransitions();
-
- // for each outgoing transition
- for (Transition outgoingTransition: outgoingTransitions) {
- // launch a concurrent path of execution
- String childExecutionName = outgoingTransition.getName();
- // creating the execution will cause the execution to become inactive
- Execution childExecution = execution.createExecution(childExecutionName);
- execution.take(outgoingTransition, childExecution);
- }
- }
- }
-
- public static class Join implements Activity {
- private static final long serialVersionUID = 1L;
- public void execute(ActivityExecution execution) throws Exception {
- // end the child execution execution
- // this will also remove the execution from it's parent
- execution.end();
-
- Node join = execution.getNode();
- List<OpenExecution> joinedExecutions = findJoinedExecutions(execution, join);
-
- if (isComplete(joinedExecutions, join)) {
- remove(joinedExecutions, execution);
- OpenExecution processInstance = execution.getProcessInstance();
-
- Execution outgoingExecution = null;
- if ( processInstance.getExecutions()==null
- || processInstance.getExecutions().isEmpty()
- ) {
- outgoingExecution = processInstance;
- } else {
- outgoingExecution = execution.createExecution(processInstance);
- }
-
- execution.move(join, outgoingExecution);
- Transition transition = join.getDefaultTransition();
- execution.take(transition, outgoingExecution);
- }
- }
-
- List<OpenExecution> findJoinedExecutions(OpenExecution execution, Node join) {
- List<OpenExecution> joinedExecutions = new ArrayList<OpenExecution>();
- scanRecursive(execution.getProcessInstance(), join, joinedExecutions);
- return joinedExecutions;
- }
-
- void scanRecursive(OpenExecution execution, Node join, List<OpenExecution> joinedExecutions) {
- // if the execution is positioned in the join
- if (join.equals(execution.getNode())) {
- joinedExecutions.add(execution);
- }
- Collection<OpenExecution> childExecutions = execution.getExecutions();
- if (childExecutions!=null) {
- for (OpenExecution childExecution: childExecutions) {
- scanRecursive(childExecution, join, joinedExecutions);
- }
- }
- }
-
- boolean isComplete(List<OpenExecution> joinedExecutions, Node join) {
- int executionsToJoin = join.getIncomingTransitions().size();
- return (executionsToJoin==joinedExecutions.size());
- }
-
- void remove(List<OpenExecution> joinedExecutions, ActivityExecution execution) {
- for (OpenExecution joinedExecution: joinedExecutions) {
- execution.removeExecution(joinedExecution, joinedExecution.getParent());
- }
- }
- }
-
- public static class WaitState implements ExternalActivity {
- private static final long serialVersionUID = 1L;
- public void execute(ActivityExecution execution) {
- execution.waitForSignal();
- }
- public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters) {
- execution.take(signalName);
- }
- }
-
- public void testTransitionBasedConcurrency() {
-
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .node("fork").initial().behaviour(new Fork())
- .transition("billing").to("bill")
- .transition("shipping").to("ship")
- .node("bill").behaviour(new WaitState())
- .transition().to("join")
- .node("ship").behaviour(new WaitState())
- .transition().to("join")
- .node("join").behaviour(new Join())
- .transition().to("end")
- .node("end").behaviour(new WaitState())
- .done();
-
- ClientProcessInstance main = processDefinition.beginProcessInstance();
-
- assertEquals("fork", main.getNode().getName());
- assertEquals(Execution.STATE_INACTIVE, main.getState());
-
- Execution billing = main.getExecution("billing");
- assertNotNull(billing);
- assertEquals("bill", billing.getNodeName());
- assertFalse(billing.isEnded());
-
- Execution shipping = main.getExecution("shipping");
-
- assertNotNull(shipping);
- assertEquals("ship", shipping.getNodeName());
- assertFalse(shipping.isEnded());
- assertTrue(main.getExecutions().contains(billing));
- assertTrue(main.getExecutions().contains(shipping));
-
- main.signal(billing);
-
- assertEquals("fork", main.getNodeName());
- assertEquals("join", billing.getNodeName());
- assertTrue(billing.isEnded());
- assertEquals("ship", shipping.getNodeName());
- assertFalse(shipping.isEnded());
- assertTrue(billing.isEnded());
- assertEquals(Execution.STATE_INACTIVE, main.getState());
-
- main.signal(shipping);
-
- assertEquals(Execution.STATE_ACTIVE, main.getState());
- assertEquals("end", main.getNodeName());
- assertEquals("join", billing.getNodeName());
- assertTrue(billing.isEnded());
- assertEquals("join", shipping.getNodeName());
- assertTrue(shipping.isEnded());
- assertFalse(main.getExecutions().contains(billing));
- assertFalse(main.getExecutions().contains(shipping));
- }
-}
Deleted: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/TransitionEventsTest.java
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/TransitionEventsTest.java 2008-07-17 20:14:17 UTC (rev 1674)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/TransitionEventsTest.java 2008-07-18 14:11:32 UTC (rev 1675)
@@ -1,452 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jbpm.pvm.client;
-
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Map;
-
-import org.jbpm.pvm.test.base.JbpmTestCase;
-import org.jbpm.pvm.activity.ActivityExecution;
-import org.jbpm.pvm.activity.ExternalActivity;
-import org.jbpm.pvm.listener.EventListener;
-import org.jbpm.pvm.listener.EventListenerExecution;
-import org.jbpm.pvm.model.Event;
-import org.jbpm.pvm.model.ProcessFactory;
-
-/**
- * @author Tom Baeyens
- */
-public class TransitionEventsTest extends JbpmTestCase
-{
-
- public static class WaitState implements ExternalActivity {
- private static final long serialVersionUID = 1L;
- public void execute(ActivityExecution execution) {
- execution.waitForSignal();
- }
- public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters){
- }
- }
-
- public class Recorder implements EventListener {
- private static final long serialVersionUID = 1L;
- public List<Object> events = new ArrayList<Object>();
- public void notify(EventListenerExecution execution) {
- events.add(execution.getEvent()+" on "+execution.getEventSource());
- }
- }
-
-
- public void testCompositeLeave(){
- Recorder processListener = new Recorder();
- Recorder outsideListener = new Recorder();
- Recorder compositeListener = new Recorder();
- Recorder insideListener = new Recorder();
-
- /*
- +--------------+
- | composite |
- | +--------+ | +---------+
- | | inside |------->| outside |
- | +--------+ | +---------+
- +--------------+
- */
-
- ClientProcessDefinition processDefinition = ProcessFactory.build("leave a super state")
- .event(Event.NODE_END)
- .listener(processListener)
- .event(Event.NODE_BEGIN)
- .listener(processListener)
- .event(Event.TRANSITION_TAKE)
- .listener(processListener)
- .compositeNode("composite")
- .event(Event.NODE_END)
- .listener(compositeListener)
- .event(Event.NODE_BEGIN)
- .listener(compositeListener)
- .event(Event.TRANSITION_TAKE)
- .listener(compositeListener)
- .node("inside").initial().behaviour(new WaitState())
- .event(Event.NODE_END)
- .listener(insideListener)
- .event(Event.NODE_BEGIN)
- .listener(insideListener)
- .event(Event.TRANSITION_TAKE)
- .listener(insideListener)
- .transition().to("outside")
- .compositeEnd()
- .node("outside").behaviour(new WaitState())
- .event(Event.NODE_END)
- .listener(outsideListener)
- .event(Event.NODE_BEGIN)
- .listener(outsideListener)
- .event(Event.TRANSITION_TAKE)
- .listener(outsideListener)
- .done();
-
- ClientProcessInstance execution = processDefinition.beginProcessInstance();
-
- assertEquals(0, processListener.events.size());
- assertEquals(0, outsideListener.events.size());
- assertEquals(0, compositeListener.events.size());
- assertEquals(0, insideListener.events.size());
-
- assertEquals("inside", execution.getNode().getName());
-
- execution.signal();
-
- assertEquals("[event(node-end) on node(inside), " +
- "event(node-end) on node(composite), " +
- "event(transition-take) on (inside)-->(outside), " +
- "event(node-begin) on node(outside)]",
- processListener.events.toString());
-
- assertEquals("[event(node-begin) on node(outside)]",
- outsideListener.events.toString());
-
- assertEquals("[event(node-end) on node(inside), " +
- "event(node-end) on node(composite)]",
- compositeListener.events.toString());
-
- assertEquals("[event(node-end) on node(inside)]",
- insideListener.events.toString());
- }
-
- public void testCompositeEnter(){
- Recorder processListener = new Recorder();
- Recorder outsideListener = new Recorder();
- Recorder compositeListener = new Recorder();
- Recorder insideListener = new Recorder();
-
- /*
- +--------------+
- | composite |
- +---------+ | +--------+ |
- | outside |------>| inside | |
- +---------+ | +--------+ |
- +--------------+
- */
-
- ClientProcessDefinition processDefinition = ProcessFactory.build("enter a super state")
- .event(Event.NODE_END)
- .listener(processListener)
- .event(Event.NODE_BEGIN)
- .listener(processListener)
- .event(Event.TRANSITION_TAKE)
- .listener(processListener)
- .node("outside").initial().behaviour(new WaitState())
- .event(Event.NODE_END)
- .listener(outsideListener)
- .event(Event.NODE_BEGIN)
- .listener(outsideListener)
- .event(Event.TRANSITION_TAKE)
- .listener(outsideListener)
- .transition().to("inside")
- .compositeNode("composite")
- .event(Event.NODE_END)
- .listener(compositeListener)
- .event(Event.NODE_BEGIN)
- .listener(compositeListener)
- .event(Event.TRANSITION_TAKE)
- .listener(compositeListener)
- .node("inside").behaviour(new WaitState())
- .event(Event.NODE_END)
- .listener(insideListener)
- .event(Event.NODE_BEGIN)
- .listener(insideListener)
- .event(Event.TRANSITION_TAKE)
- .listener(insideListener)
- .compositeEnd()
- .done();
-
- ClientProcessInstance execution = processDefinition.beginProcessInstance();
-
- assertEquals(0, processListener.events.size());
- assertEquals(0, outsideListener.events.size());
- assertEquals(0, compositeListener.events.size());
- assertEquals(0, insideListener.events.size());
-
- execution.signal();
-
- assertEquals("[event(node-end) on node(outside), " +
- "event(transition-take) on (outside)-->(inside), " +
- "event(node-begin) on node(composite), " +
- "event(node-begin) on node(inside)]",
- processListener.events.toString());
-
- assertEquals("[event(node-end) on node(outside)]",
- outsideListener.events.toString());
-
- assertEquals("[event(node-begin) on node(composite), " +
- "event(node-begin) on node(inside)]",
- compositeListener.events.toString());
-
- assertEquals("[event(node-begin) on node(inside)]",
- insideListener.events.toString());
- }
-
- public void testSelfTransition(){
- Recorder processListener = new Recorder();
- Recorder compositeListener = new Recorder();
- Recorder insideListener = new Recorder();
-
- /*
- +-----------------+
- | composite |
- | +--------+ |
- | | inside |---+ |
- | | | | |
- | | |<--+ |
- | +--------+ |
- +-----------------+
- */
-
- ClientProcessDefinition processDefinition = ProcessFactory.build("leave a super state")
- .event(Event.NODE_END)
- .listener(processListener)
- .event(Event.NODE_BEGIN)
- .listener(processListener)
- .event(Event.TRANSITION_TAKE)
- .listener(processListener)
- .compositeNode("composite")
- .event(Event.NODE_END)
- .listener(compositeListener)
- .event(Event.NODE_BEGIN)
- .listener(compositeListener)
- .event(Event.TRANSITION_TAKE)
- .listener(compositeListener)
- .node("inside").initial().behaviour(new WaitState())
- .event(Event.NODE_END)
- .listener(insideListener)
- .event(Event.NODE_BEGIN)
- .listener(insideListener)
- .event(Event.TRANSITION_TAKE)
- .listener(insideListener)
- .transition().to("inside")
- .compositeEnd()
- .done();
-
- ClientProcessInstance execution = processDefinition.beginProcessInstance();
-
- assertEquals(0, processListener.events.size());
- assertEquals(0, compositeListener.events.size());
- assertEquals(0, insideListener.events.size());
-
- assertEquals("inside", execution.getNode().getName());
-
- execution.signal();
-
- assertEquals("[event(node-end) on node(inside), " +
- "event(transition-take) on (inside)-->(inside), " +
- "event(node-begin) on node(inside)]",
- processListener.events.toString());
-
- assertEquals("[event(node-end) on node(inside), " +
- "event(transition-take) on (inside)-->(inside), " +
- "event(node-begin) on node(inside)]",
- compositeListener.events.toString());
-
- assertEquals("[event(node-end) on node(inside), " +
- "event(node-begin) on node(inside)]",
- insideListener.events.toString());
- }
-
-
- public void testCompositeLeaveInheritedTransition(){
- Recorder processListener = new Recorder();
- Recorder outsideListener = new Recorder();
- Recorder compositeListener = new Recorder();
- Recorder insideListener = new Recorder();
-
- /*
- +--------------+ +---------+
- | composite |------->| outside |
- | +--------+ | +---------+
- | | inside | |
- | +--------+ |
- +--------------+
- */
-
- ClientProcessDefinition processDefinition = ProcessFactory.build("leave a super state")
- .event(Event.NODE_END)
- .listener(processListener)
- .event(Event.NODE_BEGIN)
- .listener(processListener)
- .event(Event.TRANSITION_TAKE)
- .listener(processListener)
- .compositeNode("composite")
- .event(Event.NODE_END)
- .listener(compositeListener)
- .event(Event.NODE_BEGIN)
- .listener(compositeListener)
- .event(Event.TRANSITION_TAKE)
- .listener(compositeListener)
- .transition().to("outside")
- .node("inside").initial().behaviour(new WaitState())
- .event(Event.NODE_END)
- .listener(insideListener)
- .event(Event.NODE_BEGIN)
- .listener(insideListener)
- .event(Event.TRANSITION_TAKE)
- .listener(insideListener)
- .compositeEnd()
- .node("outside").behaviour(new WaitState())
- .event(Event.NODE_END)
- .listener(outsideListener)
- .event(Event.NODE_BEGIN)
- .listener(outsideListener)
- .event(Event.TRANSITION_TAKE)
- .listener(outsideListener)
- .done();
-
- ClientProcessInstance execution = processDefinition.beginProcessInstance();
-
- assertEquals(0, processListener.events.size());
- assertEquals(0, outsideListener.events.size());
- assertEquals(0, compositeListener.events.size());
- assertEquals(0, insideListener.events.size());
-
- assertEquals("inside", execution.getNode().getName());
-
- execution.signal();
-
- assertEquals("[event(node-end) on node(inside), " +
- "event(node-end) on node(composite), " +
- "event(transition-take) on (composite)-->(outside), " +
- "event(node-begin) on node(outside)]",
- processListener.events.toString());
-
- assertEquals("[event(node-begin) on node(outside)]",
- outsideListener.events.toString());
-
- assertEquals("[event(node-end) on node(inside), " +
- "event(node-end) on node(composite)]",
- compositeListener.events.toString());
-
- assertEquals("[event(node-end) on node(inside)]",
- insideListener.events.toString());
- }
-
- public void testCompositeLeaveInheritedTransitionExtraNesting(){
- Recorder processListener = new Recorder();
- Recorder sourceOutsideListener = new Recorder();
- Recorder sourceMiddleListener = new Recorder();
- Recorder sourceInsideListener = new Recorder();
- Recorder destinationOutsideListener = new Recorder();
- Recorder destinationInsideListener = new Recorder();
-
- /*
- +--------------------------+
- | source outside |
- | +--------------------+ | +--------------------------+
- | | source middle | | | destination outside |
- | | +---------------+ | | | +--------------------+ |
- | | | source inside | |----------->| destination inside | |
- | | +---------------+ | | | +--------------------+ |
- | +--------------------+ | +--------------------------+
- +--------------------------+
- */
-
- ClientProcessDefinition processDefinition = ProcessFactory.build("leave a super state")
- .event(Event.NODE_END)
- .listener(processListener)
- .event(Event.NODE_BEGIN)
- .listener(processListener)
- .event(Event.TRANSITION_TAKE)
- .listener(processListener)
- .compositeNode("source outside")
- .event(Event.NODE_END)
- .listener(sourceOutsideListener)
- .event(Event.NODE_BEGIN)
- .listener(sourceOutsideListener)
- .event(Event.TRANSITION_TAKE)
- .listener(sourceOutsideListener)
- .compositeNode("source middle")
- .event(Event.NODE_END)
- .listener(sourceMiddleListener)
- .event(Event.NODE_BEGIN)
- .listener(sourceMiddleListener)
- .event(Event.TRANSITION_TAKE)
- .listener(sourceMiddleListener)
- .transition().to("destination inside")
- .node("source inside").initial().behaviour(new WaitState())
- .event(Event.NODE_END)
- .listener(sourceInsideListener)
- .event(Event.NODE_BEGIN)
- .listener(sourceInsideListener)
- .event(Event.TRANSITION_TAKE)
- .listener(sourceInsideListener)
- .compositeEnd()
- .compositeEnd()
- .compositeNode("destination outside")
- .event(Event.NODE_END)
- .listener(destinationOutsideListener)
- .event(Event.NODE_BEGIN)
- .listener(destinationOutsideListener)
- .event(Event.TRANSITION_TAKE)
- .listener(destinationOutsideListener)
- .node("destination inside").behaviour(new WaitState())
- .event(Event.NODE_END)
- .listener(destinationInsideListener)
- .event(Event.NODE_BEGIN)
- .listener(destinationInsideListener)
- .event(Event.TRANSITION_TAKE)
- .listener(destinationInsideListener)
- .compositeEnd()
- .done();
-
-
- ClientProcessInstance execution = processDefinition.beginProcessInstance();
-
- assertEquals("source inside", execution.getNode().getName());
-
- execution.signal();
-
- assertEquals("[event(node-end) on node(source inside), " +
- "event(node-end) on node(source middle), " +
- "event(node-end) on node(source outside), " +
- "event(transition-take) on (source middle)-->(destination inside), " +
- "event(node-begin) on node(destination outside), " +
- "event(node-begin) on node(destination inside)]",
- processListener.events.toString());
-
- assertEquals("[event(node-end) on node(source inside), " +
- "event(node-end) on node(source middle), " +
- "event(node-end) on node(source outside)]",
- sourceOutsideListener.events.toString());
-
- assertEquals("[event(node-end) on node(source inside), " +
- "event(node-end) on node(source middle)]",
- sourceMiddleListener.events.toString());
-
- assertEquals("[event(node-end) on node(source inside)]",
- sourceInsideListener.events.toString());
-
- assertEquals("[event(node-begin) on node(destination outside), " +
- "event(node-begin) on node(destination inside)]",
- destinationOutsideListener.events.toString());
-
- assertEquals("[event(node-begin) on node(destination inside)]",
- destinationInsideListener.events.toString());
- }
-}
Deleted: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/VariableTest.java
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/VariableTest.java 2008-07-17 20:14:17 UTC (rev 1674)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/VariableTest.java 2008-07-18 14:11:32 UTC (rev 1675)
@@ -1,245 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jbpm.pvm.client;
-
-import java.util.HashMap;
-import java.util.HashSet;
-import java.util.Map;
-import java.util.Set;
-
-import org.jbpm.pvm.test.base.JbpmTestCase;
-import org.jbpm.pvm.activity.ActivityExecution;
-import org.jbpm.pvm.activity.ExternalActivity;
-import org.jbpm.pvm.model.ProcessFactory;
-
-/**
- * @author Tom Baeyens
- */
-public class VariableTest extends JbpmTestCase {
-
- public static class WaitState implements ExternalActivity {
- private static final long serialVersionUID = 1L;
- public void execute(ActivityExecution execution) {
- execution.waitForSignal();
- }
- public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters){
- }
- }
-
- public void testSetAndGetVariable() {
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .node("a").initial().behaviour(new WaitState())
- .done();
-
- ClientProcessInstance processInstance = processDefinition.beginProcessInstance();
-
- processInstance.setVariable("customer", "coca-cola");
- assertEquals("coca-cola", processInstance.getVariable("customer"));
-
- processInstance.setVariable("address", "usa");
- assertEquals("usa", processInstance.getVariable("address"));
-
- processInstance.setVariable("size", "big");
- assertEquals("big", processInstance.getVariable("size"));
- }
-
- public void testHasVariable() {
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .node("a").initial().behaviour(new WaitState())
- .done();
-
- ClientProcessInstance processInstance = processDefinition.beginProcessInstance();
-
- processInstance.setVariable("customer", "coca-cola");
-
- assertTrue(processInstance.hasVariable("customer"));
- assertFalse(processInstance.hasVariable("address"));
- }
-
- public void testSetVariables() {
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .node("a").initial().behaviour(new WaitState())
- .done();
-
- ClientProcessInstance processInstance = processDefinition.beginProcessInstance();
-
- Map<String, Object> variables = new HashMap<String, Object>();
- variables.put("customer", "coca-cola");
- variables.put("address", "usa");
- variables.put("size", "big");
-
- processInstance.setVariables(variables);
-
- assertEquals("coca-cola", processInstance.getVariable("customer"));
- assertEquals("usa", processInstance.getVariable("address"));
- assertEquals("big", processInstance.getVariable("size"));
- }
-
- public void testGetVariables() {
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .node("a").initial().behaviour(new WaitState())
- .done();
-
- ClientProcessInstance processInstance = processDefinition.beginProcessInstance();
-
- processInstance.setVariable("customer", "coca-cola");
- processInstance.setVariable("address", "usa");
- processInstance.setVariable("size", "big");
-
- Map<String, Object> expectedVariables = new HashMap<String, Object>();
- expectedVariables.put("customer", "coca-cola");
- expectedVariables.put("address", "usa");
- expectedVariables.put("size", "big");
- assertEquals(expectedVariables, processInstance.getVariables());
- }
-
- public void testRemoveVariable() {
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .node("a").initial().behaviour(new WaitState())
- .done();
-
- ClientProcessInstance processInstance = processDefinition.beginProcessInstance();
-
- processInstance.setVariable("customer", "coca-cola");
- processInstance.setVariable("address", "usa");
- processInstance.setVariable("size", "big");
-
- Map<String, Object> expectedVariables = new HashMap<String, Object>();
- expectedVariables.put("customer", "coca-cola");
- expectedVariables.put("address", "usa");
- expectedVariables.put("size", "big");
-
- assertEquals(expectedVariables, processInstance.getVariables());
-
- processInstance.removeVariable("address");
- expectedVariables.remove("address");
-
- assertEquals(expectedVariables, processInstance.getVariables());
-
- processInstance.removeVariable("customer");
- expectedVariables.remove("customer");
-
- assertEquals(expectedVariables, processInstance.getVariables());
-
- processInstance.removeVariable("size");
- expectedVariables.remove("size");
-
- assertEquals(expectedVariables, processInstance.getVariables());
- }
-
- public void testRemoveVariables() {
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .node("a").initial().behaviour(new WaitState())
- .done();
-
- ClientProcessInstance processInstance = processDefinition.beginProcessInstance();
-
- processInstance.setVariable("customer", "coca-cola");
- processInstance.setVariable("address", "usa");
- processInstance.setVariable("size", "big");
-
- processInstance.removeVariables();
-
- Map<String, Object> expectedVariables = new HashMap<String, Object>();
- assertEquals(expectedVariables, processInstance.getVariables());
- }
-
- public void testGetVariableKeys() {
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .node("a").initial().behaviour(new WaitState())
- .done();
-
- ClientProcessInstance processInstance = processDefinition.beginProcessInstance();
-
- processInstance.setVariable("customer", "coca-cola");
- processInstance.setVariable("address", "usa");
- processInstance.setVariable("size", "big");
-
- Set<String> expectedVariableKeys = new HashSet<String>();
- expectedVariableKeys.add("customer");
- expectedVariableKeys.add("address");
- expectedVariableKeys.add("size");
- assertEquals(expectedVariableKeys, new HashSet<String>(processInstance.getVariableKeys()));
- }
-
- public void testGetUnexistingVariable() {
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .node("a").initial().behaviour(new WaitState())
- .done();
-
- ClientProcessInstance processInstance = processDefinition.beginProcessInstance();
-
- assertNull(processInstance.getVariable("answer to life, the universe and everything"));
- }
-
- public static class VariableActivity implements ExternalActivity {
- private static final long serialVersionUID = 1L;
- public void execute(ActivityExecution execution) {
- assertEquals("coca-cola", execution.getVariable("customer"));
- execution.setVariable("message", "Killroy was here");
- execution.waitForSignal();
- }
- public void signal(ActivityExecution execution, String signalName, Map<String, Object> parameters) {
- }
- }
-
- public void testInitialiseVariablesBeforeProcessInstanceBegin() {
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .node("a").initial().behaviour(new VariableActivity())
- .done();
-
- // here, the process instance is created first, and only later it is begun
- ClientProcessInstance processInstance = processDefinition.createProcessInstance();
- processInstance.setVariable("customer", "coca-cola");
- processInstance.begin();
- assertEquals("Killroy was here", processInstance.getVariable("message"));
- }
-
- public void testNullValue() {
- ClientProcessDefinition processDefinition = ProcessFactory.build()
- .node("a").initial().behaviour(new WaitState())
- .done();
-
- ClientProcessInstance processInstance = processDefinition.beginProcessInstance();
-
- processInstance.setVariable("niks", null);
- processInstance.setVariable("nada", null);
-
- assertTrue(processInstance.hasVariables());
- assertTrue(processInstance.hasVariable("niks"));
- assertTrue(processInstance.hasVariable("nada"));
-
- assertNull(processInstance.getVariable("niks"));
- assertNull(processInstance.getVariable("nada"));
-
- Set<String> expectedKeys = new HashSet<String>();
- expectedKeys.add("niks");
- expectedKeys.add("nada");
- assertEquals(expectedKeys, new HashSet<String>(processInstance.getVariableKeys()));
-
- Map<String, Object> expectedVariables = new HashMap<String, Object>();
- expectedVariables.put("niks", null);
- expectedVariables.put("nada", null);
- assertEquals(expectedVariables, new HashMap<String, Object>(processInstance.getVariables()));
- }
-
-}
15 years, 11 months
JBoss JBPM SVN: r1674 - in api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10: model and 1 other directory.
by do-not-reply@jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-07-17 16:14:17 -0400 (Thu, 17 Jul 2008)
New Revision: 1674
Added:
api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBConnectingObject.java
Removed:
api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBFlow.java
Modified:
api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/ProcessUnmarshaller.java
api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBGateway.java
api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBIntermediateEvent.java
api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBMessageFlow.java
api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBSequenceFlow.java
api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBStartEvent.java
api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBSubProcess.java
api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBTask.java
Log:
Modified: api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/ProcessUnmarshaller.java
===================================================================
--- api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/ProcessUnmarshaller.java 2008-07-17 19:36:19 UTC (rev 1673)
+++ api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/ProcessUnmarshaller.java 2008-07-17 20:14:17 UTC (rev 1674)
@@ -34,7 +34,7 @@
import org.jboss.bpm.dialect.api10.model.JAXBComplexGateway;
import org.jboss.bpm.dialect.api10.model.JAXBEndEvent;
import org.jboss.bpm.dialect.api10.model.JAXBExclusiveGateway;
-import org.jboss.bpm.dialect.api10.model.JAXBFlow;
+import org.jboss.bpm.dialect.api10.model.JAXBConnectingObject;
import org.jboss.bpm.dialect.api10.model.JAXBFlowObject;
import org.jboss.bpm.dialect.api10.model.JAXBHandler;
import org.jboss.bpm.dialect.api10.model.JAXBInclusiveGateway;
@@ -122,28 +122,28 @@
private void adaptExclusiveGateway(ProcessBuilder builder, JAXBExclusiveGateway jaxb)
{
builder.addExclusiveGateway(jaxb.getName());
- for(JAXBFlow flow : jaxb.getOutFlows())
+ for(JAXBConnectingObject flow : jaxb.getOutFlows())
builder.addSequenceFlow(flow.getTargetName());
}
private void adaptInclusiveGateway(ProcessBuilder builder, JAXBInclusiveGateway jaxb)
{
builder.addInclusiveGateway(jaxb.getName());
- for(JAXBFlow flow : jaxb.getOutFlows())
+ for(JAXBConnectingObject flow : jaxb.getOutFlows())
builder.addSequenceFlow(flow.getTargetName());
}
private void adaptComplexGateway(ProcessBuilder builder, JAXBComplexGateway jaxb)
{
builder.addComplexGateway(jaxb.getName());
- for(JAXBFlow flow : jaxb.getOutFlows())
+ for(JAXBConnectingObject flow : jaxb.getOutFlows())
builder.addSequenceFlow(flow.getTargetName());
}
private void adaptParallelGateway(ProcessBuilder builder, JAXBParallelGateway jaxb)
{
builder.addParallelGateway(jaxb.getName());
- for(JAXBFlow flow : jaxb.getOutFlows())
+ for(JAXBConnectingObject flow : jaxb.getOutFlows())
builder.addSequenceFlow(flow.getTargetName());
}
Copied: api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBConnectingObject.java (from rev 1672, api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBFlow.java)
===================================================================
--- api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBConnectingObject.java (rev 0)
+++ api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBConnectingObject.java 2008-07-17 20:14:17 UTC (rev 1674)
@@ -0,0 +1,68 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.bpm.dialect.api10.model;
+
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+// $Id$
+
+/**
+ * A Flow is a graphical line connecting two objects in a BPD.
+ *
+ * There are two types of Flow: Sequence Flow and Message Flow, each with their own line style. Flow is also used in a generic sense (and lowercase) to describe how
+ * Tokens will traverse Sequence Flow from the Start Event to an End Event.
+ *
+ * @author thomas.diesler(a)jboss.com
+ * @since 08-Jul-2008
+ */
+@XmlType(name = "ConnectingObject")
+public class JAXBConnectingObject extends JAXBGraphicalElement
+{
+ private String name;
+ private String targetName;
+
+ public String getName()
+ {
+ return name;
+ }
+
+ @XmlAttribute(required = false)
+ public void setName(String name)
+ {
+ this.name = name;
+ }
+
+ public String getTargetName()
+ {
+ return targetName;
+ }
+
+ /**
+ * Set the target name Note, this MUST NOT leak into the public API.
+ */
+ @XmlAttribute(name = "to", required = true)
+ public void setTargetName(String targetName)
+ {
+ this.targetName = targetName;
+ }
+}
\ No newline at end of file
Deleted: api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBFlow.java
===================================================================
--- api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBFlow.java 2008-07-17 19:36:19 UTC (rev 1673)
+++ api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBFlow.java 2008-07-17 20:14:17 UTC (rev 1674)
@@ -1,68 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.bpm.dialect.api10.model;
-
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlType;
-
-// $Id$
-
-/**
- * A Flow is a graphical line connecting two objects in a BPD.
- *
- * There are two types of Flow: Sequence Flow and Message Flow, each with their own line style. Flow is also used in a generic sense (and lowercase) to describe how
- * Tokens will traverse Sequence Flow from the Start Event to an End Event.
- *
- * @author thomas.diesler(a)jboss.com
- * @since 08-Jul-2008
- */
-@XmlType(name = "Flow")
-public class JAXBFlow extends JAXBSupportingElement
-{
- private String name;
- private String targetName;
-
- public String getName()
- {
- return name;
- }
-
- @XmlAttribute(required = false)
- public void setName(String name)
- {
- this.name = name;
- }
-
- public String getTargetName()
- {
- return targetName;
- }
-
- /**
- * Set the target name Note, this MUST NOT leak into the public API.
- */
- @XmlAttribute(name = "to", required = true)
- public void setTargetName(String targetName)
- {
- this.targetName = targetName;
- }
-}
\ No newline at end of file
Modified: api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBGateway.java
===================================================================
--- api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBGateway.java 2008-07-17 19:36:19 UTC (rev 1673)
+++ api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBGateway.java 2008-07-17 20:14:17 UTC (rev 1674)
@@ -50,7 +50,7 @@
@XmlElement(name = "sequence", type = JAXBSequenceFlow.class),
@XmlElement(name = "message", type = JAXBMessageFlow.class)
})
- private List<JAXBFlow> outFlows = new ArrayList<JAXBFlow>();
+ private List<JAXBConnectingObject> outFlows = new ArrayList<JAXBConnectingObject>();
public String getName()
{
@@ -67,12 +67,12 @@
this.name = name;
}
- public List<JAXBFlow> getOutFlows()
+ public List<JAXBConnectingObject> getOutFlows()
{
return outFlows;
}
- public void setOutFlow(List<JAXBFlow> outFlow)
+ public void setOutFlow(List<JAXBConnectingObject> outFlow)
{
this.outFlows = outFlow;
}
Modified: api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBIntermediateEvent.java
===================================================================
--- api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBIntermediateEvent.java 2008-07-17 19:36:19 UTC (rev 1673)
+++ api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBIntermediateEvent.java 2008-07-17 20:14:17 UTC (rev 1674)
@@ -49,7 +49,7 @@
@XmlElement(name = "sequence", type = JAXBSequenceFlow.class),
@XmlElement(name = "message", type = JAXBMessageFlow.class)
})
- private JAXBFlow outFlow;
+ private JAXBConnectingObject outFlow;
public String getName()
{
@@ -69,13 +69,13 @@
this.name = name;
}
- public JAXBFlow getOutFlow()
+ public JAXBConnectingObject getOutFlow()
{
return outFlow;
}
@XmlTransient
- public void setOutFlow(JAXBFlow outFlow)
+ public void setOutFlow(JAXBConnectingObject outFlow)
{
this.outFlow = outFlow;
}
Modified: api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBMessageFlow.java
===================================================================
--- api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBMessageFlow.java 2008-07-17 19:36:19 UTC (rev 1673)
+++ api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBMessageFlow.java 2008-07-17 20:14:17 UTC (rev 1674)
@@ -34,6 +34,6 @@
* @since 08-Jul-2008
*/
@XmlType(name="MessageFlow")
-public class JAXBMessageFlow extends JAXBFlow
+public class JAXBMessageFlow extends JAXBConnectingObject
{
}
\ No newline at end of file
Modified: api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBSequenceFlow.java
===================================================================
--- api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBSequenceFlow.java 2008-07-17 19:36:19 UTC (rev 1673)
+++ api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBSequenceFlow.java 2008-07-17 20:14:17 UTC (rev 1674)
@@ -34,6 +34,6 @@
* @since 08-Jul-2008
*/
@XmlType(name="SequenceFlow")
-public class JAXBSequenceFlow extends JAXBFlow
+public class JAXBSequenceFlow extends JAXBConnectingObject
{
}
\ No newline at end of file
Modified: api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBStartEvent.java
===================================================================
--- api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBStartEvent.java 2008-07-17 19:36:19 UTC (rev 1673)
+++ api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBStartEvent.java 2008-07-17 20:14:17 UTC (rev 1674)
@@ -41,15 +41,15 @@
@XmlElements( {
@XmlElement(name = "sequence", type = JAXBSequenceFlow.class),
@XmlElement(name = "message", type = JAXBMessageFlow.class) })
- private JAXBFlow outFlow;
+ private JAXBConnectingObject outFlow;
- public JAXBFlow getOutFlow()
+ public JAXBConnectingObject getOutFlow()
{
return outFlow;
}
@XmlTransient
- public void setOutFlow(JAXBFlow outFlow)
+ public void setOutFlow(JAXBConnectingObject outFlow)
{
this.outFlow = outFlow;
}
Modified: api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBSubProcess.java
===================================================================
--- api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBSubProcess.java 2008-07-17 19:36:19 UTC (rev 1673)
+++ api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBSubProcess.java 2008-07-17 20:14:17 UTC (rev 1674)
@@ -44,15 +44,15 @@
@XmlElements( {
@XmlElement(name = "sequence", type = JAXBSequenceFlow.class),
@XmlElement(name = "message", type = JAXBMessageFlow.class) })
- private JAXBFlow outFlow;
+ private JAXBConnectingObject outFlow;
- public JAXBFlow getOutFlow()
+ public JAXBConnectingObject getOutFlow()
{
return outFlow;
}
@XmlTransient
- public void setOutFlow(JAXBFlow outFlow)
+ public void setOutFlow(JAXBConnectingObject outFlow)
{
this.outFlow = outFlow;
}
Modified: api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBTask.java
===================================================================
--- api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBTask.java 2008-07-17 19:36:19 UTC (rev 1673)
+++ api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBTask.java 2008-07-17 20:14:17 UTC (rev 1674)
@@ -21,6 +21,7 @@
*/
package org.jboss.bpm.dialect.api10.model;
+import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElements;
import javax.xml.bind.annotation.XmlTransient;
@@ -47,19 +48,46 @@
@XmlElements( {
@XmlElement(name = "sequence", type = JAXBSequenceFlow.class),
@XmlElement(name = "message", type = JAXBMessageFlow.class) })
- private JAXBFlow outFlow;
-
- public JAXBFlow getOutFlow()
+ private JAXBConnectingObject outFlow;
+
+ enum TaskType { Service, Receive, Send, User, Script, Manual, Reference, None}
+ private TaskType taskType;
+
+ // WebService, Java, Other, Unspecified
+ private String implementation;
+
+ public JAXBConnectingObject getOutFlow()
{
return outFlow;
}
@XmlTransient
- public void setOutFlow(JAXBFlow outFlow)
+ public void setOutFlow(JAXBConnectingObject outFlow)
{
this.outFlow = outFlow;
}
+ public TaskType getTaskType()
+ {
+ return taskType;
+ }
+
+ @XmlAttribute
+ public void setTaskType(TaskType taskType)
+ {
+ this.taskType = taskType;
+ }
+
+ public String getImplementation()
+ {
+ return implementation;
+ }
+
+ public void setImplementation(String implementation)
+ {
+ this.implementation = implementation;
+ }
+
/**
* Get the ExecutionHandler for this Event
*/
15 years, 11 months
JBoss JBPM SVN: r1673 - in jbpm3/trunk: modules/jpdl/core and 1 other directories.
by do-not-reply@jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-07-17 15:36:19 -0400 (Thu, 17 Jul 2008)
New Revision: 1673
Modified:
jbpm3/trunk/modules/jpdl/core/pom.xml
jbpm3/trunk/modules/jpdl/core/src/main/resources/jbpm-beans.xml
jbpm3/trunk/pom.xml
Log:
More work on stp bpmn dialect
Modified: jbpm3/trunk/modules/jpdl/core/pom.xml
===================================================================
--- jbpm3/trunk/modules/jpdl/core/pom.xml 2008-07-17 19:25:24 UTC (rev 1672)
+++ jbpm3/trunk/modules/jpdl/core/pom.xml 2008-07-17 19:36:19 UTC (rev 1673)
@@ -119,9 +119,24 @@
</dependency>
<dependency>
<groupId>org.jboss.jbpm</groupId>
+ <artifactId>jbpm-api-dialect-api10</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.jbpm</groupId>
<artifactId>jbpm-api-dialect-jpdl32</artifactId>
<scope>runtime</scope>
</dependency>
+ <dependency>
+ <groupId>org.jboss.jbpm</groupId>
+ <artifactId>jbpm-api-dialect-stp</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.jbpm</groupId>
+ <artifactId>jbpm-api-dialect-xpdl21</artifactId>
+ <scope>runtime</scope>
+ </dependency>
</dependencies>
<!-- Plugins -->
Modified: jbpm3/trunk/modules/jpdl/core/src/main/resources/jbpm-beans.xml
===================================================================
--- jbpm3/trunk/modules/jpdl/core/src/main/resources/jbpm-beans.xml 2008-07-17 19:25:24 UTC (rev 1672)
+++ jbpm3/trunk/modules/jpdl/core/src/main/resources/jbpm-beans.xml 2008-07-17 19:36:19 UTC (rev 1673)
@@ -16,14 +16,33 @@
<!-- The ProcessManager -->
<bean name="jBPMProcessManager" class="org.jboss.bpm.client.internal.ProcessManagerImpl">
<property name="processEngine"><inject bean="jBPMProcessEngine" state="Instantiated"/></property>
+ <property name="dialectRegistry"><inject bean="jBPMDialectRegistry"/></property>
<property name="dialectHandlers">
<map keyClass="java.lang.String" valueClass="org.jboss.bpm.client.DialectHandler">
+ <entry><key>api10</key><value><inject bean="jBPMDialectHandlerAPI10"/></value></entry>
<entry><key>jpdl32</key><value><inject bean="jBPMDialectHandlerJPDL32"/></value></entry>
+ <entry><key>stp</key><value><inject bean="jBPMDialectHandlerSTP"/></value></entry>
+ <entry><key>xpdl21</key><value><inject bean="jBPMDialectHandlerXPDL21"/></value></entry>
</map>
</property>
</bean>
+ <bean name="jBPMDialectHandlerAPI10" class="org.jboss.bpm.dialect.api10.DialectHandlerImpl"/>
<bean name="jBPMDialectHandlerJPDL32" class="org.jboss.bpm.dialect.jpdl32.DialectHandlerImpl"/>
+ <bean name="jBPMDialectHandlerSTP" class="org.jboss.bpm.dialect.stp.DialectHandlerImpl"/>
+ <bean name="jBPMDialectHandlerXPDL21" class="org.jboss.bpm.dialect.xpdl21.DialectHandlerImpl"/>
+ <!-- The DialectRegistry -->
+ <bean name="jBPMDialectRegistry" class="org.jboss.bpm.client.DialectRegistry">
+ <property name="registry">
+ <map keyClass="java.lang.String" valueClass="java.lang.String">
+ <entry><key>urn:api.bpm.jboss:jpdl-0.1</key><value>api10</value></entry>
+ <entry><key>urn:jbpm.org:jpdl-3.2</key><value>jpdl32</value></entry>
+ <entry><key>http://stp.eclipse.org/bpmn</key><value>stp</value></entry>
+ <entry><key>http://www.wfmc.org/2008/XPDL2.1</key><value>xpdl21</value></entry>
+ </map>
+ </property>
+ </bean>
+
<!-- The ExecutionManager -->
<bean name="jBPMExecutionManager" class="org.jboss.bpm.client.internal.ExecutionManagerImpl">
<property name="processEngine"><inject bean="jBPMProcessEngine" state="Instantiated"/></property>
Modified: jbpm3/trunk/pom.xml
===================================================================
--- jbpm3/trunk/pom.xml 2008-07-17 19:25:24 UTC (rev 1672)
+++ jbpm3/trunk/pom.xml 2008-07-17 19:36:19 UTC (rev 1673)
@@ -95,11 +95,26 @@
</dependency>
<dependency>
<groupId>org.jboss.jbpm</groupId>
+ <artifactId>jbpm-api-dialect-api10</artifactId>
+ <version>${jboss.jbpm.api.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.jbpm</groupId>
<artifactId>jbpm-api-dialect-jpdl32</artifactId>
<version>${jboss.jbpm.api.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.jbpm</groupId>
+ <artifactId>jbpm-api-dialect-stp</artifactId>
+ <version>${jboss.jbpm.api.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.jbpm</groupId>
+ <artifactId>jbpm-api-dialect-xpdl21</artifactId>
+ <version>${jboss.jbpm.api.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.jbpm</groupId>
<artifactId>jbpm-api-testsuite</artifactId>
<version>${jboss.jbpm.api.version}</version>
<type>zip</type>
15 years, 11 months
JBoss JBPM SVN: r1672 - in api/trunk: modules/api/src/main/java/org/jboss/bpm/client and 10 other directories.
by do-not-reply@jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-07-17 15:25:24 -0400 (Thu, 17 Jul 2008)
New Revision: 1672
Added:
api/trunk/modules/api/src/main/java/org/jboss/bpm/client/DialectRegistry.java
api/trunk/modules/api/src/main/java/org/jboss/bpm/model/SupportingElement.java
api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBBPMNElement.java
api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBGraphicalElement.java
api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBSupportingElement.java
api/trunk/modules/impl/src/main/java/org/jboss/bpm/model/internal/BPMNElementImpl.java
api/trunk/modules/impl/src/main/java/org/jboss/bpm/model/internal/GraphicalElementImpl.java
api/trunk/modules/impl/src/main/java/org/jboss/bpm/model/internal/SupportingElementImpl.java
Removed:
api/trunk/modules/api/src/main/java/org/jboss/bpm/model/SuportingElement.java
api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/ProcessAdapter.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/BpmnDiagramAdapter.java
Modified:
api/trunk/.classpath
api/trunk/modules/api/src/main/java/org/jboss/bpm/client/ProcessManager.java
api/trunk/modules/api/src/main/java/org/jboss/bpm/model/BPMNElement.java
api/trunk/modules/api/src/main/java/org/jboss/bpm/model/Flow.java
api/trunk/modules/api/src/main/java/org/jboss/bpm/model/FlowObject.java
api/trunk/modules/api/src/main/java/org/jboss/bpm/model/Process.java
api/trunk/modules/api/src/main/java/org/jboss/bpm/model/Signal.java
api/trunk/modules/api/src/main/java/org/jboss/bpm/model/SubProcess.java
api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/DialectHandlerImpl.java
api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/ProcessUnmarshaller.java
api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBFlow.java
api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBFlowObject.java
api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBProcess.java
api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBSubProcess.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/ProcessUnmarshaller.java
api/trunk/modules/dialects/stp/src/test/java/org/jboss/bpm/dialect/stp/sequence/SequenceTest.java
api/trunk/modules/dialects/stp/src/test/resources/jbpm-beans.xml
api/trunk/modules/impl/src/main/java/org/jboss/bpm/client/internal/ProcessManagerImpl.java
api/trunk/modules/impl/src/main/java/org/jboss/bpm/model/internal/FlowImpl.java
api/trunk/modules/impl/src/main/java/org/jboss/bpm/model/internal/FlowObjectImpl.java
api/trunk/modules/impl/src/main/java/org/jboss/bpm/model/internal/ProcessImpl.java
api/trunk/modules/impl/src/main/java/org/jboss/bpm/model/internal/SubProcessImpl.java
api/trunk/modules/testsuite/pom.xml
api/trunk/modules/testsuite/src/test/resources/jbpm-beans.xml
Log:
More work on stp bpmn dialect
Modified: api/trunk/.classpath
===================================================================
--- api/trunk/.classpath 2008-07-17 16:48:54 UTC (rev 1671)
+++ api/trunk/.classpath 2008-07-17 19:25:24 UTC (rev 1672)
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="modules/api/target/classes" path="modules/api/src/main/java"/>
+ <classpathentry kind="src" path="modules/dialects/api10/src/main/java"/>
<classpathentry kind="src" path="modules/dialects/stp/src/test/java"/>
<classpathentry kind="src" path="modules/dialects/stp/src/main/java"/>
<classpathentry kind="src" path="modules/dialects/xpdl21/src/main/java"/>
Added: api/trunk/modules/api/src/main/java/org/jboss/bpm/client/DialectRegistry.java
===================================================================
--- api/trunk/modules/api/src/main/java/org/jboss/bpm/client/DialectRegistry.java (rev 0)
+++ api/trunk/modules/api/src/main/java/org/jboss/bpm/client/DialectRegistry.java 2008-07-17 19:25:24 UTC (rev 1672)
@@ -0,0 +1,50 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.bpm.client;
+
+//$Id$
+
+import java.util.Map;
+
+/**
+ * A registry that Maps namespaceURI to dialect Id
+ *
+ * @author thomas.diesler(a)jboss.com
+ * @since 18-Jul-2008
+ */
+public class DialectRegistry
+{
+ public static final Object BEAN_NAME = "jBPMDialectRegistry";
+
+ // Maps namespaceURI to dialect Id
+ private Map<String,String> registry;
+
+ public void setRegistry(Map<String, String> registry)
+ {
+ this.registry = registry;
+ }
+
+ public String getDialect(String nsURI)
+ {
+ return registry.get(nsURI);
+ }
+}
Property changes on: api/trunk/modules/api/src/main/java/org/jboss/bpm/client/DialectRegistry.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Modified: api/trunk/modules/api/src/main/java/org/jboss/bpm/client/ProcessManager.java
===================================================================
--- api/trunk/modules/api/src/main/java/org/jboss/bpm/client/ProcessManager.java 2008-07-17 16:48:54 UTC (rev 1671)
+++ api/trunk/modules/api/src/main/java/org/jboss/bpm/client/ProcessManager.java 2008-07-17 19:25:24 UTC (rev 1672)
@@ -23,18 +23,24 @@
// $Id$
+import java.io.ByteArrayInputStream;
import java.io.IOException;
+import java.io.InputStream;
import java.net.URL;
import java.util.Collections;
-import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.jboss.bpm.EngineShutdownException;
import org.jboss.bpm.model.Process;
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
/**
* The process manager is the entry point to create, find and otherwise manage processes.
@@ -50,7 +56,9 @@
// Injected through the MC
protected ProcessEngine engine;
// The map of registerd dialect handlers
- protected Map<String, DialectHandler> dialectHandlers = new HashMap<String, DialectHandler>();
+ protected Map<String, DialectHandler> dialectHandlers;
+ // The dialect registry
+ protected DialectRegistry dialectRegistry;
// The set of process definitions
private Set<Process> procs = new HashSet<Process>();
@@ -82,12 +90,13 @@
/**
* Create a Process from a XML string in one of the supported formats
*/
- public final Process createProcess(String procDescriptor)
+ public final Process createProcess(String pXML)
{
if (engine.isPrepareForShutdown())
throw new EngineShutdownException("Cannot create new Process while engine is shutting down");
- Process proc = getDialectHandler().createProcess(procDescriptor);
+ String nsURI = getNamespaceURI(new ByteArrayInputStream(pXML.getBytes()));
+ Process proc = getDialectHandler(nsURI).createProcess(pXML);
registerProcess(proc);
return proc;
}
@@ -95,12 +104,13 @@
/**
* Create a Process from an URL to a XML descritor in one of the supported formats
*/
- public final Process createProcess(URL procURL) throws IOException
+ public final Process createProcess(URL pURL) throws IOException
{
if (engine.isPrepareForShutdown())
throw new EngineShutdownException("Cannot create new Process while engine is shutting down");
- Process proc = getDialectHandler().createProcess(procURL);
+ String nsURI = getNamespaceURI(pURL.openStream());
+ Process proc = getDialectHandler(nsURI).createProcess(pURL);
registerProcess(proc);
return proc;
}
@@ -148,13 +158,39 @@
procs.remove(proc.getName());
}
+ private String getNamespaceURI(InputStream inStream)
+ {
+ DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+ dbf.setNamespaceAware(true);
+ Document doc;
+ try
+ {
+ DocumentBuilder db = dbf.newDocumentBuilder();
+ doc = db.parse(inStream);
+ }
+ catch (Exception ex)
+ {
+ throw new IllegalStateException("Cannot parse process descriptor", ex);
+ }
+
+ Element root = doc.getDocumentElement();
+ String nsURI = root.getNamespaceURI();
+ if (nsURI == null)
+ throw new IllegalStateException("Cannot get namespace URI from root element");
+
+ return nsURI;
+ }
+
// Get the handler for the current dialect
- private DialectHandler getDialectHandler()
+ private DialectHandler getDialectHandler(String nsURI)
{
- String dialect = System.getProperty("jbpm.dialect", "api10");
- DialectHandler dialectHandler = dialectHandlers.get(dialect);
+ String dialectId = dialectRegistry.getDialect(nsURI);
+ if (dialectId == null)
+ throw new IllegalStateException("No dialect registered for: " + nsURI);
+
+ DialectHandler dialectHandler = dialectHandlers.get(dialectId);
if (dialectHandler == null)
- throw new IllegalStateException("No dialect handler registered for: " + dialect);
+ throw new IllegalStateException("No dialect handler registered for: " + dialectId);
return dialectHandler;
}
Modified: api/trunk/modules/api/src/main/java/org/jboss/bpm/model/BPMNElement.java
===================================================================
--- api/trunk/modules/api/src/main/java/org/jboss/bpm/model/BPMNElement.java 2008-07-17 16:48:54 UTC (rev 1671)
+++ api/trunk/modules/api/src/main/java/org/jboss/bpm/model/BPMNElement.java 2008-07-17 19:25:24 UTC (rev 1672)
@@ -24,15 +24,20 @@
//$Id$
/**
- * The
+ * The parrent of all BPMN elements
*
* @author thomas.diesler(a)jboss.com
* @since 08-Jul-2008
*/
public interface BPMNElement
{
+ /**
+ * Get the associated Process
+ */
+ Process getProcess();
+
/**
* Get the ID of this element
*/
- //String getID();
+ String getID();
}
\ No newline at end of file
Modified: api/trunk/modules/api/src/main/java/org/jboss/bpm/model/Flow.java
===================================================================
--- api/trunk/modules/api/src/main/java/org/jboss/bpm/model/Flow.java 2008-07-17 16:48:54 UTC (rev 1671)
+++ api/trunk/modules/api/src/main/java/org/jboss/bpm/model/Flow.java 2008-07-17 19:25:24 UTC (rev 1672)
@@ -33,7 +33,7 @@
* @author thomas.diesler(a)jboss.com
* @since 08-Jul-2008
*/
-public interface Flow
+public interface Flow extends SupportingElement
{
/**
* Get the optional name
Modified: api/trunk/modules/api/src/main/java/org/jboss/bpm/model/FlowObject.java
===================================================================
--- api/trunk/modules/api/src/main/java/org/jboss/bpm/model/FlowObject.java 2008-07-17 16:48:54 UTC (rev 1671)
+++ api/trunk/modules/api/src/main/java/org/jboss/bpm/model/FlowObject.java 2008-07-17 19:25:24 UTC (rev 1672)
@@ -32,8 +32,4 @@
*/
public interface FlowObject extends GraphicalElement
{
- /**
- * Get the associated Process
- */
- Process getProcess();
}
\ No newline at end of file
Modified: api/trunk/modules/api/src/main/java/org/jboss/bpm/model/Process.java
===================================================================
--- api/trunk/modules/api/src/main/java/org/jboss/bpm/model/Process.java 2008-07-17 16:48:54 UTC (rev 1671)
+++ api/trunk/modules/api/src/main/java/org/jboss/bpm/model/Process.java 2008-07-17 19:25:24 UTC (rev 1672)
@@ -34,7 +34,7 @@
* @author thomas.diesler(a)jboss.com
* @since 08-Jul-2008
*/
-public interface Process extends Activity, NamedFlowObject
+public interface Process extends GraphicalElement, NamedFlowObject
{
/**
* Defines the state a {@link Process} can be in
Modified: api/trunk/modules/api/src/main/java/org/jboss/bpm/model/Signal.java
===================================================================
--- api/trunk/modules/api/src/main/java/org/jboss/bpm/model/Signal.java 2008-07-17 16:48:54 UTC (rev 1671)
+++ api/trunk/modules/api/src/main/java/org/jboss/bpm/model/Signal.java 2008-07-17 19:25:24 UTC (rev 1672)
@@ -48,13 +48,13 @@
}
private Type type;
- private FlowObject flowObject;
+ private BPMNElement srcElement;
private String message;
/** Create the signal for a given process */
- public Signal(FlowObject flowObject, Type type)
+ public Signal(BPMNElement srcElement, Type type)
{
- this.flowObject = flowObject;
+ this.srcElement = srcElement;
this.type = type;
validateSignal();
}
@@ -62,7 +62,7 @@
/** Create the signal for a given process */
public Signal(FlowObject flowObject, Type type, String message)
{
- this.flowObject = flowObject;
+ this.srcElement = flowObject;
this.type = type;
this.message = message;
validateSignal();
@@ -71,7 +71,7 @@
/** Get the proccess name */
public String getProcessName()
{
- return flowObject.getProcess().getName();
+ return srcElement.getProcess().getName();
}
public Type getType()
@@ -81,7 +81,7 @@
public String getFlowObject()
{
- return flowObject.toString();
+ return srcElement.toString();
}
public String getMessage()
@@ -91,7 +91,7 @@
private void validateSignal()
{
- if (flowObject == null)
+ if (srcElement == null)
throw new IllegalArgumentException("FlowObject cannot be null");
if (type == null)
throw new IllegalArgumentException("SignalType cannot be null");
@@ -100,9 +100,9 @@
public String toString()
{
StringBuilder string = new StringBuilder(type + "[" + getProcessName());
- if (flowObject instanceof Process == false)
+ if (srcElement instanceof Process == false)
{
- string.append(":" + flowObject);
+ string.append(":" + srcElement);
}
if (message != null)
{
Modified: api/trunk/modules/api/src/main/java/org/jboss/bpm/model/SubProcess.java
===================================================================
--- api/trunk/modules/api/src/main/java/org/jboss/bpm/model/SubProcess.java 2008-07-17 16:48:54 UTC (rev 1671)
+++ api/trunk/modules/api/src/main/java/org/jboss/bpm/model/SubProcess.java 2008-07-17 19:25:24 UTC (rev 1672)
@@ -30,6 +30,6 @@
* @author thomas.diesler(a)jboss.com
* @since 08-Jul-2008
*/
-public interface SubProcess extends Process, SingleInFlowSupport, SingleOutFlowSupport
+public interface SubProcess extends Activity, SingleInFlowSupport, SingleOutFlowSupport
{
}
\ No newline at end of file
Deleted: api/trunk/modules/api/src/main/java/org/jboss/bpm/model/SuportingElement.java
===================================================================
--- api/trunk/modules/api/src/main/java/org/jboss/bpm/model/SuportingElement.java 2008-07-17 16:48:54 UTC (rev 1671)
+++ api/trunk/modules/api/src/main/java/org/jboss/bpm/model/SuportingElement.java 2008-07-17 19:25:24 UTC (rev 1672)
@@ -1,34 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.bpm.model;
-
-//$Id$
-
-/**
- * A graphical BPMN element
- *
- * @author thomas.diesler(a)jboss.com
- * @since 08-Jul-2008
- */
-public interface SuportingElement extends BPMNElement
-{
-}
\ No newline at end of file
Copied: api/trunk/modules/api/src/main/java/org/jboss/bpm/model/SupportingElement.java (from rev 1671, api/trunk/modules/api/src/main/java/org/jboss/bpm/model/SuportingElement.java)
===================================================================
--- api/trunk/modules/api/src/main/java/org/jboss/bpm/model/SupportingElement.java (rev 0)
+++ api/trunk/modules/api/src/main/java/org/jboss/bpm/model/SupportingElement.java 2008-07-17 19:25:24 UTC (rev 1672)
@@ -0,0 +1,34 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.bpm.model;
+
+//$Id$
+
+/**
+ * A graphical BPMN element
+ *
+ * @author thomas.diesler(a)jboss.com
+ * @since 08-Jul-2008
+ */
+public interface SupportingElement extends BPMNElement
+{
+}
\ No newline at end of file
Modified: api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/DialectHandlerImpl.java
===================================================================
--- api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/DialectHandlerImpl.java 2008-07-17 16:48:54 UTC (rev 1671)
+++ api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/DialectHandlerImpl.java 2008-07-17 19:25:24 UTC (rev 1672)
@@ -32,7 +32,6 @@
import org.jboss.bpm.InvalidProcessException;
import org.jboss.bpm.client.DialectHandler;
-import org.jboss.bpm.dialect.api10.model.JAXBProcess;
import org.jboss.bpm.model.Process;
/**
@@ -49,8 +48,7 @@
try
{
ProcessUnmarshaller unmarschaller = new ProcessUnmarshaller();
- JAXBProcess jaxbProc = unmarschaller.unmarshallProcess(new StringReader(pXML));
- Process proc = new ProcessAdapter().adaptProcess(jaxbProc);
+ Process proc = unmarschaller.unmarshallProcess(new StringReader(pXML));
return proc;
}
catch (JAXBException ex)
@@ -64,8 +62,7 @@
try
{
ProcessUnmarshaller unmarschaller = new ProcessUnmarshaller();
- JAXBProcess jaxbProc = unmarschaller.unmarshallProcess(new InputStreamReader(pURL.openStream()));
- Process proc = new ProcessAdapter().adaptProcess(jaxbProc);
+ Process proc = unmarschaller.unmarshallProcess(new InputStreamReader(pURL.openStream()));
return proc;
}
catch (JAXBException ex)
Deleted: api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/ProcessAdapter.java
===================================================================
--- api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/ProcessAdapter.java 2008-07-17 16:48:54 UTC (rev 1671)
+++ api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/ProcessAdapter.java 2008-07-17 19:25:24 UTC (rev 1672)
@@ -1,176 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.bpm.dialect.api10;
-
-// $Id$
-
-import org.jboss.bpm.InvalidProcessException;
-import org.jboss.bpm.NotImplementedException;
-import org.jboss.bpm.dialect.api10.model.JAXBComplexGateway;
-import org.jboss.bpm.dialect.api10.model.JAXBEndEvent;
-import org.jboss.bpm.dialect.api10.model.JAXBExclusiveGateway;
-import org.jboss.bpm.dialect.api10.model.JAXBFlow;
-import org.jboss.bpm.dialect.api10.model.JAXBFlowObject;
-import org.jboss.bpm.dialect.api10.model.JAXBHandler;
-import org.jboss.bpm.dialect.api10.model.JAXBInclusiveGateway;
-import org.jboss.bpm.dialect.api10.model.JAXBIntermediateEvent;
-import org.jboss.bpm.dialect.api10.model.JAXBParallelGateway;
-import org.jboss.bpm.dialect.api10.model.JAXBProcess;
-import org.jboss.bpm.dialect.api10.model.JAXBStartEvent;
-import org.jboss.bpm.dialect.api10.model.JAXBSubProcess;
-import org.jboss.bpm.dialect.api10.model.JAXBTask;
-import org.jboss.bpm.model.Process;
-import org.jboss.bpm.model.ProcessBuilder;
-import org.jboss.bpm.model.ProcessBuilderFactory;
-
-/**
- * Adapt the JAXBProcess to the API Process
- *
- * @author thomas.diesler(a)jboss.com
- * @since 18-Jun-2008
- */
-public class ProcessAdapter
-{
- public Process adaptProcess(JAXBProcess jaxbProc)
- {
- ProcessBuilder builder = ProcessBuilderFactory.newInstance().newProcessBuilder(jaxbProc.getName());
- for (JAXBFlowObject jaxbFlowObject : jaxbProc.getFlowObjects())
- {
- if (jaxbFlowObject instanceof JAXBStartEvent)
- {
- adaptStartEvent(builder, (JAXBStartEvent)jaxbFlowObject);
- }
- else if (jaxbFlowObject instanceof JAXBIntermediateEvent)
- {
- adaptIntermediateEvent(builder, (JAXBIntermediateEvent)jaxbFlowObject);
- }
- else if (jaxbFlowObject instanceof JAXBEndEvent)
- {
- adaptEndEvent(builder, (JAXBEndEvent)jaxbFlowObject);
- }
- else if (jaxbFlowObject instanceof JAXBSubProcess)
- {
- adaptSubProcess(builder, (JAXBSubProcess)jaxbFlowObject);
- }
- else if (jaxbFlowObject instanceof JAXBTask)
- {
- adaptTask(builder, (JAXBTask)jaxbFlowObject);
- }
- else if (jaxbFlowObject instanceof JAXBExclusiveGateway)
- {
- adaptExclusiveGateway(builder, (JAXBExclusiveGateway)jaxbFlowObject);
- }
- else if (jaxbFlowObject instanceof JAXBInclusiveGateway)
- {
- adaptInclusiveGateway(builder, (JAXBInclusiveGateway)jaxbFlowObject);
- }
- else if (jaxbFlowObject instanceof JAXBComplexGateway)
- {
- adaptComplexGateway(builder, (JAXBComplexGateway)jaxbFlowObject);
- }
- else if (jaxbFlowObject instanceof JAXBParallelGateway)
- {
- adaptParallelGateway(builder, (JAXBParallelGateway)jaxbFlowObject);
- }
- else
- {
- throw new InvalidProcessException("Unsupported type: " + jaxbFlowObject);
- }
- }
-
- Process proc = builder.getProcess();
- return proc;
- }
-
- private void adaptExclusiveGateway(ProcessBuilder builder, JAXBExclusiveGateway jaxb)
- {
- builder.addExclusiveGateway(jaxb.getName());
- for(JAXBFlow flow : jaxb.getOutFlows())
- builder.addSequenceFlow(flow.getTargetName());
- }
-
- private void adaptInclusiveGateway(ProcessBuilder builder, JAXBInclusiveGateway jaxb)
- {
- builder.addInclusiveGateway(jaxb.getName());
- for(JAXBFlow flow : jaxb.getOutFlows())
- builder.addSequenceFlow(flow.getTargetName());
- }
-
- private void adaptComplexGateway(ProcessBuilder builder, JAXBComplexGateway jaxb)
- {
- builder.addComplexGateway(jaxb.getName());
- for(JAXBFlow flow : jaxb.getOutFlows())
- builder.addSequenceFlow(flow.getTargetName());
- }
-
- private void adaptParallelGateway(ProcessBuilder builder, JAXBParallelGateway jaxb)
- {
- builder.addParallelGateway(jaxb.getName());
- for(JAXBFlow flow : jaxb.getOutFlows())
- builder.addSequenceFlow(flow.getTargetName());
- }
-
- private void adaptTask(ProcessBuilder builder, JAXBTask jaxb)
- {
- String targetName = jaxb.getOutFlow().getTargetName();
- builder.addTask(jaxb.getName()).addSequenceFlow(targetName);
-
- JAXBHandler jaxbHandler = jaxb.getExecutionHandler();
- if (jaxbHandler != null)
- builder.addExecutionHandler(loadHandler(jaxbHandler.getClassName()));
- }
-
- private void adaptStartEvent(ProcessBuilder builder, JAXBStartEvent jaxb)
- {
- String targetName = jaxb.getOutFlow().getTargetName();
- builder.addStartEvent().addSequenceFlow(targetName);
- }
-
- private void adaptIntermediateEvent(ProcessBuilder builder, JAXBIntermediateEvent jaxb)
- {
- String targetName = jaxb.getOutFlow().getTargetName();
- builder.addItermediateEvent(jaxb.getName()).addSequenceFlow(targetName);
- }
-
- private void adaptEndEvent(ProcessBuilder builder, JAXBEndEvent jaxb)
- {
- builder.addEndEvent(jaxb.getName());
- }
-
- private void adaptSubProcess(ProcessBuilder builder, JAXBSubProcess jaxb)
- {
- throw new NotImplementedException();
- }
-
- private Class<?> loadHandler(String className)
- {
- try
- {
- ClassLoader ctxLoader = Thread.currentThread().getContextClassLoader();
- return ctxLoader.loadClass(className);
- }
- catch (ClassNotFoundException e)
- {
- throw new IllegalStateException("Cannot load handler class: " + className);
- }
- }
-}
Modified: api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/ProcessUnmarshaller.java
===================================================================
--- api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/ProcessUnmarshaller.java 2008-07-17 16:48:54 UTC (rev 1671)
+++ api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/ProcessUnmarshaller.java 2008-07-17 19:25:24 UTC (rev 1672)
@@ -29,8 +29,25 @@
import javax.xml.bind.JAXBException;
import javax.xml.bind.Unmarshaller;
+import org.jboss.bpm.InvalidProcessException;
+import org.jboss.bpm.NotImplementedException;
+import org.jboss.bpm.dialect.api10.model.JAXBComplexGateway;
+import org.jboss.bpm.dialect.api10.model.JAXBEndEvent;
+import org.jboss.bpm.dialect.api10.model.JAXBExclusiveGateway;
+import org.jboss.bpm.dialect.api10.model.JAXBFlow;
+import org.jboss.bpm.dialect.api10.model.JAXBFlowObject;
+import org.jboss.bpm.dialect.api10.model.JAXBHandler;
+import org.jboss.bpm.dialect.api10.model.JAXBInclusiveGateway;
+import org.jboss.bpm.dialect.api10.model.JAXBIntermediateEvent;
+import org.jboss.bpm.dialect.api10.model.JAXBParallelGateway;
import org.jboss.bpm.dialect.api10.model.JAXBProcess;
+import org.jboss.bpm.dialect.api10.model.JAXBStartEvent;
+import org.jboss.bpm.dialect.api10.model.JAXBSubProcess;
+import org.jboss.bpm.dialect.api10.model.JAXBTask;
import org.jboss.bpm.dialect.api10.model.ObjectFactory;
+import org.jboss.bpm.model.Process;
+import org.jboss.bpm.model.ProcessBuilder;
+import org.jboss.bpm.model.ProcessBuilderFactory;
/**
@@ -41,12 +58,137 @@
*/
public class ProcessUnmarshaller
{
- public JAXBProcess unmarshallProcess(Reader xml) throws JAXBException
+ public Process unmarshallProcess(Reader xml) throws JAXBException
{
JAXBContext jaxbContext = JAXBContext.newInstance(ObjectFactory.class);
Unmarshaller unmarshaller = jaxbContext.createUnmarshaller();
unmarshaller.setProperty("com.sun.xml.bind.ObjectFactory",new ObjectFactory());
- JAXBProcess proc = (JAXBProcess)unmarshaller.unmarshal(xml);
+ JAXBProcess jaxbProc = (JAXBProcess)unmarshaller.unmarshal(xml);
+ Process proc = adaptProcess(jaxbProc);
return proc;
}
+
+ private Process adaptProcess(JAXBProcess jaxbProc)
+ {
+ ProcessBuilder builder = ProcessBuilderFactory.newInstance().newProcessBuilder(jaxbProc.getName());
+ for (JAXBFlowObject jaxbFlowObject : jaxbProc.getFlowObjects())
+ {
+ if (jaxbFlowObject instanceof JAXBStartEvent)
+ {
+ adaptStartEvent(builder, (JAXBStartEvent)jaxbFlowObject);
+ }
+ else if (jaxbFlowObject instanceof JAXBIntermediateEvent)
+ {
+ adaptIntermediateEvent(builder, (JAXBIntermediateEvent)jaxbFlowObject);
+ }
+ else if (jaxbFlowObject instanceof JAXBEndEvent)
+ {
+ adaptEndEvent(builder, (JAXBEndEvent)jaxbFlowObject);
+ }
+ else if (jaxbFlowObject instanceof JAXBSubProcess)
+ {
+ adaptSubProcess(builder, (JAXBSubProcess)jaxbFlowObject);
+ }
+ else if (jaxbFlowObject instanceof JAXBTask)
+ {
+ adaptTask(builder, (JAXBTask)jaxbFlowObject);
+ }
+ else if (jaxbFlowObject instanceof JAXBExclusiveGateway)
+ {
+ adaptExclusiveGateway(builder, (JAXBExclusiveGateway)jaxbFlowObject);
+ }
+ else if (jaxbFlowObject instanceof JAXBInclusiveGateway)
+ {
+ adaptInclusiveGateway(builder, (JAXBInclusiveGateway)jaxbFlowObject);
+ }
+ else if (jaxbFlowObject instanceof JAXBComplexGateway)
+ {
+ adaptComplexGateway(builder, (JAXBComplexGateway)jaxbFlowObject);
+ }
+ else if (jaxbFlowObject instanceof JAXBParallelGateway)
+ {
+ adaptParallelGateway(builder, (JAXBParallelGateway)jaxbFlowObject);
+ }
+ else
+ {
+ throw new InvalidProcessException("Unsupported type: " + jaxbFlowObject);
+ }
+ }
+
+ Process proc = builder.getProcess();
+ return proc;
+ }
+
+ private void adaptExclusiveGateway(ProcessBuilder builder, JAXBExclusiveGateway jaxb)
+ {
+ builder.addExclusiveGateway(jaxb.getName());
+ for(JAXBFlow flow : jaxb.getOutFlows())
+ builder.addSequenceFlow(flow.getTargetName());
+ }
+
+ private void adaptInclusiveGateway(ProcessBuilder builder, JAXBInclusiveGateway jaxb)
+ {
+ builder.addInclusiveGateway(jaxb.getName());
+ for(JAXBFlow flow : jaxb.getOutFlows())
+ builder.addSequenceFlow(flow.getTargetName());
+ }
+
+ private void adaptComplexGateway(ProcessBuilder builder, JAXBComplexGateway jaxb)
+ {
+ builder.addComplexGateway(jaxb.getName());
+ for(JAXBFlow flow : jaxb.getOutFlows())
+ builder.addSequenceFlow(flow.getTargetName());
+ }
+
+ private void adaptParallelGateway(ProcessBuilder builder, JAXBParallelGateway jaxb)
+ {
+ builder.addParallelGateway(jaxb.getName());
+ for(JAXBFlow flow : jaxb.getOutFlows())
+ builder.addSequenceFlow(flow.getTargetName());
+ }
+
+ private void adaptTask(ProcessBuilder builder, JAXBTask jaxb)
+ {
+ String targetName = jaxb.getOutFlow().getTargetName();
+ builder.addTask(jaxb.getName()).addSequenceFlow(targetName);
+
+ JAXBHandler jaxbHandler = jaxb.getExecutionHandler();
+ if (jaxbHandler != null)
+ builder.addExecutionHandler(loadHandler(jaxbHandler.getClassName()));
+ }
+
+ private void adaptStartEvent(ProcessBuilder builder, JAXBStartEvent jaxb)
+ {
+ String targetName = jaxb.getOutFlow().getTargetName();
+ builder.addStartEvent().addSequenceFlow(targetName);
+ }
+
+ private void adaptIntermediateEvent(ProcessBuilder builder, JAXBIntermediateEvent jaxb)
+ {
+ String targetName = jaxb.getOutFlow().getTargetName();
+ builder.addItermediateEvent(jaxb.getName()).addSequenceFlow(targetName);
+ }
+
+ private void adaptEndEvent(ProcessBuilder builder, JAXBEndEvent jaxb)
+ {
+ builder.addEndEvent(jaxb.getName());
+ }
+
+ private void adaptSubProcess(ProcessBuilder builder, JAXBSubProcess jaxb)
+ {
+ throw new NotImplementedException();
+ }
+
+ private Class<?> loadHandler(String className)
+ {
+ try
+ {
+ ClassLoader ctxLoader = Thread.currentThread().getContextClassLoader();
+ return ctxLoader.loadClass(className);
+ }
+ catch (ClassNotFoundException e)
+ {
+ throw new IllegalStateException("Cannot load handler class: " + className);
+ }
+ }
}
Added: api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBBPMNElement.java
===================================================================
--- api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBBPMNElement.java (rev 0)
+++ api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBBPMNElement.java 2008-07-17 19:25:24 UTC (rev 1672)
@@ -0,0 +1,50 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.bpm.dialect.api10.model;
+
+//$Id$
+
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * @author thomas.diesler(a)jboss.com
+ * @since 08-Jul-2008
+ */
+@XmlType(name = "BPMNElement")
+public class JAXBBPMNElement
+{
+ private String id;
+
+ public String getId()
+ {
+ return id;
+ }
+
+ @XmlAttribute(name = "ID", required = false)
+ public void setId(String id)
+ {
+ this.id = id;
+ }
+
+}
\ No newline at end of file
Property changes on: api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBBPMNElement.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Modified: api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBFlow.java
===================================================================
--- api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBFlow.java 2008-07-17 16:48:54 UTC (rev 1671)
+++ api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBFlow.java 2008-07-17 19:25:24 UTC (rev 1672)
@@ -36,7 +36,7 @@
* @since 08-Jul-2008
*/
@XmlType(name = "Flow")
-public class JAXBFlow
+public class JAXBFlow extends JAXBSupportingElement
{
private String name;
private String targetName;
Modified: api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBFlowObject.java
===================================================================
--- api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBFlowObject.java 2008-07-17 16:48:54 UTC (rev 1671)
+++ api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBFlowObject.java 2008-07-17 19:25:24 UTC (rev 1672)
@@ -33,6 +33,6 @@
* @since 08-Jul-2008
*/
@XmlType(name = "FlowObject")
-public class JAXBFlowObject
+public class JAXBFlowObject extends JAXBGraphicalElement
{
}
\ No newline at end of file
Added: api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBGraphicalElement.java
===================================================================
--- api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBGraphicalElement.java (rev 0)
+++ api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBGraphicalElement.java 2008-07-17 19:25:24 UTC (rev 1672)
@@ -0,0 +1,36 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.bpm.dialect.api10.model;
+
+//$Id$
+
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * @author thomas.diesler(a)jboss.com
+ * @since 08-Jul-2008
+ */
+@XmlType(name = "GraphicalElement")
+public class JAXBGraphicalElement
+{
+}
\ No newline at end of file
Property changes on: api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBGraphicalElement.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Modified: api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBProcess.java
===================================================================
--- api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBProcess.java 2008-07-17 16:48:54 UTC (rev 1671)
+++ api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBProcess.java 2008-07-17 19:25:24 UTC (rev 1672)
@@ -26,6 +26,7 @@
import java.util.ArrayList;
import java.util.List;
+import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElements;
import javax.xml.bind.annotation.XmlRootElement;
@@ -39,8 +40,9 @@
*/
@XmlType(name = "Process")
@XmlRootElement(name = "process")
-public class JAXBProcess extends JAXBActivity
+public class JAXBProcess extends JAXBSupportingElement
{
+ private String name;
@XmlElements( {
@XmlElement(name = "start", type = JAXBStartEvent.class),
@XmlElement(name = "event", type = JAXBIntermediateEvent.class),
@@ -53,7 +55,18 @@
@XmlElement(name = "end", type = JAXBEndEvent.class)
})
private List<JAXBFlowObject> flowObjects = new ArrayList<JAXBFlowObject>();
+
+ public String getName()
+ {
+ return name;
+ }
+ @XmlAttribute(required = true)
+ public void setName(String name)
+ {
+ this.name = name;
+ }
+
/**
* Get the list of flow objects
*/
Modified: api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBSubProcess.java
===================================================================
--- api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBSubProcess.java 2008-07-17 16:48:54 UTC (rev 1671)
+++ api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBSubProcess.java 2008-07-17 19:25:24 UTC (rev 1672)
@@ -35,7 +35,7 @@
* @since 08-Jul-2008
*/
@XmlType(name = "SubProcess")
-public class JAXBSubProcess extends JAXBProcess
+public class JAXBSubProcess extends JAXBActivity
{
private JAXBExecutionHandler executionHandler;
private JAXBFlowHandler flowHandler;
Added: api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBSupportingElement.java
===================================================================
--- api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBSupportingElement.java (rev 0)
+++ api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBSupportingElement.java 2008-07-17 19:25:24 UTC (rev 1672)
@@ -0,0 +1,36 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.bpm.dialect.api10.model;
+
+//$Id$
+
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * @author thomas.diesler(a)jboss.com
+ * @since 08-Jul-2008
+ */
+@XmlType(name = "SupportingElement")
+public class JAXBSupportingElement
+{
+}
\ No newline at end of file
Property changes on: api/trunk/modules/dialects/api10/src/main/java/org/jboss/bpm/dialect/api10/model/JAXBSupportingElement.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Deleted: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/BpmnDiagramAdapter.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/BpmnDiagramAdapter.java 2008-07-17 16:48:54 UTC (rev 1671)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/BpmnDiagramAdapter.java 2008-07-17 19:25:24 UTC (rev 1672)
@@ -1,78 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.bpm.dialect.stp;
-
-// $Id$
-
-import java.util.List;
-
-import org.jboss.bpm.InvalidProcessException;
-import org.jboss.bpm.dialect.stp.model.Activity;
-import org.jboss.bpm.dialect.stp.model.ActivityType;
-import org.jboss.bpm.dialect.stp.model.BpmnDiagram;
-import org.jboss.bpm.dialect.stp.model.Pool;
-import org.jboss.bpm.model.ProcessBuilder;
-import org.jboss.bpm.model.ProcessBuilderFactory;
-
-/**
- * Adapt the jpdl-3.2 ProcessDefinition to the API Process
- *
- * @author thomas.diesler(a)jboss.com
- * @since 18-Jun-2008
- */
-public class BpmnDiagramAdapter
-{
- public ProcessBuilder adaptBpmnDiagram(BpmnDiagram bpmnDiagram)
- {
- List<Pool> stpPools = bpmnDiagram.getPools();
- if (stpPools == null || stpPools.size() == 0)
- throw new IllegalStateException("Expected at least one Pool");
- if (stpPools.size() > 1)
- throw new IllegalStateException("Multiple Pools not supported");
-
- Pool stpPool = stpPools.get(0);
- ProcessBuilder builder = ProcessBuilderFactory.newInstance().newProcessBuilder(stpPool.getId());
-
- return builder;
- }
-
- public void adaptActivity(ProcessBuilder builder, Activity stpActivity, String name)
- {
- ActivityType activityType = stpActivity.getActivityType();
- if (activityType == ActivityType.EVENT_START_EMPTY)
- {
- builder.addStartEvent();
- }
- else if (activityType == ActivityType.EVENT_END_EMPTY)
- {
- builder.addEndEvent(name);
- }
- else if (activityType == ActivityType.TASK)
- {
- builder.addTask(name);
- }
- else
- {
- throw new InvalidProcessException("Unsupported activity type: " + activityType);
- }
- }
-}
Modified: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/ProcessUnmarshaller.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/ProcessUnmarshaller.java 2008-07-17 16:48:54 UTC (rev 1671)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/ProcessUnmarshaller.java 2008-07-17 19:25:24 UTC (rev 1672)
@@ -24,7 +24,9 @@
// $Id$
import java.io.InputStream;
+import java.util.ArrayList;
import java.util.Iterator;
+import java.util.List;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBException;
@@ -33,11 +35,16 @@
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
+import org.jboss.bpm.InvalidProcessException;
import org.jboss.bpm.dialect.stp.model.Activity;
+import org.jboss.bpm.dialect.stp.model.ActivityType;
import org.jboss.bpm.dialect.stp.model.BpmnDiagram;
import org.jboss.bpm.dialect.stp.model.ObjectFactory;
+import org.jboss.bpm.dialect.stp.model.Pool;
+import org.jboss.bpm.dialect.stp.model.SequenceEdge;
import org.jboss.bpm.model.Process;
import org.jboss.bpm.model.ProcessBuilder;
+import org.jboss.bpm.model.ProcessBuilderFactory;
import org.jboss.util.xml.DOMUtils;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
@@ -51,15 +58,20 @@
public class ProcessUnmarshaller
{
public static final String NAMESPACE_URI = "http://stp.eclipse.org/bpmn";
-
+
+ private BpmnDiagram diagram;
+ private List<SequenceEdge> sequenceEdges;
+ private List<Activity> activities = new ArrayList<Activity>();
+
+ @SuppressWarnings("unchecked")
public Process unmarshallProcess(InputStream xml) throws JAXBException
{
JAXBContext jaxbContext = JAXBContext.newInstance(ObjectFactory.class);
Unmarshaller unmarshaller = jaxbContext.createUnmarshaller();
unmarshaller.setProperty("com.sun.xml.bind.ObjectFactory", new ObjectFactory());
- // We need to unmarshall the elements one by one because the generated STP BPMN
- // file does not contain xsd:type declarations so that JACB cannot createt the types
+ // We need to unmarshall the elements one by one because the generated STP BPMN
+ // file does not contain xsd:type declarations so that JAXB cannot createt the types
// automatically
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
dbf.setNamespaceAware(true);
@@ -75,30 +87,121 @@
}
Element root = doc.getDocumentElement();
- BpmnDiagram bpmnDiagram = unmarshaller.unmarshal(root, BpmnDiagram.class).getValue();
-
- BpmnDiagramAdapter bpmnAdapter = new BpmnDiagramAdapter();
- ProcessBuilder builder = bpmnAdapter.adaptBpmnDiagram(bpmnDiagram);
-
- Element stpEl = (Element)DOMUtils.getChildElements(root, "pools").next();
- Iterator itEl = DOMUtils.getChildElements(stpEl, "vertices");
+ diagram = unmarshaller.unmarshal(root, BpmnDiagram.class).getValue();
+ ProcessBuilder builder = adaptDiagram(diagram);
+
+ // Initialize the list of sequence edges
+ Element poolEl = (Element)DOMUtils.getChildElements(root, "pools").next();
+ Pool pool = unmarshaller.unmarshal(poolEl, Pool.class).getValue();
+ sequenceEdges = pool.getSequenceEdges();
+
+ // Iterate over all 'verticies'
+ Iterator<Element> itEl = DOMUtils.getChildElements(poolEl, "vertices");
while (itEl.hasNext())
{
- stpEl = (Element)itEl.next();
+ Element stpEl = itEl.next();
String xmiType = DOMUtils.getAttributeValue(stpEl, new QName("http://www.omg.org/XMI", "type"));
if ("bpmn:Activity".equals(xmiType))
{
- Activity bpmnActivity = unmarshaller.unmarshal(stpEl, Activity.class).getValue();
+ Activity stpActivity = unmarshaller.unmarshal(stpEl, Activity.class).getValue();
String name = DOMUtils.getAttributeValue(stpEl, "name");
- name = (name != null ? name : bpmnActivity.getId());
- bpmnAdapter.adaptActivity(builder, bpmnActivity, name);
+ name = (name != null ? name : stpActivity.getId());
+ stpActivity.setLabel(name);
+
+ // Fall back to the attribute if JAXB did not initialize it
+ List<String> outEdges = stpActivity.getOutgoingEdges();
+ if (outEdges.size() == 0)
+ {
+ String edgeStr = DOMUtils.getAttributeValue(stpEl, "outgoingEdges");
+ if (edgeStr != null && edgeStr.length() > 0)
+ outEdges.add(edgeStr);
+ }
+
+ activities.add(stpActivity);
}
else
{
throw new IllegalStateException("Unsupported xmi:type: " + xmiType);
}
}
-
+
+ // Build the activities
+ for (Activity stpActivity : activities)
+ {
+ adaptActivity(builder, stpActivity);
+ }
+
return builder.getProcess();
}
+
+ private ProcessBuilder adaptDiagram(BpmnDiagram bpmnDiagram)
+ {
+ List<Pool> stpPools = bpmnDiagram.getPools();
+ if (stpPools == null || stpPools.size() == 0)
+ throw new IllegalStateException("Expected at least one Pool");
+ if (stpPools.size() > 1)
+ throw new IllegalStateException("Multiple Pools not supported");
+
+ Pool stpPool = stpPools.get(0);
+ ProcessBuilder builder = ProcessBuilderFactory.newInstance().newProcessBuilder(stpPool.getId());
+
+ return builder;
+ }
+
+ private void adaptActivity(ProcessBuilder builder, Activity stpActivity)
+ {
+ ActivityType activityType = stpActivity.getActivityType();
+ if (activityType == ActivityType.EVENT_START_EMPTY)
+ {
+ builder.addStartEvent();
+ adaptOutgoingEdges(builder, stpActivity);
+ }
+ else if (activityType == ActivityType.EVENT_END_EMPTY)
+ {
+ String name = stpActivity.getLabel();
+ builder.addEndEvent(name);
+ }
+ else if (activityType == ActivityType.TASK)
+ {
+ String name = stpActivity.getLabel();
+ builder.addTask(name);
+ adaptOutgoingEdges(builder, stpActivity);
+ }
+ else
+ {
+ throw new InvalidProcessException("Unsupported activity type: " + activityType);
+ }
+ }
+
+ private void adaptOutgoingEdges(ProcessBuilder builder, Activity stpActivity)
+ {
+ for (String edgeId : stpActivity.getOutgoingEdges())
+ {
+ SequenceEdge seqEdge = getSequenceEdgeById(edgeId);
+ String targetId = seqEdge.getTarget();
+ Activity targetAct = getActivityById(targetId);
+ String targetName = targetAct.getLabel();
+ builder.addSequenceFlow(targetName);
+ }
+ }
+
+ private SequenceEdge getSequenceEdgeById(String edgeId)
+ {
+ for (SequenceEdge seqEdge : sequenceEdges)
+ {
+ if (seqEdge.getId().equals(edgeId))
+ return seqEdge;
+ }
+ return null;
+ }
+
+ private Activity getActivityById(String id)
+ {
+ for (Activity act : activities)
+ {
+ if (act.getId().equals(id))
+ return act;
+ }
+ return null;
+ }
}
Modified: api/trunk/modules/dialects/stp/src/test/java/org/jboss/bpm/dialect/stp/sequence/SequenceTest.java
===================================================================
--- api/trunk/modules/dialects/stp/src/test/java/org/jboss/bpm/dialect/stp/sequence/SequenceTest.java 2008-07-17 16:48:54 UTC (rev 1671)
+++ api/trunk/modules/dialects/stp/src/test/java/org/jboss/bpm/dialect/stp/sequence/SequenceTest.java 2008-07-17 19:25:24 UTC (rev 1672)
@@ -26,8 +26,8 @@
import java.net.URL;
import org.jboss.bpm.client.ProcessManager;
-import org.jboss.bpm.dialect.stp.AbstractSTPDialectTest;
import org.jboss.bpm.model.Process;
+import org.jboss.bpm.test.DefaultEngineTestCase;
/**
* Test the basic execution sequence
@@ -35,7 +35,7 @@
* @author thomas.diesler(a)jboss.com
* @since 03-Jul-2008
*/
-public class SequenceTest extends AbstractSTPDialectTest
+public class SequenceTest extends DefaultEngineTestCase
{
/**
* Test a basic sequence
@@ -47,5 +47,6 @@
// Create a Process through the ProcessManager
ProcessManager pm = ProcessManager.locateProcessManager();
Process proc = pm.createProcess(jpdlURL);
+ assertNotNull(proc);
}
}
Modified: api/trunk/modules/dialects/stp/src/test/resources/jbpm-beans.xml
===================================================================
--- api/trunk/modules/dialects/stp/src/test/resources/jbpm-beans.xml 2008-07-17 16:48:54 UTC (rev 1671)
+++ api/trunk/modules/dialects/stp/src/test/resources/jbpm-beans.xml 2008-07-17 19:25:24 UTC (rev 1672)
@@ -16,6 +16,7 @@
<!-- The ProcessManager -->
<bean name="jBPMProcessManager" class="org.jboss.bpm.client.internal.ProcessManagerImpl">
<property name="processEngine"><inject bean="jBPMProcessEngine" state="Instantiated"/></property>
+ <property name="dialectRegistry"><inject bean="jBPMDialectRegistry"/></property>
<property name="dialectHandlers">
<map keyClass="java.lang.String" valueClass="org.jboss.bpm.client.DialectHandler">
<entry><key>stp</key><value><inject bean="jBPMDialectHandlerSTP"/></value></entry>
@@ -24,6 +25,15 @@
</bean>
<bean name="jBPMDialectHandlerSTP" class="org.jboss.bpm.dialect.stp.DialectHandlerImpl"/>
+ <!-- The DialectRegistry -->
+ <bean name="jBPMDialectRegistry" class="org.jboss.bpm.client.DialectRegistry">
+ <property name="registry">
+ <map keyClass="java.lang.String" valueClass="java.lang.String">
+ <entry><key>http://stp.eclipse.org/bpmn</key><value>stp</value></entry>
+ </map>
+ </property>
+ </bean>
+
<!-- The ExecutionManager -->
<bean name="jBPMExecutionManager" class="org.jboss.bpm.client.internal.ExecutionManagerImpl">
<property name="processEngine"><inject bean="jBPMProcessEngine" state="Instantiated"/></property>
Modified: api/trunk/modules/impl/src/main/java/org/jboss/bpm/client/internal/ProcessManagerImpl.java
===================================================================
--- api/trunk/modules/impl/src/main/java/org/jboss/bpm/client/internal/ProcessManagerImpl.java 2008-07-17 16:48:54 UTC (rev 1671)
+++ api/trunk/modules/impl/src/main/java/org/jboss/bpm/client/internal/ProcessManagerImpl.java 2008-07-17 19:25:24 UTC (rev 1672)
@@ -26,6 +26,7 @@
import java.util.Map;
import org.jboss.bpm.client.DialectHandler;
+import org.jboss.bpm.client.DialectRegistry;
import org.jboss.bpm.client.ProcessEngine;
import org.jboss.bpm.client.ProcessManager;
@@ -46,4 +47,9 @@
{
this.dialectHandlers = dialectHandlers;
}
+
+ public void setDialectRegistry(DialectRegistry dialectRegistry)
+ {
+ this.dialectRegistry = dialectRegistry;
+ }
}
Added: api/trunk/modules/impl/src/main/java/org/jboss/bpm/model/internal/BPMNElementImpl.java
===================================================================
--- api/trunk/modules/impl/src/main/java/org/jboss/bpm/model/internal/BPMNElementImpl.java (rev 0)
+++ api/trunk/modules/impl/src/main/java/org/jboss/bpm/model/internal/BPMNElementImpl.java 2008-07-17 19:25:24 UTC (rev 1672)
@@ -0,0 +1,66 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.bpm.model.internal;
+
+//$Id$
+
+import org.jboss.bpm.model.BPMNElement;
+import org.jboss.bpm.model.Process;
+
+/**
+ *
+ * @author thomas.diesler(a)jboss.com
+ * @since 08-Jul-2008
+ */
+public class BPMNElementImpl implements BPMNElement
+{
+ private String id;
+ private Process process;
+
+ public Process getProcess()
+ {
+ return process;
+ }
+
+ public void setProcess(Process process)
+ {
+ this.process = process;
+ }
+
+ public String getID()
+ {
+ return id;
+ }
+
+ public void setID(String id)
+ {
+ this.id = id;
+ }
+
+ /**
+ * Initialize the flow object
+ */
+ protected void initialize(Process proc)
+ {
+ setProcess(proc);
+ }
+}
\ No newline at end of file
Property changes on: api/trunk/modules/impl/src/main/java/org/jboss/bpm/model/internal/BPMNElementImpl.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Modified: api/trunk/modules/impl/src/main/java/org/jboss/bpm/model/internal/FlowImpl.java
===================================================================
--- api/trunk/modules/impl/src/main/java/org/jboss/bpm/model/internal/FlowImpl.java 2008-07-17 16:48:54 UTC (rev 1671)
+++ api/trunk/modules/impl/src/main/java/org/jboss/bpm/model/internal/FlowImpl.java 2008-07-17 19:25:24 UTC (rev 1672)
@@ -33,7 +33,7 @@
* @author thomas.diesler(a)jboss.com
* @since 08-Jul-2008
*/
-public abstract class FlowImpl implements Flow
+public abstract class FlowImpl extends SupportingElementImpl implements Flow
{
private String name;
private String targetName;
Modified: api/trunk/modules/impl/src/main/java/org/jboss/bpm/model/internal/FlowObjectImpl.java
===================================================================
--- api/trunk/modules/impl/src/main/java/org/jboss/bpm/model/internal/FlowObjectImpl.java 2008-07-17 16:48:54 UTC (rev 1671)
+++ api/trunk/modules/impl/src/main/java/org/jboss/bpm/model/internal/FlowObjectImpl.java 2008-07-17 19:25:24 UTC (rev 1672)
@@ -40,27 +40,14 @@
* @author thomas.diesler(a)jboss.com
* @since 08-Jul-2008
*/
-public abstract class FlowObjectImpl implements FlowObject
+public abstract class FlowObjectImpl extends GraphicalElementImpl implements FlowObject
{
- private Process process;
-
-
- public Process getProcess()
- {
- return process;
- }
-
- public void setProcess(Process process)
- {
- this.process = process;
- }
-
/**
* Initialize the flow object
*/
protected void initialize(ProcessImpl proc)
{
- setProcess(proc);
+ super.initialize(proc);
if (this instanceof NamedFlowObject)
{
Added: api/trunk/modules/impl/src/main/java/org/jboss/bpm/model/internal/GraphicalElementImpl.java
===================================================================
--- api/trunk/modules/impl/src/main/java/org/jboss/bpm/model/internal/GraphicalElementImpl.java (rev 0)
+++ api/trunk/modules/impl/src/main/java/org/jboss/bpm/model/internal/GraphicalElementImpl.java 2008-07-17 19:25:24 UTC (rev 1672)
@@ -0,0 +1,35 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.bpm.model.internal;
+
+//$Id$
+
+import org.jboss.bpm.model.GraphicalElement;
+
+/**
+ *
+ * @author thomas.diesler(a)jboss.com
+ * @since 08-Jul-2008
+ */
+public abstract class GraphicalElementImpl extends BPMNElementImpl implements GraphicalElement
+{
+}
\ No newline at end of file
Property changes on: api/trunk/modules/impl/src/main/java/org/jboss/bpm/model/internal/GraphicalElementImpl.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Modified: api/trunk/modules/impl/src/main/java/org/jboss/bpm/model/internal/ProcessImpl.java
===================================================================
--- api/trunk/modules/impl/src/main/java/org/jboss/bpm/model/internal/ProcessImpl.java 2008-07-17 16:48:54 UTC (rev 1671)
+++ api/trunk/modules/impl/src/main/java/org/jboss/bpm/model/internal/ProcessImpl.java 2008-07-17 19:25:24 UTC (rev 1672)
@@ -45,17 +45,23 @@
* @author thomas.diesler(a)jboss.com
* @since 08-Jul-2008
*/
-public class ProcessImpl extends ActivityImpl implements Process
+public class ProcessImpl extends SupportingElementImpl implements Process
{
+ private String name;
private List<FlowObject> flowObjects = new ArrayList<FlowObject>();
private ProcessState processState = ProcessState.CREATED;
public ProcessImpl(String name)
{
- super(name);
+ this.name = name;
setProcess(this);
}
+ public String getName()
+ {
+ return name;
+ }
+
public void addFlowObject(FlowObject flowObject)
{
flowObjects.add(flowObject);
@@ -150,7 +156,7 @@
if (getName() == null)
{
ProcessManager pm = ProcessManager.locateProcessManager();
- setName("AnonymousProcess#" + pm.getProcesses().size());
+ this.name = "AnonymousProcess#" + pm.getProcesses().size();
}
if (getStartEvent() == null)
Modified: api/trunk/modules/impl/src/main/java/org/jboss/bpm/model/internal/SubProcessImpl.java
===================================================================
--- api/trunk/modules/impl/src/main/java/org/jboss/bpm/model/internal/SubProcessImpl.java 2008-07-17 16:48:54 UTC (rev 1671)
+++ api/trunk/modules/impl/src/main/java/org/jboss/bpm/model/internal/SubProcessImpl.java 2008-07-17 19:25:24 UTC (rev 1672)
@@ -23,6 +23,7 @@
//$Id$
+import org.jboss.bpm.NotImplementedException;
import org.jboss.bpm.model.Flow;
import org.jboss.bpm.model.FlowObject;
import org.jboss.bpm.model.Signal;
@@ -40,7 +41,7 @@
* @author thomas.diesler(a)jboss.com
* @since 08-Jul-2008
*/
-public class SubProcessImpl extends ProcessImpl implements SubProcess, HandlerSetterSupport, SingleInFlowSetterSupport, SingleOutFlowSetterSupport
+public class SubProcessImpl extends ActivityImpl implements SubProcess, HandlerSetterSupport, SingleInFlowSetterSupport, SingleOutFlowSetterSupport
{
private Flow inFlow;
private Flow outFlow;
@@ -82,7 +83,7 @@
{
public void execute(Token token)
{
- startProcess(token.getExecutionContext());
+ throw new NotImplementedException();
}
};
}
Added: api/trunk/modules/impl/src/main/java/org/jboss/bpm/model/internal/SupportingElementImpl.java
===================================================================
--- api/trunk/modules/impl/src/main/java/org/jboss/bpm/model/internal/SupportingElementImpl.java (rev 0)
+++ api/trunk/modules/impl/src/main/java/org/jboss/bpm/model/internal/SupportingElementImpl.java 2008-07-17 19:25:24 UTC (rev 1672)
@@ -0,0 +1,35 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.bpm.model.internal;
+
+//$Id$
+
+import org.jboss.bpm.model.SupportingElement;
+
+/**
+ *
+ * @author thomas.diesler(a)jboss.com
+ * @since 08-Jul-2008
+ */
+public abstract class SupportingElementImpl extends BPMNElementImpl implements SupportingElement
+{
+}
\ No newline at end of file
Property changes on: api/trunk/modules/impl/src/main/java/org/jboss/bpm/model/internal/SupportingElementImpl.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Modified: api/trunk/modules/testsuite/pom.xml
===================================================================
--- api/trunk/modules/testsuite/pom.xml 2008-07-17 16:48:54 UTC (rev 1671)
+++ api/trunk/modules/testsuite/pom.xml 2008-07-17 19:25:24 UTC (rev 1672)
@@ -66,6 +66,18 @@
<version>${version}</version>
<scope>runtime</scope>
</dependency>
+ <dependency>
+ <groupId>org.jboss.jbpm</groupId>
+ <artifactId>jbpm-api-dialect-stp</artifactId>
+ <version>${version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.jbpm</groupId>
+ <artifactId>jbpm-api-dialect-xpdl21</artifactId>
+ <version>${version}</version>
+ <scope>runtime</scope>
+ </dependency>
</dependencies>
<!-- Plugins -->
Modified: api/trunk/modules/testsuite/src/test/resources/jbpm-beans.xml
===================================================================
--- api/trunk/modules/testsuite/src/test/resources/jbpm-beans.xml 2008-07-17 16:48:54 UTC (rev 1671)
+++ api/trunk/modules/testsuite/src/test/resources/jbpm-beans.xml 2008-07-17 19:25:24 UTC (rev 1672)
@@ -16,12 +16,13 @@
<!-- The ProcessManager -->
<bean name="jBPMProcessManager" class="org.jboss.bpm.client.internal.ProcessManagerImpl">
<property name="processEngine"><inject bean="jBPMProcessEngine" state="Instantiated"/></property>
+ <property name="dialectRegistry"><inject bean="jBPMDialectRegistry"/></property>
<property name="dialectHandlers">
<map keyClass="java.lang.String" valueClass="org.jboss.bpm.client.DialectHandler">
<entry><key>api10</key><value><inject bean="jBPMDialectHandlerAPI10"/></value></entry>
<entry><key>jpdl32</key><value><inject bean="jBPMDialectHandlerJPDL32"/></value></entry>
<entry><key>stp</key><value><inject bean="jBPMDialectHandlerSTP"/></value></entry>
- <entry><key>xpdl32</key><value><inject bean="jBPMDialectHandlerXPDL21"/></value></entry>
+ <entry><key>xpdl21</key><value><inject bean="jBPMDialectHandlerXPDL21"/></value></entry>
</map>
</property>
</bean>
@@ -30,6 +31,18 @@
<bean name="jBPMDialectHandlerSTP" class="org.jboss.bpm.dialect.stp.DialectHandlerImpl"/>
<bean name="jBPMDialectHandlerXPDL21" class="org.jboss.bpm.dialect.xpdl21.DialectHandlerImpl"/>
+ <!-- The DialectRegistry -->
+ <bean name="jBPMDialectRegistry" class="org.jboss.bpm.client.DialectRegistry">
+ <property name="registry">
+ <map keyClass="java.lang.String" valueClass="java.lang.String">
+ <entry><key>urn:api.bpm.jboss:jpdl-0.1</key><value>api10</value></entry>
+ <entry><key>urn:jbpm.org:jpdl-3.2</key><value>jpdl32</value></entry>
+ <entry><key>http://stp.eclipse.org/bpmn</key><value>stp</value></entry>
+ <entry><key>http://www.wfmc.org/2008/XPDL2.1</key><value>xpdl21</value></entry>
+ </map>
+ </property>
+ </bean>
+
<!-- The ExecutionManager -->
<bean name="jBPMExecutionManager" class="org.jboss.bpm.client.internal.ExecutionManagerImpl">
<property name="processEngine"><inject bean="jBPMProcessEngine" state="Instantiated"/></property>
15 years, 11 months
JBoss JBPM SVN: r1671 - in api/trunk: modules/dialects and 24 other directories.
by do-not-reply@jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-07-17 12:48:54 -0400 (Thu, 17 Jul 2008)
New Revision: 1671
Added:
api/trunk/modules/dialects/stp/
api/trunk/modules/dialects/stp/pom.xml
api/trunk/modules/dialects/stp/src/
api/trunk/modules/dialects/stp/src/main/
api/trunk/modules/dialects/stp/src/main/java/
api/trunk/modules/dialects/stp/src/main/java/org/
api/trunk/modules/dialects/stp/src/main/java/org/jboss/
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/BpmnDiagramAdapter.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/DialectHandlerImpl.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/ProcessUnmarshaller.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Activity.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ActivityType.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Artifact.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ArtifactsContainer.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Association.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/BpmnDiagram.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/DataObject.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Graph.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Group.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Identifiable.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/IdentifiableNode.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Lane.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/MessagingEdge.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/NamedBpmnObject.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ObjectFactory.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Pool.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/SequenceEdge.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/SequenceFlowConditionType.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/SubProcess.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/TextAnnotation.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Vertex.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EAnnotation.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EAttribute.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EClass.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EClassifier.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EDataType.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EEnum.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EEnumLiteral.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EFactory.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EModelElement.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/ENamedElement.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EObject.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EOperation.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EPackage.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EParameter.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EReference.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EStringToStringMapEntry.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EStructuralFeature.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/ETypedElement.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/ObjectFactory.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/package-info.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/package-info.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Add.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Any.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Delete.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Difference.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Documentation.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Extension.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Import.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/MetaModel.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Model.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/ObjectFactory.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/PackageReference.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Replace.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/XMI.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/package-info.java
api/trunk/modules/dialects/stp/src/main/resources/
api/trunk/modules/dialects/stp/src/main/resources/Ecore.xsd
api/trunk/modules/dialects/stp/src/main/resources/XMI.xsd
api/trunk/modules/dialects/stp/src/main/resources/bpmn-v20071210-0-7-1.xsd
api/trunk/modules/dialects/stp/src/main/resources/bpmn-v20071210-0-7-1_mods.xsd
api/trunk/modules/dialects/stp/src/main/resources/jaxb-bindings.xml
api/trunk/modules/dialects/stp/src/test/
api/trunk/modules/dialects/stp/src/test/java/
api/trunk/modules/dialects/stp/src/test/java/org/
api/trunk/modules/dialects/stp/src/test/java/org/jboss/
api/trunk/modules/dialects/stp/src/test/java/org/jboss/bpm/
api/trunk/modules/dialects/stp/src/test/java/org/jboss/bpm/dialect/
api/trunk/modules/dialects/stp/src/test/java/org/jboss/bpm/dialect/stp/
api/trunk/modules/dialects/stp/src/test/java/org/jboss/bpm/dialect/stp/AbstractSTPDialectTest.java
api/trunk/modules/dialects/stp/src/test/java/org/jboss/bpm/dialect/stp/sequence/
api/trunk/modules/dialects/stp/src/test/java/org/jboss/bpm/dialect/stp/sequence/SequenceTest.java
api/trunk/modules/dialects/stp/src/test/resources/
api/trunk/modules/dialects/stp/src/test/resources/jbpm-beans.xml
api/trunk/modules/dialects/stp/src/test/resources/log4j.xml
api/trunk/modules/dialects/stp/src/test/resources/sequence/
api/trunk/modules/dialects/stp/src/test/resources/sequence/basic-sequence.bpmn
Modified:
api/trunk/.classpath
api/trunk/modules/testsuite/src/test/resources/jbpm-beans.xml
api/trunk/pom.xml
Log:
Add dialect stp bpmn
Modified: api/trunk/.classpath
===================================================================
--- api/trunk/.classpath 2008-07-17 14:48:17 UTC (rev 1670)
+++ api/trunk/.classpath 2008-07-17 16:48:54 UTC (rev 1671)
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="modules/api/target/classes" path="modules/api/src/main/java"/>
+ <classpathentry kind="src" path="modules/dialects/stp/src/test/java"/>
+ <classpathentry kind="src" path="modules/dialects/stp/src/main/java"/>
<classpathentry kind="src" path="modules/dialects/xpdl21/src/main/java"/>
<classpathentry kind="src" path="modules/dialects/jpdl32/src/main/java"/>
<classpathentry kind="src" path="modules/impl/src/main/java"/>
- <classpathentry kind="src" output="modules/dialects/jaxb/target/classes" path="modules/dialects/jaxb/src/main/java"/>
<classpathentry kind="src" output="modules/testsuite/target/test-classes" path="modules/testsuite/src/test/java"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
Property changes on: api/trunk/modules/dialects/stp
___________________________________________________________________
Name: svn:ignore
+ target
Added: api/trunk/modules/dialects/stp/pom.xml
===================================================================
--- api/trunk/modules/dialects/stp/pom.xml (rev 0)
+++ api/trunk/modules/dialects/stp/pom.xml 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ====================================================================== -->
+<!-- -->
+<!-- JBoss, the OpenSource J2EE webOS -->
+<!-- -->
+<!-- Distributable under LGPL license. -->
+<!-- See terms of license at http://www.gnu.org. -->
+<!-- -->
+<!-- ====================================================================== -->
+
+<!-- $Id$ -->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <name>JBoss jBPM - API Dialect STP-0.7.1</name>
+ <groupId>org.jboss.jbpm</groupId>
+ <artifactId>jbpm-api-dialect-stp</artifactId>
+ <packaging>jar</packaging>
+
+ <!-- Parent -->
+ <parent>
+ <groupId>org.jboss.jbpm</groupId>
+ <artifactId>jbpm-api-root</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <relativePath>../../pom.xml</relativePath>
+ </parent>
+
+ <!-- Dependencies -->
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.jbpm</groupId>
+ <artifactId>jbpm-api</artifactId>
+ <version>${version}</version>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-impl</artifactId>
+ </dependency>
+
+ <!-- Test Dependencies -->
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ <!-- Runtime Dependencies -->
+ <dependency>
+ <groupId>org.jboss.jbpm</groupId>
+ <artifactId>jbpm-api-impl</artifactId>
+ <version>${version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-xjc</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
+
+</project>
\ No newline at end of file
Property changes on: api/trunk/modules/dialects/stp/pom.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/BpmnDiagramAdapter.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/BpmnDiagramAdapter.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/BpmnDiagramAdapter.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,78 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.bpm.dialect.stp;
+
+// $Id$
+
+import java.util.List;
+
+import org.jboss.bpm.InvalidProcessException;
+import org.jboss.bpm.dialect.stp.model.Activity;
+import org.jboss.bpm.dialect.stp.model.ActivityType;
+import org.jboss.bpm.dialect.stp.model.BpmnDiagram;
+import org.jboss.bpm.dialect.stp.model.Pool;
+import org.jboss.bpm.model.ProcessBuilder;
+import org.jboss.bpm.model.ProcessBuilderFactory;
+
+/**
+ * Adapt the jpdl-3.2 ProcessDefinition to the API Process
+ *
+ * @author thomas.diesler(a)jboss.com
+ * @since 18-Jun-2008
+ */
+public class BpmnDiagramAdapter
+{
+ public ProcessBuilder adaptBpmnDiagram(BpmnDiagram bpmnDiagram)
+ {
+ List<Pool> stpPools = bpmnDiagram.getPools();
+ if (stpPools == null || stpPools.size() == 0)
+ throw new IllegalStateException("Expected at least one Pool");
+ if (stpPools.size() > 1)
+ throw new IllegalStateException("Multiple Pools not supported");
+
+ Pool stpPool = stpPools.get(0);
+ ProcessBuilder builder = ProcessBuilderFactory.newInstance().newProcessBuilder(stpPool.getId());
+
+ return builder;
+ }
+
+ public void adaptActivity(ProcessBuilder builder, Activity stpActivity, String name)
+ {
+ ActivityType activityType = stpActivity.getActivityType();
+ if (activityType == ActivityType.EVENT_START_EMPTY)
+ {
+ builder.addStartEvent();
+ }
+ else if (activityType == ActivityType.EVENT_END_EMPTY)
+ {
+ builder.addEndEvent(name);
+ }
+ else if (activityType == ActivityType.TASK)
+ {
+ builder.addTask(name);
+ }
+ else
+ {
+ throw new InvalidProcessException("Unsupported activity type: " + activityType);
+ }
+ }
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/BpmnDiagramAdapter.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/DialectHandlerImpl.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/DialectHandlerImpl.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/DialectHandlerImpl.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,72 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.bpm.dialect.stp;
+
+// $Id$
+
+import java.io.ByteArrayInputStream;
+import java.io.IOException;
+import java.net.URL;
+
+import javax.xml.bind.JAXBException;
+
+import org.jboss.bpm.InvalidProcessException;
+import org.jboss.bpm.client.DialectHandler;
+import org.jboss.bpm.model.Process;
+
+/**
+ * The DialectHandler converts a supported dialect to the internal Process model.
+ *
+ * @author thomas.diesler(a)jboss.com
+ * @since 18-Jun-2008
+ */
+public class DialectHandlerImpl implements DialectHandler
+{
+
+ public Process createProcess(String pXML)
+ {
+ try
+ {
+ ProcessUnmarshaller unmarschaller = new ProcessUnmarshaller();
+ Process proc = unmarschaller.unmarshallProcess(new ByteArrayInputStream(pXML.getBytes()));
+ return proc;
+ }
+ catch (JAXBException ex)
+ {
+ throw new InvalidProcessException("Cannot unmarschall: " + pXML, ex);
+ }
+ }
+
+ public Process createProcess(URL pURL) throws IOException
+ {
+ try
+ {
+ ProcessUnmarshaller unmarschaller = new ProcessUnmarshaller();
+ Process proc = unmarschaller.unmarshallProcess(pURL.openStream());
+ return proc;
+ }
+ catch (JAXBException ex)
+ {
+ throw new InvalidProcessException("Cannot unmarschall: " + pURL, ex);
+ }
+ }
+}
\ No newline at end of file
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/DialectHandlerImpl.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/ProcessUnmarshaller.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/ProcessUnmarshaller.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/ProcessUnmarshaller.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,104 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.bpm.dialect.stp;
+
+// $Id$
+
+import java.io.InputStream;
+import java.util.Iterator;
+
+import javax.xml.bind.JAXBContext;
+import javax.xml.bind.JAXBException;
+import javax.xml.bind.Unmarshaller;
+import javax.xml.namespace.QName;
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+
+import org.jboss.bpm.dialect.stp.model.Activity;
+import org.jboss.bpm.dialect.stp.model.BpmnDiagram;
+import org.jboss.bpm.dialect.stp.model.ObjectFactory;
+import org.jboss.bpm.model.Process;
+import org.jboss.bpm.model.ProcessBuilder;
+import org.jboss.util.xml.DOMUtils;
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+
+/**
+ * A JAXB unmarshaller for a Process
+ *
+ * @author thomas.diesler(a)jboss.com
+ * @since 08-Jul-2008
+ */
+public class ProcessUnmarshaller
+{
+ public static final String NAMESPACE_URI = "http://stp.eclipse.org/bpmn";
+
+ public Process unmarshallProcess(InputStream xml) throws JAXBException
+ {
+ JAXBContext jaxbContext = JAXBContext.newInstance(ObjectFactory.class);
+ Unmarshaller unmarshaller = jaxbContext.createUnmarshaller();
+ unmarshaller.setProperty("com.sun.xml.bind.ObjectFactory", new ObjectFactory());
+
+ // We need to unmarshall the elements one by one because the generated STP BPMN
+ // file does not contain xsd:type declarations so that JACB cannot createt the types
+ // automatically
+ DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+ dbf.setNamespaceAware(true);
+ Document doc;
+ try
+ {
+ DocumentBuilder db = dbf.newDocumentBuilder();
+ doc = db.parse(xml);
+ }
+ catch (Exception ex)
+ {
+ throw new IllegalStateException("Cannot parse stpbpmn", ex);
+ }
+
+ Element root = doc.getDocumentElement();
+ BpmnDiagram bpmnDiagram = unmarshaller.unmarshal(root, BpmnDiagram.class).getValue();
+
+ BpmnDiagramAdapter bpmnAdapter = new BpmnDiagramAdapter();
+ ProcessBuilder builder = bpmnAdapter.adaptBpmnDiagram(bpmnDiagram);
+
+ Element stpEl = (Element)DOMUtils.getChildElements(root, "pools").next();
+ Iterator itEl = DOMUtils.getChildElements(stpEl, "vertices");
+ while (itEl.hasNext())
+ {
+ stpEl = (Element)itEl.next();
+ String xmiType = DOMUtils.getAttributeValue(stpEl, new QName("http://www.omg.org/XMI", "type"));
+ if ("bpmn:Activity".equals(xmiType))
+ {
+ Activity bpmnActivity = unmarshaller.unmarshal(stpEl, Activity.class).getValue();
+ String name = DOMUtils.getAttributeValue(stpEl, "name");
+ name = (name != null ? name : bpmnActivity.getId());
+ bpmnAdapter.adaptActivity(builder, bpmnActivity, name);
+ }
+ else
+ {
+ throw new IllegalStateException("Unsupported xmi:type: " + xmiType);
+ }
+ }
+
+ return builder.getProcess();
+ }
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/ProcessUnmarshaller.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Activity.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Activity.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Activity.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,240 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlElementRefs;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for Activity complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Activity">
+ * <complexContent>
+ * <extension base="{http://stp.eclipse.org/bpmn}Vertex">
+ * <sequence>
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="incomingMessages" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="outgoingMessages" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/>
+ * </choice>
+ * <element name="groups" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="activityType" type="{http://stp.eclipse.org/bpmn}ActivityType" default="Task" />
+ * <attribute name="lane" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <attribute name="looping" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="eventHandlerFor" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Activity", propOrder = {
+ "incomingMessagesOrOutgoingMessages",
+ "groups"
+})
+@XmlSeeAlso({
+ SubProcess.class
+})
+public class Activity
+ extends Vertex
+{
+
+ @XmlElementRefs({
+ @XmlElementRef(name = "outgoingMessages", type = JAXBElement.class),
+ @XmlElementRef(name = "incomingMessages", type = JAXBElement.class)
+ })
+ protected List<JAXBElement<String>> incomingMessagesOrOutgoingMessages;
+ @XmlSchemaType(name = "anyURI")
+ protected List<String> groups;
+ @XmlAttribute
+ protected ActivityType activityType;
+ @XmlAttribute
+ @XmlSchemaType(name = "anyURI")
+ protected String lane;
+ @XmlAttribute
+ protected Boolean looping;
+ @XmlAttribute
+ @XmlSchemaType(name = "anyURI")
+ protected String eventHandlerFor;
+
+ /**
+ * Gets the value of the incomingMessagesOrOutgoingMessages property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the incomingMessagesOrOutgoingMessages property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getIncomingMessagesOrOutgoingMessages().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ *
+ */
+ public List<JAXBElement<String>> getIncomingMessagesOrOutgoingMessages() {
+ if (incomingMessagesOrOutgoingMessages == null) {
+ incomingMessagesOrOutgoingMessages = new ArrayList<JAXBElement<String>>();
+ }
+ return this.incomingMessagesOrOutgoingMessages;
+ }
+
+ /**
+ * Gets the value of the groups property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the groups property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getGroups().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getGroups() {
+ if (groups == null) {
+ groups = new ArrayList<String>();
+ }
+ return this.groups;
+ }
+
+ /**
+ * Gets the value of the activityType property.
+ *
+ * @return
+ * possible object is
+ * {@link ActivityType }
+ *
+ */
+ public ActivityType getActivityType() {
+ if (activityType == null) {
+ return ActivityType.TASK;
+ } else {
+ return activityType;
+ }
+ }
+
+ /**
+ * Sets the value of the activityType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ActivityType }
+ *
+ */
+ public void setActivityType(ActivityType value) {
+ this.activityType = value;
+ }
+
+ /**
+ * Gets the value of the lane property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLane() {
+ return lane;
+ }
+
+ /**
+ * Sets the value of the lane property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLane(String value) {
+ this.lane = value;
+ }
+
+ /**
+ * Gets the value of the looping property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isLooping() {
+ return looping;
+ }
+
+ /**
+ * Sets the value of the looping property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setLooping(Boolean value) {
+ this.looping = value;
+ }
+
+ /**
+ * Gets the value of the eventHandlerFor property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getEventHandlerFor() {
+ return eventHandlerFor;
+ }
+
+ /**
+ * Sets the value of the eventHandlerFor property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setEventHandlerFor(String value) {
+ this.eventHandlerFor = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Activity.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ActivityType.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ActivityType.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ActivityType.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,142 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ActivityType.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * <simpleType name="ActivityType">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="Task"/>
+ * <enumeration value="SubProcess"/>
+ * <enumeration value="EventStartEmpty"/>
+ * <enumeration value="EventStartMessage"/>
+ * <enumeration value="EventStartRule"/>
+ * <enumeration value="EventStartTimer"/>
+ * <enumeration value="EventStartLink"/>
+ * <enumeration value="EventStartMultiple"/>
+ * <enumeration value="EventIntermediateEmpty"/>
+ * <enumeration value="EventIntermediateMessage"/>
+ * <enumeration value="EventIntermediateTimer"/>
+ * <enumeration value="EventIntermediateError"/>
+ * <enumeration value="EventIntermediateCompensation"/>
+ * <enumeration value="EventIntermediateRule"/>
+ * <enumeration value="EventIntermediateLink"/>
+ * <enumeration value="EventIntermediateMultiple"/>
+ * <enumeration value="EventIntermediateCancel"/>
+ * <enumeration value="EventEndEmpty"/>
+ * <enumeration value="EventEndMessage"/>
+ * <enumeration value="EventEndError"/>
+ * <enumeration value="EventEndCompensation"/>
+ * <enumeration value="EventEndTerminate"/>
+ * <enumeration value="EventEndLink"/>
+ * <enumeration value="EventEndMultiple"/>
+ * <enumeration value="EventEndCancel"/>
+ * <enumeration value="GatewayDataBasedExclusive"/>
+ * <enumeration value="GatewayEventBasedExclusive"/>
+ * <enumeration value="GatewayDataBasedInclusive"/>
+ * <enumeration value="GatewayParallel"/>
+ * <enumeration value="GatewayComplex"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+@XmlType(name = "ActivityType")
+@XmlEnum
+public enum ActivityType {
+
+ @XmlEnumValue("Task")
+ TASK("Task"),
+ @XmlEnumValue("SubProcess")
+ SUB_PROCESS("SubProcess"),
+ @XmlEnumValue("EventStartEmpty")
+ EVENT_START_EMPTY("EventStartEmpty"),
+ @XmlEnumValue("EventStartMessage")
+ EVENT_START_MESSAGE("EventStartMessage"),
+ @XmlEnumValue("EventStartRule")
+ EVENT_START_RULE("EventStartRule"),
+ @XmlEnumValue("EventStartTimer")
+ EVENT_START_TIMER("EventStartTimer"),
+ @XmlEnumValue("EventStartLink")
+ EVENT_START_LINK("EventStartLink"),
+ @XmlEnumValue("EventStartMultiple")
+ EVENT_START_MULTIPLE("EventStartMultiple"),
+ @XmlEnumValue("EventIntermediateEmpty")
+ EVENT_INTERMEDIATE_EMPTY("EventIntermediateEmpty"),
+ @XmlEnumValue("EventIntermediateMessage")
+ EVENT_INTERMEDIATE_MESSAGE("EventIntermediateMessage"),
+ @XmlEnumValue("EventIntermediateTimer")
+ EVENT_INTERMEDIATE_TIMER("EventIntermediateTimer"),
+ @XmlEnumValue("EventIntermediateError")
+ EVENT_INTERMEDIATE_ERROR("EventIntermediateError"),
+ @XmlEnumValue("EventIntermediateCompensation")
+ EVENT_INTERMEDIATE_COMPENSATION("EventIntermediateCompensation"),
+ @XmlEnumValue("EventIntermediateRule")
+ EVENT_INTERMEDIATE_RULE("EventIntermediateRule"),
+ @XmlEnumValue("EventIntermediateLink")
+ EVENT_INTERMEDIATE_LINK("EventIntermediateLink"),
+ @XmlEnumValue("EventIntermediateMultiple")
+ EVENT_INTERMEDIATE_MULTIPLE("EventIntermediateMultiple"),
+ @XmlEnumValue("EventIntermediateCancel")
+ EVENT_INTERMEDIATE_CANCEL("EventIntermediateCancel"),
+ @XmlEnumValue("EventEndEmpty")
+ EVENT_END_EMPTY("EventEndEmpty"),
+ @XmlEnumValue("EventEndMessage")
+ EVENT_END_MESSAGE("EventEndMessage"),
+ @XmlEnumValue("EventEndError")
+ EVENT_END_ERROR("EventEndError"),
+ @XmlEnumValue("EventEndCompensation")
+ EVENT_END_COMPENSATION("EventEndCompensation"),
+ @XmlEnumValue("EventEndTerminate")
+ EVENT_END_TERMINATE("EventEndTerminate"),
+ @XmlEnumValue("EventEndLink")
+ EVENT_END_LINK("EventEndLink"),
+ @XmlEnumValue("EventEndMultiple")
+ EVENT_END_MULTIPLE("EventEndMultiple"),
+ @XmlEnumValue("EventEndCancel")
+ EVENT_END_CANCEL("EventEndCancel"),
+ @XmlEnumValue("GatewayDataBasedExclusive")
+ GATEWAY_DATA_BASED_EXCLUSIVE("GatewayDataBasedExclusive"),
+ @XmlEnumValue("GatewayEventBasedExclusive")
+ GATEWAY_EVENT_BASED_EXCLUSIVE("GatewayEventBasedExclusive"),
+ @XmlEnumValue("GatewayDataBasedInclusive")
+ GATEWAY_DATA_BASED_INCLUSIVE("GatewayDataBasedInclusive"),
+ @XmlEnumValue("GatewayParallel")
+ GATEWAY_PARALLEL("GatewayParallel"),
+ @XmlEnumValue("GatewayComplex")
+ GATEWAY_COMPLEX("GatewayComplex");
+ private final String value;
+
+ ActivityType(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static ActivityType fromValue(String v) {
+ for (ActivityType c: ActivityType.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ActivityType.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Artifact.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Artifact.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Artifact.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,112 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for Artifact complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Artifact">
+ * <complexContent>
+ * <extension base="{http://stp.eclipse.org/bpmn}Identifiable">
+ * <sequence>
+ * <element name="associations" type="{http://stp.eclipse.org/bpmn}Association" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="artifactsContainer" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Artifact", propOrder = {
+ "associations"
+})
+@XmlSeeAlso({
+ Group.class,
+ TextAnnotation.class,
+ DataObject.class
+})
+public class Artifact
+ extends Identifiable
+{
+
+ protected List<Association> associations;
+ @XmlAttribute
+ @XmlSchemaType(name = "anyURI")
+ protected String artifactsContainer;
+
+ /**
+ * Gets the value of the associations property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the associations property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAssociations().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Association }
+ *
+ *
+ */
+ public List<Association> getAssociations() {
+ if (associations == null) {
+ associations = new ArrayList<Association>();
+ }
+ return this.associations;
+ }
+
+ /**
+ * Gets the value of the artifactsContainer property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getArtifactsContainer() {
+ return artifactsContainer;
+ }
+
+ /**
+ * Sets the value of the artifactsContainer property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setArtifactsContainer(String value) {
+ this.artifactsContainer = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Artifact.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ArtifactsContainer.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ArtifactsContainer.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ArtifactsContainer.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,76 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ArtifactsContainer complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="ArtifactsContainer">
+ * <complexContent>
+ * <extension base="{http://stp.eclipse.org/bpmn}NamedBpmnObject">
+ * <sequence>
+ * <element name="artifacts" type="{http://stp.eclipse.org/bpmn}Artifact" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ArtifactsContainer", propOrder = {
+ "artifacts"
+})
+public class ArtifactsContainer
+ extends NamedBpmnObject
+{
+
+ protected List<Artifact> artifacts;
+
+ /**
+ * Gets the value of the artifacts property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the artifacts property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getArtifacts().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Artifact }
+ *
+ *
+ */
+ public List<Artifact> getArtifacts() {
+ if (artifacts == null) {
+ artifacts = new ArrayList<Artifact>();
+ }
+ return this.artifacts;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ArtifactsContainer.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Association.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Association.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Association.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,134 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import org.jboss.bpm.dialect.stp.model.ecore.EModelElement;
+
+
+/**
+ * <p>Java class for Association complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Association">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}EModelElement">
+ * <attribute name="target" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <attribute name="source" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <attribute name="direction">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="None"/>
+ * <enumeration value="To"/>
+ * <enumeration value="From"/>
+ * <enumeration value="Both"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Association")
+public class Association
+ extends EModelElement
+{
+
+ @XmlAttribute
+ @XmlSchemaType(name = "anyURI")
+ protected String target;
+ @XmlAttribute
+ @XmlSchemaType(name = "anyURI")
+ protected String source;
+ @XmlAttribute
+ protected String direction;
+
+ /**
+ * Gets the value of the target property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTarget() {
+ return target;
+ }
+
+ /**
+ * Sets the value of the target property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTarget(String value) {
+ this.target = value;
+ }
+
+ /**
+ * Gets the value of the source property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSource() {
+ return source;
+ }
+
+ /**
+ * Sets the value of the source property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSource(String value) {
+ this.source = value;
+ }
+
+ /**
+ * Gets the value of the direction property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDirection() {
+ return direction;
+ }
+
+ /**
+ * Sets the value of the direction property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDirection(String value) {
+ this.direction = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Association.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/BpmnDiagram.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/BpmnDiagram.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/BpmnDiagram.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,163 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for BpmnDiagram complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="BpmnDiagram">
+ * <complexContent>
+ * <extension base="{http://stp.eclipse.org/bpmn}Identifiable">
+ * <sequence>
+ * <element name="pools" type="{http://stp.eclipse.org/bpmn}Pool" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="messages" type="{http://stp.eclipse.org/bpmn}MessagingEdge" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="title" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="author" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "BpmnDiagram", propOrder = {
+ "pools",
+ "messages"
+})
+public class BpmnDiagram
+ extends Identifiable
+{
+
+ protected List<Pool> pools;
+ protected List<MessagingEdge> messages;
+ @XmlAttribute
+ protected String title;
+ @XmlAttribute
+ protected String author;
+
+ /**
+ * Gets the value of the pools property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the pools property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getPools().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Pool }
+ *
+ *
+ */
+ public List<Pool> getPools() {
+ if (pools == null) {
+ pools = new ArrayList<Pool>();
+ }
+ return this.pools;
+ }
+
+ /**
+ * Gets the value of the messages property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the messages property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getMessages().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link MessagingEdge }
+ *
+ *
+ */
+ public List<MessagingEdge> getMessages() {
+ if (messages == null) {
+ messages = new ArrayList<MessagingEdge>();
+ }
+ return this.messages;
+ }
+
+ /**
+ * Gets the value of the title property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTitle() {
+ return title;
+ }
+
+ /**
+ * Sets the value of the title property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTitle(String value) {
+ this.title = value;
+ }
+
+ /**
+ * Gets the value of the author property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAuthor() {
+ return author;
+ }
+
+ /**
+ * Sets the value of the author property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAuthor(String value) {
+ this.author = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/BpmnDiagram.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/DataObject.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/DataObject.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/DataObject.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,39 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for DataObject complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="DataObject">
+ * <complexContent>
+ * <extension base="{http://stp.eclipse.org/bpmn}Artifact">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "DataObject")
+public class DataObject
+ extends Artifact
+{
+
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/DataObject.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Graph.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Graph.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Graph.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,112 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for Graph complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Graph">
+ * <complexContent>
+ * <extension base="{http://stp.eclipse.org/bpmn}IdentifiableNode">
+ * <sequence>
+ * <element name="vertices" type="{http://stp.eclipse.org/bpmn}Vertex" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="sequenceEdges" type="{http://stp.eclipse.org/bpmn}SequenceEdge" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Graph", propOrder = {
+ "vertices",
+ "sequenceEdges"
+})
+@XmlSeeAlso({
+ Pool.class
+})
+public class Graph
+ extends IdentifiableNode
+{
+
+ protected List<Vertex> vertices;
+ protected List<SequenceEdge> sequenceEdges;
+
+ /**
+ * Gets the value of the vertices property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the vertices property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getVertices().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Vertex }
+ *
+ *
+ */
+ public List<Vertex> getVertices() {
+ if (vertices == null) {
+ vertices = new ArrayList<Vertex>();
+ }
+ return this.vertices;
+ }
+
+ /**
+ * Gets the value of the sequenceEdges property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the sequenceEdges property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getSequenceEdges().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link SequenceEdge }
+ *
+ *
+ */
+ public List<SequenceEdge> getSequenceEdges() {
+ if (sequenceEdges == null) {
+ sequenceEdges = new ArrayList<SequenceEdge>();
+ }
+ return this.sequenceEdges;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Graph.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Group.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Group.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Group.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,76 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for Group complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Group">
+ * <complexContent>
+ * <extension base="{http://stp.eclipse.org/bpmn}Artifact">
+ * <sequence>
+ * <element name="activities" type="{http://stp.eclipse.org/bpmn}Activity" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Group", propOrder = {
+ "activities"
+})
+public class Group
+ extends Artifact
+{
+
+ protected List<Activity> activities;
+
+ /**
+ * Gets the value of the activities property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the activities property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getActivities().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Activity }
+ *
+ *
+ */
+ public List<Activity> getActivities() {
+ if (activities == null) {
+ activities = new ArrayList<Activity>();
+ }
+ return this.activities;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Group.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Identifiable.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Identifiable.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Identifiable.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,49 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+import org.jboss.bpm.dialect.stp.model.ecore.EModelElement;
+
+
+/**
+ * <p>Java class for Identifiable complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Identifiable">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}EModelElement">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Identifiable")
+@XmlSeeAlso({
+ Lane.class,
+ BpmnDiagram.class,
+ MessagingEdge.class,
+ Artifact.class,
+ IdentifiableNode.class,
+ SequenceEdge.class
+})
+public class Identifiable
+ extends EModelElement
+{
+
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Identifiable.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/IdentifiableNode.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/IdentifiableNode.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/IdentifiableNode.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,83 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for IdentifiableNode complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="IdentifiableNode">
+ * <complexContent>
+ * <extension base="{http://stp.eclipse.org/bpmn}Identifiable">
+ * <sequence>
+ * <element name="associations" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "IdentifiableNode", propOrder = {
+ "associations"
+})
+@XmlSeeAlso({
+ Vertex.class,
+ Graph.class
+})
+public class IdentifiableNode
+ extends Identifiable
+{
+
+ @XmlSchemaType(name = "anyURI")
+ protected List<String> associations;
+
+ /**
+ * Gets the value of the associations property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the associations property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAssociations().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getAssociations() {
+ if (associations == null) {
+ associations = new ArrayList<String>();
+ }
+ return this.associations;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/IdentifiableNode.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Lane.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Lane.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Lane.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,106 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for Lane complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Lane">
+ * <complexContent>
+ * <extension base="{http://stp.eclipse.org/bpmn}Identifiable">
+ * <sequence>
+ * <element name="activities" type="{http://stp.eclipse.org/bpmn}Activity" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="pool" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Lane", propOrder = {
+ "activities"
+})
+public class Lane
+ extends Identifiable
+{
+
+ protected List<Activity> activities;
+ @XmlAttribute
+ @XmlSchemaType(name = "anyURI")
+ protected String pool;
+
+ /**
+ * Gets the value of the activities property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the activities property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getActivities().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Activity }
+ *
+ *
+ */
+ public List<Activity> getActivities() {
+ if (activities == null) {
+ activities = new ArrayList<Activity>();
+ }
+ return this.activities;
+ }
+
+ /**
+ * Gets the value of the pool property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPool() {
+ return pool;
+ }
+
+ /**
+ * Sets the value of the pool property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPool(String value) {
+ this.pool = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Lane.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/MessagingEdge.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/MessagingEdge.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/MessagingEdge.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,125 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for MessagingEdge complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="MessagingEdge">
+ * <complexContent>
+ * <extension base="{http://stp.eclipse.org/bpmn}Identifiable">
+ * <attribute name="bpmnDiagram" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <attribute name="source" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <attribute name="target" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "MessagingEdge")
+public class MessagingEdge
+ extends Identifiable
+{
+
+ @XmlAttribute
+ @XmlSchemaType(name = "anyURI")
+ protected String bpmnDiagram;
+ @XmlAttribute
+ @XmlSchemaType(name = "anyURI")
+ protected String source;
+ @XmlAttribute
+ @XmlSchemaType(name = "anyURI")
+ protected String target;
+
+ /**
+ * Gets the value of the bpmnDiagram property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getBpmnDiagram() {
+ return bpmnDiagram;
+ }
+
+ /**
+ * Sets the value of the bpmnDiagram property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setBpmnDiagram(String value) {
+ this.bpmnDiagram = value;
+ }
+
+ /**
+ * Gets the value of the source property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSource() {
+ return source;
+ }
+
+ /**
+ * Sets the value of the source property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSource(String value) {
+ this.source = value;
+ }
+
+ /**
+ * Gets the value of the target property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTarget() {
+ return target;
+ }
+
+ /**
+ * Sets the value of the target property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTarget(String value) {
+ this.target = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/MessagingEdge.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/NamedBpmnObject.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/NamedBpmnObject.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/NamedBpmnObject.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,123 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for NamedBpmnObject complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="NamedBpmnObject">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="documentation" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="ncname" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "NamedBpmnObject")
+@XmlSeeAlso({
+ ArtifactsContainer.class
+})
+public class NamedBpmnObject {
+
+ @XmlAttribute
+ protected String name;
+ @XmlAttribute
+ protected String documentation;
+ @XmlAttribute
+ protected String ncname;
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the documentation property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDocumentation() {
+ return documentation;
+ }
+
+ /**
+ * Sets the value of the documentation property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDocumentation(String value) {
+ this.documentation = value;
+ }
+
+ /**
+ * Gets the value of the ncname property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getNcname() {
+ return ncname;
+ }
+
+ /**
+ * Sets the value of the ncname property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setNcname(String value) {
+ this.ncname = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/NamedBpmnObject.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ObjectFactory.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ObjectFactory.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ObjectFactory.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,206 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.jboss.bpm.dialect.stp.model package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _ActivityIncomingMessages_QNAME = new QName("", "incomingMessages");
+ private final static QName _ActivityOutgoingMessages_QNAME = new QName("", "outgoingMessages");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.jboss.bpm.dialect.stp.model
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link TextAnnotation }
+ *
+ */
+ public TextAnnotation createTextAnnotation() {
+ return new TextAnnotation();
+ }
+
+ /**
+ * Create an instance of {@link Group }
+ *
+ */
+ public Group createGroup() {
+ return new Group();
+ }
+
+ /**
+ * Create an instance of {@link Association }
+ *
+ */
+ public Association createAssociation() {
+ return new Association();
+ }
+
+ /**
+ * Create an instance of {@link Identifiable }
+ *
+ */
+ public Identifiable createIdentifiable() {
+ return new Identifiable();
+ }
+
+ /**
+ * Create an instance of {@link IdentifiableNode }
+ *
+ */
+ public IdentifiableNode createIdentifiableNode() {
+ return new IdentifiableNode();
+ }
+
+ /**
+ * Create an instance of {@link Pool }
+ *
+ */
+ public Pool createPool() {
+ return new Pool();
+ }
+
+ /**
+ * Create an instance of {@link NamedBpmnObject }
+ *
+ */
+ public NamedBpmnObject createNamedBpmnObject() {
+ return new NamedBpmnObject();
+ }
+
+ /**
+ * Create an instance of {@link BpmnDiagram }
+ *
+ */
+ public BpmnDiagram createBpmnDiagram() {
+ return new BpmnDiagram();
+ }
+
+ /**
+ * Create an instance of {@link Lane }
+ *
+ */
+ public Lane createLane() {
+ return new Lane();
+ }
+
+ /**
+ * Create an instance of {@link SequenceEdge }
+ *
+ */
+ public SequenceEdge createSequenceEdge() {
+ return new SequenceEdge();
+ }
+
+ /**
+ * Create an instance of {@link Activity }
+ *
+ */
+ public Activity createActivity() {
+ return new Activity();
+ }
+
+ /**
+ * Create an instance of {@link Artifact }
+ *
+ */
+ public Artifact createArtifact() {
+ return new Artifact();
+ }
+
+ /**
+ * Create an instance of {@link ArtifactsContainer }
+ *
+ */
+ public ArtifactsContainer createArtifactsContainer() {
+ return new ArtifactsContainer();
+ }
+
+ /**
+ * Create an instance of {@link SubProcess }
+ *
+ */
+ public SubProcess createSubProcess() {
+ return new SubProcess();
+ }
+
+ /**
+ * Create an instance of {@link DataObject }
+ *
+ */
+ public DataObject createDataObject() {
+ return new DataObject();
+ }
+
+ /**
+ * Create an instance of {@link Graph }
+ *
+ */
+ public Graph createGraph() {
+ return new Graph();
+ }
+
+ /**
+ * Create an instance of {@link MessagingEdge }
+ *
+ */
+ public MessagingEdge createMessagingEdge() {
+ return new MessagingEdge();
+ }
+
+ /**
+ * Create an instance of {@link Vertex }
+ *
+ */
+ public Vertex createVertex() {
+ return new Vertex();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "", name = "incomingMessages", scope = Activity.class)
+ public JAXBElement<String> createActivityIncomingMessages(String value) {
+ return new JAXBElement<String>(_ActivityIncomingMessages_QNAME, String.class, Activity.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "", name = "outgoingMessages", scope = Activity.class)
+ public JAXBElement<String> createActivityOutgoingMessages(String value) {
+ return new JAXBElement<String>(_ActivityOutgoingMessages_QNAME, String.class, Activity.class, value);
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ObjectFactory.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Pool.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Pool.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Pool.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,106 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for Pool complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Pool">
+ * <complexContent>
+ * <extension base="{http://stp.eclipse.org/bpmn}Graph">
+ * <sequence>
+ * <element name="lanes" type="{http://stp.eclipse.org/bpmn}Lane" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="bpmnDiagram" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Pool", propOrder = {
+ "lanes"
+})
+public class Pool
+ extends Graph
+{
+
+ protected List<Lane> lanes;
+ @XmlAttribute
+ @XmlSchemaType(name = "anySimpleType")
+ protected String bpmnDiagram;
+
+ /**
+ * Gets the value of the lanes property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the lanes property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getLanes().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Lane }
+ *
+ *
+ */
+ public List<Lane> getLanes() {
+ if (lanes == null) {
+ lanes = new ArrayList<Lane>();
+ }
+ return this.lanes;
+ }
+
+ /**
+ * Gets the value of the bpmnDiagram property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getBpmnDiagram() {
+ return bpmnDiagram;
+ }
+
+ /**
+ * Sets the value of the bpmnDiagram property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setBpmnDiagram(String value) {
+ this.bpmnDiagram = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Pool.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/SequenceEdge.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/SequenceEdge.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/SequenceEdge.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,179 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for SequenceEdge complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="SequenceEdge">
+ * <complexContent>
+ * <extension base="{http://stp.eclipse.org/bpmn}Identifiable">
+ * <attribute name="graph" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <attribute name="source" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <attribute name="target" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <attribute name="isDefault" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="conditionType" type="{http://stp.eclipse.org/bpmn}SequenceFlowConditionType" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "SequenceEdge")
+public class SequenceEdge
+ extends Identifiable
+{
+
+ @XmlAttribute
+ @XmlSchemaType(name = "anyURI")
+ protected String graph;
+ @XmlAttribute
+ @XmlSchemaType(name = "anyURI")
+ protected String source;
+ @XmlAttribute
+ @XmlSchemaType(name = "anyURI")
+ protected String target;
+ @XmlAttribute
+ protected Boolean isDefault;
+ @XmlAttribute
+ protected SequenceFlowConditionType conditionType;
+
+ /**
+ * Gets the value of the graph property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getGraph() {
+ return graph;
+ }
+
+ /**
+ * Sets the value of the graph property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setGraph(String value) {
+ this.graph = value;
+ }
+
+ /**
+ * Gets the value of the source property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSource() {
+ return source;
+ }
+
+ /**
+ * Sets the value of the source property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSource(String value) {
+ this.source = value;
+ }
+
+ /**
+ * Gets the value of the target property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTarget() {
+ return target;
+ }
+
+ /**
+ * Sets the value of the target property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTarget(String value) {
+ this.target = value;
+ }
+
+ /**
+ * Gets the value of the isDefault property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isIsDefault() {
+ return isDefault;
+ }
+
+ /**
+ * Sets the value of the isDefault property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setIsDefault(Boolean value) {
+ this.isDefault = value;
+ }
+
+ /**
+ * Gets the value of the conditionType property.
+ *
+ * @return
+ * possible object is
+ * {@link SequenceFlowConditionType }
+ *
+ */
+ public SequenceFlowConditionType getConditionType() {
+ return conditionType;
+ }
+
+ /**
+ * Sets the value of the conditionType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link SequenceFlowConditionType }
+ *
+ */
+ public void setConditionType(SequenceFlowConditionType value) {
+ this.conditionType = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/SequenceEdge.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/SequenceFlowConditionType.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/SequenceFlowConditionType.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/SequenceFlowConditionType.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,61 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for SequenceFlowConditionType.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * <simpleType name="SequenceFlowConditionType">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="None"/>
+ * <enumeration value="Expression"/>
+ * <enumeration value="Default"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+@XmlType(name = "SequenceFlowConditionType")
+@XmlEnum
+public enum SequenceFlowConditionType {
+
+ @XmlEnumValue("None")
+ NONE("None"),
+ @XmlEnumValue("Expression")
+ EXPRESSION("Expression"),
+ @XmlEnumValue("Default")
+ DEFAULT("Default");
+ private final String value;
+
+ SequenceFlowConditionType(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static SequenceFlowConditionType fromValue(String v) {
+ for (SequenceFlowConditionType c: SequenceFlowConditionType.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/SequenceFlowConditionType.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/SubProcess.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/SubProcess.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/SubProcess.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,104 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for SubProcess complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="SubProcess">
+ * <complexContent>
+ * <extension base="{http://stp.eclipse.org/bpmn}Activity">
+ * <sequence>
+ * <element name="eventHandlers" type="{http://stp.eclipse.org/bpmn}Activity" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="isTransaction" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "SubProcess", propOrder = {
+ "eventHandlers"
+})
+public class SubProcess
+ extends Activity
+{
+
+ protected List<Activity> eventHandlers;
+ @XmlAttribute
+ protected Boolean isTransaction;
+
+ /**
+ * Gets the value of the eventHandlers property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the eventHandlers property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getEventHandlers().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Activity }
+ *
+ *
+ */
+ public List<Activity> getEventHandlers() {
+ if (eventHandlers == null) {
+ eventHandlers = new ArrayList<Activity>();
+ }
+ return this.eventHandlers;
+ }
+
+ /**
+ * Gets the value of the isTransaction property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isIsTransaction() {
+ return isTransaction;
+ }
+
+ /**
+ * Sets the value of the isTransaction property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setIsTransaction(Boolean value) {
+ this.isTransaction = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/SubProcess.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/TextAnnotation.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/TextAnnotation.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/TextAnnotation.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,39 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for TextAnnotation complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="TextAnnotation">
+ * <complexContent>
+ * <extension base="{http://stp.eclipse.org/bpmn}Artifact">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "TextAnnotation")
+public class TextAnnotation
+ extends Artifact
+{
+
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/TextAnnotation.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Vertex.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Vertex.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Vertex.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,144 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for Vertex complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Vertex">
+ * <complexContent>
+ * <extension base="{http://stp.eclipse.org/bpmn}IdentifiableNode">
+ * <sequence>
+ * <element name="outgoingEdges" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="incomingEdges" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="graph" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Vertex", propOrder = {
+ "outgoingEdges",
+ "incomingEdges"
+})
+@XmlSeeAlso({
+ Activity.class
+})
+public class Vertex
+ extends IdentifiableNode
+{
+
+ @XmlSchemaType(name = "anyURI")
+ protected List<String> outgoingEdges;
+ @XmlSchemaType(name = "anyURI")
+ protected List<String> incomingEdges;
+ @XmlAttribute
+ @XmlSchemaType(name = "anyURI")
+ protected String graph;
+
+ /**
+ * Gets the value of the outgoingEdges property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the outgoingEdges property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getOutgoingEdges().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getOutgoingEdges() {
+ if (outgoingEdges == null) {
+ outgoingEdges = new ArrayList<String>();
+ }
+ return this.outgoingEdges;
+ }
+
+ /**
+ * Gets the value of the incomingEdges property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the incomingEdges property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getIncomingEdges().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getIncomingEdges() {
+ if (incomingEdges == null) {
+ incomingEdges = new ArrayList<String>();
+ }
+ return this.incomingEdges;
+ }
+
+ /**
+ * Gets the value of the graph property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getGraph() {
+ return graph;
+ }
+
+ /**
+ * Sets the value of the graph property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setGraph(String value) {
+ this.graph = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Vertex.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EAnnotation.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EAnnotation.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EAnnotation.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,143 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.ecore;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlElementRefs;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for EAnnotation complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="EAnnotation">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}EModelElement">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="details" type="{http://www.eclipse.org/emf/2002/Ecore}EStringToStringMapEntry"/>
+ * <element name="contents" type="{http://www.eclipse.org/emf/2002/Ecore}EObject"/>
+ * <element name="references" type="{http://www.eclipse.org/emf/2002/Ecore}EObject"/>
+ * </choice>
+ * <attribute name="source" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="references" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "EAnnotation", propOrder = {
+ "detailsOrContentsOrReferences"
+})
+public class EAnnotation
+ extends EModelElement
+{
+
+ @XmlElementRefs({
+ @XmlElementRef(name = "contents", type = JAXBElement.class),
+ @XmlElementRef(name = "references", type = JAXBElement.class),
+ @XmlElementRef(name = "details", type = JAXBElement.class)
+ })
+ protected List<JAXBElement<?>> detailsOrContentsOrReferences;
+ @XmlAttribute
+ protected String source;
+ @XmlAttribute
+ protected String references;
+
+ /**
+ * Gets the value of the detailsOrContentsOrReferences property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the detailsOrContentsOrReferences property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDetailsOrContentsOrReferences().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JAXBElement }{@code <}{@link EObject }{@code >}
+ * {@link JAXBElement }{@code <}{@link EObject }{@code >}
+ * {@link JAXBElement }{@code <}{@link EStringToStringMapEntry }{@code >}
+ *
+ *
+ */
+ public List<JAXBElement<?>> getDetailsOrContentsOrReferences() {
+ if (detailsOrContentsOrReferences == null) {
+ detailsOrContentsOrReferences = new ArrayList<JAXBElement<?>>();
+ }
+ return this.detailsOrContentsOrReferences;
+ }
+
+ /**
+ * Gets the value of the source property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSource() {
+ return source;
+ }
+
+ /**
+ * Sets the value of the source property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSource(String value) {
+ this.source = value;
+ }
+
+ /**
+ * Gets the value of the references property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getReferences() {
+ return references;
+ }
+
+ /**
+ * Sets the value of the references property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setReferences(String value) {
+ this.references = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EAnnotation.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EAttribute.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EAttribute.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EAttribute.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,67 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.ecore;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for EAttribute complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="EAttribute">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}EStructuralFeature">
+ * <attribute name="iD" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "EAttribute")
+public class EAttribute
+ extends EStructuralFeature
+{
+
+ @XmlAttribute(name = "iD")
+ protected Boolean id;
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isID() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setID(Boolean value) {
+ this.id = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EAttribute.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EClass.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EClass.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EClass.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,169 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.ecore;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlElements;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for EClass complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="EClass">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}EClassifier">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="eSuperTypes" type="{http://www.eclipse.org/emf/2002/Ecore}EClass"/>
+ * <element name="eOperations" type="{http://www.eclipse.org/emf/2002/Ecore}EOperation"/>
+ * <element name="eStructuralFeatures" type="{http://www.eclipse.org/emf/2002/Ecore}EStructuralFeature"/>
+ * </choice>
+ * <attribute name="abstract" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="interface" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="eSuperTypes" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "EClass", propOrder = {
+ "eSuperTypesOrEOperationsOrEStructuralFeatures"
+})
+public class EClass
+ extends EClassifier
+{
+
+ @XmlElements({
+ @XmlElement(name = "eStructuralFeatures", type = EStructuralFeature.class),
+ @XmlElement(name = "eOperations", type = EOperation.class),
+ @XmlElement(name = "eSuperTypes", type = EClass.class)
+ })
+ protected List<ENamedElement> eSuperTypesOrEOperationsOrEStructuralFeatures;
+ @XmlAttribute(name = "abstract")
+ protected Boolean _abstract;
+ @XmlAttribute(name = "interface")
+ protected Boolean _interface;
+ @XmlAttribute
+ protected String eSuperTypes;
+
+ /**
+ * Gets the value of the eSuperTypesOrEOperationsOrEStructuralFeatures property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the eSuperTypesOrEOperationsOrEStructuralFeatures property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getESuperTypesOrEOperationsOrEStructuralFeatures().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link EStructuralFeature }
+ * {@link EOperation }
+ * {@link EClass }
+ *
+ *
+ */
+ public List<ENamedElement> getESuperTypesOrEOperationsOrEStructuralFeatures() {
+ if (eSuperTypesOrEOperationsOrEStructuralFeatures == null) {
+ eSuperTypesOrEOperationsOrEStructuralFeatures = new ArrayList<ENamedElement>();
+ }
+ return this.eSuperTypesOrEOperationsOrEStructuralFeatures;
+ }
+
+ /**
+ * Gets the value of the abstract property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isAbstract() {
+ return _abstract;
+ }
+
+ /**
+ * Sets the value of the abstract property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setAbstract(Boolean value) {
+ this._abstract = value;
+ }
+
+ /**
+ * Gets the value of the interface property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isInterface() {
+ return _interface;
+ }
+
+ /**
+ * Sets the value of the interface property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setInterface(Boolean value) {
+ this._interface = value;
+ }
+
+ /**
+ * Gets the value of the eSuperTypes property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getESuperTypes() {
+ return eSuperTypes;
+ }
+
+ /**
+ * Sets the value of the eSuperTypes property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setESuperTypes(String value) {
+ this.eSuperTypes = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EClass.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EClassifier.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EClassifier.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EClassifier.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,72 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.ecore;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for EClassifier complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="EClassifier">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}ENamedElement">
+ * <attribute name="instanceClassName" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "EClassifier")
+@XmlSeeAlso({
+ EClass.class,
+ EDataType.class
+})
+public class EClassifier
+ extends ENamedElement
+{
+
+ @XmlAttribute
+ protected String instanceClassName;
+
+ /**
+ * Gets the value of the instanceClassName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getInstanceClassName() {
+ return instanceClassName;
+ }
+
+ /**
+ * Sets the value of the instanceClassName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setInstanceClassName(String value) {
+ this.instanceClassName = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EClassifier.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EDataType.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EDataType.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EDataType.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,71 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.ecore;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for EDataType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="EDataType">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}EClassifier">
+ * <attribute name="serializable" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "EDataType")
+@XmlSeeAlso({
+ EEnum.class
+})
+public class EDataType
+ extends EClassifier
+{
+
+ @XmlAttribute
+ protected Boolean serializable;
+
+ /**
+ * Gets the value of the serializable property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isSerializable() {
+ return serializable;
+ }
+
+ /**
+ * Sets the value of the serializable property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setSerializable(Boolean value) {
+ this.serializable = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EDataType.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EEnum.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EEnum.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EEnum.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,76 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.ecore;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for EEnum complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="EEnum">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}EDataType">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="eLiterals" type="{http://www.eclipse.org/emf/2002/Ecore}EEnumLiteral"/>
+ * </choice>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "EEnum", propOrder = {
+ "eLiterals"
+})
+public class EEnum
+ extends EDataType
+{
+
+ protected List<EEnumLiteral> eLiterals;
+
+ /**
+ * Gets the value of the eLiterals property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the eLiterals property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getELiterals().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link EEnumLiteral }
+ *
+ *
+ */
+ public List<EEnumLiteral> getELiterals() {
+ if (eLiterals == null) {
+ eLiterals = new ArrayList<EEnumLiteral>();
+ }
+ return this.eLiterals;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EEnum.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EEnumLiteral.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EEnumLiteral.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EEnumLiteral.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,67 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.ecore;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for EEnumLiteral complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="EEnumLiteral">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}ENamedElement">
+ * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "EEnumLiteral")
+public class EEnumLiteral
+ extends ENamedElement
+{
+
+ @XmlAttribute
+ protected Integer value;
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link Integer }
+ *
+ */
+ public Integer getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ *
+ */
+ public void setValue(Integer value) {
+ this.value = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EEnumLiteral.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EFactory.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EFactory.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EFactory.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,39 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.ecore;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for EFactory complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="EFactory">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}EModelElement">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "EFactory")
+public class EFactory
+ extends EModelElement
+{
+
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EFactory.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EModelElement.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EModelElement.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EModelElement.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,86 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.ecore;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+import org.jboss.bpm.dialect.stp.model.Association;
+import org.jboss.bpm.dialect.stp.model.Identifiable;
+
+
+/**
+ * <p>Java class for EModelElement complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="EModelElement">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}EObject">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="eAnnotations" type="{http://www.eclipse.org/emf/2002/Ecore}EAnnotation"/>
+ * </choice>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "EModelElement", propOrder = {
+ "eAnnotations"
+})
+@XmlSeeAlso({
+ Association.class,
+ Identifiable.class,
+ EAnnotation.class,
+ EFactory.class,
+ ENamedElement.class
+})
+public class EModelElement
+ extends EObject
+{
+
+ protected List<EAnnotation> eAnnotations;
+
+ /**
+ * Gets the value of the eAnnotations property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the eAnnotations property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getEAnnotations().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link EAnnotation }
+ *
+ *
+ */
+ public List<EAnnotation> getEAnnotations() {
+ if (eAnnotations == null) {
+ eAnnotations = new ArrayList<EAnnotation>();
+ }
+ return this.eAnnotations;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EModelElement.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/ENamedElement.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/ENamedElement.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/ENamedElement.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,74 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.ecore;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ENamedElement complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="ENamedElement">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}EModelElement">
+ * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ENamedElement")
+@XmlSeeAlso({
+ EPackage.class,
+ EClassifier.class,
+ ETypedElement.class,
+ EEnumLiteral.class
+})
+public class ENamedElement
+ extends EModelElement
+{
+
+ @XmlAttribute
+ protected String name;
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/ENamedElement.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EObject.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EObject.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EObject.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,281 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.ecore;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlID;
+import javax.xml.bind.annotation.XmlIDREF;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.jboss.bpm.dialect.stp.model.xmi.Extension;
+
+
+/**
+ * <p>Java class for EObject complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="EObject">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element ref="{http://www.omg.org/XMI}Extension"/>
+ * </choice>
+ * <attGroup ref="{http://www.omg.org/XMI}ObjectAttribs"/>
+ * <attribute ref="{http://www.omg.org/XMI}id"/>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "EObject", propOrder = {
+ "extension"
+})
+@XmlSeeAlso({
+ EModelElement.class
+})
+public class EObject {
+
+ @XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI")
+ protected List<Extension> extension;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlID
+ @XmlSchemaType(name = "ID")
+ protected String id;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String version;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected QName type;
+ @XmlAttribute
+ protected String href;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ @XmlIDREF
+ @XmlSchemaType(name = "IDREF")
+ protected Object idref;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String label;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String uuid;
+
+ /**
+ * Gets the value of the extension property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the extension property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getExtension().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Extension }
+ *
+ *
+ */
+ public List<Extension> getExtension() {
+ if (extension == null) {
+ extension = new ArrayList<Extension>();
+ }
+ return this.extension;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the version property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getVersion() {
+ if (version == null) {
+ return "2.0";
+ } else {
+ return version;
+ }
+ }
+
+ /**
+ * Sets the value of the version property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setVersion(String value) {
+ this.version = value;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link QName }
+ *
+ */
+ public QName getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link QName }
+ *
+ */
+ public void setType(QName value) {
+ this.type = value;
+ }
+
+ /**
+ * Gets the value of the href property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getHref() {
+ return href;
+ }
+
+ /**
+ * Sets the value of the href property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setHref(String value) {
+ this.href = value;
+ }
+
+ /**
+ * Gets the value of the idref property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ public Object getIdref() {
+ return idref;
+ }
+
+ /**
+ * Sets the value of the idref property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setIdref(Object value) {
+ this.idref = value;
+ }
+
+ /**
+ * Gets the value of the label property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLabel() {
+ return label;
+ }
+
+ /**
+ * Sets the value of the label property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLabel(String value) {
+ this.label = value;
+ }
+
+ /**
+ * Gets the value of the uuid property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getUuid() {
+ return uuid;
+ }
+
+ /**
+ * Sets the value of the uuid property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setUuid(String value) {
+ this.uuid = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EObject.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EOperation.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EOperation.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EOperation.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,112 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.ecore;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlElements;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for EOperation complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="EOperation">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}ETypedElement">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="eParameters" type="{http://www.eclipse.org/emf/2002/Ecore}EParameter"/>
+ * <element name="eExceptions" type="{http://www.eclipse.org/emf/2002/Ecore}EClassifier"/>
+ * </choice>
+ * <attribute name="eExceptions" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "EOperation", propOrder = {
+ "eParametersOrEExceptions"
+})
+public class EOperation
+ extends ETypedElement
+{
+
+ @XmlElements({
+ @XmlElement(name = "eParameters", type = EParameter.class),
+ @XmlElement(name = "eExceptions", type = EClassifier.class)
+ })
+ protected List<ENamedElement> eParametersOrEExceptions;
+ @XmlAttribute
+ protected String eExceptions;
+
+ /**
+ * Gets the value of the eParametersOrEExceptions property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the eParametersOrEExceptions property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getEParametersOrEExceptions().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link EParameter }
+ * {@link EClassifier }
+ *
+ *
+ */
+ public List<ENamedElement> getEParametersOrEExceptions() {
+ if (eParametersOrEExceptions == null) {
+ eParametersOrEExceptions = new ArrayList<ENamedElement>();
+ }
+ return this.eParametersOrEExceptions;
+ }
+
+ /**
+ * Gets the value of the eExceptions property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getEExceptions() {
+ return eExceptions;
+ }
+
+ /**
+ * Sets the value of the eExceptions property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setEExceptions(String value) {
+ this.eExceptions = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EOperation.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EPackage.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EPackage.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EPackage.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,139 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.ecore;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlElements;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for EPackage complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="EPackage">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}ENamedElement">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="eClassifiers" type="{http://www.eclipse.org/emf/2002/Ecore}EClassifier"/>
+ * <element name="eSubpackages" type="{http://www.eclipse.org/emf/2002/Ecore}EPackage"/>
+ * </choice>
+ * <attribute name="nsURI" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="nsPrefix" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "EPackage", propOrder = {
+ "eClassifiersOrESubpackages"
+})
+public class EPackage
+ extends ENamedElement
+{
+
+ @XmlElements({
+ @XmlElement(name = "eClassifiers", type = EClassifier.class),
+ @XmlElement(name = "eSubpackages", type = EPackage.class)
+ })
+ protected List<ENamedElement> eClassifiersOrESubpackages;
+ @XmlAttribute
+ protected String nsURI;
+ @XmlAttribute
+ protected String nsPrefix;
+
+ /**
+ * Gets the value of the eClassifiersOrESubpackages property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the eClassifiersOrESubpackages property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getEClassifiersOrESubpackages().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link EClassifier }
+ * {@link EPackage }
+ *
+ *
+ */
+ public List<ENamedElement> getEClassifiersOrESubpackages() {
+ if (eClassifiersOrESubpackages == null) {
+ eClassifiersOrESubpackages = new ArrayList<ENamedElement>();
+ }
+ return this.eClassifiersOrESubpackages;
+ }
+
+ /**
+ * Gets the value of the nsURI property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getNsURI() {
+ return nsURI;
+ }
+
+ /**
+ * Sets the value of the nsURI property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setNsURI(String value) {
+ this.nsURI = value;
+ }
+
+ /**
+ * Gets the value of the nsPrefix property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getNsPrefix() {
+ return nsPrefix;
+ }
+
+ /**
+ * Sets the value of the nsPrefix property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setNsPrefix(String value) {
+ this.nsPrefix = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EPackage.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EParameter.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EParameter.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EParameter.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,39 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.ecore;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for EParameter complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="EParameter">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}ETypedElement">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "EParameter")
+public class EParameter
+ extends ETypedElement
+{
+
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EParameter.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EReference.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EReference.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EReference.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,158 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.ecore;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for EReference complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="EReference">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}EStructuralFeature">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="eOpposite" type="{http://www.eclipse.org/emf/2002/Ecore}EReference"/>
+ * </choice>
+ * <attribute name="containment" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="resolveProxies" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="eOpposite" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "EReference", propOrder = {
+ "eOpposite"
+})
+public class EReference
+ extends EStructuralFeature
+{
+
+ protected List<EReference> eOpposite;
+ @XmlAttribute
+ protected Boolean containment;
+ @XmlAttribute
+ protected Boolean resolveProxies;
+ @XmlAttribute(name = "eOpposite")
+ protected String eOppositeAtt;
+
+ /**
+ * Gets the value of the eOpposite property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the eOpposite property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getEOpposite().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link EReference }
+ *
+ *
+ */
+ public List<EReference> getEOpposite() {
+ if (eOpposite == null) {
+ eOpposite = new ArrayList<EReference>();
+ }
+ return this.eOpposite;
+ }
+
+ /**
+ * Gets the value of the containment property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isContainment() {
+ return containment;
+ }
+
+ /**
+ * Sets the value of the containment property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setContainment(Boolean value) {
+ this.containment = value;
+ }
+
+ /**
+ * Gets the value of the resolveProxies property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isResolveProxies() {
+ return resolveProxies;
+ }
+
+ /**
+ * Sets the value of the resolveProxies property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setResolveProxies(Boolean value) {
+ this.resolveProxies = value;
+ }
+
+ /**
+ * Gets the value of the eOppositeAtt property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getEOppositeAtt() {
+ return eOppositeAtt;
+ }
+
+ /**
+ * Sets the value of the eOppositeAtt property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setEOppositeAtt(String value) {
+ this.eOppositeAtt = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EReference.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EStringToStringMapEntry.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EStringToStringMapEntry.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EStringToStringMapEntry.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,331 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.ecore;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlID;
+import javax.xml.bind.annotation.XmlIDREF;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.jboss.bpm.dialect.stp.model.xmi.Extension;
+
+
+/**
+ * <p>Java class for EStringToStringMapEntry complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="EStringToStringMapEntry">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element ref="{http://www.omg.org/XMI}Extension"/>
+ * </choice>
+ * <attGroup ref="{http://www.omg.org/XMI}ObjectAttribs"/>
+ * <attribute ref="{http://www.omg.org/XMI}id"/>
+ * <attribute name="key" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "EStringToStringMapEntry", propOrder = {
+ "extension"
+})
+public class EStringToStringMapEntry {
+
+ @XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI")
+ protected List<Extension> extension;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlID
+ @XmlSchemaType(name = "ID")
+ protected String id;
+ @XmlAttribute
+ protected String key;
+ @XmlAttribute
+ protected String value;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String version;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected QName type;
+ @XmlAttribute
+ protected String href;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ @XmlIDREF
+ @XmlSchemaType(name = "IDREF")
+ protected Object idref;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String label;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String uuid;
+
+ /**
+ * Gets the value of the extension property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the extension property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getExtension().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Extension }
+ *
+ *
+ */
+ public List<Extension> getExtension() {
+ if (extension == null) {
+ extension = new ArrayList<Extension>();
+ }
+ return this.extension;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the key property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getKey() {
+ return key;
+ }
+
+ /**
+ * Sets the value of the key property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setKey(String value) {
+ this.key = value;
+ }
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets the value of the version property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getVersion() {
+ if (version == null) {
+ return "2.0";
+ } else {
+ return version;
+ }
+ }
+
+ /**
+ * Sets the value of the version property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setVersion(String value) {
+ this.version = value;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link QName }
+ *
+ */
+ public QName getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link QName }
+ *
+ */
+ public void setType(QName value) {
+ this.type = value;
+ }
+
+ /**
+ * Gets the value of the href property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getHref() {
+ return href;
+ }
+
+ /**
+ * Sets the value of the href property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setHref(String value) {
+ this.href = value;
+ }
+
+ /**
+ * Gets the value of the idref property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ public Object getIdref() {
+ return idref;
+ }
+
+ /**
+ * Sets the value of the idref property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setIdref(Object value) {
+ this.idref = value;
+ }
+
+ /**
+ * Gets the value of the label property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLabel() {
+ return label;
+ }
+
+ /**
+ * Sets the value of the label property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLabel(String value) {
+ this.label = value;
+ }
+
+ /**
+ * Gets the value of the uuid property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getUuid() {
+ return uuid;
+ }
+
+ /**
+ * Sets the value of the uuid property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setUuid(String value) {
+ this.uuid = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EStringToStringMapEntry.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EStructuralFeature.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EStructuralFeature.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EStructuralFeature.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,207 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.ecore;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for EStructuralFeature complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="EStructuralFeature">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}ETypedElement">
+ * <attribute name="changeable" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="volatile" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="transient" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="defaultValueLiteral" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="unsettable" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="derived" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "EStructuralFeature")
+@XmlSeeAlso({
+ EAttribute.class,
+ EReference.class
+})
+public class EStructuralFeature
+ extends ETypedElement
+{
+
+ @XmlAttribute
+ protected Boolean changeable;
+ @XmlAttribute(name = "volatile")
+ protected Boolean _volatile;
+ @XmlAttribute(name = "transient")
+ protected Boolean _transient;
+ @XmlAttribute
+ protected String defaultValueLiteral;
+ @XmlAttribute
+ protected Boolean unsettable;
+ @XmlAttribute
+ protected Boolean derived;
+
+ /**
+ * Gets the value of the changeable property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isChangeable() {
+ return changeable;
+ }
+
+ /**
+ * Sets the value of the changeable property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setChangeable(Boolean value) {
+ this.changeable = value;
+ }
+
+ /**
+ * Gets the value of the volatile property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isVolatile() {
+ return _volatile;
+ }
+
+ /**
+ * Sets the value of the volatile property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setVolatile(Boolean value) {
+ this._volatile = value;
+ }
+
+ /**
+ * Gets the value of the transient property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isTransient() {
+ return _transient;
+ }
+
+ /**
+ * Sets the value of the transient property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setTransient(Boolean value) {
+ this._transient = value;
+ }
+
+ /**
+ * Gets the value of the defaultValueLiteral property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDefaultValueLiteral() {
+ return defaultValueLiteral;
+ }
+
+ /**
+ * Sets the value of the defaultValueLiteral property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDefaultValueLiteral(String value) {
+ this.defaultValueLiteral = value;
+ }
+
+ /**
+ * Gets the value of the unsettable property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isUnsettable() {
+ return unsettable;
+ }
+
+ /**
+ * Sets the value of the unsettable property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setUnsettable(Boolean value) {
+ this.unsettable = value;
+ }
+
+ /**
+ * Gets the value of the derived property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isDerived() {
+ return derived;
+ }
+
+ /**
+ * Sets the value of the derived property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setDerived(Boolean value) {
+ this.derived = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EStructuralFeature.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/ETypedElement.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/ETypedElement.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/ETypedElement.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,218 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.ecore;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ETypedElement complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="ETypedElement">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}ENamedElement">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="eType" type="{http://www.eclipse.org/emf/2002/Ecore}EClassifier"/>
+ * </choice>
+ * <attribute name="ordered" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="unique" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="lowerBound" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="upperBound" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="eType" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ETypedElement", propOrder = {
+ "eType"
+})
+@XmlSeeAlso({
+ EParameter.class,
+ EOperation.class,
+ EStructuralFeature.class
+})
+public class ETypedElement
+ extends ENamedElement
+{
+
+ protected List<EClassifier> eType;
+ @XmlAttribute
+ protected Boolean ordered;
+ @XmlAttribute
+ protected Boolean unique;
+ @XmlAttribute
+ protected Integer lowerBound;
+ @XmlAttribute
+ protected Integer upperBound;
+ @XmlAttribute(name = "eType")
+ protected String eTypeAtt;
+
+ /**
+ * Gets the value of the eType property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the eType property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getEType().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link EClassifier }
+ *
+ *
+ */
+ public List<EClassifier> getEType() {
+ if (eType == null) {
+ eType = new ArrayList<EClassifier>();
+ }
+ return this.eType;
+ }
+
+ /**
+ * Gets the value of the ordered property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isOrdered() {
+ return ordered;
+ }
+
+ /**
+ * Sets the value of the ordered property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setOrdered(Boolean value) {
+ this.ordered = value;
+ }
+
+ /**
+ * Gets the value of the unique property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isUnique() {
+ return unique;
+ }
+
+ /**
+ * Sets the value of the unique property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setUnique(Boolean value) {
+ this.unique = value;
+ }
+
+ /**
+ * Gets the value of the lowerBound property.
+ *
+ * @return
+ * possible object is
+ * {@link Integer }
+ *
+ */
+ public Integer getLowerBound() {
+ return lowerBound;
+ }
+
+ /**
+ * Sets the value of the lowerBound property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ *
+ */
+ public void setLowerBound(Integer value) {
+ this.lowerBound = value;
+ }
+
+ /**
+ * Gets the value of the upperBound property.
+ *
+ * @return
+ * possible object is
+ * {@link Integer }
+ *
+ */
+ public Integer getUpperBound() {
+ return upperBound;
+ }
+
+ /**
+ * Sets the value of the upperBound property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ *
+ */
+ public void setUpperBound(Integer value) {
+ this.upperBound = value;
+ }
+
+ /**
+ * Gets the value of the eTypeAtt property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getETypeAtt() {
+ return eTypeAtt;
+ }
+
+ /**
+ * Sets the value of the eTypeAtt property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setETypeAtt(String value) {
+ this.eTypeAtt = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/ETypedElement.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/ObjectFactory.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/ObjectFactory.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/ObjectFactory.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,396 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.ecore;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.jboss.bpm.dialect.stp.model.ecore package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _ETypedElement_QNAME = new QName("http://www.eclipse.org/emf/2002/Ecore", "ETypedElement");
+ private final static QName _EStructuralFeature_QNAME = new QName("http://www.eclipse.org/emf/2002/Ecore", "EStructuralFeature");
+ private final static QName _EModelElement_QNAME = new QName("http://www.eclipse.org/emf/2002/Ecore", "EModelElement");
+ private final static QName _EEnum_QNAME = new QName("http://www.eclipse.org/emf/2002/Ecore", "EEnum");
+ private final static QName _EFactory_QNAME = new QName("http://www.eclipse.org/emf/2002/Ecore", "EFactory");
+ private final static QName _EClassifier_QNAME = new QName("http://www.eclipse.org/emf/2002/Ecore", "EClassifier");
+ private final static QName _EAnnotation_QNAME = new QName("http://www.eclipse.org/emf/2002/Ecore", "EAnnotation");
+ private final static QName _ENamedElement_QNAME = new QName("http://www.eclipse.org/emf/2002/Ecore", "ENamedElement");
+ private final static QName _EOperation_QNAME = new QName("http://www.eclipse.org/emf/2002/Ecore", "EOperation");
+ private final static QName _EStringToStringMapEntry_QNAME = new QName("http://www.eclipse.org/emf/2002/Ecore", "EStringToStringMapEntry");
+ private final static QName _EReference_QNAME = new QName("http://www.eclipse.org/emf/2002/Ecore", "EReference");
+ private final static QName _EEnumLiteral_QNAME = new QName("http://www.eclipse.org/emf/2002/Ecore", "EEnumLiteral");
+ private final static QName _EParameter_QNAME = new QName("http://www.eclipse.org/emf/2002/Ecore", "EParameter");
+ private final static QName _EDataType_QNAME = new QName("http://www.eclipse.org/emf/2002/Ecore", "EDataType");
+ private final static QName _EObject_QNAME = new QName("http://www.eclipse.org/emf/2002/Ecore", "EObject");
+ private final static QName _EClass_QNAME = new QName("http://www.eclipse.org/emf/2002/Ecore", "EClass");
+ private final static QName _EPackage_QNAME = new QName("http://www.eclipse.org/emf/2002/Ecore", "EPackage");
+ private final static QName _EAttribute_QNAME = new QName("http://www.eclipse.org/emf/2002/Ecore", "EAttribute");
+ private final static QName _EAnnotationReferences_QNAME = new QName("", "references");
+ private final static QName _EAnnotationDetails_QNAME = new QName("", "details");
+ private final static QName _EAnnotationContents_QNAME = new QName("", "contents");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.jboss.bpm.dialect.stp.model.ecore
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link EClass }
+ *
+ */
+ public EClass createEClass() {
+ return new EClass();
+ }
+
+ /**
+ * Create an instance of {@link EPackage }
+ *
+ */
+ public EPackage createEPackage() {
+ return new EPackage();
+ }
+
+ /**
+ * Create an instance of {@link EEnum }
+ *
+ */
+ public EEnum createEEnum() {
+ return new EEnum();
+ }
+
+ /**
+ * Create an instance of {@link EOperation }
+ *
+ */
+ public EOperation createEOperation() {
+ return new EOperation();
+ }
+
+ /**
+ * Create an instance of {@link ETypedElement }
+ *
+ */
+ public ETypedElement createETypedElement() {
+ return new ETypedElement();
+ }
+
+ /**
+ * Create an instance of {@link EClassifier }
+ *
+ */
+ public EClassifier createEClassifier() {
+ return new EClassifier();
+ }
+
+ /**
+ * Create an instance of {@link EParameter }
+ *
+ */
+ public EParameter createEParameter() {
+ return new EParameter();
+ }
+
+ /**
+ * Create an instance of {@link EModelElement }
+ *
+ */
+ public EModelElement createEModelElement() {
+ return new EModelElement();
+ }
+
+ /**
+ * Create an instance of {@link EFactory }
+ *
+ */
+ public EFactory createEFactory() {
+ return new EFactory();
+ }
+
+ /**
+ * Create an instance of {@link EDataType }
+ *
+ */
+ public EDataType createEDataType() {
+ return new EDataType();
+ }
+
+ /**
+ * Create an instance of {@link EObject }
+ *
+ */
+ public EObject createEObject() {
+ return new EObject();
+ }
+
+ /**
+ * Create an instance of {@link EStructuralFeature }
+ *
+ */
+ public EStructuralFeature createEStructuralFeature() {
+ return new EStructuralFeature();
+ }
+
+ /**
+ * Create an instance of {@link EAnnotation }
+ *
+ */
+ public EAnnotation createEAnnotation() {
+ return new EAnnotation();
+ }
+
+ /**
+ * Create an instance of {@link EEnumLiteral }
+ *
+ */
+ public EEnumLiteral createEEnumLiteral() {
+ return new EEnumLiteral();
+ }
+
+ /**
+ * Create an instance of {@link ENamedElement }
+ *
+ */
+ public ENamedElement createENamedElement() {
+ return new ENamedElement();
+ }
+
+ /**
+ * Create an instance of {@link EReference }
+ *
+ */
+ public EReference createEReference() {
+ return new EReference();
+ }
+
+ /**
+ * Create an instance of {@link EAttribute }
+ *
+ */
+ public EAttribute createEAttribute() {
+ return new EAttribute();
+ }
+
+ /**
+ * Create an instance of {@link EStringToStringMapEntry }
+ *
+ */
+ public EStringToStringMapEntry createEStringToStringMapEntry() {
+ return new EStringToStringMapEntry();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link ETypedElement }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "ETypedElement")
+ public JAXBElement<ETypedElement> createETypedElement(ETypedElement value) {
+ return new JAXBElement<ETypedElement>(_ETypedElement_QNAME, ETypedElement.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EStructuralFeature }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EStructuralFeature")
+ public JAXBElement<EStructuralFeature> createEStructuralFeature(EStructuralFeature value) {
+ return new JAXBElement<EStructuralFeature>(_EStructuralFeature_QNAME, EStructuralFeature.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EModelElement }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EModelElement")
+ public JAXBElement<EModelElement> createEModelElement(EModelElement value) {
+ return new JAXBElement<EModelElement>(_EModelElement_QNAME, EModelElement.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EEnum }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EEnum")
+ public JAXBElement<EEnum> createEEnum(EEnum value) {
+ return new JAXBElement<EEnum>(_EEnum_QNAME, EEnum.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EFactory }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EFactory")
+ public JAXBElement<EFactory> createEFactory(EFactory value) {
+ return new JAXBElement<EFactory>(_EFactory_QNAME, EFactory.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EClassifier }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EClassifier")
+ public JAXBElement<EClassifier> createEClassifier(EClassifier value) {
+ return new JAXBElement<EClassifier>(_EClassifier_QNAME, EClassifier.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EAnnotation }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EAnnotation")
+ public JAXBElement<EAnnotation> createEAnnotation(EAnnotation value) {
+ return new JAXBElement<EAnnotation>(_EAnnotation_QNAME, EAnnotation.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link ENamedElement }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "ENamedElement")
+ public JAXBElement<ENamedElement> createENamedElement(ENamedElement value) {
+ return new JAXBElement<ENamedElement>(_ENamedElement_QNAME, ENamedElement.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EOperation }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EOperation")
+ public JAXBElement<EOperation> createEOperation(EOperation value) {
+ return new JAXBElement<EOperation>(_EOperation_QNAME, EOperation.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EStringToStringMapEntry }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EStringToStringMapEntry")
+ public JAXBElement<EStringToStringMapEntry> createEStringToStringMapEntry(EStringToStringMapEntry value) {
+ return new JAXBElement<EStringToStringMapEntry>(_EStringToStringMapEntry_QNAME, EStringToStringMapEntry.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EReference }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EReference")
+ public JAXBElement<EReference> createEReference(EReference value) {
+ return new JAXBElement<EReference>(_EReference_QNAME, EReference.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EEnumLiteral }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EEnumLiteral")
+ public JAXBElement<EEnumLiteral> createEEnumLiteral(EEnumLiteral value) {
+ return new JAXBElement<EEnumLiteral>(_EEnumLiteral_QNAME, EEnumLiteral.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EParameter }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EParameter")
+ public JAXBElement<EParameter> createEParameter(EParameter value) {
+ return new JAXBElement<EParameter>(_EParameter_QNAME, EParameter.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EDataType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EDataType")
+ public JAXBElement<EDataType> createEDataType(EDataType value) {
+ return new JAXBElement<EDataType>(_EDataType_QNAME, EDataType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EObject }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EObject")
+ public JAXBElement<EObject> createEObject(EObject value) {
+ return new JAXBElement<EObject>(_EObject_QNAME, EObject.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EClass }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EClass")
+ public JAXBElement<EClass> createEClass(EClass value) {
+ return new JAXBElement<EClass>(_EClass_QNAME, EClass.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EPackage }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EPackage")
+ public JAXBElement<EPackage> createEPackage(EPackage value) {
+ return new JAXBElement<EPackage>(_EPackage_QNAME, EPackage.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EAttribute }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EAttribute")
+ public JAXBElement<EAttribute> createEAttribute(EAttribute value) {
+ return new JAXBElement<EAttribute>(_EAttribute_QNAME, EAttribute.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EObject }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "", name = "references", scope = EAnnotation.class)
+ public JAXBElement<EObject> createEAnnotationReferences(EObject value) {
+ return new JAXBElement<EObject>(_EAnnotationReferences_QNAME, EObject.class, EAnnotation.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EStringToStringMapEntry }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "", name = "details", scope = EAnnotation.class)
+ public JAXBElement<EStringToStringMapEntry> createEAnnotationDetails(EStringToStringMapEntry value) {
+ return new JAXBElement<EStringToStringMapEntry>(_EAnnotationDetails_QNAME, EStringToStringMapEntry.class, EAnnotation.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EObject }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "", name = "contents", scope = EAnnotation.class)
+ public JAXBElement<EObject> createEAnnotationContents(EObject value) {
+ return new JAXBElement<EObject>(_EAnnotationContents_QNAME, EObject.class, EAnnotation.class, value);
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/ObjectFactory.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/package-info.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/package-info.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/package-info.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,9 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+(a)javax.xml.bind.annotation.XmlSchema(namespace = "http://www.eclipse.org/emf/2002/Ecore")
+package org.jboss.bpm.dialect.stp.model.ecore;
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/package-info.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/package-info.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/package-info.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/package-info.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,9 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+(a)javax.xml.bind.annotation.XmlSchema(namespace = "http://stp.eclipse.org/bpmn")
+package org.jboss.bpm.dialect.stp.model;
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/package-info.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Add.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Add.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Add.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,105 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.xmi;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlIDREF;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for Add complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Add">
+ * <complexContent>
+ * <extension base="{http://www.omg.org/XMI}Difference">
+ * <attribute name="position" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="addition" type="{http://www.w3.org/2001/XMLSchema}IDREFS" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Add")
+public class Add
+ extends Difference
+{
+
+ @XmlAttribute
+ protected String position;
+ @XmlAttribute
+ @XmlIDREF
+ @XmlSchemaType(name = "IDREFS")
+ protected List<Object> addition;
+
+ /**
+ * Gets the value of the position property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPosition() {
+ return position;
+ }
+
+ /**
+ * Sets the value of the position property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPosition(String value) {
+ this.position = value;
+ }
+
+ /**
+ * Gets the value of the addition property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the addition property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAddition().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ *
+ *
+ */
+ public List<Object> getAddition() {
+ if (addition == null) {
+ addition = new ArrayList<Object>();
+ }
+ return this.addition;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Add.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Any.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Any.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Any.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,101 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.xmi;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for Any complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Any">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <any/>
+ * </choice>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Any", propOrder = {
+ "any"
+})
+public class Any {
+
+ @XmlAnyElement
+ protected List<Element> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Element }
+ *
+ *
+ */
+ public List<Element> getAny() {
+ if (any == null) {
+ any = new ArrayList<Element>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Any.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Delete.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Delete.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Delete.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,39 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.xmi;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for Delete complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Delete">
+ * <complexContent>
+ * <extension base="{http://www.omg.org/XMI}Difference">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Delete")
+public class Delete
+ extends Difference
+{
+
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Delete.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Difference.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Difference.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Difference.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,422 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.xmi;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlElementRefs;
+import javax.xml.bind.annotation.XmlIDREF;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for Difference complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Difference">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="target">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <any/>
+ * </choice>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="difference" type="{http://www.omg.org/XMI}Difference"/>
+ * <element name="container" type="{http://www.omg.org/XMI}Difference"/>
+ * </choice>
+ * <attGroup ref="{http://www.omg.org/XMI}ObjectAttribs"/>
+ * <attribute name="target" type="{http://www.w3.org/2001/XMLSchema}IDREFS" />
+ * <attribute name="container" type="{http://www.w3.org/2001/XMLSchema}IDREFS" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Difference", propOrder = {
+ "targetOrDifferenceOrContainer"
+})
+@XmlSeeAlso({
+ Replace.class,
+ Add.class,
+ Delete.class
+})
+public class Difference {
+
+ @XmlElementRefs({
+ @XmlElementRef(name = "difference", type = JAXBElement.class),
+ @XmlElementRef(name = "target", type = JAXBElement.class),
+ @XmlElementRef(name = "container", type = JAXBElement.class)
+ })
+ protected List<JAXBElement<?>> targetOrDifferenceOrContainer;
+ @XmlAttribute
+ @XmlIDREF
+ @XmlSchemaType(name = "IDREFS")
+ protected List<Object> target;
+ @XmlAttribute
+ @XmlIDREF
+ @XmlSchemaType(name = "IDREFS")
+ protected List<Object> container;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String version;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected QName type;
+ @XmlAttribute
+ protected String href;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ @XmlIDREF
+ @XmlSchemaType(name = "IDREF")
+ protected Object idref;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String label;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String uuid;
+
+ /**
+ * Gets the value of the targetOrDifferenceOrContainer property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the targetOrDifferenceOrContainer property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getTargetOrDifferenceOrContainer().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JAXBElement }{@code <}{@link Difference.Target }{@code >}
+ * {@link JAXBElement }{@code <}{@link Difference }{@code >}
+ * {@link JAXBElement }{@code <}{@link Difference }{@code >}
+ *
+ *
+ */
+ public List<JAXBElement<?>> getTargetOrDifferenceOrContainer() {
+ if (targetOrDifferenceOrContainer == null) {
+ targetOrDifferenceOrContainer = new ArrayList<JAXBElement<?>>();
+ }
+ return this.targetOrDifferenceOrContainer;
+ }
+
+ /**
+ * Gets the value of the target property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the target property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getTarget().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ *
+ *
+ */
+ public List<Object> getTarget() {
+ if (target == null) {
+ target = new ArrayList<Object>();
+ }
+ return this.target;
+ }
+
+ /**
+ * Gets the value of the container property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the container property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getContainer().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ *
+ *
+ */
+ public List<Object> getContainer() {
+ if (container == null) {
+ container = new ArrayList<Object>();
+ }
+ return this.container;
+ }
+
+ /**
+ * Gets the value of the version property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getVersion() {
+ if (version == null) {
+ return "2.0";
+ } else {
+ return version;
+ }
+ }
+
+ /**
+ * Sets the value of the version property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setVersion(String value) {
+ this.version = value;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link QName }
+ *
+ */
+ public QName getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link QName }
+ *
+ */
+ public void setType(QName value) {
+ this.type = value;
+ }
+
+ /**
+ * Gets the value of the href property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getHref() {
+ return href;
+ }
+
+ /**
+ * Sets the value of the href property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setHref(String value) {
+ this.href = value;
+ }
+
+ /**
+ * Gets the value of the idref property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ public Object getIdref() {
+ return idref;
+ }
+
+ /**
+ * Sets the value of the idref property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setIdref(Object value) {
+ this.idref = value;
+ }
+
+ /**
+ * Gets the value of the label property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLabel() {
+ return label;
+ }
+
+ /**
+ * Sets the value of the label property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLabel(String value) {
+ this.label = value;
+ }
+
+ /**
+ * Gets the value of the uuid property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getUuid() {
+ return uuid;
+ }
+
+ /**
+ * Sets the value of the uuid property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setUuid(String value) {
+ this.uuid = value;
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <any/>
+ * </choice>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "any"
+ })
+ public static class Target {
+
+ @XmlAnyElement
+ protected List<Element> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Element }
+ *
+ *
+ */
+ public List<Element> getAny() {
+ if (any == null) {
+ any = new ArrayList<Element>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Difference.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Documentation.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Documentation.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Documentation.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,454 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.xmi;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlElementRefs;
+import javax.xml.bind.annotation.XmlIDREF;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for Documentation complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Documentation">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="contact" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="exporter" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="exporterVersion" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="longDescription" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="shortDescription" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="notice" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="owner" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </choice>
+ * <attGroup ref="{http://www.omg.org/XMI}ObjectAttribs"/>
+ * <attribute name="contact" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="exporter" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="exporterVersion" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="longDescription" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="shortDescription" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="notice" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="owner" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Documentation", propOrder = {
+ "contactOrExporterOrExporterVersion"
+})
+public class Documentation {
+
+ @XmlElementRefs({
+ @XmlElementRef(name = "exporterVersion", type = JAXBElement.class),
+ @XmlElementRef(name = "shortDescription", type = JAXBElement.class),
+ @XmlElementRef(name = "notice", type = JAXBElement.class),
+ @XmlElementRef(name = "contact", type = JAXBElement.class),
+ @XmlElementRef(name = "owner", type = JAXBElement.class),
+ @XmlElementRef(name = "longDescription", type = JAXBElement.class),
+ @XmlElementRef(name = "exporter", type = JAXBElement.class)
+ })
+ protected List<JAXBElement<String>> contactOrExporterOrExporterVersion;
+ @XmlAttribute
+ protected String contact;
+ @XmlAttribute
+ protected String exporter;
+ @XmlAttribute
+ protected String exporterVersion;
+ @XmlAttribute
+ protected String longDescription;
+ @XmlAttribute
+ protected String shortDescription;
+ @XmlAttribute
+ protected String notice;
+ @XmlAttribute
+ protected String owner;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String version;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected QName type;
+ @XmlAttribute
+ protected String href;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ @XmlIDREF
+ @XmlSchemaType(name = "IDREF")
+ protected Object idref;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String label;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String uuid;
+
+ /**
+ * Gets the value of the contactOrExporterOrExporterVersion property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the contactOrExporterOrExporterVersion property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getContactOrExporterOrExporterVersion().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ *
+ */
+ public List<JAXBElement<String>> getContactOrExporterOrExporterVersion() {
+ if (contactOrExporterOrExporterVersion == null) {
+ contactOrExporterOrExporterVersion = new ArrayList<JAXBElement<String>>();
+ }
+ return this.contactOrExporterOrExporterVersion;
+ }
+
+ /**
+ * Gets the value of the contact property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getContact() {
+ return contact;
+ }
+
+ /**
+ * Sets the value of the contact property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setContact(String value) {
+ this.contact = value;
+ }
+
+ /**
+ * Gets the value of the exporter property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getExporter() {
+ return exporter;
+ }
+
+ /**
+ * Sets the value of the exporter property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setExporter(String value) {
+ this.exporter = value;
+ }
+
+ /**
+ * Gets the value of the exporterVersion property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getExporterVersion() {
+ return exporterVersion;
+ }
+
+ /**
+ * Sets the value of the exporterVersion property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setExporterVersion(String value) {
+ this.exporterVersion = value;
+ }
+
+ /**
+ * Gets the value of the longDescription property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLongDescription() {
+ return longDescription;
+ }
+
+ /**
+ * Sets the value of the longDescription property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLongDescription(String value) {
+ this.longDescription = value;
+ }
+
+ /**
+ * Gets the value of the shortDescription property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getShortDescription() {
+ return shortDescription;
+ }
+
+ /**
+ * Sets the value of the shortDescription property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setShortDescription(String value) {
+ this.shortDescription = value;
+ }
+
+ /**
+ * Gets the value of the notice property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getNotice() {
+ return notice;
+ }
+
+ /**
+ * Sets the value of the notice property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setNotice(String value) {
+ this.notice = value;
+ }
+
+ /**
+ * Gets the value of the owner property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getOwner() {
+ return owner;
+ }
+
+ /**
+ * Sets the value of the owner property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setOwner(String value) {
+ this.owner = value;
+ }
+
+ /**
+ * Gets the value of the version property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getVersion() {
+ if (version == null) {
+ return "2.0";
+ } else {
+ return version;
+ }
+ }
+
+ /**
+ * Sets the value of the version property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setVersion(String value) {
+ this.version = value;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link QName }
+ *
+ */
+ public QName getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link QName }
+ *
+ */
+ public void setType(QName value) {
+ this.type = value;
+ }
+
+ /**
+ * Gets the value of the href property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getHref() {
+ return href;
+ }
+
+ /**
+ * Sets the value of the href property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setHref(String value) {
+ this.href = value;
+ }
+
+ /**
+ * Gets the value of the idref property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ public Object getIdref() {
+ return idref;
+ }
+
+ /**
+ * Sets the value of the idref property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setIdref(Object value) {
+ this.idref = value;
+ }
+
+ /**
+ * Gets the value of the label property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLabel() {
+ return label;
+ }
+
+ /**
+ * Sets the value of the label property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLabel(String value) {
+ this.label = value;
+ }
+
+ /**
+ * Gets the value of the uuid property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getUuid() {
+ return uuid;
+ }
+
+ /**
+ * Sets the value of the uuid property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setUuid(String value) {
+ this.uuid = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Documentation.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Extension.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Extension.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Extension.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,299 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.xmi;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlIDREF;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for Extension complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Extension">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <any/>
+ * </choice>
+ * <attGroup ref="{http://www.omg.org/XMI}ObjectAttribs"/>
+ * <attribute name="extender" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="extenderID" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Extension", propOrder = {
+ "any"
+})
+public class Extension {
+
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute
+ protected String extender;
+ @XmlAttribute
+ protected String extenderID;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String version;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected QName type;
+ @XmlAttribute
+ protected String href;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ @XmlIDREF
+ @XmlSchemaType(name = "IDREF")
+ protected Object idref;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String label;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String uuid;
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the extender property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getExtender() {
+ return extender;
+ }
+
+ /**
+ * Sets the value of the extender property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setExtender(String value) {
+ this.extender = value;
+ }
+
+ /**
+ * Gets the value of the extenderID property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getExtenderID() {
+ return extenderID;
+ }
+
+ /**
+ * Sets the value of the extenderID property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setExtenderID(String value) {
+ this.extenderID = value;
+ }
+
+ /**
+ * Gets the value of the version property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getVersion() {
+ if (version == null) {
+ return "2.0";
+ } else {
+ return version;
+ }
+ }
+
+ /**
+ * Sets the value of the version property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setVersion(String value) {
+ this.version = value;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link QName }
+ *
+ */
+ public QName getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link QName }
+ *
+ */
+ public void setType(QName value) {
+ this.type = value;
+ }
+
+ /**
+ * Gets the value of the href property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getHref() {
+ return href;
+ }
+
+ /**
+ * Sets the value of the href property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setHref(String value) {
+ this.href = value;
+ }
+
+ /**
+ * Gets the value of the idref property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ public Object getIdref() {
+ return idref;
+ }
+
+ /**
+ * Sets the value of the idref property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setIdref(Object value) {
+ this.idref = value;
+ }
+
+ /**
+ * Gets the value of the label property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLabel() {
+ return label;
+ }
+
+ /**
+ * Sets the value of the label property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLabel(String value) {
+ this.label = value;
+ }
+
+ /**
+ * Gets the value of the uuid property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getUuid() {
+ return uuid;
+ }
+
+ /**
+ * Sets the value of the uuid property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setUuid(String value) {
+ this.uuid = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Extension.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Import.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Import.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Import.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,39 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.xmi;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for Import complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Import">
+ * <complexContent>
+ * <extension base="{http://www.omg.org/XMI}PackageReference">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Import")
+public class Import
+ extends PackageReference
+{
+
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Import.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/MetaModel.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/MetaModel.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/MetaModel.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,39 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.xmi;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for MetaModel complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="MetaModel">
+ * <complexContent>
+ * <extension base="{http://www.omg.org/XMI}PackageReference">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "MetaModel")
+public class MetaModel
+ extends PackageReference
+{
+
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/MetaModel.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Model.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Model.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Model.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,39 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.xmi;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for Model complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Model">
+ * <complexContent>
+ * <extension base="{http://www.omg.org/XMI}PackageReference">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Model")
+public class Model
+ extends PackageReference
+{
+
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Model.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/ObjectFactory.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/ObjectFactory.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/ObjectFactory.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,376 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.xmi;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.jboss.bpm.dialect.stp.model.xmi package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _Extension_QNAME = new QName("http://www.omg.org/XMI", "Extension");
+ private final static QName _Delete_QNAME = new QName("http://www.omg.org/XMI", "Delete");
+ private final static QName _Add_QNAME = new QName("http://www.omg.org/XMI", "Add");
+ private final static QName _Import_QNAME = new QName("http://www.omg.org/XMI", "Import");
+ private final static QName _Model_QNAME = new QName("http://www.omg.org/XMI", "Model");
+ private final static QName _Documentation_QNAME = new QName("http://www.omg.org/XMI", "Documentation");
+ private final static QName _Replace_QNAME = new QName("http://www.omg.org/XMI", "Replace");
+ private final static QName _Difference_QNAME = new QName("http://www.omg.org/XMI", "Difference");
+ private final static QName _PackageReference_QNAME = new QName("http://www.omg.org/XMI", "PackageReference");
+ private final static QName _XMI_QNAME = new QName("http://www.omg.org/XMI", "XMI");
+ private final static QName _MetaModel_QNAME = new QName("http://www.omg.org/XMI", "MetaModel");
+ private final static QName _DocumentationExporterVersion_QNAME = new QName("", "exporterVersion");
+ private final static QName _DocumentationShortDescription_QNAME = new QName("", "shortDescription");
+ private final static QName _DocumentationOwner_QNAME = new QName("", "owner");
+ private final static QName _DocumentationLongDescription_QNAME = new QName("", "longDescription");
+ private final static QName _DocumentationExporter_QNAME = new QName("", "exporter");
+ private final static QName _DocumentationNotice_QNAME = new QName("", "notice");
+ private final static QName _DocumentationContact_QNAME = new QName("", "contact");
+ private final static QName _DifferenceDifference_QNAME = new QName("", "difference");
+ private final static QName _DifferenceContainer_QNAME = new QName("", "container");
+ private final static QName _DifferenceTarget_QNAME = new QName("", "target");
+ private final static QName _PackageReferenceName_QNAME = new QName("", "name");
+ private final static QName _PackageReferenceVersion_QNAME = new QName("", "version");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.jboss.bpm.dialect.stp.model.xmi
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link MetaModel }
+ *
+ */
+ public MetaModel createMetaModel() {
+ return new MetaModel();
+ }
+
+ /**
+ * Create an instance of {@link Import }
+ *
+ */
+ public Import createImport() {
+ return new Import();
+ }
+
+ /**
+ * Create an instance of {@link Extension }
+ *
+ */
+ public Extension createExtension() {
+ return new Extension();
+ }
+
+ /**
+ * Create an instance of {@link Model }
+ *
+ */
+ public Model createModel() {
+ return new Model();
+ }
+
+ /**
+ * Create an instance of {@link PackageReference }
+ *
+ */
+ public PackageReference createPackageReference() {
+ return new PackageReference();
+ }
+
+ /**
+ * Create an instance of {@link Add }
+ *
+ */
+ public Add createAdd() {
+ return new Add();
+ }
+
+ /**
+ * Create an instance of {@link Documentation }
+ *
+ */
+ public Documentation createDocumentation() {
+ return new Documentation();
+ }
+
+ /**
+ * Create an instance of {@link XMI }
+ *
+ */
+ public XMI createXMI() {
+ return new XMI();
+ }
+
+ /**
+ * Create an instance of {@link Difference.Target }
+ *
+ */
+ public Difference.Target createDifferenceTarget() {
+ return new Difference.Target();
+ }
+
+ /**
+ * Create an instance of {@link Replace }
+ *
+ */
+ public Replace createReplace() {
+ return new Replace();
+ }
+
+ /**
+ * Create an instance of {@link Difference }
+ *
+ */
+ public Difference createDifference() {
+ return new Difference();
+ }
+
+ /**
+ * Create an instance of {@link Delete }
+ *
+ */
+ public Delete createDelete() {
+ return new Delete();
+ }
+
+ /**
+ * Create an instance of {@link Any }
+ *
+ */
+ public Any createAny() {
+ return new Any();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Extension }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "Extension")
+ public JAXBElement<Extension> createExtension(Extension value) {
+ return new JAXBElement<Extension>(_Extension_QNAME, Extension.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Delete }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "Delete")
+ public JAXBElement<Delete> createDelete(Delete value) {
+ return new JAXBElement<Delete>(_Delete_QNAME, Delete.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Add }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "Add")
+ public JAXBElement<Add> createAdd(Add value) {
+ return new JAXBElement<Add>(_Add_QNAME, Add.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Import }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "Import")
+ public JAXBElement<Import> createImport(Import value) {
+ return new JAXBElement<Import>(_Import_QNAME, Import.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Model }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "Model")
+ public JAXBElement<Model> createModel(Model value) {
+ return new JAXBElement<Model>(_Model_QNAME, Model.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Documentation }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "Documentation")
+ public JAXBElement<Documentation> createDocumentation(Documentation value) {
+ return new JAXBElement<Documentation>(_Documentation_QNAME, Documentation.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Replace }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "Replace")
+ public JAXBElement<Replace> createReplace(Replace value) {
+ return new JAXBElement<Replace>(_Replace_QNAME, Replace.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Difference }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "Difference")
+ public JAXBElement<Difference> createDifference(Difference value) {
+ return new JAXBElement<Difference>(_Difference_QNAME, Difference.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link PackageReference }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "PackageReference")
+ public JAXBElement<PackageReference> createPackageReference(PackageReference value) {
+ return new JAXBElement<PackageReference>(_PackageReference_QNAME, PackageReference.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link XMI }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "XMI")
+ public JAXBElement<XMI> createXMI(XMI value) {
+ return new JAXBElement<XMI>(_XMI_QNAME, XMI.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link MetaModel }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "MetaModel")
+ public JAXBElement<MetaModel> createMetaModel(MetaModel value) {
+ return new JAXBElement<MetaModel>(_MetaModel_QNAME, MetaModel.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "", name = "exporterVersion", scope = Documentation.class)
+ public JAXBElement<String> createDocumentationExporterVersion(String value) {
+ return new JAXBElement<String>(_DocumentationExporterVersion_QNAME, String.class, Documentation.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "", name = "shortDescription", scope = Documentation.class)
+ public JAXBElement<String> createDocumentationShortDescription(String value) {
+ return new JAXBElement<String>(_DocumentationShortDescription_QNAME, String.class, Documentation.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "", name = "owner", scope = Documentation.class)
+ public JAXBElement<String> createDocumentationOwner(String value) {
+ return new JAXBElement<String>(_DocumentationOwner_QNAME, String.class, Documentation.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "", name = "longDescription", scope = Documentation.class)
+ public JAXBElement<String> createDocumentationLongDescription(String value) {
+ return new JAXBElement<String>(_DocumentationLongDescription_QNAME, String.class, Documentation.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "", name = "exporter", scope = Documentation.class)
+ public JAXBElement<String> createDocumentationExporter(String value) {
+ return new JAXBElement<String>(_DocumentationExporter_QNAME, String.class, Documentation.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "", name = "notice", scope = Documentation.class)
+ public JAXBElement<String> createDocumentationNotice(String value) {
+ return new JAXBElement<String>(_DocumentationNotice_QNAME, String.class, Documentation.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "", name = "contact", scope = Documentation.class)
+ public JAXBElement<String> createDocumentationContact(String value) {
+ return new JAXBElement<String>(_DocumentationContact_QNAME, String.class, Documentation.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Difference }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "", name = "difference", scope = Difference.class)
+ public JAXBElement<Difference> createDifferenceDifference(Difference value) {
+ return new JAXBElement<Difference>(_DifferenceDifference_QNAME, Difference.class, Difference.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Difference }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "", name = "container", scope = Difference.class)
+ public JAXBElement<Difference> createDifferenceContainer(Difference value) {
+ return new JAXBElement<Difference>(_DifferenceContainer_QNAME, Difference.class, Difference.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Difference.Target }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "", name = "target", scope = Difference.class)
+ public JAXBElement<Difference.Target> createDifferenceTarget(Difference.Target value) {
+ return new JAXBElement<Difference.Target>(_DifferenceTarget_QNAME, Difference.Target.class, Difference.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "", name = "name", scope = PackageReference.class)
+ public JAXBElement<String> createPackageReferenceName(String value) {
+ return new JAXBElement<String>(_PackageReferenceName_QNAME, String.class, PackageReference.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "", name = "version", scope = PackageReference.class)
+ public JAXBElement<String> createPackageReferenceVersion(String value) {
+ return new JAXBElement<String>(_PackageReferenceVersion_QNAME, String.class, PackageReference.class, value);
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/ObjectFactory.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/PackageReference.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/PackageReference.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/PackageReference.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,283 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.xmi;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlElementRefs;
+import javax.xml.bind.annotation.XmlIDREF;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for PackageReference complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="PackageReference">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="version" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </choice>
+ * <attGroup ref="{http://www.omg.org/XMI}ObjectAttribs"/>
+ * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "PackageReference", propOrder = {
+ "nameOrVersion"
+})
+@XmlSeeAlso({
+ Import.class,
+ Model.class,
+ MetaModel.class
+})
+public class PackageReference {
+
+ @XmlElementRefs({
+ @XmlElementRef(name = "name", type = JAXBElement.class),
+ @XmlElementRef(name = "version", type = JAXBElement.class)
+ })
+ protected List<JAXBElement<String>> nameOrVersion;
+ @XmlAttribute
+ protected String name;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String version;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected QName type;
+ @XmlAttribute
+ protected String href;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ @XmlIDREF
+ @XmlSchemaType(name = "IDREF")
+ protected Object idref;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String label;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String uuid;
+
+ /**
+ * Gets the value of the nameOrVersion property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the nameOrVersion property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getNameOrVersion().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ *
+ */
+ public List<JAXBElement<String>> getNameOrVersion() {
+ if (nameOrVersion == null) {
+ nameOrVersion = new ArrayList<JAXBElement<String>>();
+ }
+ return this.nameOrVersion;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the version property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getVersion() {
+ if (version == null) {
+ return "2.0";
+ } else {
+ return version;
+ }
+ }
+
+ /**
+ * Sets the value of the version property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setVersion(String value) {
+ this.version = value;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link QName }
+ *
+ */
+ public QName getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link QName }
+ *
+ */
+ public void setType(QName value) {
+ this.type = value;
+ }
+
+ /**
+ * Gets the value of the href property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getHref() {
+ return href;
+ }
+
+ /**
+ * Sets the value of the href property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setHref(String value) {
+ this.href = value;
+ }
+
+ /**
+ * Gets the value of the idref property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ public Object getIdref() {
+ return idref;
+ }
+
+ /**
+ * Sets the value of the idref property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setIdref(Object value) {
+ this.idref = value;
+ }
+
+ /**
+ * Gets the value of the label property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLabel() {
+ return label;
+ }
+
+ /**
+ * Sets the value of the label property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLabel(String value) {
+ this.label = value;
+ }
+
+ /**
+ * Gets the value of the uuid property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getUuid() {
+ return uuid;
+ }
+
+ /**
+ * Sets the value of the uuid property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setUuid(String value) {
+ this.uuid = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/PackageReference.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Replace.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Replace.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Replace.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,105 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.xmi;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlIDREF;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for Replace complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Replace">
+ * <complexContent>
+ * <extension base="{http://www.omg.org/XMI}Difference">
+ * <attribute name="position" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="replacement" type="{http://www.w3.org/2001/XMLSchema}IDREFS" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Replace")
+public class Replace
+ extends Difference
+{
+
+ @XmlAttribute
+ protected String position;
+ @XmlAttribute
+ @XmlIDREF
+ @XmlSchemaType(name = "IDREFS")
+ protected List<Object> replacement;
+
+ /**
+ * Gets the value of the position property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPosition() {
+ return position;
+ }
+
+ /**
+ * Sets the value of the position property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPosition(String value) {
+ this.position = value;
+ }
+
+ /**
+ * Gets the value of the replacement property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the replacement property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getReplacement().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ *
+ *
+ */
+ public List<Object> getReplacement() {
+ if (replacement == null) {
+ replacement = new ArrayList<Object>();
+ }
+ return this.replacement;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Replace.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/XMI.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/XMI.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/XMI.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,246 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.xmi;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlIDREF;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for XMI complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="XMI">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <any/>
+ * </choice>
+ * <attGroup ref="{http://www.omg.org/XMI}IdentityAttribs"/>
+ * <attGroup ref="{http://www.omg.org/XMI}LinkAttribs"/>
+ * <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}QName" />
+ * <attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}string" fixed="2.0" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "XMI", propOrder = {
+ "any"
+})
+public class XMI {
+
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected QName type;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI", required = true)
+ protected String version;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String label;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String uuid;
+ @XmlAttribute
+ protected String href;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ @XmlIDREF
+ @XmlSchemaType(name = "IDREF")
+ protected Object idref;
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link QName }
+ *
+ */
+ public QName getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link QName }
+ *
+ */
+ public void setType(QName value) {
+ this.type = value;
+ }
+
+ /**
+ * Gets the value of the version property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getVersion() {
+ if (version == null) {
+ return "2.0";
+ } else {
+ return version;
+ }
+ }
+
+ /**
+ * Sets the value of the version property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setVersion(String value) {
+ this.version = value;
+ }
+
+ /**
+ * Gets the value of the label property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLabel() {
+ return label;
+ }
+
+ /**
+ * Sets the value of the label property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLabel(String value) {
+ this.label = value;
+ }
+
+ /**
+ * Gets the value of the uuid property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getUuid() {
+ return uuid;
+ }
+
+ /**
+ * Sets the value of the uuid property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setUuid(String value) {
+ this.uuid = value;
+ }
+
+ /**
+ * Gets the value of the href property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getHref() {
+ return href;
+ }
+
+ /**
+ * Sets the value of the href property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setHref(String value) {
+ this.href = value;
+ }
+
+ /**
+ * Gets the value of the idref property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ public Object getIdref() {
+ return idref;
+ }
+
+ /**
+ * Sets the value of the idref property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setIdref(Object value) {
+ this.idref = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/XMI.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/package-info.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/package-info.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/package-info.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,9 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 06:01:54 PM CEST
+//
+
+(a)javax.xml.bind.annotation.XmlSchema(namespace = "http://www.omg.org/XMI")
+package org.jboss.bpm.dialect.stp.model.xmi;
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/package-info.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/resources/Ecore.xsd
===================================================================
--- api/trunk/modules/dialects/stp/src/main/resources/Ecore.xsd (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/resources/Ecore.xsd 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,190 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema targetNamespace="http://www.eclipse.org/emf/2002/Ecore" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:xmi="http://www.omg.org/XMI"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <xsd:import namespace="http://www.omg.org/XMI" schemaLocation="./XMI.xsd" />
+ <xsd:complexType name="EAttribute">
+ <xsd:complexContent>
+ <xsd:extension base="ecore:EStructuralFeature">
+ <xsd:attribute name="iD" type="xsd:boolean" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="EAttribute" type="ecore:EAttribute" />
+ <xsd:complexType name="EAnnotation">
+ <xsd:complexContent>
+ <xsd:extension base="ecore:EModelElement">
+ <xsd:choice maxOccurs="unbounded" minOccurs="0">
+ <xsd:element name="details" type="ecore:EStringToStringMapEntry" />
+ <xsd:element name="contents" type="ecore:EObject" />
+ <xsd:element name="references" type="ecore:EObject" />
+ </xsd:choice>
+ <xsd:attribute name="source" type="xsd:string" />
+ <xsd:attribute name="references" type="xsd:string" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="EAnnotation" type="ecore:EAnnotation" />
+ <xsd:complexType name="EClass">
+ <xsd:complexContent>
+ <xsd:extension base="ecore:EClassifier">
+ <xsd:choice maxOccurs="unbounded" minOccurs="0">
+ <xsd:element name="eSuperTypes" type="ecore:EClass" />
+ <xsd:element name="eOperations" type="ecore:EOperation" />
+ <xsd:element name="eStructuralFeatures" type="ecore:EStructuralFeature" />
+ </xsd:choice>
+ <xsd:attribute name="abstract" type="xsd:boolean" />
+ <xsd:attribute name="interface" type="xsd:boolean" />
+ <xsd:attribute name="eSuperTypes" type="xsd:string" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="EClass" type="ecore:EClass" />
+ <xsd:complexType name="EClassifier">
+ <xsd:complexContent>
+ <xsd:extension base="ecore:ENamedElement">
+ <xsd:attribute name="instanceClassName" type="xsd:string" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="EClassifier" type="ecore:EClassifier" />
+ <xsd:complexType name="EDataType">
+ <xsd:complexContent>
+ <xsd:extension base="ecore:EClassifier">
+ <xsd:attribute name="serializable" type="xsd:boolean" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="EDataType" type="ecore:EDataType" />
+ <xsd:complexType name="EEnum">
+ <xsd:complexContent>
+ <xsd:extension base="ecore:EDataType">
+ <xsd:choice maxOccurs="unbounded" minOccurs="0">
+ <xsd:element name="eLiterals" type="ecore:EEnumLiteral" />
+ </xsd:choice>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="EEnum" type="ecore:EEnum" />
+ <xsd:complexType name="EEnumLiteral">
+ <xsd:complexContent>
+ <xsd:extension base="ecore:ENamedElement">
+ <xsd:attribute name="value" type="xsd:int" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="EEnumLiteral" type="ecore:EEnumLiteral" />
+ <xsd:complexType name="EFactory">
+ <xsd:complexContent>
+ <xsd:extension base="ecore:EModelElement" />
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="EFactory" type="ecore:EFactory" />
+ <xsd:complexType name="EModelElement">
+ <xsd:complexContent>
+ <xsd:extension base="ecore:EObject">
+ <xsd:choice maxOccurs="unbounded" minOccurs="0">
+ <xsd:element name="eAnnotations" type="ecore:EAnnotation" />
+ </xsd:choice>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="EModelElement" type="ecore:EModelElement" />
+ <xsd:complexType name="ENamedElement">
+ <xsd:complexContent>
+ <xsd:extension base="ecore:EModelElement">
+ <xsd:attribute name="name" type="xsd:string" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="ENamedElement" type="ecore:ENamedElement" />
+ <xsd:complexType name="EObject">
+ <xsd:choice maxOccurs="unbounded" minOccurs="0">
+ <xsd:element ref="xmi:Extension" />
+ </xsd:choice>
+ <xsd:attribute ref="xmi:id" />
+ <xsd:attributeGroup ref="xmi:ObjectAttribs" />
+ </xsd:complexType>
+ <xsd:element name="EObject" type="ecore:EObject" />
+ <xsd:complexType name="EOperation">
+ <xsd:complexContent>
+ <xsd:extension base="ecore:ETypedElement">
+ <xsd:choice maxOccurs="unbounded" minOccurs="0">
+ <xsd:element name="eParameters" type="ecore:EParameter" />
+ <xsd:element name="eExceptions" type="ecore:EClassifier" />
+ </xsd:choice>
+ <xsd:attribute name="eExceptions" type="xsd:string" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="EOperation" type="ecore:EOperation" />
+ <xsd:complexType name="EPackage">
+ <xsd:complexContent>
+ <xsd:extension base="ecore:ENamedElement">
+ <xsd:choice maxOccurs="unbounded" minOccurs="0">
+ <xsd:element name="eClassifiers" type="ecore:EClassifier" />
+ <xsd:element name="eSubpackages" type="ecore:EPackage" />
+ </xsd:choice>
+ <xsd:attribute name="nsURI" type="xsd:string" />
+ <xsd:attribute name="nsPrefix" type="xsd:string" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="EPackage" type="ecore:EPackage" />
+ <xsd:complexType name="EParameter">
+ <xsd:complexContent>
+ <xsd:extension base="ecore:ETypedElement" />
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="EParameter" type="ecore:EParameter" />
+ <xsd:complexType name="EReference">
+ <xsd:complexContent>
+ <xsd:extension base="ecore:EStructuralFeature">
+ <xsd:choice maxOccurs="unbounded" minOccurs="0">
+ <xsd:element name="eOpposite" type="ecore:EReference" />
+ </xsd:choice>
+ <xsd:attribute name="containment" type="xsd:boolean" />
+ <xsd:attribute name="resolveProxies" type="xsd:boolean" />
+ <xsd:attribute name="eOpposite" type="xsd:string" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="EReference" type="ecore:EReference" />
+ <xsd:complexType name="EStructuralFeature">
+ <xsd:complexContent>
+ <xsd:extension base="ecore:ETypedElement">
+ <xsd:attribute name="changeable" type="xsd:boolean" />
+ <xsd:attribute name="volatile" type="xsd:boolean" />
+ <xsd:attribute name="transient" type="xsd:boolean" />
+ <xsd:attribute name="defaultValueLiteral" type="xsd:string" />
+ <xsd:attribute name="unsettable" type="xsd:boolean" />
+ <xsd:attribute name="derived" type="xsd:boolean" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="EStructuralFeature" type="ecore:EStructuralFeature" />
+ <xsd:complexType name="ETypedElement">
+ <xsd:complexContent>
+ <xsd:extension base="ecore:ENamedElement">
+ <xsd:choice maxOccurs="unbounded" minOccurs="0">
+ <xsd:element name="eType" type="ecore:EClassifier" />
+ </xsd:choice>
+ <xsd:attribute name="ordered" type="xsd:boolean" />
+ <xsd:attribute name="unique" type="xsd:boolean" />
+ <xsd:attribute name="lowerBound" type="xsd:int" />
+ <xsd:attribute name="upperBound" type="xsd:int" />
+ <xsd:attribute name="eType" type="xsd:string" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="ETypedElement" type="ecore:ETypedElement" />
+ <xsd:complexType name="EStringToStringMapEntry">
+ <xsd:choice maxOccurs="unbounded" minOccurs="0">
+ <xsd:element ref="xmi:Extension" />
+ </xsd:choice>
+ <xsd:attribute ref="xmi:id" />
+ <xsd:attributeGroup ref="xmi:ObjectAttribs" />
+ <xsd:attribute name="key" type="xsd:string" />
+ <xsd:attribute name="value" type="xsd:string" />
+ </xsd:complexType>
+ <xsd:element name="EStringToStringMapEntry" type="ecore:EStringToStringMapEntry" />
+</xsd:schema>
\ No newline at end of file
Property changes on: api/trunk/modules/dialects/stp/src/main/resources/Ecore.xsd
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/resources/XMI.xsd
===================================================================
--- api/trunk/modules/dialects/stp/src/main/resources/XMI.xsd (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/resources/XMI.xsd 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,132 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema targetNamespace="http://www.omg.org/XMI" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <xsd:attribute name="id" type="xsd:ID" />
+ <xsd:attributeGroup name="IdentityAttribs">
+ <xsd:attribute form="qualified" name="label" type="xsd:string" use="optional" />
+ <xsd:attribute form="qualified" name="uuid" type="xsd:string" use="optional" />
+ </xsd:attributeGroup>
+ <xsd:attributeGroup name="LinkAttribs">
+ <xsd:attribute name="href" type="xsd:string" use="optional" />
+ <xsd:attribute form="qualified" name="idref" type="xsd:IDREF" use="optional" />
+ </xsd:attributeGroup>
+ <xsd:attributeGroup name="ObjectAttribs">
+ <xsd:attributeGroup ref="xmi:IdentityAttribs" />
+ <xsd:attributeGroup ref="xmi:LinkAttribs" />
+ <xsd:attribute fixed="2.0" form="qualified" name="version" type="xsd:string" use="optional" />
+ <xsd:attribute form="qualified" name="type" type="xsd:QName" use="optional" />
+ </xsd:attributeGroup>
+ <xsd:complexType name="XMI">
+ <xsd:choice maxOccurs="unbounded" minOccurs="0">
+ <xsd:any processContents="strict" />
+ </xsd:choice>
+ <xsd:attributeGroup ref="xmi:IdentityAttribs" />
+ <xsd:attributeGroup ref="xmi:LinkAttribs" />
+ <xsd:attribute form="qualified" name="type" type="xsd:QName" use="optional" />
+ <xsd:attribute fixed="2.0" form="qualified" name="version" type="xsd:string" use="required" />
+ </xsd:complexType>
+ <xsd:element name="XMI" type="xmi:XMI" />
+ <xsd:complexType name="PackageReference">
+ <xsd:choice maxOccurs="unbounded" minOccurs="0">
+ <xsd:element name="name" type="xsd:string" />
+ <xsd:element name="version" type="xsd:string" />
+ </xsd:choice>
+ <xsd:attributeGroup ref="xmi:ObjectAttribs" />
+ <xsd:attribute name="name" type="xsd:string" use="optional" />
+ </xsd:complexType>
+ <xsd:element name="PackageReference" type="xmi:PackageReference" />
+ <xsd:complexType name="Model">
+ <xsd:complexContent>
+ <xsd:extension base="xmi:PackageReference" />
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="Model" type="xmi:Model" />
+ <xsd:complexType name="Import">
+ <xsd:complexContent>
+ <xsd:extension base="xmi:PackageReference" />
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="Import" type="xmi:Import" />
+ <xsd:complexType name="MetaModel">
+ <xsd:complexContent>
+ <xsd:extension base="xmi:PackageReference" />
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="MetaModel" type="xmi:MetaModel" />
+ <xsd:complexType name="Documentation">
+ <xsd:choice maxOccurs="unbounded" minOccurs="0">
+ <xsd:element name="contact" type="xsd:string" />
+ <xsd:element name="exporter" type="xsd:string" />
+ <xsd:element name="exporterVersion" type="xsd:string" />
+ <xsd:element name="longDescription" type="xsd:string" />
+ <xsd:element name="shortDescription" type="xsd:string" />
+ <xsd:element name="notice" type="xsd:string" />
+ <xsd:element name="owner" type="xsd:string" />
+ </xsd:choice>
+ <xsd:attributeGroup ref="xmi:ObjectAttribs" />
+ <xsd:attribute name="contact" type="xsd:string" use="optional" />
+ <xsd:attribute name="exporter" type="xsd:string" use="optional" />
+ <xsd:attribute name="exporterVersion" type="xsd:string" use="optional" />
+ <xsd:attribute name="longDescription" type="xsd:string" use="optional" />
+ <xsd:attribute name="shortDescription" type="xsd:string" use="optional" />
+ <xsd:attribute name="notice" type="xsd:string" use="optional" />
+ <xsd:attribute name="owner" type="xsd:string" use="optional" />
+ </xsd:complexType>
+ <xsd:element name="Documentation" type="xmi:Documentation" />
+ <xsd:complexType name="Extension">
+ <xsd:choice maxOccurs="unbounded" minOccurs="0">
+ <xsd:any processContents="lax" />
+ </xsd:choice>
+ <xsd:attributeGroup ref="xmi:ObjectAttribs" />
+ <xsd:attribute name="extender" type="xsd:string" use="optional" />
+ <xsd:attribute name="extenderID" type="xsd:string" use="optional" />
+ </xsd:complexType>
+ <xsd:element name="Extension" type="xmi:Extension" />
+ <xsd:complexType name="Difference">
+ <xsd:choice maxOccurs="unbounded" minOccurs="0">
+ <xsd:element name="target">
+ <xsd:complexType>
+ <xsd:choice maxOccurs="unbounded" minOccurs="0">
+ <xsd:any processContents="skip" />
+ </xsd:choice>
+ <xsd:anyAttribute processContents="skip" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="difference" type="xmi:Difference" />
+ <xsd:element name="container" type="xmi:Difference" />
+ </xsd:choice>
+ <xsd:attributeGroup ref="xmi:ObjectAttribs" />
+ <xsd:attribute name="target" type="xsd:IDREFS" use="optional" />
+ <xsd:attribute name="container" type="xsd:IDREFS" use="optional" />
+ </xsd:complexType>
+ <xsd:element name="Difference" type="xmi:Difference" />
+ <xsd:complexType name="Add">
+ <xsd:complexContent>
+ <xsd:extension base="xmi:Difference">
+ <xsd:attribute name="position" type="xsd:string" use="optional" />
+ <xsd:attribute name="addition" type="xsd:IDREFS" use="optional" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="Add" type="xmi:Add" />
+ <xsd:complexType name="Replace">
+ <xsd:complexContent>
+ <xsd:extension base="xmi:Difference">
+ <xsd:attribute name="position" type="xsd:string" use="optional" />
+ <xsd:attribute name="replacement" type="xsd:IDREFS" use="optional" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="Replace" type="xmi:Replace" />
+ <xsd:complexType name="Delete">
+ <xsd:complexContent>
+ <xsd:extension base="xmi:Difference" />
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="Delete" type="xmi:Delete" />
+ <xsd:complexType name="Any">
+ <xsd:choice maxOccurs="unbounded" minOccurs="0">
+ <xsd:any processContents="skip" />
+ </xsd:choice>
+ <xsd:anyAttribute processContents="skip" />
+ </xsd:complexType>
+</xsd:schema>
\ No newline at end of file
Property changes on: api/trunk/modules/dialects/stp/src/main/resources/XMI.xsd
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/resources/bpmn-v20071210-0-7-1.xsd
===================================================================
--- api/trunk/modules/dialects/stp/src/main/resources/bpmn-v20071210-0-7-1.xsd (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/resources/bpmn-v20071210-0-7-1.xsd 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,312 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Taken from SVN tag v20071210-0-7-1
+
+ http://dev.eclipse.org/svnroot/stp/tags/v20071210-0-7-1/org.eclipse.stp.b...
+-->
+<xsd:schema xmlns:bpmn="http://stp.eclipse.org/bpmn" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://stp.eclipse.org/bpmn">
+ <xsd:import schemaLocation="platform:/plugin/org.eclipse.emf.ecore/model/Ecore.xsd" namespace="http://www.eclipse.org/emf/2002/Ecore" />
+ <!--
+ Copyright (c) 2006-2007, Intalio Inc. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public
+ License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html Contributors: Intalio Inc. - initial API and
+ implementation
+ -->
+ <!-- has an ID accessible from the API for identification purpose
+ extends EModelElement so that it accepts EAnnotations
+ that are used instead of properties -->
+ <xsd:complexType name="Identifiable">
+ <xsd:complexContent>
+ <xsd:extension base="ecore:EModelElement">
+ <xsd:attribute name="ID" type="xsd:ID" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+<!-- equivalent to a marker interface used for both vertex and graph -->
+ <xsd:complexType name="IdentifiableNode">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Identifiable">
+ <xsd:sequence>
+ <xsd:element ecore:opposite="target" maxOccurs="unbounded" minOccurs="0" name="associations" ecore:reference="bpmn:Association" type="xsd:anyURI" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="NamedBpmnObject">
+ <xsd:attribute name="name" type="xsd:string" />
+ <xsd:attribute name="documentation" type="xsd:string" />
+ <xsd:attribute name="ncname" type="xsd:string" />
+ </xsd:complexType>
+
+
+<!-- abstract objects that define a graph one graph per pool or sub-process
+also contains artifacts -->
+ <xsd:complexType name="Graph" ecore:implements="bpmn:ArtifactsContainer">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:IdentifiableNode">
+ <xsd:sequence>
+ <xsd:element ecore:opposite="graph" maxOccurs="unbounded" minOccurs="0" name="vertices" type="bpmn:Vertex" />
+ <xsd:element ecore:opposite="graph" maxOccurs="unbounded" minOccurs="0" name="sequenceEdges" type="bpmn:SequenceEdge" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="Vertex">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:IdentifiableNode">
+ <xsd:sequence>
+ <xsd:element ecore:opposite="source" ecore:reference="bpmn:SequenceEdge" maxOccurs="unbounded" minOccurs="0" name="outgoingEdges" type="xsd:anyURI" />
+ <xsd:element ecore:opposite="target" ecore:reference="bpmn:SequenceEdge" maxOccurs="unbounded" minOccurs="0" name="incomingEdges" type="xsd:anyURI" />
+ </xsd:sequence>
+ <xsd:attribute ecore:opposite="vertices" ecore:reference="bpmn:Graph" name="graph" type="xsd:anyURI" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="SequenceEdge" ecore:implements="bpmn:NamedBpmnObject">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Identifiable">
+ <xsd:attribute ecore:opposite="sequenceEdges" ecore:reference="bpmn:Graph" name="graph" type="xsd:anyURI" />
+ <xsd:attribute ecore:opposite="outgoingSequenceEdges" ecore:reference="bpmn:Vertex" name="source" type="xsd:anyURI" />
+ <xsd:attribute ecore:opposite="incomingSequenceEdges" ecore:reference="bpmn:Vertex" name="target" type="xsd:anyURI" />
+ <xsd:attribute name="isDefault" type="xsd:boolean" />
+ <xsd:attribute name="conditionType" type="bpmn:SequenceFlowConditionType" />
+ <!--xsd:attributeGroup ref="bpmn:base"/-->
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+<!-- end of abstract objects that define a graph -->
+
+ <!-- root contains pools, messages and artifacts -->
+ <xsd:complexType name="BpmnDiagram" ecore:implements="bpmn:ArtifactsContainer">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Identifiable">
+ <xsd:sequence>
+ <xsd:element ecore:opposite="bpmnDiagram" maxOccurs="unbounded" minOccurs="0" name="pools" type="bpmn:Pool" />
+ <xsd:element ecore:opposite="bpmnDiagram" maxOccurs="unbounded" minOccurs="0" name="messages" type="bpmn:MessagingEdge" />
+ </xsd:sequence>
+ <xsd:attribute name="title" type="xsd:string" />
+ <xsd:attribute name="author" type="xsd:string" />
+ <!--xsd:attributeGroup ref="bpmn:base"/-->
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <!-- pool is jus a graph with a reference to the bpmnDiagram -->
+ <xsd:complexType name="Pool" ecore:implements="bpmn:NamedBpmnObject">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Graph">
+ <xsd:sequence>
+ <xsd:element ecore:opposite="pool" maxOccurs="unbounded" minOccurs="0" name="lanes" type="bpmn:Lane" />
+ </xsd:sequence>
+ <xsd:attribute ecore:opposite="pools" ecore:reference="bpmn:BpmnDiagram" name="bpmnDiagram" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <!--
+ activities are a specialization of a vertex they have messaging abilities and doc and name activities can pretty much morph into any bpmn node. the schema does not
+ enforce much. This is to keep a pretty generic model that hopefully won't move too much The drawback is that the code generated needs to be customized with a lot of
+ structural constraints. The advantage is that it will be possible to morph nodes into one another in the diagram
+ -->
+ <xsd:complexType name="Activity" ecore:implements="bpmn:NamedBpmnObject">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Vertex">
+ <xsd:sequence>
+ <!-- see page 5 of http://www.eclipse.org/modeling/emf/docs/overviews/FeatureMap.pdf -->
+ <xsd:choice maxOccurs="unbounded" minOccurs="0" ecore:name="orderedMessages">
+ <xsd:element ecore:reference="bpmn:MessagingEdge" ecore:opposite="target" maxOccurs="unbounded" minOccurs="0" name="incomingMessages" type="xsd:anyURI" />
+ <xsd:element ecore:reference="bpmn:MessagingEdge" ecore:opposite="source" maxOccurs="unbounded" minOccurs="0" name="outgoingMessages" type="xsd:anyURI" />
+ </xsd:choice>
+ <xsd:element ecore:opposite="groups" ecore:reference="bpmn:Group" maxOccurs="unbounded" minOccurs="0" name="groups" type="xsd:anyURI" />
+ </xsd:sequence>
+ <!-- the type of activity -->
+ <xsd:attribute default="Task" name="activityType" type="bpmn:ActivityType" />
+ <!-- the lane reference (optional) -->
+ <xsd:attribute ecore:opposite="activities" ecore:reference="bpmn:Lane" name="lane" type="xsd:anyURI" use="optional" />
+ <!--
+ should it carry the loop decoration? Note: we do _not_ define the type of loop here. That belongs to the data-editor that is specific to the target language
+ -->
+ <xsd:attribute name="looping" type="xsd:boolean" />
+ <!-- points to the sub-process that this intermediary event is defined for. In all other cases it is null. -->
+ <xsd:attribute ecore:opposite="eventHandlers" ecore:reference="bpmn:SubProcess" name="eventHandlerFor" type="xsd:anyURI" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <!--
+ sub process are vertex amongst the enclosing sub process or pool and at the same time they are also a graph they also holds a lits of event handlers shape
+ -->
+ <xsd:complexType ecore:implements="bpmn:Graph" name="SubProcess">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Activity">
+ <!-- intermediate events on the border of the shape -->
+ <xsd:sequence>
+ <xsd:element ecore:opposite="eventHandlerFor" maxOccurs="unbounded" minOccurs="0" name="eventHandlers" type="bpmn:Activity" />
+ </xsd:sequence>
+ <!--
+ should it carry the transaction decoration? Note: we do _not_ define the type of loop here. That belongs to the data-editor that is specific to the target
+ language
+ -->
+ <xsd:attribute name="isTransaction" type="xsd:boolean" />
+ <!-- defaults the type of activity -->
+ <xsd:attribute fixed="SubProcess" name="activityType" type="bpmn:ActivityType" />
+ <!-- the state: collapsed, expanded or maximized is in the notation model -->
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <!-- messaging edges are completly different -->
+ <xsd:complexType name="MessagingEdge" ecore:implements="bpmn:NamedBpmnObject">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Identifiable">
+ <!-- the messaging edges in this diagram -->
+ <xsd:attribute ecore:opposite="messages" ecore:reference="bpmn:BpmnDiagram" name="bpmnDiagram" type="xsd:anyURI" />
+ <xsd:attribute ecore:opposite="outgoingMessages" ecore:reference="bpmn:Activity" name="source" type="xsd:anyURI" />
+ <xsd:attribute ecore:opposite="incomingMessages" ecore:reference="bpmn:Activity" name="target" type="xsd:anyURI" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <!-- lanes -->
+ <xsd:complexType name="Lane" ecore:implements="bpmn:NamedBpmnObject">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Identifiable">
+ <xsd:sequence>
+ <xsd:element ecore:reference="bpmn:Activity" maxOccurs="unbounded" minOccurs="0" name="activities" type="bpmn:Activity" />
+ </xsd:sequence>
+ <xsd:attribute ecore:opposite="lanes" ecore:reference="bpmn:Pool" name="pool" type="xsd:anyURI" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+<!-- various types of activities -->
+ <xsd:simpleType name="ActivityType">
+ <xsd:restriction base="xsd:string">
+
+ <!-- activity, subprocess -->
+ <xsd:enumeration value="Task" />
+ <xsd:enumeration value="SubProcess" />
+
+ <!-- start events -->
+ <xsd:enumeration value="EventStartEmpty" />
+ <xsd:enumeration value="EventStartMessage" />
+ <xsd:enumeration value="EventStartRule" />
+ <xsd:enumeration value="EventStartTimer" />
+ <xsd:enumeration value="EventStartLink" />
+ <xsd:enumeration value="EventStartMultiple" />
+
+ <!-- intermediate event -->
+ <xsd:enumeration value="EventIntermediateEmpty" />
+ <xsd:enumeration value="EventIntermediateMessage" />
+ <xsd:enumeration value="EventIntermediateTimer" />
+ <xsd:enumeration value="EventIntermediateError" />
+ <xsd:enumeration value="EventIntermediateCompensation" />
+ <xsd:enumeration value="EventIntermediateRule" />
+ <xsd:enumeration value="EventIntermediateLink" />
+ <xsd:enumeration value="EventIntermediateMultiple" />
+ <xsd:enumeration value="EventIntermediateCancel" />
+
+ <!-- end events -->
+ <xsd:enumeration value="EventEndEmpty" />
+ <xsd:enumeration value="EventEndMessage" />
+ <xsd:enumeration value="EventEndError" />
+ <xsd:enumeration value="EventEndCompensation" />
+ <xsd:enumeration value="EventEndTerminate" />
+ <xsd:enumeration value="EventEndLink" />
+ <xsd:enumeration value="EventEndMultiple" />
+ <xsd:enumeration value="EventEndCancel" />
+
+ <!-- gateways -->
+ <xsd:enumeration value="GatewayDataBasedExclusive" />
+ <xsd:enumeration value="GatewayEventBasedExclusive" />
+ <xsd:enumeration value="GatewayDataBasedInclusive" />
+ <xsd:enumeration value="GatewayParallel" />
+ <xsd:enumeration value="GatewayComplex" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ <xsd:simpleType name="SequenceFlowConditionType">
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="None" />
+ <xsd:enumeration value="Expression" />
+ <xsd:enumeration value="Default" />
+ </xsd:restriction>
+ </xsd:simpleType>
+
+ <!-- association connection -->
+ <xsd:complexType name="Association">
+ <xsd:complexContent>
+ <xsd:extension base="ecore:EModelElement">
+ <!-- we only support association from an
+ identifiable-node (pool, activity, sub-process) to an artifact -->
+ <xsd:attribute ecore:opposite="associations" ecore:reference="bpmn:IdentifiableNode" name="target" type="xsd:anyURI" />
+ <xsd:attribute ecore:opposite="associations" ecore:reference="bpmn:Artifact" name="source" type="xsd:anyURI" />
+ <xsd:attribute name="direction">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="None" />
+ <xsd:enumeration value="To" />
+ <xsd:enumeration value="From" />
+ <xsd:enumeration value="Both" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+
+<!-- Containment for the artifacts -->
+ <xsd:complexType name="ArtifactsContainer" ecore:abstract="true">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:NamedBpmnObject">
+ <xsd:sequence>
+ <xsd:element ecore:opposite="artifactsContainer" maxOccurs="unbounded" minOccurs="0" name="artifacts" type="bpmn:Artifact" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <!-- artifact (abstract)
+ the artifact is the containment for the associations
+ the artifact is either a textAnnotation, a dataobject or a group. -->
+ <xsd:complexType name="Artifact" ecore:implements="bpmn:NamedBpmnObject">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Identifiable">
+ <xsd:sequence>
+ <!-- multiple associations for a single artifact
+ for example a single correlation artifact can be used
+ for correlating 0-n messaging tasks -->
+ <xsd:element ecore:opposite="source" maxOccurs="unbounded" minOccurs="0" name="associations" type="bpmn:Association" />
+ </xsd:sequence>
+ <xsd:attribute ecore:opposite="artifacts" ecore:reference="bpmn:ArtifactsContainer" name="artifactsContainer" type="xsd:anyURI" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="TextAnnotation">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Artifact">
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="DataObject">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Artifact">
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <!-- Just like lanes, groups are some other kind of containments
+ though in terms of object model, we cannot have an object belong to
+ multiple containers -->
+ <xsd:complexType name="Group">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Artifact">
+ <!-- already a name on the Identifiable -->
+ <!-- The spec does not specify this but how
+ else would you group things at the semantic level? -->
+ <xsd:sequence>
+ <xsd:element ecore:opposite="groups" ecore:reference="bpmn:Activity" maxOccurs="unbounded" minOccurs="0" name="activities" type="bpmn:Activity" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+</xsd:schema>
\ No newline at end of file
Property changes on: api/trunk/modules/dialects/stp/src/main/resources/bpmn-v20071210-0-7-1.xsd
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/resources/bpmn-v20071210-0-7-1_mods.xsd
===================================================================
--- api/trunk/modules/dialects/stp/src/main/resources/bpmn-v20071210-0-7-1_mods.xsd (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/resources/bpmn-v20071210-0-7-1_mods.xsd 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,312 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Taken from SVN tag v20071210-0-7-1
+
+ http://dev.eclipse.org/svnroot/stp/tags/v20071210-0-7-1/org.eclipse.stp.b...
+-->
+<xsd:schema xmlns:bpmn="http://stp.eclipse.org/bpmn" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://stp.eclipse.org/bpmn">
+ <xsd:import schemaLocation="./Ecore.xsd" namespace="http://www.eclipse.org/emf/2002/Ecore" />
+ <!--
+ Copyright (c) 2006-2007, Intalio Inc. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public
+ License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html Contributors: Intalio Inc. - initial API and
+ implementation
+ -->
+ <!-- has an ID accessible from the API for identification purpose
+ extends EModelElement so that it accepts EAnnotations
+ that are used instead of properties -->
+ <xsd:complexType name="Identifiable">
+ <xsd:complexContent>
+ <xsd:extension base="ecore:EModelElement">
+ <!-- xsd:attribute name="ID" type="xsd:ID" / -->
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+<!-- equivalent to a marker interface used for both vertex and graph -->
+ <xsd:complexType name="IdentifiableNode">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Identifiable">
+ <xsd:sequence>
+ <xsd:element ecore:opposite="target" maxOccurs="unbounded" minOccurs="0" name="associations" ecore:reference="bpmn:Association" type="xsd:anyURI" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="NamedBpmnObject">
+ <xsd:attribute name="name" type="xsd:string" />
+ <xsd:attribute name="documentation" type="xsd:string" />
+ <xsd:attribute name="ncname" type="xsd:string" />
+ </xsd:complexType>
+
+
+<!-- abstract objects that define a graph one graph per pool or sub-process
+also contains artifacts -->
+ <xsd:complexType name="Graph" ecore:implements="bpmn:ArtifactsContainer">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:IdentifiableNode">
+ <xsd:sequence>
+ <xsd:element ecore:opposite="graph" maxOccurs="unbounded" minOccurs="0" name="vertices" type="bpmn:Vertex" />
+ <xsd:element ecore:opposite="graph" maxOccurs="unbounded" minOccurs="0" name="sequenceEdges" type="bpmn:SequenceEdge" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="Vertex">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:IdentifiableNode">
+ <xsd:sequence>
+ <xsd:element ecore:opposite="source" ecore:reference="bpmn:SequenceEdge" maxOccurs="unbounded" minOccurs="0" name="outgoingEdges" type="xsd:anyURI" />
+ <xsd:element ecore:opposite="target" ecore:reference="bpmn:SequenceEdge" maxOccurs="unbounded" minOccurs="0" name="incomingEdges" type="xsd:anyURI" />
+ </xsd:sequence>
+ <xsd:attribute ecore:opposite="vertices" ecore:reference="bpmn:Graph" name="graph" type="xsd:anyURI" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="SequenceEdge" ecore:implements="bpmn:NamedBpmnObject">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Identifiable">
+ <xsd:attribute ecore:opposite="sequenceEdges" ecore:reference="bpmn:Graph" name="graph" type="xsd:anyURI" />
+ <xsd:attribute ecore:opposite="outgoingSequenceEdges" ecore:reference="bpmn:Vertex" name="source" type="xsd:anyURI" />
+ <xsd:attribute ecore:opposite="incomingSequenceEdges" ecore:reference="bpmn:Vertex" name="target" type="xsd:anyURI" />
+ <xsd:attribute name="isDefault" type="xsd:boolean" />
+ <xsd:attribute name="conditionType" type="bpmn:SequenceFlowConditionType" />
+ <!--xsd:attributeGroup ref="bpmn:base"/-->
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+<!-- end of abstract objects that define a graph -->
+
+ <!-- root contains pools, messages and artifacts -->
+ <xsd:complexType name="BpmnDiagram" ecore:implements="bpmn:ArtifactsContainer">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Identifiable">
+ <xsd:sequence>
+ <xsd:element ecore:opposite="bpmnDiagram" maxOccurs="unbounded" minOccurs="0" name="pools" type="bpmn:Pool" />
+ <xsd:element ecore:opposite="bpmnDiagram" maxOccurs="unbounded" minOccurs="0" name="messages" type="bpmn:MessagingEdge" />
+ </xsd:sequence>
+ <xsd:attribute name="title" type="xsd:string" />
+ <xsd:attribute name="author" type="xsd:string" />
+ <!--xsd:attributeGroup ref="bpmn:base"/-->
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <!-- pool is jus a graph with a reference to the bpmnDiagram -->
+ <xsd:complexType name="Pool" ecore:implements="bpmn:NamedBpmnObject">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Graph">
+ <xsd:sequence>
+ <xsd:element ecore:opposite="pool" maxOccurs="unbounded" minOccurs="0" name="lanes" type="bpmn:Lane" />
+ </xsd:sequence>
+ <xsd:attribute ecore:opposite="pools" ecore:reference="bpmn:BpmnDiagram" name="bpmnDiagram" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <!--
+ activities are a specialization of a vertex they have messaging abilities and doc and name activities can pretty much morph into any bpmn node. the schema does not
+ enforce much. This is to keep a pretty generic model that hopefully won't move too much The drawback is that the code generated needs to be customized with a lot of
+ structural constraints. The advantage is that it will be possible to morph nodes into one another in the diagram
+ -->
+ <xsd:complexType name="Activity" ecore:implements="bpmn:NamedBpmnObject">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Vertex">
+ <xsd:sequence>
+ <!-- see page 5 of http://www.eclipse.org/modeling/emf/docs/overviews/FeatureMap.pdf -->
+ <xsd:choice maxOccurs="unbounded" minOccurs="0" ecore:name="orderedMessages">
+ <xsd:element ecore:reference="bpmn:MessagingEdge" ecore:opposite="target" maxOccurs="unbounded" minOccurs="0" name="incomingMessages" type="xsd:anyURI" />
+ <xsd:element ecore:reference="bpmn:MessagingEdge" ecore:opposite="source" maxOccurs="unbounded" minOccurs="0" name="outgoingMessages" type="xsd:anyURI" />
+ </xsd:choice>
+ <xsd:element ecore:opposite="groups" ecore:reference="bpmn:Group" maxOccurs="unbounded" minOccurs="0" name="groups" type="xsd:anyURI" />
+ </xsd:sequence>
+ <!-- the type of activity -->
+ <xsd:attribute default="Task" name="activityType" type="bpmn:ActivityType" />
+ <!-- the lane reference (optional) -->
+ <xsd:attribute ecore:opposite="activities" ecore:reference="bpmn:Lane" name="lane" type="xsd:anyURI" use="optional" />
+ <!--
+ should it carry the loop decoration? Note: we do _not_ define the type of loop here. That belongs to the data-editor that is specific to the target language
+ -->
+ <xsd:attribute name="looping" type="xsd:boolean" />
+ <!-- points to the sub-process that this intermediary event is defined for. In all other cases it is null. -->
+ <xsd:attribute ecore:opposite="eventHandlers" ecore:reference="bpmn:SubProcess" name="eventHandlerFor" type="xsd:anyURI" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <!--
+ sub process are vertex amongst the enclosing sub process or pool and at the same time they are also a graph they also holds a lits of event handlers shape
+ -->
+ <xsd:complexType ecore:implements="bpmn:Graph" name="SubProcess">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Activity">
+ <!-- intermediate events on the border of the shape -->
+ <xsd:sequence>
+ <xsd:element ecore:opposite="eventHandlerFor" maxOccurs="unbounded" minOccurs="0" name="eventHandlers" type="bpmn:Activity" />
+ </xsd:sequence>
+ <!--
+ should it carry the transaction decoration? Note: we do _not_ define the type of loop here. That belongs to the data-editor that is specific to the target
+ language
+ -->
+ <xsd:attribute name="isTransaction" type="xsd:boolean" />
+ <!-- defaults the type of activity -->
+ <!--xsd:attribute fixed="SubProcess" name="activityType" type="bpmn:ActivityType" /-->
+ <!-- the state: collapsed, expanded or maximized is in the notation model -->
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <!-- messaging edges are completly different -->
+ <xsd:complexType name="MessagingEdge" ecore:implements="bpmn:NamedBpmnObject">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Identifiable">
+ <!-- the messaging edges in this diagram -->
+ <xsd:attribute ecore:opposite="messages" ecore:reference="bpmn:BpmnDiagram" name="bpmnDiagram" type="xsd:anyURI" />
+ <xsd:attribute ecore:opposite="outgoingMessages" ecore:reference="bpmn:Activity" name="source" type="xsd:anyURI" />
+ <xsd:attribute ecore:opposite="incomingMessages" ecore:reference="bpmn:Activity" name="target" type="xsd:anyURI" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <!-- lanes -->
+ <xsd:complexType name="Lane" ecore:implements="bpmn:NamedBpmnObject">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Identifiable">
+ <xsd:sequence>
+ <xsd:element ecore:reference="bpmn:Activity" maxOccurs="unbounded" minOccurs="0" name="activities" type="bpmn:Activity" />
+ </xsd:sequence>
+ <xsd:attribute ecore:opposite="lanes" ecore:reference="bpmn:Pool" name="pool" type="xsd:anyURI" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+<!-- various types of activities -->
+ <xsd:simpleType name="ActivityType">
+ <xsd:restriction base="xsd:string">
+
+ <!-- activity, subprocess -->
+ <xsd:enumeration value="Task" />
+ <xsd:enumeration value="SubProcess" />
+
+ <!-- start events -->
+ <xsd:enumeration value="EventStartEmpty" />
+ <xsd:enumeration value="EventStartMessage" />
+ <xsd:enumeration value="EventStartRule" />
+ <xsd:enumeration value="EventStartTimer" />
+ <xsd:enumeration value="EventStartLink" />
+ <xsd:enumeration value="EventStartMultiple" />
+
+ <!-- intermediate event -->
+ <xsd:enumeration value="EventIntermediateEmpty" />
+ <xsd:enumeration value="EventIntermediateMessage" />
+ <xsd:enumeration value="EventIntermediateTimer" />
+ <xsd:enumeration value="EventIntermediateError" />
+ <xsd:enumeration value="EventIntermediateCompensation" />
+ <xsd:enumeration value="EventIntermediateRule" />
+ <xsd:enumeration value="EventIntermediateLink" />
+ <xsd:enumeration value="EventIntermediateMultiple" />
+ <xsd:enumeration value="EventIntermediateCancel" />
+
+ <!-- end events -->
+ <xsd:enumeration value="EventEndEmpty" />
+ <xsd:enumeration value="EventEndMessage" />
+ <xsd:enumeration value="EventEndError" />
+ <xsd:enumeration value="EventEndCompensation" />
+ <xsd:enumeration value="EventEndTerminate" />
+ <xsd:enumeration value="EventEndLink" />
+ <xsd:enumeration value="EventEndMultiple" />
+ <xsd:enumeration value="EventEndCancel" />
+
+ <!-- gateways -->
+ <xsd:enumeration value="GatewayDataBasedExclusive" />
+ <xsd:enumeration value="GatewayEventBasedExclusive" />
+ <xsd:enumeration value="GatewayDataBasedInclusive" />
+ <xsd:enumeration value="GatewayParallel" />
+ <xsd:enumeration value="GatewayComplex" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ <xsd:simpleType name="SequenceFlowConditionType">
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="None" />
+ <xsd:enumeration value="Expression" />
+ <xsd:enumeration value="Default" />
+ </xsd:restriction>
+ </xsd:simpleType>
+
+ <!-- association connection -->
+ <xsd:complexType name="Association">
+ <xsd:complexContent>
+ <xsd:extension base="ecore:EModelElement">
+ <!-- we only support association from an
+ identifiable-node (pool, activity, sub-process) to an artifact -->
+ <xsd:attribute ecore:opposite="associations" ecore:reference="bpmn:IdentifiableNode" name="target" type="xsd:anyURI" />
+ <xsd:attribute ecore:opposite="associations" ecore:reference="bpmn:Artifact" name="source" type="xsd:anyURI" />
+ <xsd:attribute name="direction">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="None" />
+ <xsd:enumeration value="To" />
+ <xsd:enumeration value="From" />
+ <xsd:enumeration value="Both" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+
+<!-- Containment for the artifacts -->
+ <xsd:complexType name="ArtifactsContainer" ecore:abstract="true">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:NamedBpmnObject">
+ <xsd:sequence>
+ <xsd:element ecore:opposite="artifactsContainer" maxOccurs="unbounded" minOccurs="0" name="artifacts" type="bpmn:Artifact" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <!-- artifact (abstract)
+ the artifact is the containment for the associations
+ the artifact is either a textAnnotation, a dataobject or a group. -->
+ <xsd:complexType name="Artifact" ecore:implements="bpmn:NamedBpmnObject">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Identifiable">
+ <xsd:sequence>
+ <!-- multiple associations for a single artifact
+ for example a single correlation artifact can be used
+ for correlating 0-n messaging tasks -->
+ <xsd:element ecore:opposite="source" maxOccurs="unbounded" minOccurs="0" name="associations" type="bpmn:Association" />
+ </xsd:sequence>
+ <xsd:attribute ecore:opposite="artifacts" ecore:reference="bpmn:ArtifactsContainer" name="artifactsContainer" type="xsd:anyURI" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="TextAnnotation">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Artifact">
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="DataObject">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Artifact">
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <!-- Just like lanes, groups are some other kind of containments
+ though in terms of object model, we cannot have an object belong to
+ multiple containers -->
+ <xsd:complexType name="Group">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Artifact">
+ <!-- already a name on the Identifiable -->
+ <!-- The spec does not specify this but how
+ else would you group things at the semantic level? -->
+ <xsd:sequence>
+ <xsd:element ecore:opposite="groups" ecore:reference="bpmn:Activity" maxOccurs="unbounded" minOccurs="0" name="activities" type="bpmn:Activity" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+</xsd:schema>
\ No newline at end of file
Property changes on: api/trunk/modules/dialects/stp/src/main/resources/bpmn-v20071210-0-7-1_mods.xsd
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/resources/jaxb-bindings.xml
===================================================================
--- api/trunk/modules/dialects/stp/src/main/resources/jaxb-bindings.xml (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/resources/jaxb-bindings.xml 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,23 @@
+<jxb:bindings version='1.0' xmlns:jxb='http://java.sun.com/xml/ns/jaxb' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xpdl="http://www.wfmc.org/2008/XPDL2.1">
+ <jxb:bindings schemaLocation="bpmn-v20071210-0-7-1_mods.xsd" node="/xsd:schema">
+ <jxb:schemaBindings>
+ <jxb:package name="org.jboss.bpm.dialect.stp.model" />
+ </jxb:schemaBindings>
+ </jxb:bindings>
+ <jxb:bindings schemaLocation="Ecore.xsd" node="/xsd:schema">
+ <jxb:schemaBindings>
+ <jxb:package name="org.jboss.bpm.dialect.stp.model.ecore" />
+ </jxb:schemaBindings>
+ <jxb:bindings node="//xsd:complexType[@name='ETypedElement']//xsd:attribute[@name='eType']">
+ <jxb:property name="eTypeAtt" />
+ </jxb:bindings>
+ <jxb:bindings node="//xsd:complexType[@name='EReference']//xsd:attribute[@name='eOpposite']">
+ <jxb:property name="eOppositeAtt" />
+ </jxb:bindings>
+ </jxb:bindings>
+ <jxb:bindings schemaLocation="XMI.xsd" node="/xsd:schema">
+ <jxb:schemaBindings>
+ <jxb:package name="org.jboss.bpm.dialect.stp.model.xmi" />
+ </jxb:schemaBindings>
+ </jxb:bindings>
+</jxb:bindings>
\ No newline at end of file
Property changes on: api/trunk/modules/dialects/stp/src/main/resources/jaxb-bindings.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/test/java/org/jboss/bpm/dialect/stp/AbstractSTPDialectTest.java
===================================================================
--- api/trunk/modules/dialects/stp/src/test/java/org/jboss/bpm/dialect/stp/AbstractSTPDialectTest.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/test/java/org/jboss/bpm/dialect/stp/AbstractSTPDialectTest.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,50 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.bpm.dialect.stp;
+
+//$Id$
+
+import org.jboss.bpm.test.DefaultEngineTestCase;
+
+/**
+ * @author thomas.diesler(a)jboss.com
+ * @since 03-Jul-2008
+ */
+public abstract class AbstractSTPDialectTest extends DefaultEngineTestCase
+{
+ private String dialect;
+
+ @Override
+ protected void setUp() throws Exception
+ {
+ super.setUp();
+ dialect = System.getProperty("jbpm.dialect", "api10");
+ System.setProperty("jbpm.dialect", "stp");
+ }
+
+ @Override
+ protected void tearDown() throws Exception
+ {
+ System.setProperty("jbpm.dialect", dialect);
+ super.tearDown();
+ }
+}
Property changes on: api/trunk/modules/dialects/stp/src/test/java/org/jboss/bpm/dialect/stp/AbstractSTPDialectTest.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/test/java/org/jboss/bpm/dialect/stp/sequence/SequenceTest.java
===================================================================
--- api/trunk/modules/dialects/stp/src/test/java/org/jboss/bpm/dialect/stp/sequence/SequenceTest.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/test/java/org/jboss/bpm/dialect/stp/sequence/SequenceTest.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,51 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.bpm.dialect.stp.sequence;
+
+// $Id$
+
+import java.net.URL;
+
+import org.jboss.bpm.client.ProcessManager;
+import org.jboss.bpm.dialect.stp.AbstractSTPDialectTest;
+import org.jboss.bpm.model.Process;
+
+/**
+ * Test the basic execution sequence
+ *
+ * @author thomas.diesler(a)jboss.com
+ * @since 03-Jul-2008
+ */
+public class SequenceTest extends AbstractSTPDialectTest
+{
+ /**
+ * Test a basic sequence
+ */
+ public void testBasicSequence() throws Exception
+ {
+ URL jpdlURL = getResourceURL("sequence/basic-sequence.bpmn");
+
+ // Create a Process through the ProcessManager
+ ProcessManager pm = ProcessManager.locateProcessManager();
+ Process proc = pm.createProcess(jpdlURL);
+ }
+}
Property changes on: api/trunk/modules/dialects/stp/src/test/java/org/jboss/bpm/dialect/stp/sequence/SequenceTest.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/test/resources/jbpm-beans.xml
===================================================================
--- api/trunk/modules/dialects/stp/src/test/resources/jbpm-beans.xml (rev 0)
+++ api/trunk/modules/dialects/stp/src/test/resources/jbpm-beans.xml 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,36 @@
+<deployment xmlns="urn:jboss:bean-deployer:2.0">
+
+ <!-- The KernelLocator -->
+ <bean name="KernelLocator" class="org.jboss.kernel.plugins.util.KernelLocator"/>
+
+ <!-- The ProcessEngine -->
+ <bean name="jBPMProcessEngine" class="org.jboss.bpm.client.internal.ProcessEngineImpl">
+ <property name="processManager"><inject bean="jBPMProcessManager"/></property>
+ <property name="executionManager"><inject bean="jBPMExecutionManager"/></property>
+ <property name="signalManager"><inject bean="jBPMSignalManager"/></property>
+ </bean>
+
+ <!-- The ProcessBuilderFactory -->
+ <bean name="jBPMProcessBuilderFactory" class="org.jboss.bpm.model.internal.ProcessBuilderFactoryImpl"/>
+
+ <!-- The ProcessManager -->
+ <bean name="jBPMProcessManager" class="org.jboss.bpm.client.internal.ProcessManagerImpl">
+ <property name="processEngine"><inject bean="jBPMProcessEngine" state="Instantiated"/></property>
+ <property name="dialectHandlers">
+ <map keyClass="java.lang.String" valueClass="org.jboss.bpm.client.DialectHandler">
+ <entry><key>stp</key><value><inject bean="jBPMDialectHandlerSTP"/></value></entry>
+ </map>
+ </property>
+ </bean>
+ <bean name="jBPMDialectHandlerSTP" class="org.jboss.bpm.dialect.stp.DialectHandlerImpl"/>
+
+ <!-- The ExecutionManager -->
+ <bean name="jBPMExecutionManager" class="org.jboss.bpm.client.internal.ExecutionManagerImpl">
+ <property name="processEngine"><inject bean="jBPMProcessEngine" state="Instantiated"/></property>
+ </bean>
+
+ <!-- The SignalManager -->
+ <bean name="jBPMSignalManager" class="org.jboss.bpm.client.internal.SignalManagerImpl">
+ <property name="processEngine"><inject bean="jBPMProcessEngine" state="Instantiated"/></property>
+ </bean>
+</deployment>
\ No newline at end of file
Property changes on: api/trunk/modules/dialects/stp/src/test/resources/jbpm-beans.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/test/resources/log4j.xml
===================================================================
--- api/trunk/modules/dialects/stp/src/test/resources/log4j.xml (rev 0)
+++ api/trunk/modules/dialects/stp/src/test/resources/log4j.xml 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
+
+ <!-- ================================= -->
+ <!-- Preserve messages in a local file -->
+ <!-- ================================= -->
+
+ <appender name="FILE" class="org.apache.log4j.FileAppender">
+ <param name="File" value="${log4j.output.dir}/test.log"/>
+ <param name="Append" value="false"/>
+ <layout class="org.apache.log4j.PatternLayout">
+ <!-- The default pattern: Date Priority [Category] Message\n -->
+ <param name="ConversionPattern" value="%d %-5p [%c:%L] %m%n"/>
+ </layout>
+ </appender>
+
+ <!-- ============================== -->
+ <!-- Append messages to the console -->
+ <!-- ============================== -->
+
+ <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
+ <param name="Target" value="System.out" />
+ <param name="Threshold" value="INFO" />
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern" value="%d{HH:mm:ss,SSS} [%t] %-5p %C{1} : %m%n" />
+ </layout>
+ </appender>
+
+ <!-- ================ -->
+ <!-- Limit categories -->
+ <!-- ================ -->
+
+ <category name="org.jbpm">
+ <priority value="DEBUG" />
+ </category>
+
+ <category name="org.hibernate">
+ <priority value="INFO" />
+ </category>
+
+ <!-- hide optimistic locking failures -->
+ <category name="org.hibernate.event.def.AbstractFlushingEventListener">
+ <priority value="FATAL" />
+ </category>
+
+ <!-- ======================= -->
+ <!-- Setup the Root category -->
+ <!-- ======================= -->
+
+ <root>
+ <!--appender-ref ref="CONSOLE"/-->
+ <appender-ref ref="FILE"/>
+ </root>
+
+</log4j:configuration>
Property changes on: api/trunk/modules/dialects/stp/src/test/resources/log4j.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/test/resources/sequence/basic-sequence.bpmn
===================================================================
--- api/trunk/modules/dialects/stp/src/test/resources/sequence/basic-sequence.bpmn (rev 0)
+++ api/trunk/modules/dialects/stp/src/test/resources/sequence/basic-sequence.bpmn 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<bpmn:BpmnDiagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:bpmn="http://stp.eclipse.org/bpmn" xmi:id="_UstEIE3nEd2LNJlZf0NQOw" iD="_UspZwE3nEd2LNJlZf0NQOw">
+ <pools xmi:type="bpmn:Pool" xmi:id="_Ut2ToE3nEd2LNJlZf0NQOw" iD="_Ut1skE3nEd2LNJlZf0NQOw" name="Pool">
+ <vertices xmi:type="bpmn:Activity" xmi:id="_UuUNsU3nEd2LNJlZf0NQOw" iD="_UuUNsE3nEd2LNJlZf0NQOw" outgoingEdges="_c8S7wU3nEd2LNJlZf0NQOw" incomingEdges="_bWie4E3nEd2LNJlZf0NQOw" name="StateA" activityType="Task"/>
+ <vertices xmi:type="bpmn:Activity" xmi:id="_aeNvwE3nEd2LNJlZf0NQOw" iD="_aeNIsE3nEd2LNJlZf0NQOw" outgoingEdges="_bWie4E3nEd2LNJlZf0NQOw" activityType="EventStartEmpty"/>
+ <vertices xmi:type="bpmn:Activity" xmi:id="_cUlbgU3nEd2LNJlZf0NQOw" iD="_cUlbgE3nEd2LNJlZf0NQOw" incomingEdges="_c8S7wU3nEd2LNJlZf0NQOw" activityType="EventEndEmpty"/>
+ <sequenceEdges xmi:type="bpmn:SequenceEdge" xmi:id="_bWie4E3nEd2LNJlZf0NQOw" iD="_bWh30E3nEd2LNJlZf0NQOw" source="_aeNvwE3nEd2LNJlZf0NQOw" target="_UuUNsU3nEd2LNJlZf0NQOw"/>
+ <sequenceEdges xmi:type="bpmn:SequenceEdge" xmi:id="_c8S7wU3nEd2LNJlZf0NQOw" iD="_c8S7wE3nEd2LNJlZf0NQOw" source="_UuUNsU3nEd2LNJlZf0NQOw" target="_cUlbgU3nEd2LNJlZf0NQOw"/>
+ </pools>
+</bpmn:BpmnDiagram>
Modified: api/trunk/modules/testsuite/src/test/resources/jbpm-beans.xml
===================================================================
--- api/trunk/modules/testsuite/src/test/resources/jbpm-beans.xml 2008-07-17 14:48:17 UTC (rev 1670)
+++ api/trunk/modules/testsuite/src/test/resources/jbpm-beans.xml 2008-07-17 16:48:54 UTC (rev 1671)
@@ -20,11 +20,15 @@
<map keyClass="java.lang.String" valueClass="org.jboss.bpm.client.DialectHandler">
<entry><key>api10</key><value><inject bean="jBPMDialectHandlerAPI10"/></value></entry>
<entry><key>jpdl32</key><value><inject bean="jBPMDialectHandlerJPDL32"/></value></entry>
+ <entry><key>stp</key><value><inject bean="jBPMDialectHandlerSTP"/></value></entry>
+ <entry><key>xpdl32</key><value><inject bean="jBPMDialectHandlerXPDL21"/></value></entry>
</map>
</property>
</bean>
<bean name="jBPMDialectHandlerAPI10" class="org.jboss.bpm.dialect.api10.DialectHandlerImpl"/>
<bean name="jBPMDialectHandlerJPDL32" class="org.jboss.bpm.dialect.jpdl32.DialectHandlerImpl"/>
+ <bean name="jBPMDialectHandlerSTP" class="org.jboss.bpm.dialect.stp.DialectHandlerImpl"/>
+ <bean name="jBPMDialectHandlerXPDL21" class="org.jboss.bpm.dialect.xpdl21.DialectHandlerImpl"/>
<!-- The ExecutionManager -->
<bean name="jBPMExecutionManager" class="org.jboss.bpm.client.internal.ExecutionManagerImpl">
Modified: api/trunk/pom.xml
===================================================================
--- api/trunk/pom.xml 2008-07-17 14:48:17 UTC (rev 1670)
+++ api/trunk/pom.xml 2008-07-17 16:48:54 UTC (rev 1671)
@@ -35,6 +35,7 @@
<module>modules/impl</module>
<module>modules/dialects/api10</module>
<module>modules/dialects/jpdl32</module>
+ <module>modules/dialects/stp</module>
<module>modules/dialects/xpdl21</module>
<module>modules/testsuite</module>
</modules>
15 years, 11 months
JBoss JBPM SVN: r1670 - jbpm4/pvm/trunk.
by do-not-reply@jboss.org
Author: tom.baeyens(a)jboss.com
Date: 2008-07-17 10:48:17 -0400 (Thu, 17 Jul 2008)
New Revision: 1670
Modified:
jbpm4/pvm/trunk/pom.xml
Log:
added html test reporting
Modified: jbpm4/pvm/trunk/pom.xml
===================================================================
--- jbpm4/pvm/trunk/pom.xml 2008-07-17 14:40:53 UTC (rev 1669)
+++ jbpm4/pvm/trunk/pom.xml 2008-07-17 14:48:17 UTC (rev 1670)
@@ -181,6 +181,11 @@
<excludePackageNames>*.internal:*.test</excludePackageNames>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-report-plugin</artifactId>
+ <version>2.4.3</version>
+ </plugin>
</plugins>
</reporting>
15 years, 11 months
JBoss JBPM SVN: r1669 - jbpm4/pvm/trunk/modules/core/src/main/java/org/jbpm/pvm/env.
by do-not-reply@jboss.org
Author: tom.baeyens(a)jboss.com
Date: 2008-07-17 10:40:53 -0400 (Thu, 17 Jul 2008)
New Revision: 1669
Modified:
jbpm4/pvm/trunk/modules/core/src/main/java/org/jbpm/pvm/env/EnvironmentHelper.java
Log:
removed varargs null parameter values to avoid warning
Modified: jbpm4/pvm/trunk/modules/core/src/main/java/org/jbpm/pvm/env/EnvironmentHelper.java
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/main/java/org/jbpm/pvm/env/EnvironmentHelper.java 2008-07-17 14:40:21 UTC (rev 1668)
+++ jbpm4/pvm/trunk/modules/core/src/main/java/org/jbpm/pvm/env/EnvironmentHelper.java 2008-07-17 14:40:53 UTC (rev 1669)
@@ -21,14 +21,12 @@
*/
package org.jbpm.pvm.env;
-import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.HashMap;
import java.util.Map;
import org.jbpm.pvm.PvmException;
-
/**
* @author Tom Baeyens
*/
@@ -48,9 +46,9 @@
return (T) defaultObjectCache.get(type);
}
try {
- Method defaultFactoryMethod = type.getMethod("createDefault", null);
+ Method defaultFactoryMethod = type.getMethod("createDefault");
if (defaultFactoryMethod!=null) {
- Object defaultObject = defaultFactoryMethod.invoke(null, null);
+ Object defaultObject = defaultFactoryMethod.invoke(null);
defaultObjectCache.put(type, defaultObject);
return (T) defaultObject;
}
15 years, 11 months
JBoss JBPM SVN: r1668 - in jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm: pvm/client and 1 other directories.
by do-not-reply@jboss.org
Author: tom.baeyens(a)jboss.com
Date: 2008-07-17 10:40:21 -0400 (Thu, 17 Jul 2008)
New Revision: 1668
Added:
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/AllTests.java
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/PvmClientTests.java
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/wire/WireTests.java
Log:
added test suites again
Added: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/AllTests.java
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/AllTests.java (rev 0)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/AllTests.java 2008-07-17 14:40:21 UTC (rev 1668)
@@ -0,0 +1,45 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jbpm;
+
+import org.jbpm.pvm.client.PvmClientTests;
+import org.jbpm.wire.WireTests;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+
+/**
+ * @author Tom Baeyens
+ */
+public class AllTests {
+
+ public static Test suite() {
+ TestSuite suite = new TestSuite("Test for org.jbpm");
+ //$JUnit-BEGIN$
+ suite.addTest(PvmClientTests.suite());
+ suite.addTest(WireTests.suite());
+ //$JUnit-END$
+ return suite;
+ }
+
+}
Added: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/PvmClientTests.java
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/PvmClientTests.java (rev 0)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/client/PvmClientTests.java 2008-07-17 14:40:21 UTC (rev 1668)
@@ -0,0 +1,57 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jbpm.pvm.client;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+
+/**
+ * @author Tom Baeyens
+ */
+public class PvmClientTests {
+
+ public static Test suite() {
+ TestSuite suite = new TestSuite("Test for org.jbpm.pvm.client");
+ //$JUnit-BEGIN$
+ suite.addTestSuite(BasicExecutionFlowTest.class);
+ suite.addTestSuite(TransitionAsWaitStateTest.class);
+ suite.addTestSuite(TransitionBasedConcurrencyTest.class);
+ suite.addTestSuite(ScopeStateTest.class);
+ suite.addTestSuite(SubProcessTest.class);
+ suite.addTestSuite(ExecutionStateTest.class);
+ suite.addTestSuite(ExceptionHandlerTest.class);
+ suite.addTestSuite(FunctionalActivityTest.class);
+ suite.addTestSuite(ScopeVariableDeclarationTest.class);
+ suite.addTestSuite(LoopingTest.class);
+ suite.addTestSuite(TransitionEventsTest.class);
+ suite.addTestSuite(ExternalDecisionTest.class);
+ suite.addTestSuite(VariableTest.class);
+ suite.addTestSuite(ScopeVariableTest.class);
+ suite.addTestSuite(EventTest.class);
+ suite.addTestSuite(AutomaticDecisionTest.class);
+ suite.addTestSuite(EventPropagationTest.class);
+ //$JUnit-END$
+ return suite;
+ }
+
+}
Added: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/wire/WireTests.java
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/wire/WireTests.java (rev 0)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/wire/WireTests.java 2008-07-17 14:40:21 UTC (rev 1668)
@@ -0,0 +1,61 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jbpm.wire;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+
+/**
+ * @author Tom Baeyens
+ */
+public class WireTests {
+
+ public static Test suite() {
+ TestSuite suite = new TestSuite("Test for org.jbpm.wire");
+ //$JUnit-BEGIN$
+ suite.addTestSuite(ContextBlockSubscriptionTest.class);
+ suite.addTestSuite(EagerInitTest.class);
+ suite.addTestSuite(ContextTest.class);
+ suite.addTestSuite(DependencyTest.class);
+ suite.addTestSuite(BasicTypeWireTest.class);
+ suite.addTestSuite(HibernateSessionFactoryWireTest.class);
+ suite.addTestSuite(SetWireTest.class);
+ suite.addTestSuite(ObjectWireTest.class);
+ suite.addTestSuite(TypeLookupTest.class);
+ suite.addTestSuite(MethodSubscriptionTest.class);
+ suite.addTestSuite(RefWireTest.class);
+ suite.addTestSuite(AutoWireTest.class);
+ suite.addTestSuite(ClassWireTest.class);
+ suite.addTestSuite(EnvWireTest.class);
+ suite.addTestSuite(ConcurrentWiringTest.class);
+ suite.addTestSuite(PropertiesWireTest.class);
+ suite.addTestSuite(MapWireTest.class);
+ suite.addTestSuite(ObjectSubscriptionTest.class);
+ suite.addTestSuite(WireEventsSubscriptionTest.class);
+ suite.addTestSuite(ListWireTest.class);
+ suite.addTestSuite(DelayedInitTest.class);
+ //$JUnit-END$
+ return suite;
+ }
+
+}
15 years, 11 months
JBoss JBPM SVN: r1667 - in api/trunk: modules/api/src/main/resources and 6 other directories.
by do-not-reply@jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-07-17 08:19:40 -0400 (Thu, 17 Jul 2008)
New Revision: 1667
Added:
api/trunk/modules/dialects/xpdl21/
api/trunk/modules/dialects/xpdl21/pom.xml
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/DialectHandlerImpl.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/ProcessUnmarshaller.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/WorkflowProcessAdapter.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/ApplicationType.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/ExpressionType.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/MessageType.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/ObjectFactory.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/PackageType.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLActivities.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLActivity.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLActivitySet.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLActivitySets.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLActualParameters.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLApplication.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLApplications.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLArrayType.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLArtifact.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLArtifactInput.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLArtifacts.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLAssignment.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLAssignments.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLAssociation.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLAssociations.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLAuthor.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLBasicType.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLBlockActivity.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCategories.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCategory.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCodepage.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCondition.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLConformanceClass.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLConnectorGraphicsInfo.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLConnectorGraphicsInfos.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCoordinates.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCost.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCostStructure.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCostUnit.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCountrykey.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCreated.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDataField.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDataFields.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDataMapping.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDataMappings.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDataObject.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDataType.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDeadline.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDeclaredType.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDescription.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDocumentation.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDuration.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLEndEvent.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLEndPoint.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLEnumerationType.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLEnumerationValue.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLEvent.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLExtendedAttribute.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLExtendedAttributes.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLExternalPackage.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLExternalPackages.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLExternalReference.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLFormalParameter.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLFormalParameters.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLGroup.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLIORules.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLIcon.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLImplementation.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLInput.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLInputSet.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLInputSets.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLIntermediateEvent.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLJoin.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLLane.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLLanes.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLLayoutInfo.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLLength.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLLimit.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLListType.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLLoop.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLLoopMultiInstance.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLLoopStandard.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLMember.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLMessageFlow.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLMessageFlows.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLModificationDate.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLNo.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLNodeGraphicsInfo.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLNodeGraphicsInfos.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLObject.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLOutput.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLOutputSet.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLOutputSets.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPackageHeader.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPage.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPages.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLParticipant.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLParticipantType.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLParticipants.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPartnerLink.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPartnerLinkType.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPartnerLinkTypes.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPartnerLinks.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPerformer.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPerformers.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPool.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPools.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPrecision.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPriority.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPriorityUnit.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLProcessHeader.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPropertyInput.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLRecordType.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLRedefinableHeader.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLReference.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLResourceCosts.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLResponsible.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLResponsibles.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLResultError.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLResultMultiple.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLRoute.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLRule.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLScale.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLSchemaType.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLScript.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLSimulationInformation.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLSplit.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLStartEvent.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLSubFlow.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTask.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTaskApplication.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTaskManual.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTaskReceive.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTaskReference.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTaskScript.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTaskSend.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTaskService.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTaskUser.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTimeEstimation.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTransaction.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTransition.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTransitionRef.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTransitionRefs.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTransitionRestriction.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTransitionRestrictions.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTransitions.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTriggerConditional.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTriggerIntermediateMultiple.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTriggerMultiple.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTriggerResultCompensation.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTriggerResultLink.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTriggerResultMessage.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTriggerResultSignal.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTriggerTimer.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTypeDeclaration.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTypeDeclarations.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLUnionType.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLValidFrom.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLValidTo.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLVendor.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLVendorExtension.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLVendorExtensions.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLVersion.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLWaitingTime.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLWebServiceFaultCatch.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLWebServiceOperation.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLWorkflowProcess.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLWorkflowProcesses.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLWorkingTime.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLXPDLVersion.java
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/package-info.java
api/trunk/modules/dialects/xpdl21/src/main/resources/bpmnxpdl_31.xsd
api/trunk/modules/dialects/xpdl21/src/main/resources/bpmnxpdl_31_mods.xsd
api/trunk/modules/dialects/xpdl21/src/main/resources/jaxb-bindings.xml
Removed:
api/trunk/modules/api/src/main/resources/bpmnxpdl_31.xsd
api/trunk/modules/api/src/main/resources/bpmnxpdl_31_mods.xsd
api/trunk/modules/api/src/main/resources/jaxb-bindings.xml
api/trunk/modules/dialects/xpdl21/pom.xml
api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/jpdl32/
api/trunk/modules/dialects/xpdl21/src/main/resources/jaxb-bindings.xml
api/trunk/modules/dialects/xpdl21/src/main/resources/jpdl-3.2.xsd
Modified:
api/trunk/.classpath
api/trunk/pom.xml
Log:
Add dialect xpdl-2.1
Modified: api/trunk/.classpath
===================================================================
--- api/trunk/.classpath 2008-07-17 09:54:14 UTC (rev 1666)
+++ api/trunk/.classpath 2008-07-17 12:19:40 UTC (rev 1667)
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="modules/api/target/classes" path="modules/api/src/main/java"/>
+ <classpathentry kind="src" path="modules/dialects/xpdl21/src/main/java"/>
<classpathentry kind="src" path="modules/dialects/jpdl32/src/main/java"/>
<classpathentry kind="src" path="modules/impl/src/main/java"/>
<classpathentry kind="src" output="modules/dialects/jaxb/target/classes" path="modules/dialects/jaxb/src/main/java"/>
Deleted: api/trunk/modules/api/src/main/resources/bpmnxpdl_31.xsd
===================================================================
--- api/trunk/modules/api/src/main/resources/bpmnxpdl_31.xsd 2008-07-17 09:54:14 UTC (rev 1666)
+++ api/trunk/modules/api/src/main/resources/bpmnxpdl_31.xsd 2008-07-17 12:19:40 UTC (rev 1667)
@@ -1,3353 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsd:schema targetNamespace="http://www.wfmc.org/2008/XPDL2.1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:deprecated="http://www.wfmc.org/2002/XPDL1.0"
- xmlns:xpdl="http://www.wfmc.org/2008/XPDL2.1" elementFormDefault="qualified" attributeFormDefault="unqualified" version="31">
- <xsd:import namespace="http://www.wfmc.org/2002/XPDL1.0" schemaLocation="http://www.wfmc.org/standards/docs/TC-1025_schema_10_xpdl.xsd" />
- <xsd:element name="Activities">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Activity" minOccurs="0" maxOccurs="unbounded">
- <xsd:annotation>
- <xsd:documentation>BPMN: corresponds to a flow object, which could be a BPMN activity, gateway, or event</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Activity">
- <xsd:annotation>
- <xsd:documentation>BPMN extension</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Description" minOccurs="0" />
- <xsd:element ref="xpdl:Limit" minOccurs="0" />
- <xsd:choice minOccurs="0">
- <xsd:element ref="xpdl:Route" />
- <xsd:element ref="xpdl:Implementation">
- <xsd:annotation>
- <xsd:documentation>BPMN: corresponds to an activity, which could be a task or subprocess.[Suggest change element to BpmnActivity, since there is an
- attribute Implementation which means something else entirely.]</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:choice minOccurs="0">
- <xsd:element ref="deprecated:BlockActivity" />
- <xsd:element ref="xpdl:BlockActivity" />
- </xsd:choice>
- <xsd:element ref="xpdl:Event">
- <xsd:annotation>
- <xsd:documentation>BPMN: Identifies XPDL activity as a BPMN event.</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- </xsd:choice>
- <xsd:element ref="xpdl:Transaction" minOccurs="0" />
- <xsd:element ref="xpdl:Performers" minOccurs="0" />
- <xsd:element ref="xpdl:Performer" minOccurs="0">
- <xsd:annotation>
- <xsd:documentation>Deprecated from XPDL2.0. Must be a child of Performers</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element ref="deprecated:StartMode" minOccurs="0" />
- <xsd:element ref="deprecated:FinishMode" minOccurs="0" />
- <xsd:element ref="xpdl:Priority" minOccurs="0" />
- <xsd:choice minOccurs="0">
- <xsd:element ref="deprecated:Deadline" minOccurs="0" maxOccurs="unbounded" />
- <xsd:element ref="xpdl:Deadline" minOccurs="0" maxOccurs="unbounded" />
- </xsd:choice>
- <xsd:element ref="xpdl:SimulationInformation" minOccurs="0" />
- <xsd:element ref="xpdl:Icon" minOccurs="0" />
- <xsd:element ref="xpdl:Documentation" minOccurs="0" />
- <xsd:element ref="xpdl:TransitionRestrictions" minOccurs="0" />
- <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0" />
- <xsd:element ref="xpdl:DataFields" minOccurs="0" />
- <xsd:element ref="xpdl:InputSets" minOccurs="0" />
- <xsd:element ref="xpdl:OutputSets" minOccurs="0" />
- <xsd:element ref="xpdl:IORules" minOccurs="0" />
- <xsd:element ref="xpdl:Loop" minOccurs="0" />
- <xsd:element ref="xpdl:Assignments" minOccurs="0" />
- <xsd:element ref="xpdl:Object" minOccurs="0" />
- <xsd:element ref="xpdl:NodeGraphicsInfos" minOccurs="0" />
- <xsd:choice minOccurs="0">
- <xsd:sequence>
- <xsd:element name="Extensions" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- </xsd:choice>
- </xsd:sequence>
- <xsd:attribute name="Id" type="xpdl:Id" use="required">
- <xsd:annotation>
- <xsd:documentation>BPMN: unique identifier of the flow object</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="IsForCompensation" type="xsd:boolean" use="optional" />
- <xsd:attribute name="Name" type="xsd:string" use="optional">
- <xsd:annotation>
- <xsd:documentation>BPMN: label of the flow object in the diagram</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="StartActivity" type="xsd:boolean" use="optional">
- <xsd:annotation>
- <xsd:documentation> Designates the first activity to be executed when the process is instantiated. Used when there is no other way to determine this Conflicts
- with BPMN StartEvent and no process definition should use both.</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="Status" use="optional" default="None">
- <xsd:annotation>
- <xsd:documentation> BPMN: Status values are assigned during execution. Status can be treated as a property and used in expressions local to an Activity. It is
- unclear that status belongs in the XPDL document.</xsd:documentation>
- </xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="None" />
- <xsd:enumeration value="Ready" />
- <xsd:enumeration value="Active" />
- <xsd:enumeration value="Cancelled" />
- <xsd:enumeration value="Aborting" />
- <xsd:enumeration value="Aborted" />
- <xsd:enumeration value="Completing" />
- <xsd:enumeration value="Completed" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="StartMode">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="Automatic" />
- <xsd:enumeration value="Manual" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="FinishMode">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="Automatic" />
- <xsd:enumeration value="Manual" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="StartQuantity" type="xsd:integer" use="optional" default="1" />
- <xsd:attribute name="CompletionQuantity" type="xsd:integer" use="optional" default="1" />
- <xsd:attribute name="IsATransaction" type="xsd:boolean" use="optional" default="false" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ActivitySet">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Activities" minOccurs="0" />
- <xsd:element ref="xpdl:Transitions" minOccurs="0" />
- <xsd:element ref="xpdl:Object" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xpdl:Id" use="required" />
- <xsd:attribute name="Name" type="xsd:string" use="optional">
- <xsd:annotation>
- <xsd:documentation source="added to XPDL 2.0" />
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="AdHoc" type="xsd:boolean" use="optional" default="false">
- <xsd:annotation>
- <xsd:documentation>BPMN: for Embedded subprocess</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="AdHocOrdering" use="optional" default="Parallel">
- <xsd:annotation>
- <xsd:documentation>BPMN: for Embedded subprocess</xsd:documentation>
- </xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="Sequential" />
- <xsd:enumeration value="Parallel" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="AdHocCompletionCondition" type="xsd:string" use="optional">
- <xsd:annotation>
- <xsd:documentation>BPMN: for Embedded subprocess</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="DefaultStartActivityId" type="xpdl:IdRef" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- <xsd:key name="ActivityIds.ActivitySet">
- <xsd:selector xpath="./xpdl:Activities/xpdl:Activity" />
- <xsd:field xpath="@Id" />
- </xsd:key>
- <xsd:key name="TransitionIds.ActivitySet">
- <xsd:selector xpath="./xpdl:Transitions/xpdl:Transition" />
- <xsd:field xpath="@Id" />
- </xsd:key>
- <xsd:keyref name="DefaultStartActivityIdRef.ActivitySet" refer="xpdl:ActivityIds.ActivitySet">
- <xsd:selector xpath="." />
- <xsd:field xpath="@DefaultStartActivityId" />
- </xsd:keyref>
- <xsd:keyref name="TransitionFromRef.ActivitySet" refer="xpdl:ActivityIds.ActivitySet">
- <xsd:selector xpath="./xpdl:Transitions/xpdl:Transition" />
- <xsd:field xpath="@From" />
- </xsd:keyref>
- <xsd:keyref name="TransitionToRef.ActivitySet" refer="xpdl:ActivityIds.ActivitySet">
- <xsd:selector xpath="./xpdl:Transitions/xpdl:Transition" />
- <xsd:field xpath="@To" />
- </xsd:keyref>
- <xsd:keyref name="TransitionRefIdRef.ActivitySet" refer="xpdl:TransitionIds.ActivitySet">
- <xsd:selector xpath="./xpdl:Activities/xpdl:Activity/xpdl:TransitionRestrictions/xpdl:TransitionRestriction/xpdl:Split/xpdl:TransitionRefs/xpdl:TransitionRef" />
- <xsd:field xpath="@Id" />
- </xsd:keyref>
- <!-- check that the default start activity id exists -->
- <!-- check that the from and to specified in a transition exists -->
- <!-- check that the id specified in a transitionref exists -->
- </xsd:element>
- <xsd:element name="ActivitySets">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:ActivitySet" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ActualParameters">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="ActualParameter" type="xpdl:ExpressionType" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Application">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Description" minOccurs="0" />
- <xsd:element name="Type" type="xpdl:ApplicationType" minOccurs="0" />
- <xsd:choice>
- <xsd:element ref="xpdl:FormalParameters" />
- <xsd:element ref="xpdl:ExternalReference" minOccurs="0" />
- </xsd:choice>
- <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:complexType name="ApplicationType">
- <xsd:choice>
- <xsd:element name="Ejb">
- <xsd:annotation>
- <xsd:documentation> Call EJB component -- There can be max one formal parameter that is OUT, if it exists it has to be the last formal parameter. no INOUT
- formal parameters</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="JndiName">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="HomeClass">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Method">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Pojo">
- <xsd:annotation>
- <xsd:documentation> Call method on Java class -- There can be max one formal parameter that is OUT, if it exists it has to be the last formal parameter. no
- INOUT formal parameters</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="Class">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Method">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Xslt">
- <xsd:annotation>
- <xsd:documentation> Execute Tranformation -- Formal Parameters restrictions: one IN and one OUT formal parameters or only one INOUT formal parameter
- </xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="location" type="xsd:anyURI" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Script">
- <xsd:annotation>
- <xsd:documentation> Execute Script -- No additional restrictions for formal parameters. The suggestion: every Formal Parameter should be registered in the
- script scope as a global variable</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="Expression" type="xpdl:ExpressionType" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="WebService">
- <xsd:annotation>
- <xsd:documentation> For WSDL 1.2 -- Invoke WebService, all IN Fprmal Parameters will be mapped to input message, all OUT Formal Parameters will be maped from
- output message</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:WebServiceOperation" />
- <xsd:element ref="xpdl:WebServiceFaultCatch" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="InputMsgName" type="xsd:string" use="required">
- <xsd:annotation>
- <xsd:documentation>The name of inputMessage as defined in the WSDL which will help in uniquely identifying the operation to be invoked
- </xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="OutputMsgName" type="xsd:string" use="optional">
- <xsd:annotation>
- <xsd:documentation>The name of inputMessage as defined in the WSDL which will help in uniquely identifying the operation to be invoked
- </xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="BusinessRule">
- <xsd:annotation>
- <xsd:documentation>Invoke business rule</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="RuleName">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Location">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:anyURI">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Form">
- <xsd:annotation>
- <xsd:documentation>Placeholder for all form related additional information.</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="FormLayout" minOccurs="0">
- <xsd:complexType>
- <xsd:complexContent>
- <xsd:extension base="xsd:anyType">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:complexContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- </xsd:choice>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- <xsd:element name="Applications">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Application" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ArrayType">
- <xsd:complexType>
- <xsd:group ref="xpdl:DataTypes" />
- <xsd:attribute name="LowerIndex" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="UpperIndex" type="xsd:NMTOKEN" use="required" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Artifact">
- <xsd:annotation>
- <xsd:documentation>BPMN: Not further defined here.</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence minOccurs="0">
- <xsd:element ref="xpdl:Object" minOccurs="0" />
- <xsd:element ref="xpdl:Group" minOccurs="0" />
- <xsd:element ref="xpdl:DataObject" minOccurs="0" />
- <xsd:element ref="xpdl:NodeGraphicsInfos" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:attribute name="ArtifactType" use="required">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="DataObject" />
- <xsd:enumeration value="Group" />
- <xsd:enumeration value="Annotation" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="TextAnnotation" type="xsd:string" use="optional" />
- <xsd:attribute name="Group" type="xsd:string" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Artifacts">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence maxOccurs="unbounded">
- <xsd:element ref="xpdl:Artifact" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ArtifactInput">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="ArtifactId" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="RequiredForStart" type="xsd:boolean" use="optional" default="true" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Assignment">
- <xsd:annotation>
- <xsd:documentation>BPMN and XPDL</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="Target" type="xpdl:ExpressionType">
- <xsd:annotation>
- <xsd:documentation> lvalue expression of the assignment, in XPDL may be the name of a DataField, in BPMN name of a Property, in XPATH a reference
- </xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element name="Expression" type="xpdl:ExpressionType">
- <xsd:annotation>
- <xsd:documentation>rvalue expression of the assignment</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="AssignTime" use="optional" default="Start">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="Start" />
- <xsd:enumeration value="End" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Assignments">
- <xsd:annotation>
- <xsd:documentation>BPMN and XPDL</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Assignment" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Association">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence minOccurs="0">
- <xsd:element ref="xpdl:Object" />
- <xsd:element ref="xpdl:ConnectorGraphicsInfos" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="Source" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="Target" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:attribute name="AssociationDirection" use="optional" default="None">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="None" />
- <xsd:enumeration value="To" />
- <xsd:enumeration value="From" />
- <xsd:enumeration value="Both" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Associations">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence maxOccurs="unbounded">
- <xsd:element ref="xpdl:Association" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Author">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="BasicType">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Length" minOccurs="0" />
- <xsd:element ref="xpdl:Precision" minOccurs="0" />
- <xsd:element ref="xpdl:Scale" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Type" use="required">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="STRING" />
- <xsd:enumeration value="FLOAT" />
- <xsd:enumeration value="INTEGER" />
- <xsd:enumeration value="REFERENCE" />
- <xsd:enumeration value="DATETIME" />
- <xsd:enumeration value="DATE" />
- <xsd:enumeration value="TIME" />
- <xsd:enumeration value="BOOLEAN" />
- <xsd:enumeration value="PERFORMER" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="BlockActivity">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="ActivitySetId" type="xpdl:IdRef" use="required">
- <xsd:annotation>
- <xsd:documentation>BPMN: Corresponds to embedded subprocess. Pointer to ActivitySet/@Id in XPDL.</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="StartActivityId" type="xpdl:IdRef" use="optional" />
- <xsd:attribute name="View" use="optional" default="COLLAPSED">
- <xsd:annotation>
- <xsd:documentation>BPMN: Determines whether the subprocess is rendered as Collapsed or Expanded in diagram. Default is Collapsed.</xsd:documentation>
- </xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="COLLAPSED" />
- <xsd:enumeration value="EXPANDED" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Category">
- <xsd:annotation>
- <xsd:documentation> BPMN (and XPDL??Allows arbitrary grouping of various types of elements, for reporting.)</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Categories">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Category" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Codepage">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Condition">
- <xsd:complexType mixed="true">
- <xsd:choice minOccurs="0">
- <xsd:element ref="deprecated:Xpression" minOccurs="0" />
- <xsd:element name="Expression" type="xpdl:ExpressionType" minOccurs="0" />
- </xsd:choice>
- <xsd:attribute name="Type">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="CONDITION" />
- <xsd:enumeration value="OTHERWISE" />
- <xsd:enumeration value="EXCEPTION" />
- <xsd:enumeration value="DEFAULTEXCEPTION" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ConformanceClass">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="GraphConformance" use="optional" default="NON_BLOCKED">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="FULL_BLOCKED" />
- <xsd:enumeration value="LOOP_BLOCKED" />
- <xsd:enumeration value="NON_BLOCKED" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="BPMNModelPortabilityConformance" use="optional" default="NONE">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="NONE" />
- <xsd:enumeration value="SIMPLE" />
- <xsd:enumeration value="STANDARD" />
- <xsd:enumeration value="COMPLETE" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ConnectorGraphicsInfo">
- <xsd:annotation>
- <xsd:documentation>BPMN and XPDL</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence minOccurs="0">
- <xsd:element ref="xpdl:Coordinates" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="ToolId" type="xsd:NMTOKEN" use="optional" />
- <xsd:attribute name="IsVisible" type="xsd:boolean" use="optional" default="true" />
- <xsd:attribute name="Page" type="xsd:NMTOKEN" use="optional">
- <xsd:annotation>
- <xsd:documentation>Deprecated in XPDL 2.1, now use PageId and Page element</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="PageId" type="xpdl:IdRef" use="optional" />
- <xsd:attribute name="Style" type="xsd:string" use="optional" />
- <xsd:attribute name="BorderColor" type="xsd:string" use="optional" />
- <xsd:attribute name="FillColor" type="xsd:string" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ConnectorGraphicsInfos">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:ConnectorGraphicsInfo" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Coordinates">
- <xsd:annotation>
- <xsd:documentation>BPMN and XPDL</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="XCoordinate" type="xsd:double" use="optional" />
- <xsd:attribute name="YCoordinate" type="xsd:double" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Cost">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="CostStructure">
- <xsd:annotation>
- <xsd:documentation> Activities incur costs in a number of way, the use up resources which may be people, machines, services, computers, office space, etc.
- Activities also use up fixed costs which may be assigned on an activity by activity basis, thus allowing for the assignment of overhead. Fixed costs are
- assigned in bulk, that is to say there is one fixed cost per activity. However resource costs are assigned on a resource by resource basis, each one having a
- cost and an associated time unit.</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:choice>
- <xsd:element ref="xpdl:ResourceCosts" minOccurs="0" maxOccurs="unbounded" />
- <xsd:element name="FixedCost" type="xsd:integer" />
- </xsd:choice>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="CostUnit">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Countrykey">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Created">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="DataField">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:DataType" />
- <xsd:element name="InitialValue" type="xpdl:ExpressionType" minOccurs="0" />
- <xsd:element ref="xpdl:Length" minOccurs="0" />
- <xsd:element ref="xpdl:Description" minOccurs="0" />
- <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:attribute name="ReadOnly" type="xsd:boolean" use="optional" default="false" />
- <xsd:attribute name="IsArray" type="xsd:boolean" use="optional" default="false" />
- <xsd:attribute name="Correlation" type="xsd:boolean" use="optional" default="false">
- <xsd:annotation>
- <xsd:documentation>Used in BPMN to support mapping to BPEL</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="DataFields">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:DataField" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="DataMappings">
- <xsd:annotation>
- <xsd:documentation>XPDL and BPMN:Maps fields or properties between calling and called processes or subprocesses</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:DataMapping" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="DataMapping">
- <xsd:annotation>
- <xsd:documentation>XPDL and BPMN:Maps fields between calling and called processes or subprocesses</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="Actual" type="xpdl:ExpressionType" />
- <xsd:element name="TestValue" type="xpdl:ExpressionType" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Formal" type="xsd:string" use="required" />
- <xsd:attribute name="Direction" default="IN">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="IN" />
- <xsd:enumeration value="OUT" />
- <xsd:enumeration value="INOUT" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="DataObject">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="DataField" minOccurs="0" maxOccurs="unbounded">
- <xsd:complexType>
- <xsd:attribute name="Id" type="xpdl:Id" use="required" />
- </xsd:complexType>
- </xsd:element>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:attribute name="State" type="xsd:string" use="optional" />
- <xsd:attribute name="RequiredForStart" type="xsd:boolean" use="optional">
- <xsd:annotation>
- <xsd:documentation>Deprecated in BPMN1.1</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="ProducedAtCompletion" type="xsd:boolean" use="optional">
- <xsd:annotation>
- <xsd:documentation>Deprecated in BPMN1.1</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="DataType">
- <xsd:complexType>
- <xsd:group ref="xpdl:DataTypes" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:group name="DataTypes">
- <xsd:choice>
- <xsd:element ref="xpdl:BasicType" />
- <xsd:element ref="xpdl:DeclaredType" />
- <xsd:element ref="xpdl:SchemaType" />
- <xsd:element ref="xpdl:ExternalReference" />
- <xsd:element ref="xpdl:RecordType" />
- <xsd:element ref="xpdl:UnionType" />
- <xsd:element ref="xpdl:EnumerationType" />
- <xsd:element ref="xpdl:ArrayType" />
- <xsd:element ref="xpdl:ListType" />
- </xsd:choice>
- </xsd:group>
- <xsd:element name="Deadline">
- <xsd:annotation>
- <xsd:documentation>BPMN provides a timer event to support this type of functionality and it is the preferred method for doing this.</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="DeadlineDuration" type="xpdl:ExpressionType" minOccurs="0" />
- <xsd:element name="ExceptionName" minOccurs="0">
- <xsd:annotation>
- <xsd:documentation>This name should match that specified in Transition/Condition/Expression</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Execution">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="ASYNCHR" />
- <xsd:enumeration value="SYNCHR" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="DeclaredType">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xsd:IDREF" use="required" />
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Description">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Documentation">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Duration">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="EndEvent">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:choice>
- <xsd:element ref="xpdl:TriggerResultMessage" minOccurs="0" />
- <xsd:element ref="xpdl:ResultError" minOccurs="0" />
- <xsd:element ref="xpdl:TriggerResultCompensation" minOccurs="0" />
- <xsd:element ref="xpdl:TriggerResultSignal" minOccurs="0" />
- <xsd:element ref="xpdl:ResultMultiple" minOccurs="0" />
- </xsd:choice>
- <xsd:attribute name="Result" use="optional" default="None">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="None" />
- <xsd:enumeration value="Message" />
- <xsd:enumeration value="Error" />
- <xsd:enumeration value="Cancel" />
- <xsd:enumeration value="Compensation" />
- <xsd:enumeration value="Signal" />
- <xsd:enumeration value="Terminate" />
- <xsd:enumeration value="Multiple" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="Implementation" use="optional" default="WebService">
- <xsd:annotation>
- <xsd:documentation> Required if the Trigger or Result is Message</xsd:documentation>
- </xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="WebService" />
- <xsd:enumeration value="Other" />
- <xsd:enumeration value="Unspecified" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="EndPoint">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:ExternalReference" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="EndPointType" use="optional" default="WSDL">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="WSDL" />
- <xsd:enumeration value="Service" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="EnumerationType">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:EnumerationValue" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="EnumerationValue">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Name" type="xsd:NMTOKEN" use="required" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Event">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:choice>
- <xsd:element ref="xpdl:StartEvent" minOccurs="0" />
- <xsd:element ref="xpdl:IntermediateEvent" minOccurs="0" />
- <xsd:element ref="xpdl:EndEvent" minOccurs="0" />
- </xsd:choice>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:complexType name="ExpressionType" mixed="true">
- <xsd:choice minOccurs="0" maxOccurs="unbounded">
- <xsd:any processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:choice>
- <xsd:attribute name="ScriptType" type="xsd:string" use="optional" />
- <xsd:attribute name="ScriptVersion" type="xsd:string" use="optional" />
- <xsd:attribute name="ScriptGrammar" type="xsd:anyURI" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- <xsd:element name="ExtendedAttribute">
- <xsd:complexType mixed="true">
- <xsd:choice minOccurs="0" maxOccurs="unbounded">
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:choice>
- <xsd:attribute name="Name" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="Value" type="xsd:string" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ExtendedAttributes">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:ExtendedAttribute" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ExternalPackage">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="href" type="xsd:string" />
- <xsd:attribute name="Id" type="xsd:NMTOKEN" />
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ExternalPackages">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:ExternalPackage" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ExternalReference">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="xref" type="xsd:NMTOKEN" use="optional" />
- <xsd:attribute name="location" type="xsd:anyURI" use="required" />
- <xsd:attribute name="namespace" type="xsd:anyURI" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="FormalParameter">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:DataType" />
- <xsd:element name="InitialValue" type="xpdl:ExpressionType" minOccurs="0" />
- <xsd:element ref="xpdl:Description" minOccurs="0" />
- <xsd:element ref="xpdl:Length" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="Mode" default="IN">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="IN" />
- <xsd:enumeration value="OUT" />
- <xsd:enumeration value="INOUT" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:attribute name="ReadOnly" type="xsd:boolean" use="optional" default="false" />
- <xsd:attribute name="Required" type="xsd:boolean" use="optional" default="false" />
- <xsd:attribute name="IsArray" type="xsd:boolean" use="optional" default="false" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="FormalParameters">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:choice minOccurs="0">
- <xsd:element ref="deprecated:FormalParameter" minOccurs="0" maxOccurs="unbounded" />
- <xsd:element ref="xpdl:FormalParameter" minOccurs="0" maxOccurs="unbounded" />
- </xsd:choice>
- <xsd:choice minOccurs="0">
- <xsd:sequence>
- <xsd:element name="Extensions" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- </xsd:choice>
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Group">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Category" minOccurs="0" />
- <xsd:element name="Object" minOccurs="0" maxOccurs="unbounded">
- <xsd:complexType>
- <xsd:attribute name="Id" type="xpdl:Id" use="required" />
- </xsd:complexType>
- </xsd:element>
- <xsd:any namespace="##other" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Icon">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:attribute name="XCOORD" type="xsd:integer" use="optional" />
- <xsd:attribute name="YCOORD" type="xsd:integer" use="optional" />
- <xsd:attribute name="WIDTH" type="xsd:integer" use="optional" />
- <xsd:attribute name="HEIGHT" type="xsd:integer" use="optional" />
- <xsd:attribute name="SHAPE" use="optional" default="RoundRectangle">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="RoundRectangle" />
- <xsd:enumeration value="Rectangle" />
- <xsd:enumeration value="Ellipse" />
- <xsd:enumeration value="Diamond" />
- <xsd:enumeration value="Ellipse" />
- <xsd:enumeration value="UpTriangle" />
- <xsd:enumeration value="DownTriangle" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Implementation">
- <xsd:complexType>
- <xsd:choice minOccurs="0">
- <xsd:element ref="xpdl:No" minOccurs="0">
- <xsd:annotation>
- <xsd:documentation>BPMN: corresponds to a task with unspecified TaskType</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element ref="deprecated:Tool" minOccurs="0" maxOccurs="unbounded" />
- <xsd:element ref="xpdl:Task" minOccurs="0">
- <xsd:annotation>
- <xsd:documentation>BPMN: corresponds to a task with specified TaskType</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element ref="xpdl:SubFlow" minOccurs="0">
- <xsd:annotation>
- <xsd:documentation>BPMN: corresponds to Reusable subprocess. May run in different pool or same pool.</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element ref="xpdl:Reference" minOccurs="0" />
- </xsd:choice>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Input">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="ArtifactId" type="xsd:NMTOKEN" use="required" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="InputSet">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Input" maxOccurs="unbounded" />
- <xsd:element ref="xpdl:ArtifactInput" minOccurs="0" maxOccurs="unbounded" />
- <xsd:element ref="xpdl:PropertyInput" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="InputSets">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:InputSet" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="IntermediateEvent">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:choice minOccurs="0">
- <xsd:element ref="xpdl:TriggerResultMessage" minOccurs="0" />
- <xsd:element ref="xpdl:TriggerTimer" minOccurs="0" />
- <xsd:element ref="xpdl:ResultError" minOccurs="0" />
- <xsd:element ref="xpdl:TriggerResultCompensation" minOccurs="0">
- <xsd:annotation>
- <xsd:documentation>BPMN: Must be present if if Trigger or ResultType is Compensation.[This event can be attached or throwing. Thus name of element
- should be TriggerResultCompensation.]</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element ref="xpdl:TriggerConditional" minOccurs="0" />
- <xsd:element ref="xpdl:TriggerResultLink" minOccurs="0">
- <xsd:annotation>
- <xsd:documentation>BPMN: Link event connects source and target nodes of the same process or subprocess. Equivalent to a sequence flow between source
- and target nodes.</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element ref="xpdl:TriggerResultCancel" minOccurs="0" />
- <xsd:element ref="xpdl:TriggerResultSignal" minOccurs="0" />
- <xsd:element ref="xpdl:TriggerIntermediateMultiple" minOccurs="0">
- <xsd:annotation>
- <xsd:documentation>BPMN: if the TriggerType is Multiple then this must be present. Only valid for attached event. [EventDetail elements are incorrect.
- They should be message, timer, error, conditional, signal, cancel.]</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- </xsd:choice>
- <xsd:attribute name="Trigger" use="required">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="None" />
- <xsd:enumeration value="Message" />
- <xsd:enumeration value="Timer" />
- <xsd:enumeration value="Error" />
- <xsd:enumeration value="Cancel" />
- <xsd:enumeration value="Conditional" />
- <xsd:enumeration value="Link" />
- <xsd:enumeration value="Signal" />
- <xsd:enumeration value="Compensation" />
- <xsd:enumeration value="Multiple" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="Implementation" use="optional" default="WebService">
- <xsd:annotation>
- <xsd:documentation>Required if the Trigger is Message</xsd:documentation>
- </xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="WebService" />
- <xsd:enumeration value="Other" />
- <xsd:enumeration value="Unspecified" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="Target" type="xpdl:Id" use="optional">
- <xsd:annotation>
- <xsd:documentation>BPMN: Presence of attribute indicates attached intermediate event; attribute value points to the BPMN activity (task or subprocess)
- the event is attached to. Absence of the attribute indicates intermediate event in sequence flow. Pointer to Activity/@Id, where activity type must be a
- task or subprocess.</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="IORules">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="Expression" type="xpdl:ExpressionType" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Join">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Type">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="XOR">
- <xsd:annotation>
- <xsd:documentation>Deprecated in BPMN1.1</xsd:documentation>
- </xsd:annotation>
- </xsd:enumeration>
- <xsd:enumeration value="Exclusive" />
- <xsd:enumeration value="OR">
- <xsd:annotation>
- <xsd:documentation>Deprecated in BPMN1.1</xsd:documentation>
- </xsd:annotation>
- </xsd:enumeration>
- <xsd:enumeration value="Inclusive" />
- <xsd:enumeration value="Complex" />
- <xsd:enumeration value="AND">
- <xsd:annotation>
- <xsd:documentation>Deprecated in BPMN1.1</xsd:documentation>
- </xsd:annotation>
- </xsd:enumeration>
- <xsd:enumeration value="Parallel" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="ExclusiveType" use="optional" default="Data">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="Data" />
- <xsd:enumeration value="Event" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="IncomingCondtion" type="xsd:string" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Lane">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence minOccurs="0">
- <xsd:element ref="xpdl:Object" minOccurs="0" />
- <xsd:element ref="xpdl:NodeGraphicsInfos" minOccurs="0" />
- <xsd:element ref="xpdl:Performers" minOccurs="0" />
- <xsd:element name="NestedLane" minOccurs="0" maxOccurs="unbounded">
- <xsd:complexType>
- <xsd:attribute name="LaneId" type="xsd:NMTOKEN" use="required" />
- </xsd:complexType>
- </xsd:element>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:attribute name="ParentLane" type="xsd:NMTOKEN" use="optional">
- <xsd:annotation>
- <xsd:documentation>Deprecated from BPMN1.0.</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="ParentPool" type="xsd:NMTOKEN" use="optional">
- <xsd:annotation>
- <xsd:documentation>Deprecated from BPMN1.0.</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Lanes">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Lane" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="LayoutInfo">
- <xsd:complexType>
- <xsd:attribute name="PixelsPerMillimeter" type="xsd:float" use="optional">
- <xsd:annotation>
- <xsd:documentation>Co-ordinates / Sizes are in pixels - this attribute specifies the number of pixels per millimeter used by application.
- </xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Length">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Limit">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ListType">
- <xsd:complexType>
- <xsd:group ref="xpdl:DataTypes" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Loop">
- <xsd:annotation>
- <xsd:documentation>BPMN (and possibly XPDL)</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:choice>
- <xsd:element ref="xpdl:LoopStandard" />
- <xsd:element ref="xpdl:LoopMultiInstance" />
- </xsd:choice>
- <xsd:attribute name="LoopType" use="required">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="Standard" />
- <xsd:enumeration value="MultiInstance" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="LoopMultiInstance">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="MI_Condition" type="xpdl:ExpressionType" minOccurs="0" />
- <xsd:element name="ComplexMI_FlowCondition" type="xpdl:ExpressionType" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="MI_Condition" type="xsd:string" use="optional" />
- <xsd:attribute name="LoopCounter" type="xsd:integer">
- <xsd:annotation>
- <xsd:documentation> This is updated at run time to count the number of executions of the loop and is available as a property to be used in expressions. Does
- this belong in the XPDL?</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="MI_Ordering" use="required">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="Sequential" />
- <xsd:enumeration value="Parallel" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="MI_FlowCondition" use="optional" default="All">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="None" />
- <xsd:enumeration value="One" />
- <xsd:enumeration value="All" />
- <xsd:enumeration value="Complex" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="ComplexMI_FlowCondition" type="xsd:string" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="LoopStandard">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="LoopCondition" type="xpdl:ExpressionType" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="LoopCondition" type="xsd:string" use="optional" />
- <xsd:attribute name="LoopCounter" type="xsd:integer">
- <xsd:annotation>
- <xsd:documentation> This is updated at run time to count the number of executions of the loop and is available as a property to be used in expressions. Does
- this belong in the XPDL?</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="LoopMaximum" type="xsd:integer" use="optional" />
- <xsd:attribute name="TestTime" use="required">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="Before" />
- <xsd:enumeration value="After" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Member">
- <xsd:complexType>
- <xsd:group ref="xpdl:DataTypes" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:complexType name="MessageType">
- <xsd:annotation>
- <xsd:documentation>Formal Parameters defined by WSDL. Must constraint the parameters to either all in or all out, because Message is in a single direction
- </xsd:documentation>
- </xsd:annotation>
- <xsd:sequence minOccurs="0">
- <xsd:choice minOccurs="0">
- <xsd:element ref="xpdl:ActualParameters" />
- <xsd:element ref="xpdl:DataMappings" />
- </xsd:choice>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:attribute name="From" type="xsd:NMTOKEN" use="optional">
- <xsd:annotation>
- <xsd:documentation>This must be the name of a Participant</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="To" type="xsd:NMTOKEN" use="optional">
- <xsd:annotation>
- <xsd:documentation>This must be the name of a participant</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="FaultName" type="xsd:NMTOKEN" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- <xsd:element name="MessageFlow">
- <xsd:annotation>
- <xsd:documentation>:BPMN:</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence minOccurs="0">
- <xsd:element name="Message" type="xpdl:MessageType" minOccurs="0" />
- <xsd:element ref="xpdl:Object" minOccurs="0" />
- <xsd:element ref="xpdl:ConnectorGraphicsInfos" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:attribute name="Source" type="xpdl:IdRef" use="required" />
- <xsd:attribute name="Target" type="xpdl:IdRef" use="required" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="MessageFlows">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence minOccurs="0" maxOccurs="unbounded">
- <xsd:element ref="xpdl:MessageFlow" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ModificationDate">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="No">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="NodeGraphicsInfo">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Coordinates" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="ToolId" type="xsd:string" use="optional" />
- <xsd:attribute name="IsVisible" type="xsd:boolean" use="optional" default="true" />
- <xsd:attribute name="Page" type="xsd:NMTOKEN" use="optional">
- <xsd:annotation>
- <xsd:documentation>Deprecated in XPDL 2.1, now use PageId and Page element</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="PageId" type="xpdl:IdRef" use="optional" />
- <xsd:attribute name="LaneId" type="xsd:NMTOKEN" use="optional" />
- <xsd:attribute name="Height" type="xsd:double" use="optional" />
- <xsd:attribute name="Width" type="xsd:double" use="optional" />
- <xsd:attribute name="BorderColor" type="xsd:string" use="optional" />
- <xsd:attribute name="FillColor" type="xsd:string" use="optional" />
- <xsd:attribute name="Shape" type="xsd:string" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="NodeGraphicsInfos">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:NodeGraphicsInfo" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Object">
- <xsd:annotation>
- <xsd:documentation>BPMN: This is used to identify the Activity in an EndEvent Compensation???Also used to associate categories and ocumentation with a
- variety of elements</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence minOccurs="0">
- <xsd:element ref="xpdl:Categories" minOccurs="0" />
- <xsd:element ref="xpdl:Documentation" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required">
- <xsd:annotation>
- <xsd:documentation>This identifies any Object in the BPMN diagram.</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Output">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="ArtifactId" type="xsd:NMTOKEN" use="required" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="OutputSet">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Output" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="OutputSets">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:OutputSet" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Package" type="xpdl:PackageType">
- <xsd:key name="ProcessIds.Package">
- <xsd:selector xpath=".//xpdl:WorkflowProcess | .//xpdl:ActivitySet" />
- <xsd:field xpath="@Id" />
- </xsd:key>
- <xsd:keyref name="PoolProcessIdRef.Package" refer="xpdl:ProcessIds.Package">
- <xsd:selector xpath=".//xpdl:Pool" />
- <xsd:field xpath="@Process" />
- </xsd:keyref>
- <xsd:key name="ProcessIdsTopLevel.Package">
- <xsd:selector xpath=".//xpdl:WorkflowProcess" />
- <xsd:field xpath="@Id" />
- </xsd:key>
- <xsd:keyref name="SubFlowIdRef.Package" refer="xpdl:ProcessIdsTopLevel.Package">
- <xsd:selector xpath=".//xpdl:SubFlow" />
- <xsd:field xpath="@Id" />
- </xsd:keyref>
- <xsd:key name="ActivitySetIds.Package">
- <xsd:selector xpath=".//xpdl:ActivitySet" />
- <xsd:field xpath="@Id" />
- </xsd:key>
- <xsd:keyref name="SubFlowStartActivitySetIdRef.Package" refer="xpdl:ActivitySetIds.Package">
- <xsd:selector xpath=".//xpdl:SubFlow" />
- <xsd:field xpath="@StartActivitySetId" />
- </xsd:keyref>
- <xsd:key name="ActivityIds.Package">
- <xsd:selector xpath=".//xpdl:Activity" />
- <xsd:field xpath="@Id" />
- </xsd:key>
- <xsd:keyref name="SubFlowStartActivityIdRef.Package" refer="xpdl:ActivityIds.Package">
- <xsd:selector xpath=".//xpdl:SubFlow" />
- <xsd:field xpath="@StartActivityId" />
- </xsd:keyref>
- <xsd:keyref name="TaskReferenceTaskRef.Package" refer="xpdl:ActivityIds.Package">
- <xsd:selector xpath=".//xpdl:TaskReference" />
- <xsd:field xpath="@TaskRef" />
- </xsd:keyref>
- <xsd:key name="LaneIds.Package">
- <xsd:selector xpath=".//xpdl:Lane" />
- <xsd:field xpath="@Id" />
- </xsd:key>
- <xsd:keyref name="NodeGraphicsInfoLaneIdRef.Package" refer="xpdl:LaneIds.Package">
- <xsd:selector xpath=".//xpdl:NodeGraphicsInfo" />
- <xsd:field xpath="@LaneId" />
- </xsd:keyref>
- <xsd:key name="PageIds.Package">
- <xsd:selector xpath=".//xpdl:Page" />
- <xsd:field xpath="@Id" />
- </xsd:key>
- <xsd:keyref name="GraphicsInfoPageIdRef.Package" refer="xpdl:PageIds.Package">
- <xsd:selector xpath=".//xpdl:NodeGraphicsInfo | .//xpdl:ConnectorGraphicsInfo" />
- <xsd:field xpath="@PageId" />
- </xsd:keyref>
- <xsd:key name="PoolAndActivityIds.Package">
- <xsd:selector xpath=".//xpdl:Pool | .//xpdl:Activity" />
- <xsd:field xpath="@Id" />
- </xsd:key>
- <xsd:keyref name="MessageFlowSourceRef.Package" refer="xpdl:PoolAndActivityIds.Package">
- <xsd:selector xpath=".//xpdl:MessageFlow" />
- <xsd:field xpath="@Source" />
- </xsd:keyref>
- <xsd:keyref name="MessageFlowTargetRef.Package" refer="xpdl:PoolAndActivityIds.Package">
- <xsd:selector xpath=".//xpdl:MessageFlow" />
- <xsd:field xpath="@Target" />
- </xsd:keyref>
- <!-- checks that process id referred to by pool exists -->
- <!-- checks that process id referred to by subflow exists (must be top-level, not an activityset) -->
- <!-- checks that start activityset referred to by subflow exists (note: incomplete test, does not constrain to process specified by subflow) -->
- <!-- checks that start activity referred to by subflow exists (note: incomplete test, does not constrain to process specified by subflow) -->
- <!-- checks that activity referred to by taskreference exists (note: may be incomplete test, does not constrain to same process that contains the task) -->
- <!-- checks that lane id referred to by nodegraphicsinfo exists -->
- <!-- checks that page id referred to by grahicsinfo exists -->
- <!-- checks that source and target referred to by messageflow exists (note: incomplete test, does check that source/target are, or are in, separate pools) -->
- </xsd:element>
- <xsd:complexType name="PackageType">
- <xsd:sequence>
- <xsd:element ref="xpdl:PackageHeader" />
- <xsd:element ref="xpdl:RedefinableHeader" minOccurs="0" />
- <xsd:element ref="xpdl:ConformanceClass" minOccurs="0" />
- <xsd:element ref="xpdl:Script" minOccurs="0" />
- <xsd:element ref="xpdl:ExternalPackages" minOccurs="0" />
- <xsd:element ref="xpdl:TypeDeclarations" minOccurs="0" />
- <xsd:element ref="xpdl:Participants" minOccurs="0" />
- <xsd:element ref="xpdl:Applications" minOccurs="0" />
- <xsd:element ref="xpdl:DataFields" minOccurs="0" />
- <xsd:element ref="xpdl:PartnerLinkTypes" minOccurs="0" />
- <xsd:element ref="xpdl:Pages" minOccurs="0" />
- <xsd:element ref="xpdl:Pools" minOccurs="0" />
- <xsd:element ref="xpdl:MessageFlows" minOccurs="0" />
- <xsd:element ref="xpdl:Associations" minOccurs="0" />
- <xsd:element ref="xpdl:Artifacts" minOccurs="0" />
- <xsd:element ref="xpdl:WorkflowProcesses" minOccurs="0" />
- <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xpdl:Id" use="required">
- <xsd:annotation>
- <xsd:documentation>BPMN: Corresponds to BPD identifier. Target of @DiagramRef in Subflow.</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:attribute name="Language" type="xsd:string" use="optional" />
- <xsd:attribute name="QueryLanguage" type="xsd:string" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- <xsd:element name="PackageHeader">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:XPDLVersion" />
- <xsd:element ref="xpdl:Vendor" />
- <xsd:element ref="xpdl:Created" />
- <xsd:element ref="xpdl:ModificationDate" minOccurs="0" />
- <xsd:element ref="xpdl:Description" minOccurs="0" />
- <xsd:element ref="xpdl:Documentation" minOccurs="0" />
- <xsd:element ref="xpdl:PriorityUnit" minOccurs="0" />
- <xsd:element ref="xpdl:CostUnit" minOccurs="0" />
- <xsd:element ref="xpdl:VendorExtensions" minOccurs="0" />
- <xsd:element ref="xpdl:LayoutInfo" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Page">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:attribute name="Id" type="xpdl:Id" use="required" />
- <xsd:attribute name="Height" type="xsd:double" use="optional" />
- <xsd:attribute name="Width" type="xsd:double" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Pages">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Page" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Participant">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:ParticipantType" />
- <xsd:element ref="xpdl:Description" minOccurs="0" />
- <xsd:element ref="xpdl:ExternalReference" minOccurs="0" />
- <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ParticipantType">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Type" use="required">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="RESOURCE_SET" />
- <xsd:enumeration value="RESOURCE" />
- <xsd:enumeration value="ROLE" />
- <xsd:enumeration value="ORGANIZATIONAL_UNIT" />
- <xsd:enumeration value="HUMAN" />
- <xsd:enumeration value="SYSTEM" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Participants">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Participant" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="PartnerLink">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="MyRole" minOccurs="0">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="RoleName" type="xsd:string" use="required" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="PartnerRole" minOccurs="0">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:EndPoint" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="RoleName" type="xsd:string" use="required" />
- <xsd:attribute name="ServiceName" type="xsd:string" use="optional" />
- <xsd:attribute name="PortName" type="xsd:string" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" />
- <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="PartnerLinkTypeId" type="xsd:NMTOKEN" use="required" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="PartnerLinks">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:PartnerLink" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="PartnerLinkType">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="Role" maxOccurs="2">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="portType" type="xsd:string" use="required" />
- <xsd:attribute name="Name" type="xsd:string" use="required" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="name" type="xsd:string" use="required" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="PartnerLinkTypes">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:PartnerLinkType" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Performer">
- <xsd:annotation>
- <xsd:documentation>A String or Expression designating the Performer</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Performers">
- <xsd:annotation>
- <xsd:documentation>BPMN and XPDL</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Performer" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Pool">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Lanes" minOccurs="0" />
- <xsd:element ref="xpdl:Object" minOccurs="0" />
- <xsd:element ref="xpdl:NodeGraphicsInfos" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xpdl:Id" use="required">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="Name" type="xsd:string" use="optional">
- <xsd:annotation>
- <xsd:documentation>BPMN: Pool label in diagram</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="Orientation" use="optional" default="HORIZONTAL">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="HORIZONTAL" />
- <xsd:enumeration value="VERTICAL" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="Process" type="xpdl:IdRef" use="optional">
- <xsd:annotation>
- <xsd:documentation>BPMN: Pointer to WorkflowProcess/@Id; presence indicates this pool is part of an internal (private) process.</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="Participant" type="xsd:NMTOKEN" use="optional" />
- <xsd:attribute name="BoundaryVisible" type="xsd:boolean" use="required" />
- <xsd:attribute name="MainPool" type="xsd:boolean" use="optional" default="false" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Pools">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Pool" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Precision">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:short">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Priority">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="PriorityUnit">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ProcessHeader">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Created" minOccurs="0" />
- <xsd:element ref="xpdl:Description" minOccurs="0" />
- <xsd:element ref="xpdl:Priority" minOccurs="0" />
- <xsd:element ref="xpdl:Limit" minOccurs="0" />
- <xsd:element ref="xpdl:ValidFrom" minOccurs="0" />
- <xsd:element ref="xpdl:ValidTo" minOccurs="0" />
- <xsd:element ref="xpdl:TimeEstimation" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="DurationUnit">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="Y" />
- <xsd:enumeration value="M" />
- <xsd:enumeration value="D" />
- <xsd:enumeration value="h" />
- <xsd:enumeration value="m" />
- <xsd:enumeration value="s" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:complexType name="ProcessType">
- <xsd:sequence>
- <xsd:element ref="xpdl:ProcessHeader" />
- <xsd:element ref="xpdl:RedefinableHeader" minOccurs="0" />
- <xsd:element ref="xpdl:FormalParameters" minOccurs="0" />
- <xsd:element ref="xpdl:InputSets" minOccurs="0" />
- <xsd:element ref="xpdl:OutputSets" minOccurs="0" />
- <xsd:choice minOccurs="0">
- <xsd:annotation>
- <xsd:documentation>changes xpdl 1.0 order</xsd:documentation>
- </xsd:annotation>
- <xsd:sequence minOccurs="0">
- <xsd:element ref="xpdl:Participants" minOccurs="0" />
- <xsd:element ref="xpdl:Applications" minOccurs="0" />
- <xsd:element ref="xpdl:DataFields" minOccurs="0" />
- </xsd:sequence>
- <xsd:sequence minOccurs="0">
- <xsd:element ref="deprecated:DataFields" minOccurs="0" />
- <xsd:element ref="deprecated:Participants" minOccurs="0" />
- <xsd:element ref="deprecated:Applications" minOccurs="0" />
- </xsd:sequence>
- </xsd:choice>
- <xsd:element ref="xpdl:ActivitySets" minOccurs="0" />
- <xsd:element ref="xpdl:Activities" minOccurs="0" />
- <xsd:element ref="xpdl:Transitions" minOccurs="0" />
- <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0" />
- <xsd:element ref="xpdl:Assignments" minOccurs="0" />
- <xsd:element ref="xpdl:PartnerLinks" minOccurs="0" />
- <xsd:element ref="xpdl:Object" minOccurs="0" />
- <xsd:choice minOccurs="0">
- <xsd:sequence>
- <xsd:element name="Extensions" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- </xsd:choice>
- </xsd:sequence>
- <xsd:attribute name="Id" type="xpdl:Id" use="required">
- <xsd:annotation>
- <xsd:documentation>BPMN: unique identifier for the process, referenced by Pool</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="Name" type="xsd:string" use="optional">
- <xsd:annotation>
- <xsd:documentation>BPMN: label of WorkflowProcess in diagram, should be same as for Pool</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="AccessLevel" use="optional" default="PUBLIC">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="PUBLIC" />
- <xsd:enumeration value="PRIVATE" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="ProcessType" use="optional" default="None">
- <xsd:annotation>
- <xsd:documentation>BPMN:</xsd:documentation>
- </xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="None" />
- <xsd:enumeration value="Private" />
- <xsd:enumeration value="Abstract" />
- <xsd:enumeration value="Collaboration" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="Status" use="optional" default="None">
- <xsd:annotation>
- <xsd:documentation> BPMN: Status values are assigned during execution. Status can be treated as a property and used in expressions local to a Process. It is
- unclear that status belongs in the XPDL document.</xsd:documentation>
- </xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="None" />
- <xsd:enumeration value="Ready" />
- <xsd:enumeration value="Active" />
- <xsd:enumeration value="Cancelled" />
- <xsd:enumeration value="Aborting" />
- <xsd:enumeration value="Aborted" />
- <xsd:enumeration value="Completing" />
- <xsd:enumeration value="Completed" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="SuppressJoinFailure" type="xsd:boolean" use="optional" default="false" />
- <xsd:attribute name="EnableInstanceCompensation" type="xsd:boolean" use="optional" default="false" />
- <xsd:attribute name="AdHoc" type="xsd:boolean" use="optional" default="false">
- <xsd:annotation>
- <xsd:documentation>BPMN: for Embedded subprocess</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="AdHocOrdering" use="optional" default="Parallel">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="Sequential" />
- <xsd:enumeration value="Parallel" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="AdHocCompletionCondition" type="xsd:string" use="optional" />
- <xsd:attribute name="DefaultStartActivitySetId" type="xpdl:IdRef" use="optional" />
- <xsd:attribute name="DefaultStartActivityId" type="xpdl:IdRef" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- <xsd:element name="PropertyInput">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="PropertyId" type="xsd:NMTOKEN" use="required" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="RecordType">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Member" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="RedefinableHeader">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Author" minOccurs="0" />
- <xsd:element ref="xpdl:Version" minOccurs="0" />
- <xsd:element ref="xpdl:Codepage" minOccurs="0" />
- <xsd:element ref="xpdl:Countrykey" minOccurs="0" />
- <xsd:element ref="xpdl:Responsibles" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="PublicationStatus">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="UNDER_REVISION" />
- <xsd:enumeration value="RELEASED" />
- <xsd:enumeration value="UNDER_TEST" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Reference">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="ActivityId" type="xpdl:IdRef" use="required">
- <xsd:annotation>
- <xsd:documentation>BPMN: Reference to a BPMN task or subprocess definition elsewhere; should not be used for gateway or event. Pointer to Activity/@Id in
- XPDL.</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ResourceCosts">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="ResourceCostName">
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
- <xsd:maxLength value="100" />
- <xsd:minLength value="0" />
- <xsd:whiteSpace value="preserve" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:element>
- <xsd:element name="ResourceCost">
- <xsd:simpleType>
- <xsd:restriction base="xsd:decimal">
- <xsd:fractionDigits value="2" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:element>
- <xsd:element name="CostUnitOfTime">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="second" />
- <xsd:enumeration value="minute" />
- <xsd:enumeration value="hour" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Responsible">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Responsibles">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Responsible" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TriggerResultCompensation">
- <xsd:annotation>
- <xsd:documentation>BPMN: Must be present if if Trigger or ResultType is Compensation.</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="ActivityId" type="xsd:NMTOKEN" use="optional">
- <xsd:annotation>
- <xsd:documentation> This supplies the Id of the Activity to be Compensated. Used only for intermediate events or end events in the seuence flow. Events
- attached to the boundary of an activity already know the Id.</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ResultError">
- <xsd:annotation>
- <xsd:documentation>BPMN: Must be present if Trigger or ResultType is error.</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="ErrorCode" type="xsd:string" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ResultMultiple">
- <xsd:annotation>
- <xsd:documentation>BPMN: Must be present if ResultType is Multiple.</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:annotation>
- <xsd:documentation>at least two results must be present</xsd:documentation>
- </xsd:annotation>
- <xsd:element ref="xpdl:TriggerResultMessage" minOccurs="0" />
- <xsd:element ref="xpdl:TriggerResultLink" minOccurs="0" />
- <xsd:element ref="xpdl:TriggerResultCompensation" minOccurs="0" />
- <xsd:element ref="xpdl:ResultError" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Route">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="GatewayType" use="optional" default="Exclusive">
- <xsd:annotation>
- <xsd:documentation> Used when needed for BPMN Gateways. Gate and sequence information is associated with the Transition Element.</xsd:documentation>
- </xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="XOR">
- <xsd:annotation>
- <xsd:documentation>Deprecated in BPMN1.1</xsd:documentation>
- </xsd:annotation>
- </xsd:enumeration>
- <xsd:enumeration value="Exclusive" />
- <xsd:enumeration value="OR">
- <xsd:annotation>
- <xsd:documentation>Deprecated in BPMN1.1</xsd:documentation>
- </xsd:annotation>
- </xsd:enumeration>
- <xsd:enumeration value="Inclusive" />
- <xsd:enumeration value="Complex" />
- <xsd:enumeration value="AND" />
- <xsd:enumeration value="Parallel" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="XORType" use="optional" default="Data">
- <xsd:annotation>
- <xsd:documentation>Deprecated in BPMN1.1</xsd:documentation>
- </xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="Data" />
- <xsd:enumeration value="Event" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="ExclusiveType" use="optional" default="Data">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="Data" />
- <xsd:enumeration value="Event" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="Instantiate" type="xsd:boolean" use="optional" default="false" />
- <xsd:attribute name="MarkerVisible" type="xsd:boolean" use="optional" default="false">
- <xsd:annotation>
- <xsd:documentation>Applicable only to XOR Gateways</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="IncomingCondition" type="xsd:string" use="optional" />
- <xsd:attribute name="OutgoingCondition" type="xsd:string" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Rule">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="Expression" type="xpdl:ExpressionType" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Scale">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:short">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="SchemaType">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Script">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Type" type="xsd:string" use="required" />
- <xsd:attribute name="Version" type="xsd:string" use="optional" />
- <xsd:attribute name="Grammar" type="xsd:anyURI" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="SimulationInformation">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Cost" />
- <xsd:element ref="xpdl:TimeEstimation" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Instantiation">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="ONCE" />
- <xsd:enumeration value="MULTIPLE" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Split">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:TransitionRefs" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Type">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="XOR">
- <xsd:annotation>
- <xsd:documentation>Deprecated in BPMN1.1</xsd:documentation>
- </xsd:annotation>
- </xsd:enumeration>
- <xsd:enumeration value="Exclusive" />
- <xsd:enumeration value="OR">
- <xsd:annotation>
- <xsd:documentation>Deprecated in BPMN1.1</xsd:documentation>
- </xsd:annotation>
- </xsd:enumeration>
- <xsd:enumeration value="Inclusive" />
- <xsd:enumeration value="Complex" />
- <xsd:enumeration value="AND">
- <xsd:annotation>
- <xsd:documentation>Deprecated in BPMN1.1</xsd:documentation>
- </xsd:annotation>
- </xsd:enumeration>
- <xsd:enumeration value="Parallel" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="ExclusiveType" use="optional" default="Data">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="Data" />
- <xsd:enumeration value="Event" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="OutgoingCondition" type="xsd:string" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="StartEvent">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:choice minOccurs="0">
- <xsd:element ref="xpdl:TriggerResultMessage" minOccurs="0" />
- <xsd:element ref="xpdl:TriggerTimer" minOccurs="0" />
- <xsd:element ref="xpdl:TriggerConditional" minOccurs="0" />
- <xsd:element ref="xpdl:TriggerResultSignal" minOccurs="0" />
- <xsd:element ref="xpdl:TriggerMultiple" minOccurs="0" />
- </xsd:choice>
- <xsd:attribute name="Trigger" use="required">
- <xsd:annotation>
- <xsd:documentation>BPMN: Trigger or Result type for the event</xsd:documentation>
- </xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="None" />
- <xsd:enumeration value="Message" />
- <xsd:enumeration value="Timer" />
- <xsd:enumeration value="Conditional" />
- <xsd:enumeration value="Signal" />
- <xsd:enumeration value="Multiple" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="Implementation" use="optional" default="WebService">
- <xsd:annotation>
- <xsd:documentation>Required if the Trigger is Message</xsd:documentation>
- </xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="WebService" />
- <xsd:enumeration value="Other" />
- <xsd:enumeration value="Unspecified" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="SubFlow">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:choice minOccurs="0">
- <xsd:element ref="xpdl:ActualParameters" />
- <xsd:element ref="xpdl:DataMappings" />
- </xsd:choice>
- <xsd:element ref="xpdl:EndPoint" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xpdl:IdRef" use="required">
- <xsd:annotation>
- <xsd:documentation>BPMN: Corresponds to BPMN attribute ProcessRef, pointer to WorkflowProcess/@Id in BPD referenced by PackageRef. [Suggest name change
- to ProcessRef; this is IDREF not ID].</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:attribute name="Execution" use="optional" default="SYNCHR">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="ASYNCHR" />
- <xsd:enumeration value="SYNCHR" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="View" use="optional" default="COLLAPSED">
- <xsd:annotation>
- <xsd:documentation>BPMN: Detrmines rendering of subprocess as Collapsed or Expended. Default is Collapsed.</xsd:documentation>
- </xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="COLLAPSED" />
- <xsd:enumeration value="EXPANDED" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="PackageRef" type="xpdl:IdRef" use="optional">
- <xsd:annotation>
- <xsd:documentation>BPMN: Corresponds to BPMN attribute DiagramRef, pointer to a BPD identified by Package/@Id. [Maybe IDREF doesn't work here since ID is
- in a different document.]</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="InstanceDataField" type="xsd:string" use="optional">
- <xsd:annotation>
- <xsd:documentation> Used to store the instance id of the subflow instantiated by the activity. This is then available later on (e.g. for correlation,
- messaging etc.) especially in the case of asynchronous invocation.</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="StartActivitySetId" type="xpdl:IdRef" use="optional" />
- <xsd:attribute name="StartActivityId" type="xpdl:IdRef" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Task">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:choice minOccurs="0">
- <xsd:element ref="xpdl:TaskService">
- <xsd:annotation>
- <xsd:documentation>BPMN: TaskType = Service. In BPMN generally signifies any automated activity.</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element ref="xpdl:TaskReceive">
- <xsd:annotation>
- <xsd:documentation>BPMN: TaskType = Receive. Waits for a message, then continues. Equivalent to a "catching" message event. In BPMN, "message"
- generally signifies any signal from outside the process (pool).</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element ref="xpdl:TaskManual">
- <xsd:annotation>
- <xsd:documentation>BPMN: TaskType = Manual. Used for human tasks other than those accessed via workflow.</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element ref="xpdl:TaskReference">
- <xsd:annotation>
- <xsd:documentation>BPMN: TaskType = Reference. Task properties defined in referenced activity.</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element ref="xpdl:TaskScript">
- <xsd:annotation>
- <xsd:documentation>BPMN: TaskType = Script. Used for automated tasks executed by scripts on process engine, to distinguish from automated tasks
- performed externally (Service).</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element ref="xpdl:TaskSend">
- <xsd:annotation>
- <xsd:documentation>BPMN: Task Type = Send. Equivalent to a "throwing" message event. Sends a message immediately and continues. In BPMN, "message"
- signifies any signal sent outside the process (pool).</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element ref="xpdl:TaskUser">
- <xsd:annotation>
- <xsd:documentation>BPMN: Task Type = User. Generally used for human tasks.</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element ref="xpdl:TaskApplication" />
- </xsd:choice>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TaskManual">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Performers" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TaskReceive">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="Message" type="xpdl:MessageType" minOccurs="0">
- <xsd:annotation>
- <xsd:documentation>BPMN: Implementation-related but required by spec.</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element ref="xpdl:WebServiceOperation" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Instantiate" type="xsd:boolean" use="required" />
- <xsd:attribute name="Implementation" use="optional" default="WebService">
- <xsd:annotation>
- <xsd:documentation>BPMN: Implementation-related but required by spec.</xsd:documentation>
- </xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="WebService" />
- <xsd:enumeration value="Other" />
- <xsd:enumeration value="Unspecified" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TaskReference">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="TaskRef" type="xpdl:IdRef" use="required">
- <xsd:annotation>
- <xsd:documentation>BPMN: Pointer to Activity/@Id that defines the task.</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TaskSend">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="Message" type="xpdl:MessageType" minOccurs="0">
- <xsd:annotation>
- <xsd:documentation>BPMN: Implementation-related but required by spec</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element ref="xpdl:WebServiceOperation" minOccurs="0" />
- <xsd:element ref="xpdl:WebServiceFaultCatch" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Implementation" use="optional" default="WebService">
- <xsd:annotation>
- <xsd:documentation>Required if the Task is Send</xsd:documentation>
- </xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="WebService" />
- <xsd:enumeration value="Other" />
- <xsd:enumeration value="Unspecified" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TaskService">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="MessageIn" type="xpdl:MessageType" minOccurs="0">
- <xsd:annotation>
- <xsd:documentation>BPMN: Implementation-related but required by spec.</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element name="MessageOut" type="xpdl:MessageType" minOccurs="0">
- <xsd:annotation>
- <xsd:documentation>BPMN: Implementation-related but required by spec.</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element ref="xpdl:WebServiceOperation" minOccurs="0" />
- <xsd:element ref="xpdl:WebServiceFaultCatch" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Implementation" use="optional" default="WebService">
- <xsd:annotation>
- <xsd:documentation>BPMN: Implementation-related, but required if the Task is Service</xsd:documentation>
- </xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="WebService" />
- <xsd:enumeration value="Other" />
- <xsd:enumeration value="Unspecified" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TaskScript">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="Script" type="xpdl:ExpressionType">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TaskUser">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Performers" minOccurs="0" />
- <xsd:element name="MessageIn" type="xpdl:MessageType" minOccurs="0" />
- <xsd:element name="MessageOut" type="xpdl:MessageType" minOccurs="0" />
- <xsd:element ref="xpdl:WebServiceOperation" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Implementation" use="optional" default="WebService">
- <xsd:annotation>
- <xsd:documentation>Required if the Task is User</xsd:documentation>
- </xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="WebService" />
- <xsd:enumeration value="Other" />
- <xsd:enumeration value="Unspecified" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TimeEstimation">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:WaitingTime" minOccurs="0" />
- <xsd:element ref="xpdl:WorkingTime" minOccurs="0" />
- <xsd:element ref="xpdl:Duration" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TaskApplication">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:choice minOccurs="0">
- <xsd:element ref="xpdl:ActualParameters" />
- <xsd:element ref="xpdl:DataMappings" />
- </xsd:choice>
- <xsd:element ref="xpdl:Description" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:attribute name="PackageRef" type="xsd:NMTOKEN" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Transaction">
- <xsd:annotation>
- <xsd:documentation>BPMN: If SubProcess is a transaction then this is required.</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="TransactionId" type="xsd:string" use="required" />
- <xsd:attribute name="TransactionProtocol" type="xsd:string" use="required" />
- <xsd:attribute name="TransactionMethod" use="required">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="Compensate" />
- <xsd:enumeration value="Store" />
- <xsd:enumeration value="Image" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Transition">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Condition" minOccurs="0" />
- <xsd:element ref="xpdl:Description" minOccurs="0" />
- <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0" />
- <xsd:element ref="xpdl:Assignments" minOccurs="0" />
- <xsd:element ref="xpdl:Object" minOccurs="0" />
- <xsd:element ref="xpdl:ConnectorGraphicsInfos" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xpdl:Id" use="required" />
- <xsd:attribute name="From" type="xpdl:IdRef" use="required" />
- <xsd:attribute name="To" type="xpdl:IdRef" use="required" />
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:attribute name="Quantity" type="xsd:int" use="optional" default="1">
- <xsd:annotation>
- <xsd:documentation>Used only in BPMN. Specifies number of tokens on outgoing transition.</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TransitionRef">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xpdl:IdRef" use="required" />
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TransitionRefs">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:TransitionRef" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TransitionRestriction">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Join" minOccurs="0" />
- <xsd:element ref="xpdl:Split" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TransitionRestrictions">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:TransitionRestriction" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Transitions">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Transition" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TriggerConditional">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="Expression" type="xpdl:ExpressionType" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="ConditionName" type="xsd:string" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TriggerResultLink">
- <xsd:annotation>
- <xsd:documentation>BPMN: if the Trigger or Result Type is Link then this must be present.</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="CatchThrow" use="optional" default="CATCH">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="CATCH" />
- <xsd:enumeration value="THROW" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="Name" type="xsd:NMTOKEN" use="optional">
- <xsd:annotation>
- <xsd:documentation>The link can only be used within one process as a shorthand for a long sequence flow .</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TriggerResultMessage">
- <xsd:annotation>
- <xsd:documentation> BPMN: If the Trigger or Result Type is Message then this must be present</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="Message" type="xpdl:MessageType" minOccurs="0" />
- <xsd:element ref="xpdl:WebServiceOperation" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="CatchThrow" use="optional" default="CATCH">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="CATCH" />
- <xsd:enumeration value="THROW" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TriggerResultCancel" />
- <xsd:element name="TriggerResultSignal">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="Properties" type="xpdl:ExpressionType" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Name" type="xsd:string" use="optional">
- <xsd:annotation>
- <xsd:documentation>Text description of the signal</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="CatchThrow" use="optional" default="CATCH">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="CATCH" />
- <xsd:enumeration value="THROW" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TriggerIntermediateMultiple">
- <xsd:annotation>
- <xsd:documentation>BPMN: if the TriggerType is Multiple then this must be present.</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:annotation>
- <xsd:documentation>BPMN: For Multiple, at least two triggers must be present.</xsd:documentation>
- </xsd:annotation>
- <xsd:element ref="xpdl:TriggerResultMessage" minOccurs="0" />
- <xsd:element ref="xpdl:TriggerTimer" minOccurs="0" />
- <xsd:element ref="xpdl:ResultError" minOccurs="0" />
- <xsd:element ref="xpdl:TriggerResultCompensation" minOccurs="0" />
- <xsd:element ref="xpdl:TriggerConditional" minOccurs="0" />
- <xsd:element ref="xpdl:TriggerResultLink" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TriggerMultiple">
- <xsd:annotation>
- <xsd:documentation>BPMN: if the TriggerType is Multiple then this must be present.</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:annotation>
- <xsd:documentation>BPMN: For Multiple, at least two triggers must be present.</xsd:documentation>
- </xsd:annotation>
- <xsd:element ref="xpdl:TriggerResultMessage" minOccurs="0" />
- <xsd:element ref="xpdl:TriggerTimer" minOccurs="0" />
- <xsd:element ref="xpdl:TriggerConditional" minOccurs="0" />
- <xsd:element ref="xpdl:TriggerResultLink" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TriggerRule">
- <xsd:annotation>
- <xsd:documentation>BPMN: if the TriggerType is Rule then this must be present. DEprecated in BPMN1.1</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="RuleName" type="xsd:string" use="required">
- <xsd:annotation>
- <xsd:documentation>This is the nameof a Rule element.</xsd:documentation>
- <xsd:documentation>Deprecated in BPMN1.1</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TriggerTimer">
- <xsd:annotation>
- <xsd:documentation>BPMN: If the Trigger Type is Timer then this must be present</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:choice>
- <xsd:element name="TimeDate" type="xpdl:ExpressionType" />
- <xsd:element name="TimeCycle" type="xpdl:ExpressionType" />
- </xsd:choice>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="TimeDate" type="xsd:string" use="optional">
- <xsd:annotation>
- <xsd:documentation>Deprecated</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="TimeCycle" type="xsd:string" use="optional">
- <xsd:annotation>
- <xsd:documentation>Deprecated</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TypeDeclaration">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:group ref="xpdl:DataTypes" />
- <xsd:element ref="xpdl:Description" minOccurs="0" />
- <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xsd:ID" use="required" />
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TypeDeclarations">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:TypeDeclaration" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="UnionType">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Member" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ValidFrom">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ValidTo">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Vendor">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="VendorExtension">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="ToolId" type="xsd:string" use="required" />
- <xsd:attribute name="schemaLocation" type="xsd:anyURI" use="required" />
- <xsd:attribute name="extensionDescription" type="xsd:anyURI" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="VendorExtensions">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:VendorExtension" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Version">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="WaitingTime">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="WebServiceFaultCatch">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="Message" type="xpdl:MessageType" minOccurs="0" />
- <xsd:choice>
- <xsd:element ref="xpdl:BlockActivity" />
- <xsd:element ref="xpdl:TransitionRef" />
- </xsd:choice>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="FaultName" type="xsd:NMTOKEN" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="WebServiceOperation">
- <xsd:annotation>
- <xsd:documentation>BPMN: If the Implementation is a WebService this is required.</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:choice>
- <xsd:element name="Partner">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="PartnerLinkId" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="RoleType" use="required">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="MyRole" />
- <xsd:enumeration value="PartnerRole" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Service">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:EndPoint" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="ServiceName" type="xsd:string" use="required" />
- <xsd:attribute name="PortName" type="xsd:string" use="required" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- </xsd:choice>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="OperationName" type="xsd:string" use="required" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="WorkflowProcess" type="xpdl:ProcessType">
- <xsd:key name="ActivitySetIds.WorkflowProcess">
- <xsd:selector xpath="./xpdl:ActivitySets/xpdl:ActivitySet" />
- <xsd:field xpath="@Id" />
- </xsd:key>
- <xsd:key name="ActivityIds.WorkflowProcess">
- <xsd:selector xpath="./xpdl:Activities/xpdl:Activity | ./xpdl:ActivitySets/xpdl:ActivitySet/xpdl:Activities/xpdl:Activity" />
- <xsd:field xpath="@Id" />
- </xsd:key>
- <xsd:key name="ActivityIdsTopLevel.WorkflowProcess">
- <xsd:selector xpath="./xpdl:Activities/xpdl:Activity" />
- <xsd:field xpath="@Id" />
- </xsd:key>
- <xsd:key name="TransitionIdsTopLevel.WorkflowProcess">
- <xsd:selector xpath="./xpdl:Transitions/xpdl:Transition" />
- <xsd:field xpath="@Id" />
- </xsd:key>
- <xsd:keyref name="DefaultStartActivitySetIdRef.WorkflowProcess" refer="xpdl:ActivitySetIds.WorkflowProcess">
- <xsd:selector xpath="." />
- <xsd:field xpath="@DefaultStartActivitySetId" />
- </xsd:keyref>
- <xsd:keyref name="DefaultStartActivityIdRef.WorkflowProcess" refer="xpdl:ActivityIds.WorkflowProcess">
- <xsd:selector xpath="." />
- <xsd:field xpath="@DefaultStartActivityId" />
- </xsd:keyref>
- <xsd:keyref name="BlockActivityActivitySetIdRef.WorkflowProcess" refer="xpdl:ActivitySetIds.WorkflowProcess">
- <xsd:selector xpath=".//xpdl:BlockActivity" />
- <xsd:field xpath="@ActivitySetId" />
- </xsd:keyref>
- <xsd:keyref name="BlockActivityStartActivityIdRef.WorkflowProcess" refer="xpdl:ActivityIds.WorkflowProcess">
- <xsd:selector xpath=".//xpdl:BlockActivity" />
- <xsd:field xpath="@StartActivityId" />
- </xsd:keyref>
- <xsd:keyref name="TransitionFromRef.WorkflowProcess" refer="xpdl:ActivityIdsTopLevel.WorkflowProcess">
- <xsd:selector xpath="./xpdl:Transitions/xpdl:Transition" />
- <xsd:field xpath="@From" />
- </xsd:keyref>
- <xsd:keyref name="TransitionToRef.WorkflowProcess" refer="xpdl:ActivityIdsTopLevel.WorkflowProcess">
- <xsd:selector xpath="./xpdl:Transitions/xpdl:Transition" />
- <xsd:field xpath="@To" />
- </xsd:keyref>
- <xsd:keyref name="TransitionRefIdRef.WorkflowProcess" refer="xpdl:TransitionIdsTopLevel.WorkflowProcess">
- <xsd:selector xpath="./xpdl:Activities/xpdl:Activity/xpdl:TransitionRestrictions/xpdl:TransitionRestriction/xpdl:Split/xpdl:TransitionRefs/xpdl:TransitionRef" />
- <xsd:field xpath="@Id" />
- </xsd:keyref>
- <!-- constrain to only activities in the top-level, not activitysets -->
- <!-- constrain to only transitions in the top-level, not activitysets -->
- <!-- check that specified default start activityset exists -->
- <!-- check that specified default start activity exists (note: incomplete test, does not constrain to optional activtyset specified by DefaultStartActivitySetId) -->
- <!-- check that the activityset specified in a blockactivity exists -->
- <!-- check that the start activity specified in a blockactivity exists (note: incomplete test, does not constrain to activtyset specified by ActivitySetId) -->
- <!-- check that the from and to specified in a transition exists -->
- <!-- check that the id specified in a transitionref exists -->
- </xsd:element>
- <xsd:element name="WorkflowProcesses">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:WorkflowProcess" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="WorkingTime">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="XPDLVersion">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:simpleType name="Id">
- <xsd:restriction base="xsd:NMTOKEN" />
- </xsd:simpleType>
- <xsd:simpleType name="IdRef">
- <xsd:restriction base="xsd:NMTOKEN" />
- </xsd:simpleType>
-</xsd:schema>
\ No newline at end of file
Deleted: api/trunk/modules/api/src/main/resources/bpmnxpdl_31_mods.xsd
===================================================================
--- api/trunk/modules/api/src/main/resources/bpmnxpdl_31_mods.xsd 2008-07-17 09:54:14 UTC (rev 1666)
+++ api/trunk/modules/api/src/main/resources/bpmnxpdl_31_mods.xsd 2008-07-17 12:19:40 UTC (rev 1667)
@@ -1,3230 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- This schema has some modifications
--->
-<xsd:schema targetNamespace="http://www.wfmc.org/2008/XPDL2.1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xpdl="http://www.wfmc.org/2008/XPDL2.1"
- elementFormDefault="qualified" attributeFormDefault="unqualified" version="31">
- <xsd:element name="Activities">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Activity" minOccurs="0" maxOccurs="unbounded">
- <xsd:annotation>
- <xsd:documentation>BPMN: corresponds to a flow object, which could be a BPMN activity, gateway, or event</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Activity">
- <xsd:annotation>
- <xsd:documentation>BPMN extension</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Description" minOccurs="0" />
- <xsd:element ref="xpdl:Limit" minOccurs="0" />
- <xsd:choice minOccurs="0">
- <xsd:element ref="xpdl:Route" />
- <xsd:element ref="xpdl:Implementation">
- <xsd:annotation>
- <xsd:documentation>BPMN: corresponds to an activity, which could be a task or subprocess.[Suggest change element to BpmnActivity, since there is an
- attribute Implementation which means something else entirely.]</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:choice minOccurs="0">
- <xsd:element ref="xpdl:BlockActivity" />
- </xsd:choice>
- <xsd:element ref="xpdl:Event">
- <xsd:annotation>
- <xsd:documentation>BPMN: Identifies XPDL activity as a BPMN event.</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- </xsd:choice>
- <xsd:element ref="xpdl:Transaction" minOccurs="0" />
- <xsd:element ref="xpdl:Performers" minOccurs="0" />
- <xsd:element ref="xpdl:Priority" minOccurs="0" />
- <xsd:choice minOccurs="0">
- <xsd:element ref="xpdl:Deadline" minOccurs="0" maxOccurs="unbounded" />
- </xsd:choice>
- <xsd:element ref="xpdl:SimulationInformation" minOccurs="0" />
- <xsd:element ref="xpdl:Icon" minOccurs="0" />
- <xsd:element ref="xpdl:Documentation" minOccurs="0" />
- <xsd:element ref="xpdl:TransitionRestrictions" minOccurs="0" />
- <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0" />
- <xsd:element ref="xpdl:DataFields" minOccurs="0" />
- <xsd:element ref="xpdl:InputSets" minOccurs="0" />
- <xsd:element ref="xpdl:OutputSets" minOccurs="0" />
- <xsd:element ref="xpdl:IORules" minOccurs="0" />
- <xsd:element ref="xpdl:Loop" minOccurs="0" />
- <xsd:element ref="xpdl:Assignments" minOccurs="0" />
- <xsd:element ref="xpdl:Object" minOccurs="0" />
- <xsd:element ref="xpdl:NodeGraphicsInfos" minOccurs="0" />
- <xsd:choice minOccurs="0">
- <xsd:sequence>
- <xsd:element name="Extensions" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- </xsd:choice>
- </xsd:sequence>
- <xsd:attribute name="Id" type="xpdl:Id" use="required">
- <xsd:annotation>
- <xsd:documentation>BPMN: unique identifier of the flow object</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="IsForCompensation" type="xsd:boolean" use="optional" />
- <xsd:attribute name="Name" type="xsd:string" use="optional">
- <xsd:annotation>
- <xsd:documentation>BPMN: label of the flow object in the diagram</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="StartActivity" type="xsd:boolean" use="optional">
- <xsd:annotation>
- <xsd:documentation> Designates the first activity to be executed when the process is instantiated. Used when there is no other way to determine this Conflicts
- with BPMN StartEvent and no process definition should use both.</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="Status" use="optional" default="None">
- <xsd:annotation>
- <xsd:documentation> BPMN: Status values are assigned during execution. Status can be treated as a property and used in expressions local to an Activity. It is
- unclear that status belongs in the XPDL document.</xsd:documentation>
- </xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="None" />
- <xsd:enumeration value="Ready" />
- <xsd:enumeration value="Active" />
- <xsd:enumeration value="Cancelled" />
- <xsd:enumeration value="Aborting" />
- <xsd:enumeration value="Aborted" />
- <xsd:enumeration value="Completing" />
- <xsd:enumeration value="Completed" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="StartMode">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="Automatic" />
- <xsd:enumeration value="Manual" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="FinishMode">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="Automatic" />
- <xsd:enumeration value="Manual" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="StartQuantity" type="xsd:integer" use="optional" default="1" />
- <xsd:attribute name="CompletionQuantity" type="xsd:integer" use="optional" default="1" />
- <xsd:attribute name="IsATransaction" type="xsd:boolean" use="optional" default="false" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ActivitySet">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Activities" minOccurs="0" />
- <xsd:element ref="xpdl:Transitions" minOccurs="0" />
- <xsd:element ref="xpdl:Object" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xpdl:Id" use="required" />
- <xsd:attribute name="Name" type="xsd:string" use="optional">
- <xsd:annotation>
- <xsd:documentation source="added to XPDL 2.0" />
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="AdHoc" type="xsd:boolean" use="optional" default="false">
- <xsd:annotation>
- <xsd:documentation>BPMN: for Embedded subprocess</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="AdHocOrdering" use="optional" default="Parallel">
- <xsd:annotation>
- <xsd:documentation>BPMN: for Embedded subprocess</xsd:documentation>
- </xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="Sequential" />
- <xsd:enumeration value="Parallel" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="AdHocCompletionCondition" type="xsd:string" use="optional">
- <xsd:annotation>
- <xsd:documentation>BPMN: for Embedded subprocess</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="DefaultStartActivityId" type="xpdl:IdRef" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- <xsd:key name="ActivityIds.ActivitySet">
- <xsd:selector xpath="./xpdl:Activities/xpdl:Activity" />
- <xsd:field xpath="@Id" />
- </xsd:key>
- <xsd:key name="TransitionIds.ActivitySet">
- <xsd:selector xpath="./xpdl:Transitions/xpdl:Transition" />
- <xsd:field xpath="@Id" />
- </xsd:key>
- <xsd:keyref name="DefaultStartActivityIdRef.ActivitySet" refer="xpdl:ActivityIds.ActivitySet">
- <xsd:selector xpath="." />
- <xsd:field xpath="@DefaultStartActivityId" />
- </xsd:keyref>
- <xsd:keyref name="TransitionFromRef.ActivitySet" refer="xpdl:ActivityIds.ActivitySet">
- <xsd:selector xpath="./xpdl:Transitions/xpdl:Transition" />
- <xsd:field xpath="@From" />
- </xsd:keyref>
- <xsd:keyref name="TransitionToRef.ActivitySet" refer="xpdl:ActivityIds.ActivitySet">
- <xsd:selector xpath="./xpdl:Transitions/xpdl:Transition" />
- <xsd:field xpath="@To" />
- </xsd:keyref>
- <xsd:keyref name="TransitionRefIdRef.ActivitySet" refer="xpdl:TransitionIds.ActivitySet">
- <xsd:selector xpath="./xpdl:Activities/xpdl:Activity/xpdl:TransitionRestrictions/xpdl:TransitionRestriction/xpdl:Split/xpdl:TransitionRefs/xpdl:TransitionRef" />
- <xsd:field xpath="@Id" />
- </xsd:keyref>
- <!-- check that the default start activity id exists -->
- <!-- check that the from and to specified in a transition exists -->
- <!-- check that the id specified in a transitionref exists -->
- </xsd:element>
- <xsd:element name="ActivitySets">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:ActivitySet" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ActualParameters">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="ActualParameter" type="xpdl:ExpressionType" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Application">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Description" minOccurs="0" />
- <xsd:element name="Type" type="xpdl:ApplicationType" minOccurs="0" />
- <xsd:choice>
- <xsd:element ref="xpdl:FormalParameters" />
- <xsd:element ref="xpdl:ExternalReference" minOccurs="0" />
- </xsd:choice>
- <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:complexType name="ApplicationType">
- <xsd:choice>
- <xsd:element name="Ejb">
- <xsd:annotation>
- <xsd:documentation> Call EJB component -- There can be max one formal parameter that is OUT, if it exists it has to be the last formal parameter. no INOUT
- formal parameters</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="JndiName">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="HomeClass">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Method">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Pojo">
- <xsd:annotation>
- <xsd:documentation> Call method on Java class -- There can be max one formal parameter that is OUT, if it exists it has to be the last formal parameter. no
- INOUT formal parameters</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="Class">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Method">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Xslt">
- <xsd:annotation>
- <xsd:documentation> Execute Tranformation -- Formal Parameters restrictions: one IN and one OUT formal parameters or only one INOUT formal parameter
- </xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="location" type="xsd:anyURI" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Script">
- <xsd:annotation>
- <xsd:documentation> Execute Script -- No additional restrictions for formal parameters. The suggestion: every Formal Parameter should be registered in the
- script scope as a global variable</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="Expression" type="xpdl:ExpressionType" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="WebService">
- <xsd:annotation>
- <xsd:documentation> For WSDL 1.2 -- Invoke WebService, all IN Fprmal Parameters will be mapped to input message, all OUT Formal Parameters will be maped from
- output message</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:WebServiceOperation" />
- <xsd:element ref="xpdl:WebServiceFaultCatch" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="InputMsgName" type="xsd:string" use="required">
- <xsd:annotation>
- <xsd:documentation>The name of inputMessage as defined in the WSDL which will help in uniquely identifying the operation to be invoked
- </xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="OutputMsgName" type="xsd:string" use="optional">
- <xsd:annotation>
- <xsd:documentation>The name of inputMessage as defined in the WSDL which will help in uniquely identifying the operation to be invoked
- </xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="BusinessRule">
- <xsd:annotation>
- <xsd:documentation>Invoke business rule</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="RuleName">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Location">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:anyURI">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Form">
- <xsd:annotation>
- <xsd:documentation>Placeholder for all form related additional information.</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="FormLayout" minOccurs="0">
- <xsd:complexType>
- <xsd:complexContent>
- <xsd:extension base="xsd:anyType">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:complexContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- </xsd:choice>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- <xsd:element name="Applications">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Application" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ArrayType">
- <xsd:complexType>
- <xsd:group ref="xpdl:DataTypes" />
- <xsd:attribute name="LowerIndex" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="UpperIndex" type="xsd:NMTOKEN" use="required" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Artifact">
- <xsd:annotation>
- <xsd:documentation>BPMN: Not further defined here.</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence minOccurs="0">
- <xsd:element ref="xpdl:Object" minOccurs="0" />
- <xsd:element ref="xpdl:Group" minOccurs="0" />
- <xsd:element ref="xpdl:DataObject" minOccurs="0" />
- <xsd:element ref="xpdl:NodeGraphicsInfos" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:attribute name="ArtifactType" use="required">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="DataObject" />
- <xsd:enumeration value="Group" />
- <xsd:enumeration value="Annotation" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="TextAnnotation" type="xsd:string" use="optional" />
- <xsd:attribute name="Group" type="xsd:string" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Artifacts">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence maxOccurs="unbounded">
- <xsd:element ref="xpdl:Artifact" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ArtifactInput">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="ArtifactId" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="RequiredForStart" type="xsd:boolean" use="optional" default="true" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Assignment">
- <xsd:annotation>
- <xsd:documentation>BPMN and XPDL</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="Target" type="xpdl:ExpressionType">
- <xsd:annotation>
- <xsd:documentation> lvalue expression of the assignment, in XPDL may be the name of a DataField, in BPMN name of a Property, in XPATH a reference
- </xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element name="Expression" type="xpdl:ExpressionType">
- <xsd:annotation>
- <xsd:documentation>rvalue expression of the assignment</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="AssignTime" use="optional" default="Start">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="Start" />
- <xsd:enumeration value="End" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Assignments">
- <xsd:annotation>
- <xsd:documentation>BPMN and XPDL</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Assignment" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Association">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence minOccurs="0">
- <xsd:element ref="xpdl:Object" />
- <xsd:element ref="xpdl:ConnectorGraphicsInfos" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="Source" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="Target" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:attribute name="AssociationDirection" use="optional" default="None">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="None" />
- <xsd:enumeration value="To" />
- <xsd:enumeration value="From" />
- <xsd:enumeration value="Both" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Associations">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence maxOccurs="unbounded">
- <xsd:element ref="xpdl:Association" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Author">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="BasicType">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Length" minOccurs="0" />
- <xsd:element ref="xpdl:Precision" minOccurs="0" />
- <xsd:element ref="xpdl:Scale" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Type" use="required">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="STRING" />
- <xsd:enumeration value="FLOAT" />
- <xsd:enumeration value="INTEGER" />
- <xsd:enumeration value="REFERENCE" />
- <xsd:enumeration value="DATETIME" />
- <xsd:enumeration value="DATE" />
- <xsd:enumeration value="TIME" />
- <xsd:enumeration value="BOOLEAN" />
- <xsd:enumeration value="PERFORMER" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="BlockActivity">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="ActivitySetId" type="xpdl:IdRef" use="required">
- <xsd:annotation>
- <xsd:documentation>BPMN: Corresponds to embedded subprocess. Pointer to ActivitySet/@Id in XPDL.</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="StartActivityId" type="xpdl:IdRef" use="optional" />
- <xsd:attribute name="View" use="optional" default="COLLAPSED">
- <xsd:annotation>
- <xsd:documentation>BPMN: Determines whether the subprocess is rendered as Collapsed or Expanded in diagram. Default is Collapsed.</xsd:documentation>
- </xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="COLLAPSED" />
- <xsd:enumeration value="EXPANDED" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Category">
- <xsd:annotation>
- <xsd:documentation> BPMN (and XPDL??Allows arbitrary grouping of various types of elements, for reporting.)</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Categories">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Category" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Codepage">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Condition">
- <xsd:complexType mixed="true">
- <xsd:choice minOccurs="0">
- <xsd:element name="Expression" type="xpdl:ExpressionType" minOccurs="0" />
- </xsd:choice>
- <xsd:attribute name="Type">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="CONDITION" />
- <xsd:enumeration value="OTHERWISE" />
- <xsd:enumeration value="EXCEPTION" />
- <xsd:enumeration value="DEFAULTEXCEPTION" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ConformanceClass">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="GraphConformance" use="optional" default="NON_BLOCKED">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="FULL_BLOCKED" />
- <xsd:enumeration value="LOOP_BLOCKED" />
- <xsd:enumeration value="NON_BLOCKED" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="BPMNModelPortabilityConformance" use="optional" default="NONE">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="NONE" />
- <xsd:enumeration value="SIMPLE" />
- <xsd:enumeration value="STANDARD" />
- <xsd:enumeration value="COMPLETE" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ConnectorGraphicsInfo">
- <xsd:annotation>
- <xsd:documentation>BPMN and XPDL</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence minOccurs="0">
- <xsd:element ref="xpdl:Coordinates" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="ToolId" type="xsd:NMTOKEN" use="optional" />
- <xsd:attribute name="IsVisible" type="xsd:boolean" use="optional" default="true" />
- <xsd:attribute name="PageId" type="xpdl:IdRef" use="optional" />
- <xsd:attribute name="Style" type="xsd:string" use="optional" />
- <xsd:attribute name="BorderColor" type="xsd:string" use="optional" />
- <xsd:attribute name="FillColor" type="xsd:string" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ConnectorGraphicsInfos">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:ConnectorGraphicsInfo" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Coordinates">
- <xsd:annotation>
- <xsd:documentation>BPMN and XPDL</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="XCoordinate" type="xsd:double" use="optional" />
- <xsd:attribute name="YCoordinate" type="xsd:double" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Cost">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="CostStructure">
- <xsd:annotation>
- <xsd:documentation> Activities incur costs in a number of way, the use up resources which may be people, machines, services, computers, office space, etc.
- Activities also use up fixed costs which may be assigned on an activity by activity basis, thus allowing for the assignment of overhead. Fixed costs are
- assigned in bulk, that is to say there is one fixed cost per activity. However resource costs are assigned on a resource by resource basis, each one having a
- cost and an associated time unit.</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:choice>
- <xsd:element ref="xpdl:ResourceCosts" minOccurs="0" maxOccurs="unbounded" />
- <xsd:element name="FixedCost" type="xsd:integer" />
- </xsd:choice>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="CostUnit">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Countrykey">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Created">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="DataField">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:DataType" />
- <xsd:element name="InitialValue" type="xpdl:ExpressionType" minOccurs="0" />
- <xsd:element ref="xpdl:Length" minOccurs="0" />
- <xsd:element ref="xpdl:Description" minOccurs="0" />
- <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:attribute name="ReadOnly" type="xsd:boolean" use="optional" default="false" />
- <xsd:attribute name="IsArray" type="xsd:boolean" use="optional" default="false" />
- <xsd:attribute name="Correlation" type="xsd:boolean" use="optional" default="false">
- <xsd:annotation>
- <xsd:documentation>Used in BPMN to support mapping to BPEL</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="DataFields">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:DataField" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="DataMappings">
- <xsd:annotation>
- <xsd:documentation>XPDL and BPMN:Maps fields or properties between calling and called processes or subprocesses</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:DataMapping" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="DataMapping">
- <xsd:annotation>
- <xsd:documentation>XPDL and BPMN:Maps fields between calling and called processes or subprocesses</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="Actual" type="xpdl:ExpressionType" />
- <xsd:element name="TestValue" type="xpdl:ExpressionType" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Formal" type="xsd:string" use="required" />
- <xsd:attribute name="Direction" default="IN">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="IN" />
- <xsd:enumeration value="OUT" />
- <xsd:enumeration value="INOUT" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="DataObject">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="DataField" minOccurs="0" maxOccurs="unbounded">
- <xsd:complexType>
- <xsd:attribute name="Id" type="xpdl:Id" use="required" />
- </xsd:complexType>
- </xsd:element>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:attribute name="State" type="xsd:string" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="DataType">
- <xsd:complexType>
- <xsd:group ref="xpdl:DataTypes" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:group name="DataTypes">
- <xsd:choice>
- <xsd:element ref="xpdl:BasicType" />
- <xsd:element ref="xpdl:DeclaredType" />
- <xsd:element ref="xpdl:SchemaType" />
- <xsd:element ref="xpdl:ExternalReference" />
- <xsd:element ref="xpdl:RecordType" />
- <xsd:element ref="xpdl:UnionType" />
- <xsd:element ref="xpdl:EnumerationType" />
- <xsd:element ref="xpdl:ArrayType" />
- <xsd:element ref="xpdl:ListType" />
- </xsd:choice>
- </xsd:group>
- <xsd:element name="Deadline">
- <xsd:annotation>
- <xsd:documentation>BPMN provides a timer event to support this type of functionality and it is the preferred method for doing this.</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="DeadlineDuration" type="xpdl:ExpressionType" minOccurs="0" />
- <xsd:element name="ExceptionName" minOccurs="0">
- <xsd:annotation>
- <xsd:documentation>This name should match that specified in Transition/Condition/Expression</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Execution">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="ASYNCHR" />
- <xsd:enumeration value="SYNCHR" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="DeclaredType">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xsd:IDREF" use="required" />
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Description">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Documentation">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Duration">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="EndEvent">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:choice>
- <xsd:element ref="xpdl:TriggerResultMessage" minOccurs="0" />
- <xsd:element ref="xpdl:ResultError" minOccurs="0" />
- <xsd:element ref="xpdl:TriggerResultCompensation" minOccurs="0" />
- <xsd:element ref="xpdl:TriggerResultSignal" minOccurs="0" />
- <xsd:element ref="xpdl:ResultMultiple" minOccurs="0" />
- </xsd:choice>
- <xsd:attribute name="Result" use="optional" default="None">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="None" />
- <xsd:enumeration value="Message" />
- <xsd:enumeration value="Error" />
- <xsd:enumeration value="Cancel" />
- <xsd:enumeration value="Compensation" />
- <xsd:enumeration value="Signal" />
- <xsd:enumeration value="Terminate" />
- <xsd:enumeration value="Multiple" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="Implementation" use="optional" default="WebService">
- <xsd:annotation>
- <xsd:documentation> Required if the Trigger or Result is Message</xsd:documentation>
- </xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="WebService" />
- <xsd:enumeration value="Other" />
- <xsd:enumeration value="Unspecified" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="EndPoint">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:ExternalReference" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="EndPointType" use="optional" default="WSDL">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="WSDL" />
- <xsd:enumeration value="Service" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="EnumerationType">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:EnumerationValue" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="EnumerationValue">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Name" type="xsd:NMTOKEN" use="required" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Event">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:choice>
- <xsd:element ref="xpdl:StartEvent" minOccurs="0" />
- <xsd:element ref="xpdl:IntermediateEvent" minOccurs="0" />
- <xsd:element ref="xpdl:EndEvent" minOccurs="0" />
- </xsd:choice>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:complexType name="ExpressionType" mixed="true">
- <xsd:choice minOccurs="0" maxOccurs="unbounded">
- <xsd:any processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:choice>
- <xsd:attribute name="ScriptType" type="xsd:string" use="optional" />
- <xsd:attribute name="ScriptVersion" type="xsd:string" use="optional" />
- <xsd:attribute name="ScriptGrammar" type="xsd:anyURI" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- <xsd:element name="ExtendedAttribute">
- <xsd:complexType mixed="true">
- <xsd:choice minOccurs="0" maxOccurs="unbounded">
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:choice>
- <xsd:attribute name="Name" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="Value" type="xsd:string" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ExtendedAttributes">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:ExtendedAttribute" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ExternalPackage">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="href" type="xsd:string" />
- <xsd:attribute name="Id" type="xsd:NMTOKEN" />
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ExternalPackages">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:ExternalPackage" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ExternalReference">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="xref" type="xsd:NMTOKEN" use="optional" />
- <xsd:attribute name="location" type="xsd:anyURI" use="required" />
- <xsd:attribute name="namespace" type="xsd:anyURI" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="FormalParameter">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:DataType" />
- <xsd:element name="InitialValue" type="xpdl:ExpressionType" minOccurs="0" />
- <xsd:element ref="xpdl:Description" minOccurs="0" />
- <xsd:element ref="xpdl:Length" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="Mode" default="IN">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="IN" />
- <xsd:enumeration value="OUT" />
- <xsd:enumeration value="INOUT" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:attribute name="ReadOnly" type="xsd:boolean" use="optional" default="false" />
- <xsd:attribute name="Required" type="xsd:boolean" use="optional" default="false" />
- <xsd:attribute name="IsArray" type="xsd:boolean" use="optional" default="false" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="FormalParameters">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:choice minOccurs="0">
- <xsd:element ref="xpdl:FormalParameter" minOccurs="0" maxOccurs="unbounded" />
- </xsd:choice>
- <xsd:choice minOccurs="0">
- <xsd:sequence>
- <xsd:element name="Extensions" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- </xsd:choice>
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Group">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Category" minOccurs="0" />
- <xsd:element name="Object" minOccurs="0" maxOccurs="unbounded">
- <xsd:complexType>
- <xsd:attribute name="Id" type="xpdl:Id" use="required" />
- </xsd:complexType>
- </xsd:element>
- <xsd:any namespace="##other" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Icon">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:attribute name="XCOORD" type="xsd:integer" use="optional" />
- <xsd:attribute name="YCOORD" type="xsd:integer" use="optional" />
- <xsd:attribute name="WIDTH" type="xsd:integer" use="optional" />
- <xsd:attribute name="HEIGHT" type="xsd:integer" use="optional" />
- <xsd:attribute name="SHAPE" use="optional" default="RoundRectangle">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="RoundRectangle" />
- <xsd:enumeration value="Rectangle" />
- <xsd:enumeration value="Ellipse" />
- <xsd:enumeration value="Diamond" />
- <xsd:enumeration value="Ellipse" />
- <xsd:enumeration value="UpTriangle" />
- <xsd:enumeration value="DownTriangle" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Implementation">
- <xsd:complexType>
- <xsd:choice minOccurs="0">
- <xsd:element ref="xpdl:No" minOccurs="0">
- <xsd:annotation>
- <xsd:documentation>BPMN: corresponds to a task with unspecified TaskType</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element ref="xpdl:Task" minOccurs="0">
- <xsd:annotation>
- <xsd:documentation>BPMN: corresponds to a task with specified TaskType</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element ref="xpdl:SubFlow" minOccurs="0">
- <xsd:annotation>
- <xsd:documentation>BPMN: corresponds to Reusable subprocess. May run in different pool or same pool.</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element ref="xpdl:Reference" minOccurs="0" />
- </xsd:choice>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Input">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="ArtifactId" type="xsd:NMTOKEN" use="required" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="InputSet">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Input" maxOccurs="unbounded" />
- <xsd:element ref="xpdl:ArtifactInput" minOccurs="0" maxOccurs="unbounded" />
- <xsd:element ref="xpdl:PropertyInput" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="InputSets">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:InputSet" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="IntermediateEvent">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:choice minOccurs="0">
- <xsd:element ref="xpdl:TriggerResultMessage" minOccurs="0" />
- <xsd:element ref="xpdl:TriggerTimer" minOccurs="0" />
- <xsd:element ref="xpdl:ResultError" minOccurs="0" />
- <xsd:element ref="xpdl:TriggerResultCompensation" minOccurs="0">
- <xsd:annotation>
- <xsd:documentation>BPMN: Must be present if if Trigger or ResultType is Compensation.[This event can be attached or throwing. Thus name of element
- should be TriggerResultCompensation.]</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element ref="xpdl:TriggerConditional" minOccurs="0" />
- <xsd:element ref="xpdl:TriggerResultLink" minOccurs="0">
- <xsd:annotation>
- <xsd:documentation>BPMN: Link event connects source and target nodes of the same process or subprocess. Equivalent to a sequence flow between source
- and target nodes.</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element ref="xpdl:TriggerResultCancel" minOccurs="0" />
- <xsd:element ref="xpdl:TriggerResultSignal" minOccurs="0" />
- <xsd:element ref="xpdl:TriggerIntermediateMultiple" minOccurs="0">
- <xsd:annotation>
- <xsd:documentation>BPMN: if the TriggerType is Multiple then this must be present. Only valid for attached event. [EventDetail elements are incorrect.
- They should be message, timer, error, conditional, signal, cancel.]</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- </xsd:choice>
- <xsd:attribute name="Trigger" use="required">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="None" />
- <xsd:enumeration value="Message" />
- <xsd:enumeration value="Timer" />
- <xsd:enumeration value="Error" />
- <xsd:enumeration value="Cancel" />
- <xsd:enumeration value="Conditional" />
- <xsd:enumeration value="Link" />
- <xsd:enumeration value="Signal" />
- <xsd:enumeration value="Compensation" />
- <xsd:enumeration value="Multiple" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="Implementation" use="optional" default="WebService">
- <xsd:annotation>
- <xsd:documentation>Required if the Trigger is Message</xsd:documentation>
- </xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="WebService" />
- <xsd:enumeration value="Other" />
- <xsd:enumeration value="Unspecified" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="Target" type="xpdl:Id" use="optional">
- <xsd:annotation>
- <xsd:documentation>BPMN: Presence of attribute indicates attached intermediate event; attribute value points to the BPMN activity (task or subprocess)
- the event is attached to. Absence of the attribute indicates intermediate event in sequence flow. Pointer to Activity/@Id, where activity type must be a
- task or subprocess.</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="IORules">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="Expression" type="xpdl:ExpressionType" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Join">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Type">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="Exclusive" />
- <xsd:enumeration value="Inclusive" />
- <xsd:enumeration value="Complex" />
- <xsd:enumeration value="Parallel" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="ExclusiveType" use="optional" default="Data">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="Data" />
- <xsd:enumeration value="Event" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="IncomingCondtion" type="xsd:string" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Lane">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence minOccurs="0">
- <xsd:element ref="xpdl:Object" minOccurs="0" />
- <xsd:element ref="xpdl:NodeGraphicsInfos" minOccurs="0" />
- <xsd:element ref="xpdl:Performers" minOccurs="0" />
- <xsd:element name="NestedLane" minOccurs="0" maxOccurs="unbounded">
- <xsd:complexType>
- <xsd:attribute name="LaneId" type="xsd:NMTOKEN" use="required" />
- </xsd:complexType>
- </xsd:element>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Lanes">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Lane" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="LayoutInfo">
- <xsd:complexType>
- <xsd:attribute name="PixelsPerMillimeter" type="xsd:float" use="optional">
- <xsd:annotation>
- <xsd:documentation>Co-ordinates / Sizes are in pixels - this attribute specifies the number of pixels per millimeter used by application.
- </xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Length">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Limit">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ListType">
- <xsd:complexType>
- <xsd:group ref="xpdl:DataTypes" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Loop">
- <xsd:annotation>
- <xsd:documentation>BPMN (and possibly XPDL)</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:choice>
- <xsd:element ref="xpdl:LoopStandard" />
- <xsd:element ref="xpdl:LoopMultiInstance" />
- </xsd:choice>
- <xsd:attribute name="LoopType" use="required">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="Standard" />
- <xsd:enumeration value="MultiInstance" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="LoopMultiInstance">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="MI_Condition" type="xpdl:ExpressionType" minOccurs="0" />
- <xsd:element name="ComplexMI_FlowCondition" type="xpdl:ExpressionType" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="MI_Condition" type="xsd:string" use="optional" />
- <xsd:attribute name="LoopCounter" type="xsd:integer">
- <xsd:annotation>
- <xsd:documentation> This is updated at run time to count the number of executions of the loop and is available as a property to be used in expressions. Does
- this belong in the XPDL?</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="MI_Ordering" use="required">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="Sequential" />
- <xsd:enumeration value="Parallel" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="MI_FlowCondition" use="optional" default="All">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="None" />
- <xsd:enumeration value="One" />
- <xsd:enumeration value="All" />
- <xsd:enumeration value="Complex" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="ComplexMI_FlowCondition" type="xsd:string" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="LoopStandard">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="LoopCondition" type="xpdl:ExpressionType" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="LoopCondition" type="xsd:string" use="optional" />
- <xsd:attribute name="LoopCounter" type="xsd:integer">
- <xsd:annotation>
- <xsd:documentation> This is updated at run time to count the number of executions of the loop and is available as a property to be used in expressions. Does
- this belong in the XPDL?</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="LoopMaximum" type="xsd:integer" use="optional" />
- <xsd:attribute name="TestTime" use="required">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="Before" />
- <xsd:enumeration value="After" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Member">
- <xsd:complexType>
- <xsd:group ref="xpdl:DataTypes" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:complexType name="MessageType">
- <xsd:annotation>
- <xsd:documentation>Formal Parameters defined by WSDL. Must constraint the parameters to either all in or all out, because Message is in a single direction
- </xsd:documentation>
- </xsd:annotation>
- <xsd:sequence minOccurs="0">
- <xsd:choice minOccurs="0">
- <xsd:element ref="xpdl:ActualParameters" />
- <xsd:element ref="xpdl:DataMappings" />
- </xsd:choice>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:attribute name="From" type="xsd:NMTOKEN" use="optional">
- <xsd:annotation>
- <xsd:documentation>This must be the name of a Participant</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="To" type="xsd:NMTOKEN" use="optional">
- <xsd:annotation>
- <xsd:documentation>This must be the name of a participant</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="FaultName" type="xsd:NMTOKEN" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- <xsd:element name="MessageFlow">
- <xsd:annotation>
- <xsd:documentation>:BPMN:</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence minOccurs="0">
- <xsd:element name="Message" type="xpdl:MessageType" minOccurs="0" />
- <xsd:element ref="xpdl:Object" minOccurs="0" />
- <xsd:element ref="xpdl:ConnectorGraphicsInfos" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:attribute name="Source" type="xpdl:IdRef" use="required" />
- <xsd:attribute name="Target" type="xpdl:IdRef" use="required" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="MessageFlows">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence minOccurs="0" maxOccurs="unbounded">
- <xsd:element ref="xpdl:MessageFlow" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ModificationDate">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="No">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="NodeGraphicsInfo">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Coordinates" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="ToolId" type="xsd:string" use="optional" />
- <xsd:attribute name="IsVisible" type="xsd:boolean" use="optional" default="true" />
- <xsd:attribute name="PageId" type="xpdl:IdRef" use="optional" />
- <xsd:attribute name="LaneId" type="xsd:NMTOKEN" use="optional" />
- <xsd:attribute name="Height" type="xsd:double" use="optional" />
- <xsd:attribute name="Width" type="xsd:double" use="optional" />
- <xsd:attribute name="BorderColor" type="xsd:string" use="optional" />
- <xsd:attribute name="FillColor" type="xsd:string" use="optional" />
- <xsd:attribute name="Shape" type="xsd:string" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="NodeGraphicsInfos">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:NodeGraphicsInfo" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Object">
- <xsd:annotation>
- <xsd:documentation>BPMN: This is used to identify the Activity in an EndEvent Compensation???Also used to associate categories and ocumentation with a
- variety of elements</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence minOccurs="0">
- <xsd:element ref="xpdl:Categories" minOccurs="0" />
- <xsd:element ref="xpdl:Documentation" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required">
- <xsd:annotation>
- <xsd:documentation>This identifies any Object in the BPMN diagram.</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Output">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="ArtifactId" type="xsd:NMTOKEN" use="required" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="OutputSet">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Output" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="OutputSets">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:OutputSet" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Package" type="xpdl:PackageType">
- <xsd:key name="ProcessIds.Package">
- <xsd:selector xpath=".//xpdl:WorkflowProcess | .//xpdl:ActivitySet" />
- <xsd:field xpath="@Id" />
- </xsd:key>
- <xsd:keyref name="PoolProcessIdRef.Package" refer="xpdl:ProcessIds.Package">
- <xsd:selector xpath=".//xpdl:Pool" />
- <xsd:field xpath="@Process" />
- </xsd:keyref>
- <xsd:key name="ProcessIdsTopLevel.Package">
- <xsd:selector xpath=".//xpdl:WorkflowProcess" />
- <xsd:field xpath="@Id" />
- </xsd:key>
- <xsd:keyref name="SubFlowIdRef.Package" refer="xpdl:ProcessIdsTopLevel.Package">
- <xsd:selector xpath=".//xpdl:SubFlow" />
- <xsd:field xpath="@Id" />
- </xsd:keyref>
- <xsd:key name="ActivitySetIds.Package">
- <xsd:selector xpath=".//xpdl:ActivitySet" />
- <xsd:field xpath="@Id" />
- </xsd:key>
- <xsd:keyref name="SubFlowStartActivitySetIdRef.Package" refer="xpdl:ActivitySetIds.Package">
- <xsd:selector xpath=".//xpdl:SubFlow" />
- <xsd:field xpath="@StartActivitySetId" />
- </xsd:keyref>
- <xsd:key name="ActivityIds.Package">
- <xsd:selector xpath=".//xpdl:Activity" />
- <xsd:field xpath="@Id" />
- </xsd:key>
- <xsd:keyref name="SubFlowStartActivityIdRef.Package" refer="xpdl:ActivityIds.Package">
- <xsd:selector xpath=".//xpdl:SubFlow" />
- <xsd:field xpath="@StartActivityId" />
- </xsd:keyref>
- <xsd:keyref name="TaskReferenceTaskRef.Package" refer="xpdl:ActivityIds.Package">
- <xsd:selector xpath=".//xpdl:TaskReference" />
- <xsd:field xpath="@TaskRef" />
- </xsd:keyref>
- <xsd:key name="LaneIds.Package">
- <xsd:selector xpath=".//xpdl:Lane" />
- <xsd:field xpath="@Id" />
- </xsd:key>
- <xsd:keyref name="NodeGraphicsInfoLaneIdRef.Package" refer="xpdl:LaneIds.Package">
- <xsd:selector xpath=".//xpdl:NodeGraphicsInfo" />
- <xsd:field xpath="@LaneId" />
- </xsd:keyref>
- <xsd:key name="PageIds.Package">
- <xsd:selector xpath=".//xpdl:Page" />
- <xsd:field xpath="@Id" />
- </xsd:key>
- <xsd:keyref name="GraphicsInfoPageIdRef.Package" refer="xpdl:PageIds.Package">
- <xsd:selector xpath=".//xpdl:NodeGraphicsInfo | .//xpdl:ConnectorGraphicsInfo" />
- <xsd:field xpath="@PageId" />
- </xsd:keyref>
- <xsd:key name="PoolAndActivityIds.Package">
- <xsd:selector xpath=".//xpdl:Pool | .//xpdl:Activity" />
- <xsd:field xpath="@Id" />
- </xsd:key>
- <xsd:keyref name="MessageFlowSourceRef.Package" refer="xpdl:PoolAndActivityIds.Package">
- <xsd:selector xpath=".//xpdl:MessageFlow" />
- <xsd:field xpath="@Source" />
- </xsd:keyref>
- <xsd:keyref name="MessageFlowTargetRef.Package" refer="xpdl:PoolAndActivityIds.Package">
- <xsd:selector xpath=".//xpdl:MessageFlow" />
- <xsd:field xpath="@Target" />
- </xsd:keyref>
- <!-- checks that process id referred to by pool exists -->
- <!-- checks that process id referred to by subflow exists (must be top-level, not an activityset) -->
- <!-- checks that start activityset referred to by subflow exists (note: incomplete test, does not constrain to process specified by subflow) -->
- <!-- checks that start activity referred to by subflow exists (note: incomplete test, does not constrain to process specified by subflow) -->
- <!-- checks that activity referred to by taskreference exists (note: may be incomplete test, does not constrain to same process that contains the task) -->
- <!-- checks that lane id referred to by nodegraphicsinfo exists -->
- <!-- checks that page id referred to by grahicsinfo exists -->
- <!-- checks that source and target referred to by messageflow exists (note: incomplete test, does check that source/target are, or are in, separate pools) -->
- </xsd:element>
- <xsd:complexType name="PackageType">
- <xsd:sequence>
- <xsd:element ref="xpdl:PackageHeader" />
- <xsd:element ref="xpdl:RedefinableHeader" minOccurs="0" />
- <xsd:element ref="xpdl:ConformanceClass" minOccurs="0" />
- <xsd:element ref="xpdl:Script" minOccurs="0" />
- <xsd:element ref="xpdl:ExternalPackages" minOccurs="0" />
- <xsd:element ref="xpdl:TypeDeclarations" minOccurs="0" />
- <xsd:element ref="xpdl:Participants" minOccurs="0" />
- <xsd:element ref="xpdl:Applications" minOccurs="0" />
- <xsd:element ref="xpdl:DataFields" minOccurs="0" />
- <xsd:element ref="xpdl:PartnerLinkTypes" minOccurs="0" />
- <xsd:element ref="xpdl:Pages" minOccurs="0" />
- <xsd:element ref="xpdl:Pools" minOccurs="0" />
- <xsd:element ref="xpdl:MessageFlows" minOccurs="0" />
- <xsd:element ref="xpdl:Associations" minOccurs="0" />
- <xsd:element ref="xpdl:Artifacts" minOccurs="0" />
- <xsd:element ref="xpdl:WorkflowProcesses" minOccurs="0" />
- <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xpdl:Id" use="required">
- <xsd:annotation>
- <xsd:documentation>BPMN: Corresponds to BPD identifier. Target of @DiagramRef in Subflow.</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:attribute name="Language" type="xsd:string" use="optional" />
- <xsd:attribute name="QueryLanguage" type="xsd:string" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- <xsd:element name="PackageHeader">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:XPDLVersion" />
- <xsd:element ref="xpdl:Vendor" />
- <xsd:element ref="xpdl:Created" />
- <xsd:element ref="xpdl:ModificationDate" minOccurs="0" />
- <xsd:element ref="xpdl:Description" minOccurs="0" />
- <xsd:element ref="xpdl:Documentation" minOccurs="0" />
- <xsd:element ref="xpdl:PriorityUnit" minOccurs="0" />
- <xsd:element ref="xpdl:CostUnit" minOccurs="0" />
- <xsd:element ref="xpdl:VendorExtensions" minOccurs="0" />
- <xsd:element ref="xpdl:LayoutInfo" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Page">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:attribute name="Id" type="xpdl:Id" use="required" />
- <xsd:attribute name="Height" type="xsd:double" use="optional" />
- <xsd:attribute name="Width" type="xsd:double" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Pages">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Page" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Participant">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:ParticipantType" />
- <xsd:element ref="xpdl:Description" minOccurs="0" />
- <xsd:element ref="xpdl:ExternalReference" minOccurs="0" />
- <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ParticipantType">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Type" use="required">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="RESOURCE_SET" />
- <xsd:enumeration value="RESOURCE" />
- <xsd:enumeration value="ROLE" />
- <xsd:enumeration value="ORGANIZATIONAL_UNIT" />
- <xsd:enumeration value="HUMAN" />
- <xsd:enumeration value="SYSTEM" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Participants">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Participant" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="PartnerLink">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="MyRole" minOccurs="0">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="RoleName" type="xsd:string" use="required" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="PartnerRole" minOccurs="0">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:EndPoint" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="RoleName" type="xsd:string" use="required" />
- <xsd:attribute name="ServiceName" type="xsd:string" use="optional" />
- <xsd:attribute name="PortName" type="xsd:string" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" />
- <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="PartnerLinkTypeId" type="xsd:NMTOKEN" use="required" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="PartnerLinks">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:PartnerLink" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="PartnerLinkType">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="Role" maxOccurs="2">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="portType" type="xsd:string" use="required" />
- <xsd:attribute name="Name" type="xsd:string" use="required" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="name" type="xsd:string" use="required" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="PartnerLinkTypes">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:PartnerLinkType" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Performer">
- <xsd:annotation>
- <xsd:documentation>A String or Expression designating the Performer</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Performers">
- <xsd:annotation>
- <xsd:documentation>BPMN and XPDL</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Performer" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Pool">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Lanes" minOccurs="0" />
- <xsd:element ref="xpdl:Object" minOccurs="0" />
- <xsd:element ref="xpdl:NodeGraphicsInfos" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xpdl:Id" use="required">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="Name" type="xsd:string" use="optional">
- <xsd:annotation>
- <xsd:documentation>BPMN: Pool label in diagram</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="Orientation" use="optional" default="HORIZONTAL">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="HORIZONTAL" />
- <xsd:enumeration value="VERTICAL" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="Process" type="xpdl:IdRef" use="optional">
- <xsd:annotation>
- <xsd:documentation>BPMN: Pointer to WorkflowProcess/@Id; presence indicates this pool is part of an internal (private) process.</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="Participant" type="xsd:NMTOKEN" use="optional" />
- <xsd:attribute name="BoundaryVisible" type="xsd:boolean" use="required" />
- <xsd:attribute name="MainPool" type="xsd:boolean" use="optional" default="false" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Pools">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Pool" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Precision">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:short">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Priority">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="PriorityUnit">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ProcessHeader">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Created" minOccurs="0" />
- <xsd:element ref="xpdl:Description" minOccurs="0" />
- <xsd:element ref="xpdl:Priority" minOccurs="0" />
- <xsd:element ref="xpdl:Limit" minOccurs="0" />
- <xsd:element ref="xpdl:ValidFrom" minOccurs="0" />
- <xsd:element ref="xpdl:ValidTo" minOccurs="0" />
- <xsd:element ref="xpdl:TimeEstimation" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="DurationUnit">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="Y" />
- <xsd:enumeration value="M" />
- <xsd:enumeration value="D" />
- <xsd:enumeration value="h" />
- <xsd:enumeration value="m" />
- <xsd:enumeration value="s" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:complexType name="ProcessType">
- <xsd:sequence>
- <xsd:element ref="xpdl:ProcessHeader" />
- <xsd:element ref="xpdl:RedefinableHeader" minOccurs="0" />
- <xsd:element ref="xpdl:FormalParameters" minOccurs="0" />
- <xsd:element ref="xpdl:InputSets" minOccurs="0" />
- <xsd:element ref="xpdl:OutputSets" minOccurs="0" />
- <xsd:choice minOccurs="0">
- <xsd:annotation>
- <xsd:documentation>changes xpdl 1.0 order</xsd:documentation>
- </xsd:annotation>
- <xsd:sequence minOccurs="0">
- <xsd:element ref="xpdl:Participants" minOccurs="0" />
- <xsd:element ref="xpdl:Applications" minOccurs="0" />
- <xsd:element ref="xpdl:DataFields" minOccurs="0" />
- </xsd:sequence>
- </xsd:choice>
- <xsd:element ref="xpdl:ActivitySets" minOccurs="0" />
- <xsd:element ref="xpdl:Activities" minOccurs="0" />
- <xsd:element ref="xpdl:Transitions" minOccurs="0" />
- <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0" />
- <xsd:element ref="xpdl:Assignments" minOccurs="0" />
- <xsd:element ref="xpdl:PartnerLinks" minOccurs="0" />
- <xsd:element ref="xpdl:Object" minOccurs="0" />
- <xsd:choice minOccurs="0">
- <xsd:sequence>
- <xsd:element name="Extensions" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- </xsd:choice>
- </xsd:sequence>
- <xsd:attribute name="Id" type="xpdl:Id" use="required">
- <xsd:annotation>
- <xsd:documentation>BPMN: unique identifier for the process, referenced by Pool</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="Name" type="xsd:string" use="optional">
- <xsd:annotation>
- <xsd:documentation>BPMN: label of WorkflowProcess in diagram, should be same as for Pool</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="AccessLevel" use="optional" default="PUBLIC">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="PUBLIC" />
- <xsd:enumeration value="PRIVATE" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="ProcessType" use="optional" default="None">
- <xsd:annotation>
- <xsd:documentation>BPMN:</xsd:documentation>
- </xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="None" />
- <xsd:enumeration value="Private" />
- <xsd:enumeration value="Abstract" />
- <xsd:enumeration value="Collaboration" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="Status" use="optional" default="None">
- <xsd:annotation>
- <xsd:documentation> BPMN: Status values are assigned during execution. Status can be treated as a property and used in expressions local to a Process. It is
- unclear that status belongs in the XPDL document.</xsd:documentation>
- </xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="None" />
- <xsd:enumeration value="Ready" />
- <xsd:enumeration value="Active" />
- <xsd:enumeration value="Cancelled" />
- <xsd:enumeration value="Aborting" />
- <xsd:enumeration value="Aborted" />
- <xsd:enumeration value="Completing" />
- <xsd:enumeration value="Completed" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="SuppressJoinFailure" type="xsd:boolean" use="optional" default="false" />
- <xsd:attribute name="EnableInstanceCompensation" type="xsd:boolean" use="optional" default="false" />
- <xsd:attribute name="AdHoc" type="xsd:boolean" use="optional" default="false">
- <xsd:annotation>
- <xsd:documentation>BPMN: for Embedded subprocess</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="AdHocOrdering" use="optional" default="Parallel">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="Sequential" />
- <xsd:enumeration value="Parallel" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="AdHocCompletionCondition" type="xsd:string" use="optional" />
- <xsd:attribute name="DefaultStartActivitySetId" type="xpdl:IdRef" use="optional" />
- <xsd:attribute name="DefaultStartActivityId" type="xpdl:IdRef" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- <xsd:element name="PropertyInput">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="PropertyId" type="xsd:NMTOKEN" use="required" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="RecordType">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Member" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="RedefinableHeader">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Author" minOccurs="0" />
- <xsd:element ref="xpdl:Version" minOccurs="0" />
- <xsd:element ref="xpdl:Codepage" minOccurs="0" />
- <xsd:element ref="xpdl:Countrykey" minOccurs="0" />
- <xsd:element ref="xpdl:Responsibles" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="PublicationStatus">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="UNDER_REVISION" />
- <xsd:enumeration value="RELEASED" />
- <xsd:enumeration value="UNDER_TEST" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Reference">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="ActivityId" type="xpdl:IdRef" use="required">
- <xsd:annotation>
- <xsd:documentation>BPMN: Reference to a BPMN task or subprocess definition elsewhere; should not be used for gateway or event. Pointer to Activity/@Id in
- XPDL.</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ResourceCosts">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="ResourceCostName">
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
- <xsd:maxLength value="100" />
- <xsd:minLength value="0" />
- <xsd:whiteSpace value="preserve" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:element>
- <xsd:element name="ResourceCost">
- <xsd:simpleType>
- <xsd:restriction base="xsd:decimal">
- <xsd:fractionDigits value="2" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:element>
- <xsd:element name="CostUnitOfTime">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="second" />
- <xsd:enumeration value="minute" />
- <xsd:enumeration value="hour" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Responsible">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Responsibles">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Responsible" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TriggerResultCompensation">
- <xsd:annotation>
- <xsd:documentation>BPMN: Must be present if if Trigger or ResultType is Compensation.</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="ActivityId" type="xsd:NMTOKEN" use="optional">
- <xsd:annotation>
- <xsd:documentation> This supplies the Id of the Activity to be Compensated. Used only for intermediate events or end events in the seuence flow. Events
- attached to the boundary of an activity already know the Id.</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ResultError">
- <xsd:annotation>
- <xsd:documentation>BPMN: Must be present if Trigger or ResultType is error.</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="ErrorCode" type="xsd:string" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ResultMultiple">
- <xsd:annotation>
- <xsd:documentation>BPMN: Must be present if ResultType is Multiple.</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:annotation>
- <xsd:documentation>at least two results must be present</xsd:documentation>
- </xsd:annotation>
- <xsd:element ref="xpdl:TriggerResultMessage" minOccurs="0" />
- <xsd:element ref="xpdl:TriggerResultLink" minOccurs="0" />
- <xsd:element ref="xpdl:TriggerResultCompensation" minOccurs="0" />
- <xsd:element ref="xpdl:ResultError" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Route">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="GatewayType" use="optional" default="Exclusive">
- <xsd:annotation>
- <xsd:documentation> Used when needed for BPMN Gateways. Gate and sequence information is associated with the Transition Element.</xsd:documentation>
- </xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="Exclusive" />
- <xsd:enumeration value="Inclusive" />
- <xsd:enumeration value="Complex" />
- <xsd:enumeration value="AND" />
- <xsd:enumeration value="Parallel" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="ExclusiveType" use="optional" default="Data">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="Data" />
- <xsd:enumeration value="Event" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="Instantiate" type="xsd:boolean" use="optional" default="false" />
- <xsd:attribute name="MarkerVisible" type="xsd:boolean" use="optional" default="false">
- <xsd:annotation>
- <xsd:documentation>Applicable only to XOR Gateways</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="IncomingCondition" type="xsd:string" use="optional" />
- <xsd:attribute name="OutgoingCondition" type="xsd:string" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Rule">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="Expression" type="xpdl:ExpressionType" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Scale">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:short">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="SchemaType">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Script">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Type" type="xsd:string" use="required" />
- <xsd:attribute name="Version" type="xsd:string" use="optional" />
- <xsd:attribute name="Grammar" type="xsd:anyURI" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="SimulationInformation">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Cost" />
- <xsd:element ref="xpdl:TimeEstimation" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Instantiation">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="ONCE" />
- <xsd:enumeration value="MULTIPLE" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Split">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:TransitionRefs" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Type">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="Exclusive" />
- <xsd:enumeration value="Inclusive" />
- <xsd:enumeration value="Complex" />
- <xsd:enumeration value="Parallel" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="ExclusiveType" use="optional" default="Data">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="Data" />
- <xsd:enumeration value="Event" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="OutgoingCondition" type="xsd:string" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="StartEvent">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:choice minOccurs="0">
- <xsd:element ref="xpdl:TriggerResultMessage" minOccurs="0" />
- <xsd:element ref="xpdl:TriggerTimer" minOccurs="0" />
- <xsd:element ref="xpdl:TriggerConditional" minOccurs="0" />
- <xsd:element ref="xpdl:TriggerResultSignal" minOccurs="0" />
- <xsd:element ref="xpdl:TriggerMultiple" minOccurs="0" />
- </xsd:choice>
- <xsd:attribute name="Trigger" use="required">
- <xsd:annotation>
- <xsd:documentation>BPMN: Trigger or Result type for the event</xsd:documentation>
- </xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="None" />
- <xsd:enumeration value="Message" />
- <xsd:enumeration value="Timer" />
- <xsd:enumeration value="Conditional" />
- <xsd:enumeration value="Signal" />
- <xsd:enumeration value="Multiple" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="Implementation" use="optional" default="WebService">
- <xsd:annotation>
- <xsd:documentation>Required if the Trigger is Message</xsd:documentation>
- </xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="WebService" />
- <xsd:enumeration value="Other" />
- <xsd:enumeration value="Unspecified" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="SubFlow">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:choice minOccurs="0">
- <xsd:element ref="xpdl:ActualParameters" />
- <xsd:element ref="xpdl:DataMappings" />
- </xsd:choice>
- <xsd:element ref="xpdl:EndPoint" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xpdl:IdRef" use="required">
- <xsd:annotation>
- <xsd:documentation>BPMN: Corresponds to BPMN attribute ProcessRef, pointer to WorkflowProcess/@Id in BPD referenced by PackageRef. [Suggest name change
- to ProcessRef; this is IDREF not ID].</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:attribute name="Execution" use="optional" default="SYNCHR">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="ASYNCHR" />
- <xsd:enumeration value="SYNCHR" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="View" use="optional" default="COLLAPSED">
- <xsd:annotation>
- <xsd:documentation>BPMN: Detrmines rendering of subprocess as Collapsed or Expended. Default is Collapsed.</xsd:documentation>
- </xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="COLLAPSED" />
- <xsd:enumeration value="EXPANDED" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="PackageRef" type="xpdl:IdRef" use="optional">
- <xsd:annotation>
- <xsd:documentation>BPMN: Corresponds to BPMN attribute DiagramRef, pointer to a BPD identified by Package/@Id. [Maybe IDREF doesn't work here since ID is
- in a different document.]</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="InstanceDataField" type="xsd:string" use="optional">
- <xsd:annotation>
- <xsd:documentation> Used to store the instance id of the subflow instantiated by the activity. This is then available later on (e.g. for correlation,
- messaging etc.) especially in the case of asynchronous invocation.</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="StartActivitySetId" type="xpdl:IdRef" use="optional" />
- <xsd:attribute name="StartActivityId" type="xpdl:IdRef" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Task">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:choice minOccurs="0">
- <xsd:element ref="xpdl:TaskService">
- <xsd:annotation>
- <xsd:documentation>BPMN: TaskType = Service. In BPMN generally signifies any automated activity.</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element ref="xpdl:TaskReceive">
- <xsd:annotation>
- <xsd:documentation>BPMN: TaskType = Receive. Waits for a message, then continues. Equivalent to a "catching" message event. In BPMN, "message"
- generally signifies any signal from outside the process (pool).</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element ref="xpdl:TaskManual">
- <xsd:annotation>
- <xsd:documentation>BPMN: TaskType = Manual. Used for human tasks other than those accessed via workflow.</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element ref="xpdl:TaskReference">
- <xsd:annotation>
- <xsd:documentation>BPMN: TaskType = Reference. Task properties defined in referenced activity.</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element ref="xpdl:TaskScript">
- <xsd:annotation>
- <xsd:documentation>BPMN: TaskType = Script. Used for automated tasks executed by scripts on process engine, to distinguish from automated tasks
- performed externally (Service).</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element ref="xpdl:TaskSend">
- <xsd:annotation>
- <xsd:documentation>BPMN: Task Type = Send. Equivalent to a "throwing" message event. Sends a message immediately and continues. In BPMN, "message"
- signifies any signal sent outside the process (pool).</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element ref="xpdl:TaskUser">
- <xsd:annotation>
- <xsd:documentation>BPMN: Task Type = User. Generally used for human tasks.</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element ref="xpdl:TaskApplication" />
- </xsd:choice>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TaskManual">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Performers" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TaskReceive">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="Message" type="xpdl:MessageType" minOccurs="0">
- <xsd:annotation>
- <xsd:documentation>BPMN: Implementation-related but required by spec.</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element ref="xpdl:WebServiceOperation" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Instantiate" type="xsd:boolean" use="required" />
- <xsd:attribute name="Implementation" use="optional" default="WebService">
- <xsd:annotation>
- <xsd:documentation>BPMN: Implementation-related but required by spec.</xsd:documentation>
- </xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="WebService" />
- <xsd:enumeration value="Other" />
- <xsd:enumeration value="Unspecified" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TaskReference">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="TaskRef" type="xpdl:IdRef" use="required">
- <xsd:annotation>
- <xsd:documentation>BPMN: Pointer to Activity/@Id that defines the task.</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TaskSend">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="Message" type="xpdl:MessageType" minOccurs="0">
- <xsd:annotation>
- <xsd:documentation>BPMN: Implementation-related but required by spec</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element ref="xpdl:WebServiceOperation" minOccurs="0" />
- <xsd:element ref="xpdl:WebServiceFaultCatch" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Implementation" use="optional" default="WebService">
- <xsd:annotation>
- <xsd:documentation>Required if the Task is Send</xsd:documentation>
- </xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="WebService" />
- <xsd:enumeration value="Other" />
- <xsd:enumeration value="Unspecified" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TaskService">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="MessageIn" type="xpdl:MessageType" minOccurs="0">
- <xsd:annotation>
- <xsd:documentation>BPMN: Implementation-related but required by spec.</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element name="MessageOut" type="xpdl:MessageType" minOccurs="0">
- <xsd:annotation>
- <xsd:documentation>BPMN: Implementation-related but required by spec.</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element ref="xpdl:WebServiceOperation" minOccurs="0" />
- <xsd:element ref="xpdl:WebServiceFaultCatch" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Implementation" use="optional" default="WebService">
- <xsd:annotation>
- <xsd:documentation>BPMN: Implementation-related, but required if the Task is Service</xsd:documentation>
- </xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="WebService" />
- <xsd:enumeration value="Other" />
- <xsd:enumeration value="Unspecified" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TaskScript">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="Script" type="xpdl:ExpressionType">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TaskUser">
- <xsd:annotation>
- <xsd:documentation>BPMN</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Performers" minOccurs="0" />
- <xsd:element name="MessageIn" type="xpdl:MessageType" minOccurs="0" />
- <xsd:element name="MessageOut" type="xpdl:MessageType" minOccurs="0" />
- <xsd:element ref="xpdl:WebServiceOperation" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Implementation" use="optional" default="WebService">
- <xsd:annotation>
- <xsd:documentation>Required if the Task is User</xsd:documentation>
- </xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="WebService" />
- <xsd:enumeration value="Other" />
- <xsd:enumeration value="Unspecified" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TimeEstimation">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:WaitingTime" minOccurs="0" />
- <xsd:element ref="xpdl:WorkingTime" minOccurs="0" />
- <xsd:element ref="xpdl:Duration" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TaskApplication">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:choice minOccurs="0">
- <xsd:element ref="xpdl:ActualParameters" />
- <xsd:element ref="xpdl:DataMappings" />
- </xsd:choice>
- <xsd:element ref="xpdl:Description" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:attribute name="PackageRef" type="xsd:NMTOKEN" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Transaction">
- <xsd:annotation>
- <xsd:documentation>BPMN: If SubProcess is a transaction then this is required.</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="TransactionId" type="xsd:string" use="required" />
- <xsd:attribute name="TransactionProtocol" type="xsd:string" use="required" />
- <xsd:attribute name="TransactionMethod" use="required">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="Compensate" />
- <xsd:enumeration value="Store" />
- <xsd:enumeration value="Image" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Transition">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Condition" minOccurs="0" />
- <xsd:element ref="xpdl:Description" minOccurs="0" />
- <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0" />
- <xsd:element ref="xpdl:Assignments" minOccurs="0" />
- <xsd:element ref="xpdl:Object" minOccurs="0" />
- <xsd:element ref="xpdl:ConnectorGraphicsInfos" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xpdl:Id" use="required" />
- <xsd:attribute name="From" type="xpdl:IdRef" use="required" />
- <xsd:attribute name="To" type="xpdl:IdRef" use="required" />
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:attribute name="Quantity" type="xsd:int" use="optional" default="1">
- <xsd:annotation>
- <xsd:documentation>Used only in BPMN. Specifies number of tokens on outgoing transition.</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TransitionRef">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xpdl:IdRef" use="required" />
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TransitionRefs">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:TransitionRef" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TransitionRestriction">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Join" minOccurs="0" />
- <xsd:element ref="xpdl:Split" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TransitionRestrictions">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:TransitionRestriction" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Transitions">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Transition" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TriggerConditional">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="Expression" type="xpdl:ExpressionType" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="ConditionName" type="xsd:string" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TriggerResultLink">
- <xsd:annotation>
- <xsd:documentation>BPMN: if the Trigger or Result Type is Link then this must be present.</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="CatchThrow" use="optional" default="CATCH">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="CATCH" />
- <xsd:enumeration value="THROW" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="Name" type="xsd:NMTOKEN" use="optional">
- <xsd:annotation>
- <xsd:documentation>The link can only be used within one process as a shorthand for a long sequence flow .</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TriggerResultMessage">
- <xsd:annotation>
- <xsd:documentation> BPMN: If the Trigger or Result Type is Message then this must be present</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="Message" type="xpdl:MessageType" minOccurs="0" />
- <xsd:element ref="xpdl:WebServiceOperation" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="CatchThrow" use="optional" default="CATCH">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="CATCH" />
- <xsd:enumeration value="THROW" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TriggerResultCancel" />
- <xsd:element name="TriggerResultSignal">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="Properties" type="xpdl:ExpressionType" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Name" type="xsd:string" use="optional">
- <xsd:annotation>
- <xsd:documentation>Text description of the signal</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="CatchThrow" use="optional" default="CATCH">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="CATCH" />
- <xsd:enumeration value="THROW" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TriggerIntermediateMultiple">
- <xsd:annotation>
- <xsd:documentation>BPMN: if the TriggerType is Multiple then this must be present.</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:annotation>
- <xsd:documentation>BPMN: For Multiple, at least two triggers must be present.</xsd:documentation>
- </xsd:annotation>
- <xsd:element ref="xpdl:TriggerResultMessage" minOccurs="0" />
- <xsd:element ref="xpdl:TriggerTimer" minOccurs="0" />
- <xsd:element ref="xpdl:ResultError" minOccurs="0" />
- <xsd:element ref="xpdl:TriggerResultCompensation" minOccurs="0" />
- <xsd:element ref="xpdl:TriggerConditional" minOccurs="0" />
- <xsd:element ref="xpdl:TriggerResultLink" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TriggerMultiple">
- <xsd:annotation>
- <xsd:documentation>BPMN: if the TriggerType is Multiple then this must be present.</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:annotation>
- <xsd:documentation>BPMN: For Multiple, at least two triggers must be present.</xsd:documentation>
- </xsd:annotation>
- <xsd:element ref="xpdl:TriggerResultMessage" minOccurs="0" />
- <xsd:element ref="xpdl:TriggerTimer" minOccurs="0" />
- <xsd:element ref="xpdl:TriggerConditional" minOccurs="0" />
- <xsd:element ref="xpdl:TriggerResultLink" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TriggerTimer">
- <xsd:annotation>
- <xsd:documentation>BPMN: If the Trigger Type is Timer then this must be present</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:choice>
- <xsd:element name="TimeDate" type="xpdl:ExpressionType" />
- <xsd:element name="TimeCycle" type="xpdl:ExpressionType" />
- </xsd:choice>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TypeDeclaration">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:group ref="xpdl:DataTypes" />
- <xsd:element ref="xpdl:Description" minOccurs="0" />
- <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="Id" type="xsd:ID" use="required" />
- <xsd:attribute name="Name" type="xsd:string" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TypeDeclarations">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:TypeDeclaration" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="UnionType">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:Member" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ValidFrom">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ValidTo">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Vendor">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="VendorExtension">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="ToolId" type="xsd:string" use="required" />
- <xsd:attribute name="schemaLocation" type="xsd:anyURI" use="required" />
- <xsd:attribute name="extensionDescription" type="xsd:anyURI" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="VendorExtensions">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:VendorExtension" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Version">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="WaitingTime">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="WebServiceFaultCatch">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="Message" type="xpdl:MessageType" minOccurs="0" />
- <xsd:choice>
- <xsd:element ref="xpdl:BlockActivity" />
- <xsd:element ref="xpdl:TransitionRef" />
- </xsd:choice>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="FaultName" type="xsd:NMTOKEN" use="optional" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="WebServiceOperation">
- <xsd:annotation>
- <xsd:documentation>BPMN: If the Implementation is a WebService this is required.</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:choice>
- <xsd:element name="Partner">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="PartnerLinkId" type="xsd:NMTOKEN" use="required" />
- <xsd:attribute name="RoleType" use="required">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="MyRole" />
- <xsd:enumeration value="PartnerRole" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Service">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:EndPoint" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="ServiceName" type="xsd:string" use="required" />
- <xsd:attribute name="PortName" type="xsd:string" use="required" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- </xsd:choice>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="OperationName" type="xsd:string" use="required" />
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="WorkflowProcess" type="xpdl:ProcessType">
- <xsd:key name="ActivitySetIds.WorkflowProcess">
- <xsd:selector xpath="./xpdl:ActivitySets/xpdl:ActivitySet" />
- <xsd:field xpath="@Id" />
- </xsd:key>
- <xsd:key name="ActivityIds.WorkflowProcess">
- <xsd:selector xpath="./xpdl:Activities/xpdl:Activity | ./xpdl:ActivitySets/xpdl:ActivitySet/xpdl:Activities/xpdl:Activity" />
- <xsd:field xpath="@Id" />
- </xsd:key>
- <xsd:key name="ActivityIdsTopLevel.WorkflowProcess">
- <xsd:selector xpath="./xpdl:Activities/xpdl:Activity" />
- <xsd:field xpath="@Id" />
- </xsd:key>
- <xsd:key name="TransitionIdsTopLevel.WorkflowProcess">
- <xsd:selector xpath="./xpdl:Transitions/xpdl:Transition" />
- <xsd:field xpath="@Id" />
- </xsd:key>
- <xsd:keyref name="DefaultStartActivitySetIdRef.WorkflowProcess" refer="xpdl:ActivitySetIds.WorkflowProcess">
- <xsd:selector xpath="." />
- <xsd:field xpath="@DefaultStartActivitySetId" />
- </xsd:keyref>
- <xsd:keyref name="DefaultStartActivityIdRef.WorkflowProcess" refer="xpdl:ActivityIds.WorkflowProcess">
- <xsd:selector xpath="." />
- <xsd:field xpath="@DefaultStartActivityId" />
- </xsd:keyref>
- <xsd:keyref name="BlockActivityActivitySetIdRef.WorkflowProcess" refer="xpdl:ActivitySetIds.WorkflowProcess">
- <xsd:selector xpath=".//xpdl:BlockActivity" />
- <xsd:field xpath="@ActivitySetId" />
- </xsd:keyref>
- <xsd:keyref name="BlockActivityStartActivityIdRef.WorkflowProcess" refer="xpdl:ActivityIds.WorkflowProcess">
- <xsd:selector xpath=".//xpdl:BlockActivity" />
- <xsd:field xpath="@StartActivityId" />
- </xsd:keyref>
- <xsd:keyref name="TransitionFromRef.WorkflowProcess" refer="xpdl:ActivityIdsTopLevel.WorkflowProcess">
- <xsd:selector xpath="./xpdl:Transitions/xpdl:Transition" />
- <xsd:field xpath="@From" />
- </xsd:keyref>
- <xsd:keyref name="TransitionToRef.WorkflowProcess" refer="xpdl:ActivityIdsTopLevel.WorkflowProcess">
- <xsd:selector xpath="./xpdl:Transitions/xpdl:Transition" />
- <xsd:field xpath="@To" />
- </xsd:keyref>
- <xsd:keyref name="TransitionRefIdRef.WorkflowProcess" refer="xpdl:TransitionIdsTopLevel.WorkflowProcess">
- <xsd:selector xpath="./xpdl:Activities/xpdl:Activity/xpdl:TransitionRestrictions/xpdl:TransitionRestriction/xpdl:Split/xpdl:TransitionRefs/xpdl:TransitionRef" />
- <xsd:field xpath="@Id" />
- </xsd:keyref>
- <!-- constrain to only activities in the top-level, not activitysets -->
- <!-- constrain to only transitions in the top-level, not activitysets -->
- <!-- check that specified default start activityset exists -->
- <!-- check that specified default start activity exists (note: incomplete test, does not constrain to optional activtyset specified by DefaultStartActivitySetId) -->
- <!-- check that the activityset specified in a blockactivity exists -->
- <!-- check that the start activity specified in a blockactivity exists (note: incomplete test, does not constrain to activtyset specified by ActivitySetId) -->
- <!-- check that the from and to specified in a transition exists -->
- <!-- check that the id specified in a transitionref exists -->
- </xsd:element>
- <xsd:element name="WorkflowProcesses">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="xpdl:WorkflowProcess" minOccurs="0" maxOccurs="unbounded" />
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="WorkingTime">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="XPDLVersion">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:anyAttribute namespace="##other" processContents="lax" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:simpleType name="Id">
- <xsd:restriction base="xsd:NMTOKEN" />
- </xsd:simpleType>
- <xsd:simpleType name="IdRef">
- <xsd:restriction base="xsd:NMTOKEN" />
- </xsd:simpleType>
-</xsd:schema>
\ No newline at end of file
Deleted: api/trunk/modules/api/src/main/resources/jaxb-bindings.xml
===================================================================
--- api/trunk/modules/api/src/main/resources/jaxb-bindings.xml 2008-07-17 09:54:14 UTC (rev 1666)
+++ api/trunk/modules/api/src/main/resources/jaxb-bindings.xml 2008-07-17 12:19:40 UTC (rev 1667)
@@ -1,22 +0,0 @@
-<jxb:bindings version='1.0' xmlns:jxb='http://java.sun.com/xml/ns/jaxb' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xpdl="http://www.wfmc.org/2008/XPDL2.1">
- <jxb:bindings schemaLocation="bpmnxpdl_31_mods.xsd" node="/xsd:schema">
- <jxb:schemaBindings>
- <jxb:package name="org.jboss.bpm.dialect.xpdl.jaxb" />
- </jxb:schemaBindings>
- <jxb:bindings node="//xsd:element[@name='Artifact']//xsd:attribute[@name='Group']">
- <jxb:property name="groupAtt" />
- </jxb:bindings>
- <jxb:bindings node="//xsd:element[@name='LoopMultiInstance']//xsd:attribute[@name='MI_Condition']">
- <jxb:property name="miConditionAtt" />
- </jxb:bindings>
- <jxb:bindings node="//xsd:element[@name='LoopMultiInstance']//xsd:attribute[@name='ComplexMI_FlowCondition']">
- <jxb:property name="complexMIFlowConditionAtt" />
- </jxb:bindings>
- <jxb:bindings node="//xsd:element[@name='LoopStandard']//xsd:attribute[@name='LoopCondition']">
- <jxb:property name="loopConditionAtt" />
- </jxb:bindings>
- <jxb:bindings node="//xsd:complexType[@name='ProcessType']">
- <jxb:class name="WorkflowProcess" />
- </jxb:bindings>
- </jxb:bindings>
-</jxb:bindings>
\ No newline at end of file
Copied: api/trunk/modules/dialects/xpdl21 (from rev 1663, api/trunk/modules/dialects/jpdl32)
Deleted: api/trunk/modules/dialects/xpdl21/pom.xml
===================================================================
--- api/trunk/modules/dialects/jpdl32/pom.xml 2008-07-17 09:27:02 UTC (rev 1663)
+++ api/trunk/modules/dialects/xpdl21/pom.xml 2008-07-17 12:19:40 UTC (rev 1667)
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ====================================================================== -->
-<!-- -->
-<!-- JBoss, the OpenSource J2EE webOS -->
-<!-- -->
-<!-- Distributable under LGPL license. -->
-<!-- See terms of license at http://www.gnu.org. -->
-<!-- -->
-<!-- ====================================================================== -->
-
-<!-- $Id$ -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <name>JBoss jBPM - API Dialect jPDL-3.2</name>
- <groupId>org.jboss.jbpm</groupId>
- <artifactId>jbpm-api-dialect-jpdl32</artifactId>
- <packaging>jar</packaging>
-
- <!-- Parent -->
- <parent>
- <groupId>org.jboss.jbpm</groupId>
- <artifactId>jbpm-api-root</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <relativePath>../../pom.xml</relativePath>
- </parent>
-
- <!-- Dependencies -->
- <dependencies>
- <dependency>
- <groupId>org.jboss.jbpm</groupId>
- <artifactId>jbpm-api</artifactId>
- <version>${version}</version>
- <scope>compile</scope>
- </dependency>
- </dependencies>
-
-</project>
\ No newline at end of file
Copied: api/trunk/modules/dialects/xpdl21/pom.xml (from rev 1665, api/trunk/modules/dialects/jpdl32/pom.xml)
===================================================================
--- api/trunk/modules/dialects/xpdl21/pom.xml (rev 0)
+++ api/trunk/modules/dialects/xpdl21/pom.xml 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ====================================================================== -->
+<!-- -->
+<!-- JBoss, the OpenSource J2EE webOS -->
+<!-- -->
+<!-- Distributable under LGPL license. -->
+<!-- See terms of license at http://www.gnu.org. -->
+<!-- -->
+<!-- ====================================================================== -->
+
+<!-- $Id$ -->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <name>JBoss jBPM - API Dialect XPDL-2.1</name>
+ <groupId>org.jboss.jbpm</groupId>
+ <artifactId>jbpm-api-dialect-xpdl21</artifactId>
+ <packaging>jar</packaging>
+
+ <!-- Parent -->
+ <parent>
+ <groupId>org.jboss.jbpm</groupId>
+ <artifactId>jbpm-api-root</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <relativePath>../../pom.xml</relativePath>
+ </parent>
+
+ <!-- Dependencies -->
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.jbpm</groupId>
+ <artifactId>jbpm-api</artifactId>
+ <version>${version}</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-impl</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-xjc</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
+
+</project>
\ No newline at end of file
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/DialectHandlerImpl.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/DialectHandlerImpl.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/DialectHandlerImpl.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,76 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.bpm.dialect.xpdl21;
+
+// $Id$
+
+import java.io.IOException;
+import java.io.InputStreamReader;
+import java.io.StringReader;
+import java.net.URL;
+
+import javax.xml.bind.JAXBException;
+
+import org.jboss.bpm.InvalidProcessException;
+import org.jboss.bpm.client.DialectHandler;
+import org.jboss.bpm.dialect.xpdl21.model.XPDLWorkflowProcess;
+import org.jboss.bpm.model.Process;
+
+/**
+ * The DialectHandler converts a supported dialect to the internal Process model.
+ *
+ * @author thomas.diesler(a)jboss.com
+ * @since 18-Jun-2008
+ */
+public class DialectHandlerImpl implements DialectHandler
+{
+
+ public Process createProcess(String pXML)
+ {
+ try
+ {
+ ProcessUnmarshaller unmarschaller = new ProcessUnmarshaller();
+ XPDLWorkflowProcess jaxbProc = unmarschaller.unmarshallProcess(new StringReader(pXML));
+ Process proc = new WorkflowProcessAdapter().adaptWorkflowProcess(jaxbProc);
+ return proc;
+ }
+ catch (JAXBException ex)
+ {
+ throw new InvalidProcessException("Cannot unmarschall: " + pXML, ex);
+ }
+ }
+
+ public Process createProcess(URL pURL) throws IOException
+ {
+ try
+ {
+ ProcessUnmarshaller unmarschaller = new ProcessUnmarshaller();
+ XPDLWorkflowProcess jaxbProc = unmarschaller.unmarshallProcess(new InputStreamReader(pURL.openStream()));
+ Process proc = new WorkflowProcessAdapter().adaptWorkflowProcess(jaxbProc);
+ return proc;
+ }
+ catch (JAXBException ex)
+ {
+ throw new InvalidProcessException("Cannot unmarschall: " + pURL, ex);
+ }
+ }
+}
\ No newline at end of file
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/DialectHandlerImpl.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/ProcessUnmarshaller.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/ProcessUnmarshaller.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/ProcessUnmarshaller.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,51 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.bpm.dialect.xpdl21;
+
+// $Id$
+
+import java.io.Reader;
+
+import javax.xml.bind.JAXBContext;
+import javax.xml.bind.JAXBException;
+import javax.xml.bind.Unmarshaller;
+
+import org.jboss.bpm.dialect.xpdl21.model.ObjectFactory;
+import org.jboss.bpm.dialect.xpdl21.model.XPDLWorkflowProcess;
+
+/**
+ * A JAXB unmarshaller for a Process
+ *
+ * @author thomas.diesler(a)jboss.com
+ * @since 08-Jul-2008
+ */
+public class ProcessUnmarshaller
+{
+ public XPDLWorkflowProcess unmarshallProcess(Reader xml) throws JAXBException
+ {
+ JAXBContext jaxbContext = JAXBContext.newInstance(ObjectFactory.class);
+ Unmarshaller unmarshaller = jaxbContext.createUnmarshaller();
+ unmarshaller.setProperty("com.sun.xml.bind.ObjectFactory",new ObjectFactory());
+ XPDLWorkflowProcess proc = (XPDLWorkflowProcess)unmarshaller.unmarshal(xml);
+ return proc;
+ }
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/ProcessUnmarshaller.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/WorkflowProcessAdapter.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/WorkflowProcessAdapter.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/WorkflowProcessAdapter.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,74 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.bpm.dialect.xpdl21;
+
+// $Id$
+
+import org.jboss.bpm.InvalidProcessException;
+import org.jboss.bpm.dialect.xpdl21.model.XPDLActivities;
+import org.jboss.bpm.dialect.xpdl21.model.XPDLActivity;
+import org.jboss.bpm.dialect.xpdl21.model.XPDLEvent;
+import org.jboss.bpm.dialect.xpdl21.model.XPDLWorkflowProcess;
+import org.jboss.bpm.model.Process;
+import org.jboss.bpm.model.ProcessBuilder;
+import org.jboss.bpm.model.ProcessBuilderFactory;
+
+/**
+ * Adapt the jpdl-3.2 ProcessDefinition to the API Process
+ *
+ * @author thomas.diesler(a)jboss.com
+ * @since 18-Jun-2008
+ */
+public class WorkflowProcessAdapter
+{
+ public Process adaptWorkflowProcess(XPDLWorkflowProcess xpdlProc)
+ {
+ ProcessBuilder builder = ProcessBuilderFactory.newInstance().newProcessBuilder(xpdlProc.getName());
+ XPDLActivities xpdlActivities = xpdlProc.getActivities();
+ for (XPDLActivity xpdlActivity : xpdlActivities.getActivity())
+ {
+ XPDLEvent xpdlEvent = xpdlActivity.getEvent();
+ if (xpdlEvent != null)
+ {
+ if (xpdlEvent.getStartEvent() != null)
+ {
+ builder.addStartEvent();
+ }
+ else if (xpdlEvent.getEndEvent() != null)
+ {
+ builder.addEndEvent(xpdlActivity.getName());
+ }
+ else
+ {
+ throw new InvalidProcessException("Unsupported type: " + xpdlEvent);
+ }
+ }
+ else
+ {
+ throw new InvalidProcessException("Unsupported type: " + xpdlActivity);
+ }
+ }
+
+ Process proc = builder.getProcess();
+ return proc;
+ }
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/WorkflowProcessAdapter.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/ApplicationType.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/ApplicationType.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/ApplicationType.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,2008 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for ApplicationType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="ApplicationType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice>
+ * <element name="Ejb">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="JndiName">
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </element>
+ * <element name="HomeClass">
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </element>
+ * <element name="Method">
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </element>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="Pojo">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="Class">
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </element>
+ * <element name="Method">
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </element>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="Xslt">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="location" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="Script">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="Expression" type="{http://www.wfmc.org/2008/XPDL2.1}ExpressionType" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="WebService">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}WebServiceOperation"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}WebServiceFaultCatch" maxOccurs="unbounded" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * <attribute name="InputMsgName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="OutputMsgName" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="BusinessRule">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="RuleName">
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </element>
+ * <element name="Location">
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>anyURI">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </element>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="Form">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="FormLayout" minOccurs="0">
+ * <complexType>
+ * <complexContent>
+ * <extension base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * </choice>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ApplicationType", propOrder = {
+ "ejb",
+ "pojo",
+ "xslt",
+ "script",
+ "webService",
+ "businessRule",
+ "form"
+})
+public class ApplicationType {
+
+ @XmlElement(name = "Ejb")
+ protected ApplicationType.Ejb ejb;
+ @XmlElement(name = "Pojo")
+ protected ApplicationType.Pojo pojo;
+ @XmlElement(name = "Xslt")
+ protected ApplicationType.Xslt xslt;
+ @XmlElement(name = "Script")
+ protected ApplicationType.Script script;
+ @XmlElement(name = "WebService")
+ protected ApplicationType.WebService webService;
+ @XmlElement(name = "BusinessRule")
+ protected ApplicationType.BusinessRule businessRule;
+ @XmlElement(name = "Form")
+ protected ApplicationType.Form form;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the ejb property.
+ *
+ * @return
+ * possible object is
+ * {@link ApplicationType.Ejb }
+ *
+ */
+ public ApplicationType.Ejb getEjb() {
+ return ejb;
+ }
+
+ /**
+ * Sets the value of the ejb property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ApplicationType.Ejb }
+ *
+ */
+ public void setEjb(ApplicationType.Ejb value) {
+ this.ejb = value;
+ }
+
+ /**
+ * Gets the value of the pojo property.
+ *
+ * @return
+ * possible object is
+ * {@link ApplicationType.Pojo }
+ *
+ */
+ public ApplicationType.Pojo getPojo() {
+ return pojo;
+ }
+
+ /**
+ * Sets the value of the pojo property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ApplicationType.Pojo }
+ *
+ */
+ public void setPojo(ApplicationType.Pojo value) {
+ this.pojo = value;
+ }
+
+ /**
+ * Gets the value of the xslt property.
+ *
+ * @return
+ * possible object is
+ * {@link ApplicationType.Xslt }
+ *
+ */
+ public ApplicationType.Xslt getXslt() {
+ return xslt;
+ }
+
+ /**
+ * Sets the value of the xslt property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ApplicationType.Xslt }
+ *
+ */
+ public void setXslt(ApplicationType.Xslt value) {
+ this.xslt = value;
+ }
+
+ /**
+ * Gets the value of the script property.
+ *
+ * @return
+ * possible object is
+ * {@link ApplicationType.Script }
+ *
+ */
+ public ApplicationType.Script getScript() {
+ return script;
+ }
+
+ /**
+ * Sets the value of the script property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ApplicationType.Script }
+ *
+ */
+ public void setScript(ApplicationType.Script value) {
+ this.script = value;
+ }
+
+ /**
+ * Gets the value of the webService property.
+ *
+ * @return
+ * possible object is
+ * {@link ApplicationType.WebService }
+ *
+ */
+ public ApplicationType.WebService getWebService() {
+ return webService;
+ }
+
+ /**
+ * Sets the value of the webService property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ApplicationType.WebService }
+ *
+ */
+ public void setWebService(ApplicationType.WebService value) {
+ this.webService = value;
+ }
+
+ /**
+ * Gets the value of the businessRule property.
+ *
+ * @return
+ * possible object is
+ * {@link ApplicationType.BusinessRule }
+ *
+ */
+ public ApplicationType.BusinessRule getBusinessRule() {
+ return businessRule;
+ }
+
+ /**
+ * Sets the value of the businessRule property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ApplicationType.BusinessRule }
+ *
+ */
+ public void setBusinessRule(ApplicationType.BusinessRule value) {
+ this.businessRule = value;
+ }
+
+ /**
+ * Gets the value of the form property.
+ *
+ * @return
+ * possible object is
+ * {@link ApplicationType.Form }
+ *
+ */
+ public ApplicationType.Form getForm() {
+ return form;
+ }
+
+ /**
+ * Sets the value of the form property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ApplicationType.Form }
+ *
+ */
+ public void setForm(ApplicationType.Form value) {
+ this.form = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="RuleName">
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </element>
+ * <element name="Location">
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>anyURI">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </element>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "ruleName",
+ "location",
+ "any"
+ })
+ public static class BusinessRule {
+
+ @XmlElement(name = "RuleName", required = true)
+ protected ApplicationType.BusinessRule.RuleName ruleName;
+ @XmlElement(name = "Location", required = true)
+ protected ApplicationType.BusinessRule.Location location;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the ruleName property.
+ *
+ * @return
+ * possible object is
+ * {@link ApplicationType.BusinessRule.RuleName }
+ *
+ */
+ public ApplicationType.BusinessRule.RuleName getRuleName() {
+ return ruleName;
+ }
+
+ /**
+ * Sets the value of the ruleName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ApplicationType.BusinessRule.RuleName }
+ *
+ */
+ public void setRuleName(ApplicationType.BusinessRule.RuleName value) {
+ this.ruleName = value;
+ }
+
+ /**
+ * Gets the value of the location property.
+ *
+ * @return
+ * possible object is
+ * {@link ApplicationType.BusinessRule.Location }
+ *
+ */
+ public ApplicationType.BusinessRule.Location getLocation() {
+ return location;
+ }
+
+ /**
+ * Sets the value of the location property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ApplicationType.BusinessRule.Location }
+ *
+ */
+ public void setLocation(ApplicationType.BusinessRule.Location value) {
+ this.location = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>anyURI">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "value"
+ })
+ public static class Location {
+
+ @XmlValue
+ @XmlSchemaType(name = "anyURI")
+ protected String value;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "value"
+ })
+ public static class RuleName {
+
+ @XmlValue
+ protected String value;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+ }
+
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="JndiName">
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </element>
+ * <element name="HomeClass">
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </element>
+ * <element name="Method">
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </element>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "jndiName",
+ "homeClass",
+ "method",
+ "any"
+ })
+ public static class Ejb {
+
+ @XmlElement(name = "JndiName", required = true)
+ protected ApplicationType.Ejb.JndiName jndiName;
+ @XmlElement(name = "HomeClass", required = true)
+ protected ApplicationType.Ejb.HomeClass homeClass;
+ @XmlElement(name = "Method", required = true)
+ protected ApplicationType.Ejb.Method method;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the jndiName property.
+ *
+ * @return
+ * possible object is
+ * {@link ApplicationType.Ejb.JndiName }
+ *
+ */
+ public ApplicationType.Ejb.JndiName getJndiName() {
+ return jndiName;
+ }
+
+ /**
+ * Sets the value of the jndiName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ApplicationType.Ejb.JndiName }
+ *
+ */
+ public void setJndiName(ApplicationType.Ejb.JndiName value) {
+ this.jndiName = value;
+ }
+
+ /**
+ * Gets the value of the homeClass property.
+ *
+ * @return
+ * possible object is
+ * {@link ApplicationType.Ejb.HomeClass }
+ *
+ */
+ public ApplicationType.Ejb.HomeClass getHomeClass() {
+ return homeClass;
+ }
+
+ /**
+ * Sets the value of the homeClass property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ApplicationType.Ejb.HomeClass }
+ *
+ */
+ public void setHomeClass(ApplicationType.Ejb.HomeClass value) {
+ this.homeClass = value;
+ }
+
+ /**
+ * Gets the value of the method property.
+ *
+ * @return
+ * possible object is
+ * {@link ApplicationType.Ejb.Method }
+ *
+ */
+ public ApplicationType.Ejb.Method getMethod() {
+ return method;
+ }
+
+ /**
+ * Sets the value of the method property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ApplicationType.Ejb.Method }
+ *
+ */
+ public void setMethod(ApplicationType.Ejb.Method value) {
+ this.method = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "value"
+ })
+ public static class HomeClass {
+
+ @XmlValue
+ protected String value;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "value"
+ })
+ public static class JndiName {
+
+ @XmlValue
+ protected String value;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "value"
+ })
+ public static class Method {
+
+ @XmlValue
+ protected String value;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+ }
+
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="FormLayout" minOccurs="0">
+ * <complexType>
+ * <complexContent>
+ * <extension base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "formLayout",
+ "any"
+ })
+ public static class Form {
+
+ @XmlElement(name = "FormLayout")
+ protected ApplicationType.Form.FormLayout formLayout;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the formLayout property.
+ *
+ * @return
+ * possible object is
+ * {@link ApplicationType.Form.FormLayout }
+ *
+ */
+ public ApplicationType.Form.FormLayout getFormLayout() {
+ return formLayout;
+ }
+
+ /**
+ * Sets the value of the formLayout property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ApplicationType.Form.FormLayout }
+ *
+ */
+ public void setFormLayout(ApplicationType.Form.FormLayout value) {
+ this.formLayout = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <extension base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "any"
+ })
+ public static class FormLayout {
+
+ @XmlAnyElement
+ protected List<Element> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Element }
+ *
+ *
+ */
+ public List<Element> getAny() {
+ if (any == null) {
+ any = new ArrayList<Element>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+ }
+
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="Class">
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </element>
+ * <element name="Method">
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </element>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "clazz",
+ "method",
+ "any"
+ })
+ public static class Pojo {
+
+ @XmlElement(name = "Class", required = true)
+ protected ApplicationType.Pojo.Class clazz;
+ @XmlElement(name = "Method", required = true)
+ protected ApplicationType.Pojo.Method method;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the clazz property.
+ *
+ * @return
+ * possible object is
+ * {@link ApplicationType.Pojo.Class }
+ *
+ */
+ public ApplicationType.Pojo.Class getClazz() {
+ return clazz;
+ }
+
+ /**
+ * Sets the value of the clazz property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ApplicationType.Pojo.Class }
+ *
+ */
+ public void setClazz(ApplicationType.Pojo.Class value) {
+ this.clazz = value;
+ }
+
+ /**
+ * Gets the value of the method property.
+ *
+ * @return
+ * possible object is
+ * {@link ApplicationType.Pojo.Method }
+ *
+ */
+ public ApplicationType.Pojo.Method getMethod() {
+ return method;
+ }
+
+ /**
+ * Sets the value of the method property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ApplicationType.Pojo.Method }
+ *
+ */
+ public void setMethod(ApplicationType.Pojo.Method value) {
+ this.method = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "value"
+ })
+ public static class Class {
+
+ @XmlValue
+ protected String value;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "value"
+ })
+ public static class Method {
+
+ @XmlValue
+ protected String value;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+ }
+
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="Expression" type="{http://www.wfmc.org/2008/XPDL2.1}ExpressionType" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "expression",
+ "any"
+ })
+ public static class Script {
+
+ @XmlElement(name = "Expression")
+ protected ExpressionType expression;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the expression property.
+ *
+ * @return
+ * possible object is
+ * {@link ExpressionType }
+ *
+ */
+ public ExpressionType getExpression() {
+ return expression;
+ }
+
+ /**
+ * Sets the value of the expression property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ExpressionType }
+ *
+ */
+ public void setExpression(ExpressionType value) {
+ this.expression = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}WebServiceOperation"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}WebServiceFaultCatch" maxOccurs="unbounded" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * <attribute name="InputMsgName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="OutputMsgName" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "webServiceOperation",
+ "webServiceFaultCatch",
+ "any"
+ })
+ public static class WebService {
+
+ @XmlElement(name = "WebServiceOperation", required = true)
+ protected XPDLWebServiceOperation webServiceOperation;
+ @XmlElement(name = "WebServiceFaultCatch")
+ protected List<XPDLWebServiceFaultCatch> webServiceFaultCatch;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "InputMsgName", required = true)
+ protected String inputMsgName;
+ @XmlAttribute(name = "OutputMsgName")
+ protected String outputMsgName;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the webServiceOperation property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLWebServiceOperation }
+ *
+ */
+ public XPDLWebServiceOperation getWebServiceOperation() {
+ return webServiceOperation;
+ }
+
+ /**
+ * Sets the value of the webServiceOperation property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLWebServiceOperation }
+ *
+ */
+ public void setWebServiceOperation(XPDLWebServiceOperation value) {
+ this.webServiceOperation = value;
+ }
+
+ /**
+ * Gets the value of the webServiceFaultCatch property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the webServiceFaultCatch property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getWebServiceFaultCatch().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLWebServiceFaultCatch }
+ *
+ *
+ */
+ public List<XPDLWebServiceFaultCatch> getWebServiceFaultCatch() {
+ if (webServiceFaultCatch == null) {
+ webServiceFaultCatch = new ArrayList<XPDLWebServiceFaultCatch>();
+ }
+ return this.webServiceFaultCatch;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the inputMsgName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getInputMsgName() {
+ return inputMsgName;
+ }
+
+ /**
+ * Sets the value of the inputMsgName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setInputMsgName(String value) {
+ this.inputMsgName = value;
+ }
+
+ /**
+ * Gets the value of the outputMsgName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getOutputMsgName() {
+ return outputMsgName;
+ }
+
+ /**
+ * Sets the value of the outputMsgName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setOutputMsgName(String value) {
+ this.outputMsgName = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="location" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "any"
+ })
+ public static class Xslt {
+
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute
+ @XmlSchemaType(name = "anyURI")
+ protected String location;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the location property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLocation() {
+ return location;
+ }
+
+ /**
+ * Sets the value of the location property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLocation(String value) {
+ this.location = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/ApplicationType.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/ExpressionType.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/ExpressionType.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/ExpressionType.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,189 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlMixed;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for ExpressionType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="ExpressionType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <any/>
+ * </choice>
+ * <attribute name="ScriptType" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="ScriptVersion" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="ScriptGrammar" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ExpressionType", propOrder = {
+ "content"
+})
+public class ExpressionType {
+
+ @XmlMixed
+ @XmlAnyElement(lax = true)
+ protected List<Object> content;
+ @XmlAttribute(name = "ScriptType")
+ protected String scriptType;
+ @XmlAttribute(name = "ScriptVersion")
+ protected String scriptVersion;
+ @XmlAttribute(name = "ScriptGrammar")
+ @XmlSchemaType(name = "anyURI")
+ protected String scriptGrammar;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the content property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the content property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getContent().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link String }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getContent() {
+ if (content == null) {
+ content = new ArrayList<Object>();
+ }
+ return this.content;
+ }
+
+ /**
+ * Gets the value of the scriptType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getScriptType() {
+ return scriptType;
+ }
+
+ /**
+ * Sets the value of the scriptType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setScriptType(String value) {
+ this.scriptType = value;
+ }
+
+ /**
+ * Gets the value of the scriptVersion property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getScriptVersion() {
+ return scriptVersion;
+ }
+
+ /**
+ * Sets the value of the scriptVersion property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setScriptVersion(String value) {
+ this.scriptVersion = value;
+ }
+
+ /**
+ * Gets the value of the scriptGrammar property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getScriptGrammar() {
+ return scriptGrammar;
+ }
+
+ /**
+ * Sets the value of the scriptGrammar property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setScriptGrammar(String value) {
+ this.scriptGrammar = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/ExpressionType.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/MessageType.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/MessageType.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/MessageType.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,311 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * Formal Parameters defined by WSDL. Must constraint the parameters to either all in or all out, because Message is in a single direction
+ *
+ *
+ * <p>Java class for MessageType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="MessageType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence minOccurs="0">
+ * <choice minOccurs="0">
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}ActualParameters"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}DataMappings"/>
+ * </choice>
+ * <any/>
+ * </sequence>
+ * <attribute name="Id" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * <attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="From" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * <attribute name="To" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * <attribute name="FaultName" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "MessageType", propOrder = {
+ "actualParameters",
+ "dataMappings",
+ "any"
+})
+public class MessageType {
+
+ @XmlElement(name = "ActualParameters")
+ protected XPDLActualParameters actualParameters;
+ @XmlElement(name = "DataMappings")
+ protected XPDLDataMappings dataMappings;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Id", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String id;
+ @XmlAttribute(name = "Name")
+ protected String name;
+ @XmlAttribute(name = "From")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String from;
+ @XmlAttribute(name = "To")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String to;
+ @XmlAttribute(name = "FaultName")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String faultName;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the actualParameters property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLActualParameters }
+ *
+ */
+ public XPDLActualParameters getActualParameters() {
+ return actualParameters;
+ }
+
+ /**
+ * Sets the value of the actualParameters property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLActualParameters }
+ *
+ */
+ public void setActualParameters(XPDLActualParameters value) {
+ this.actualParameters = value;
+ }
+
+ /**
+ * Gets the value of the dataMappings property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLDataMappings }
+ *
+ */
+ public XPDLDataMappings getDataMappings() {
+ return dataMappings;
+ }
+
+ /**
+ * Sets the value of the dataMappings property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLDataMappings }
+ *
+ */
+ public void setDataMappings(XPDLDataMappings value) {
+ this.dataMappings = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the from property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getFrom() {
+ return from;
+ }
+
+ /**
+ * Sets the value of the from property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setFrom(String value) {
+ this.from = value;
+ }
+
+ /**
+ * Gets the value of the to property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTo() {
+ return to;
+ }
+
+ /**
+ * Sets the value of the to property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTo(String value) {
+ this.to = value;
+ }
+
+ /**
+ * Gets the value of the faultName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getFaultName() {
+ return faultName;
+ }
+
+ /**
+ * Sets the value of the faultName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setFaultName(String value) {
+ this.faultName = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/MessageType.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/ObjectFactory.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/ObjectFactory.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/ObjectFactory.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,1586 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.jboss.bpm.dialect.xpdl21.model package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _TriggerResultCancel_QNAME = new QName("http://www.wfmc.org/2008/XPDL2.1", "TriggerResultCancel");
+ private final static QName _Package_QNAME = new QName("http://www.wfmc.org/2008/XPDL2.1", "Package");
+ private final static QName _WorkflowProcess_QNAME = new QName("http://www.wfmc.org/2008/XPDL2.1", "WorkflowProcess");
+ private final static QName _XPDLConditionExpression_QNAME = new QName("http://www.wfmc.org/2008/XPDL2.1", "Expression");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.jboss.bpm.dialect.xpdl21.model
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link XPDLInput }
+ *
+ */
+ public XPDLInput createXPDLInput() {
+ return new XPDLInput();
+ }
+
+ /**
+ * Create an instance of {@link XPDLEnumerationType }
+ *
+ */
+ public XPDLEnumerationType createXPDLEnumerationType() {
+ return new XPDLEnumerationType();
+ }
+
+ /**
+ * Create an instance of {@link XPDLTypeDeclaration }
+ *
+ */
+ public XPDLTypeDeclaration createXPDLTypeDeclaration() {
+ return new XPDLTypeDeclaration();
+ }
+
+ /**
+ * Create an instance of {@link XPDLNodeGraphicsInfo }
+ *
+ */
+ public XPDLNodeGraphicsInfo createXPDLNodeGraphicsInfo() {
+ return new XPDLNodeGraphicsInfo();
+ }
+
+ /**
+ * Create an instance of {@link XPDLBasicType }
+ *
+ */
+ public XPDLBasicType createXPDLBasicType() {
+ return new XPDLBasicType();
+ }
+
+ /**
+ * Create an instance of {@link XPDLProcessHeader }
+ *
+ */
+ public XPDLProcessHeader createXPDLProcessHeader() {
+ return new XPDLProcessHeader();
+ }
+
+ /**
+ * Create an instance of {@link XPDLPartnerLink }
+ *
+ */
+ public XPDLPartnerLink createXPDLPartnerLink() {
+ return new XPDLPartnerLink();
+ }
+
+ /**
+ * Create an instance of {@link PackageType }
+ *
+ */
+ public PackageType createPackageType() {
+ return new PackageType();
+ }
+
+ /**
+ * Create an instance of {@link XPDLDeclaredType }
+ *
+ */
+ public XPDLDeclaredType createXPDLDeclaredType() {
+ return new XPDLDeclaredType();
+ }
+
+ /**
+ * Create an instance of {@link XPDLDuration }
+ *
+ */
+ public XPDLDuration createXPDLDuration() {
+ return new XPDLDuration();
+ }
+
+ /**
+ * Create an instance of {@link XPDLCategory }
+ *
+ */
+ public XPDLCategory createXPDLCategory() {
+ return new XPDLCategory();
+ }
+
+ /**
+ * Create an instance of {@link XPDLTaskScript }
+ *
+ */
+ public XPDLTaskScript createXPDLTaskScript() {
+ return new XPDLTaskScript();
+ }
+
+ /**
+ * Create an instance of {@link XPDLPartnerLinks }
+ *
+ */
+ public XPDLPartnerLinks createXPDLPartnerLinks() {
+ return new XPDLPartnerLinks();
+ }
+
+ /**
+ * Create an instance of {@link XPDLAssociations }
+ *
+ */
+ public XPDLAssociations createXPDLAssociations() {
+ return new XPDLAssociations();
+ }
+
+ /**
+ * Create an instance of {@link XPDLExtendedAttributes }
+ *
+ */
+ public XPDLExtendedAttributes createXPDLExtendedAttributes() {
+ return new XPDLExtendedAttributes();
+ }
+
+ /**
+ * Create an instance of {@link XPDLPartnerLink.PartnerRole }
+ *
+ */
+ public XPDLPartnerLink.PartnerRole createXPDLPartnerLinkPartnerRole() {
+ return new XPDLPartnerLink.PartnerRole();
+ }
+
+ /**
+ * Create an instance of {@link XPDLVendor }
+ *
+ */
+ public XPDLVendor createXPDLVendor() {
+ return new XPDLVendor();
+ }
+
+ /**
+ * Create an instance of {@link XPDLPropertyInput }
+ *
+ */
+ public XPDLPropertyInput createXPDLPropertyInput() {
+ return new XPDLPropertyInput();
+ }
+
+ /**
+ * Create an instance of {@link XPDLCost }
+ *
+ */
+ public XPDLCost createXPDLCost() {
+ return new XPDLCost();
+ }
+
+ /**
+ * Create an instance of {@link XPDLTriggerResultMessage }
+ *
+ */
+ public XPDLTriggerResultMessage createXPDLTriggerResultMessage() {
+ return new XPDLTriggerResultMessage();
+ }
+
+ /**
+ * Create an instance of {@link XPDLSubFlow }
+ *
+ */
+ public XPDLSubFlow createXPDLSubFlow() {
+ return new XPDLSubFlow();
+ }
+
+ /**
+ * Create an instance of {@link XPDLLoopStandard }
+ *
+ */
+ public XPDLLoopStandard createXPDLLoopStandard() {
+ return new XPDLLoopStandard();
+ }
+
+ /**
+ * Create an instance of {@link XPDLConnectorGraphicsInfos }
+ *
+ */
+ public XPDLConnectorGraphicsInfos createXPDLConnectorGraphicsInfos() {
+ return new XPDLConnectorGraphicsInfos();
+ }
+
+ /**
+ * Create an instance of {@link XPDLActualParameters }
+ *
+ */
+ public XPDLActualParameters createXPDLActualParameters() {
+ return new XPDLActualParameters();
+ }
+
+ /**
+ * Create an instance of {@link XPDLEnumerationValue }
+ *
+ */
+ public XPDLEnumerationValue createXPDLEnumerationValue() {
+ return new XPDLEnumerationValue();
+ }
+
+ /**
+ * Create an instance of {@link XPDLCondition }
+ *
+ */
+ public XPDLCondition createXPDLCondition() {
+ return new XPDLCondition();
+ }
+
+ /**
+ * Create an instance of {@link XPDLTransitionRef }
+ *
+ */
+ public XPDLTransitionRef createXPDLTransitionRef() {
+ return new XPDLTransitionRef();
+ }
+
+ /**
+ * Create an instance of {@link XPDLResponsible }
+ *
+ */
+ public XPDLResponsible createXPDLResponsible() {
+ return new XPDLResponsible();
+ }
+
+ /**
+ * Create an instance of {@link XPDLPartnerLinkTypes }
+ *
+ */
+ public XPDLPartnerLinkTypes createXPDLPartnerLinkTypes() {
+ return new XPDLPartnerLinkTypes();
+ }
+
+ /**
+ * Create an instance of {@link XPDLTriggerResultSignal }
+ *
+ */
+ public XPDLTriggerResultSignal createXPDLTriggerResultSignal() {
+ return new XPDLTriggerResultSignal();
+ }
+
+ /**
+ * Create an instance of {@link XPDLLanes }
+ *
+ */
+ public XPDLLanes createXPDLLanes() {
+ return new XPDLLanes();
+ }
+
+ /**
+ * Create an instance of {@link XPDLRedefinableHeader }
+ *
+ */
+ public XPDLRedefinableHeader createXPDLRedefinableHeader() {
+ return new XPDLRedefinableHeader();
+ }
+
+ /**
+ * Create an instance of {@link XPDLWebServiceOperation.Partner }
+ *
+ */
+ public XPDLWebServiceOperation.Partner createXPDLWebServiceOperationPartner() {
+ return new XPDLWebServiceOperation.Partner();
+ }
+
+ /**
+ * Create an instance of {@link XPDLAssignments }
+ *
+ */
+ public XPDLAssignments createXPDLAssignments() {
+ return new XPDLAssignments();
+ }
+
+ /**
+ * Create an instance of {@link XPDLConformanceClass }
+ *
+ */
+ public XPDLConformanceClass createXPDLConformanceClass() {
+ return new XPDLConformanceClass();
+ }
+
+ /**
+ * Create an instance of {@link ApplicationType.Form }
+ *
+ */
+ public ApplicationType.Form createApplicationTypeForm() {
+ return new ApplicationType.Form();
+ }
+
+ /**
+ * Create an instance of {@link ApplicationType.Ejb }
+ *
+ */
+ public ApplicationType.Ejb createApplicationTypeEjb() {
+ return new ApplicationType.Ejb();
+ }
+
+ /**
+ * Create an instance of {@link XPDLGroup }
+ *
+ */
+ public XPDLGroup createXPDLGroup() {
+ return new XPDLGroup();
+ }
+
+ /**
+ * Create an instance of {@link XPDLLoop }
+ *
+ */
+ public XPDLLoop createXPDLLoop() {
+ return new XPDLLoop();
+ }
+
+ /**
+ * Create an instance of {@link XPDLTypeDeclarations }
+ *
+ */
+ public XPDLTypeDeclarations createXPDLTypeDeclarations() {
+ return new XPDLTypeDeclarations();
+ }
+
+ /**
+ * Create an instance of {@link XPDLDataObject }
+ *
+ */
+ public XPDLDataObject createXPDLDataObject() {
+ return new XPDLDataObject();
+ }
+
+ /**
+ * Create an instance of {@link XPDLExternalPackages }
+ *
+ */
+ public XPDLExternalPackages createXPDLExternalPackages() {
+ return new XPDLExternalPackages();
+ }
+
+ /**
+ * Create an instance of {@link XPDLXPDLVersion }
+ *
+ */
+ public XPDLXPDLVersion createXPDLXPDLVersion() {
+ return new XPDLXPDLVersion();
+ }
+
+ /**
+ * Create an instance of {@link XPDLArrayType }
+ *
+ */
+ public XPDLArrayType createXPDLArrayType() {
+ return new XPDLArrayType();
+ }
+
+ /**
+ * Create an instance of {@link XPDLResponsibles }
+ *
+ */
+ public XPDLResponsibles createXPDLResponsibles() {
+ return new XPDLResponsibles();
+ }
+
+ /**
+ * Create an instance of {@link XPDLTaskReference }
+ *
+ */
+ public XPDLTaskReference createXPDLTaskReference() {
+ return new XPDLTaskReference();
+ }
+
+ /**
+ * Create an instance of {@link XPDLDataMappings }
+ *
+ */
+ public XPDLDataMappings createXPDLDataMappings() {
+ return new XPDLDataMappings();
+ }
+
+ /**
+ * Create an instance of {@link XPDLAssociation }
+ *
+ */
+ public XPDLAssociation createXPDLAssociation() {
+ return new XPDLAssociation();
+ }
+
+ /**
+ * Create an instance of {@link XPDLResultMultiple }
+ *
+ */
+ public XPDLResultMultiple createXPDLResultMultiple() {
+ return new XPDLResultMultiple();
+ }
+
+ /**
+ * Create an instance of {@link XPDLCategories }
+ *
+ */
+ public XPDLCategories createXPDLCategories() {
+ return new XPDLCategories();
+ }
+
+ /**
+ * Create an instance of {@link XPDLSchemaType }
+ *
+ */
+ public XPDLSchemaType createXPDLSchemaType() {
+ return new XPDLSchemaType();
+ }
+
+ /**
+ * Create an instance of {@link XPDLTriggerResultCompensation }
+ *
+ */
+ public XPDLTriggerResultCompensation createXPDLTriggerResultCompensation() {
+ return new XPDLTriggerResultCompensation();
+ }
+
+ /**
+ * Create an instance of {@link ApplicationType.BusinessRule }
+ *
+ */
+ public ApplicationType.BusinessRule createApplicationTypeBusinessRule() {
+ return new ApplicationType.BusinessRule();
+ }
+
+ /**
+ * Create an instance of {@link XPDLTaskUser }
+ *
+ */
+ public XPDLTaskUser createXPDLTaskUser() {
+ return new XPDLTaskUser();
+ }
+
+ /**
+ * Create an instance of {@link XPDLArtifact }
+ *
+ */
+ public XPDLArtifact createXPDLArtifact() {
+ return new XPDLArtifact();
+ }
+
+ /**
+ * Create an instance of {@link XPDLValidFrom }
+ *
+ */
+ public XPDLValidFrom createXPDLValidFrom() {
+ return new XPDLValidFrom();
+ }
+
+ /**
+ * Create an instance of {@link XPDLImplementation }
+ *
+ */
+ public XPDLImplementation createXPDLImplementation() {
+ return new XPDLImplementation();
+ }
+
+ /**
+ * Create an instance of {@link XPDLDeadline.ExceptionName }
+ *
+ */
+ public XPDLDeadline.ExceptionName createXPDLDeadlineExceptionName() {
+ return new XPDLDeadline.ExceptionName();
+ }
+
+ /**
+ * Create an instance of {@link XPDLPerformer }
+ *
+ */
+ public XPDLPerformer createXPDLPerformer() {
+ return new XPDLPerformer();
+ }
+
+ /**
+ * Create an instance of {@link XPDLScript }
+ *
+ */
+ public XPDLScript createXPDLScript() {
+ return new XPDLScript();
+ }
+
+ /**
+ * Create an instance of {@link XPDLAssignment }
+ *
+ */
+ public XPDLAssignment createXPDLAssignment() {
+ return new XPDLAssignment();
+ }
+
+ /**
+ * Create an instance of {@link XPDLExternalReference }
+ *
+ */
+ public XPDLExternalReference createXPDLExternalReference() {
+ return new XPDLExternalReference();
+ }
+
+ /**
+ * Create an instance of {@link XPDLObject }
+ *
+ */
+ public XPDLObject createXPDLObject() {
+ return new XPDLObject();
+ }
+
+ /**
+ * Create an instance of {@link XPDLTriggerConditional }
+ *
+ */
+ public XPDLTriggerConditional createXPDLTriggerConditional() {
+ return new XPDLTriggerConditional();
+ }
+
+ /**
+ * Create an instance of {@link XPDLActivitySets }
+ *
+ */
+ public XPDLActivitySets createXPDLActivitySets() {
+ return new XPDLActivitySets();
+ }
+
+ /**
+ * Create an instance of {@link XPDLTaskApplication }
+ *
+ */
+ public XPDLTaskApplication createXPDLTaskApplication() {
+ return new XPDLTaskApplication();
+ }
+
+ /**
+ * Create an instance of {@link XPDLTriggerIntermediateMultiple }
+ *
+ */
+ public XPDLTriggerIntermediateMultiple createXPDLTriggerIntermediateMultiple() {
+ return new XPDLTriggerIntermediateMultiple();
+ }
+
+ /**
+ * Create an instance of {@link XPDLTransitionRefs }
+ *
+ */
+ public XPDLTransitionRefs createXPDLTransitionRefs() {
+ return new XPDLTransitionRefs();
+ }
+
+ /**
+ * Create an instance of {@link XPDLIntermediateEvent }
+ *
+ */
+ public XPDLIntermediateEvent createXPDLIntermediateEvent() {
+ return new XPDLIntermediateEvent();
+ }
+
+ /**
+ * Create an instance of {@link XPDLPartnerLinkType }
+ *
+ */
+ public XPDLPartnerLinkType createXPDLPartnerLinkType() {
+ return new XPDLPartnerLinkType();
+ }
+
+ /**
+ * Create an instance of {@link XPDLPools }
+ *
+ */
+ public XPDLPools createXPDLPools() {
+ return new XPDLPools();
+ }
+
+ /**
+ * Create an instance of {@link XPDLValidTo }
+ *
+ */
+ public XPDLValidTo createXPDLValidTo() {
+ return new XPDLValidTo();
+ }
+
+ /**
+ * Create an instance of {@link XPDLEvent }
+ *
+ */
+ public XPDLEvent createXPDLEvent() {
+ return new XPDLEvent();
+ }
+
+ /**
+ * Create an instance of {@link XPDLDataField }
+ *
+ */
+ public XPDLDataField createXPDLDataField() {
+ return new XPDLDataField();
+ }
+
+ /**
+ * Create an instance of {@link XPDLLane }
+ *
+ */
+ public XPDLLane createXPDLLane() {
+ return new XPDLLane();
+ }
+
+ /**
+ * Create an instance of {@link XPDLParticipant }
+ *
+ */
+ public XPDLParticipant createXPDLParticipant() {
+ return new XPDLParticipant();
+ }
+
+ /**
+ * Create an instance of {@link XPDLPartnerLink.MyRole }
+ *
+ */
+ public XPDLPartnerLink.MyRole createXPDLPartnerLinkMyRole() {
+ return new XPDLPartnerLink.MyRole();
+ }
+
+ /**
+ * Create an instance of {@link XPDLResultError }
+ *
+ */
+ public XPDLResultError createXPDLResultError() {
+ return new XPDLResultError();
+ }
+
+ /**
+ * Create an instance of {@link XPDLPackageHeader }
+ *
+ */
+ public XPDLPackageHeader createXPDLPackageHeader() {
+ return new XPDLPackageHeader();
+ }
+
+ /**
+ * Create an instance of {@link XPDLListType }
+ *
+ */
+ public XPDLListType createXPDLListType() {
+ return new XPDLListType();
+ }
+
+ /**
+ * Create an instance of {@link XPDLTaskSend }
+ *
+ */
+ public XPDLTaskSend createXPDLTaskSend() {
+ return new XPDLTaskSend();
+ }
+
+ /**
+ * Create an instance of {@link XPDLIcon }
+ *
+ */
+ public XPDLIcon createXPDLIcon() {
+ return new XPDLIcon();
+ }
+
+ /**
+ * Create an instance of {@link XPDLPartnerLinkType.Role }
+ *
+ */
+ public XPDLPartnerLinkType.Role createXPDLPartnerLinkTypeRole() {
+ return new XPDLPartnerLinkType.Role();
+ }
+
+ /**
+ * Create an instance of {@link XPDLOutputSets }
+ *
+ */
+ public XPDLOutputSets createXPDLOutputSets() {
+ return new XPDLOutputSets();
+ }
+
+ /**
+ * Create an instance of {@link XPDLTriggerResultLink }
+ *
+ */
+ public XPDLTriggerResultLink createXPDLTriggerResultLink() {
+ return new XPDLTriggerResultLink();
+ }
+
+ /**
+ * Create an instance of {@link ApplicationType.Ejb.Method }
+ *
+ */
+ public ApplicationType.Ejb.Method createApplicationTypeEjbMethod() {
+ return new ApplicationType.Ejb.Method();
+ }
+
+ /**
+ * Create an instance of {@link XPDLCostUnit }
+ *
+ */
+ public XPDLCostUnit createXPDLCostUnit() {
+ return new XPDLCostUnit();
+ }
+
+ /**
+ * Create an instance of {@link ApplicationType.WebService }
+ *
+ */
+ public ApplicationType.WebService createApplicationTypeWebService() {
+ return new ApplicationType.WebService();
+ }
+
+ /**
+ * Create an instance of {@link ApplicationType.Pojo }
+ *
+ */
+ public ApplicationType.Pojo createApplicationTypePojo() {
+ return new ApplicationType.Pojo();
+ }
+
+ /**
+ * Create an instance of {@link XPDLDocumentation }
+ *
+ */
+ public XPDLDocumentation createXPDLDocumentation() {
+ return new XPDLDocumentation();
+ }
+
+ /**
+ * Create an instance of {@link XPDLRecordType }
+ *
+ */
+ public XPDLRecordType createXPDLRecordType() {
+ return new XPDLRecordType();
+ }
+
+ /**
+ * Create an instance of {@link XPDLWaitingTime }
+ *
+ */
+ public XPDLWaitingTime createXPDLWaitingTime() {
+ return new XPDLWaitingTime();
+ }
+
+ /**
+ * Create an instance of {@link XPDLCostStructure }
+ *
+ */
+ public XPDLCostStructure createXPDLCostStructure() {
+ return new XPDLCostStructure();
+ }
+
+ /**
+ * Create an instance of {@link XPDLArtifactInput }
+ *
+ */
+ public XPDLArtifactInput createXPDLArtifactInput() {
+ return new XPDLArtifactInput();
+ }
+
+ /**
+ * Create an instance of {@link XPDLDescription }
+ *
+ */
+ public XPDLDescription createXPDLDescription() {
+ return new XPDLDescription();
+ }
+
+ /**
+ * Create an instance of {@link XPDLVendorExtension }
+ *
+ */
+ public XPDLVendorExtension createXPDLVendorExtension() {
+ return new XPDLVendorExtension();
+ }
+
+ /**
+ * Create an instance of {@link XPDLReference }
+ *
+ */
+ public XPDLReference createXPDLReference() {
+ return new XPDLReference();
+ }
+
+ /**
+ * Create an instance of {@link XPDLTransitionRestriction }
+ *
+ */
+ public XPDLTransitionRestriction createXPDLTransitionRestriction() {
+ return new XPDLTransitionRestriction();
+ }
+
+ /**
+ * Create an instance of {@link XPDLEndEvent }
+ *
+ */
+ public XPDLEndEvent createXPDLEndEvent() {
+ return new XPDLEndEvent();
+ }
+
+ /**
+ * Create an instance of {@link XPDLScale }
+ *
+ */
+ public XPDLScale createXPDLScale() {
+ return new XPDLScale();
+ }
+
+ /**
+ * Create an instance of {@link XPDLTransaction }
+ *
+ */
+ public XPDLTransaction createXPDLTransaction() {
+ return new XPDLTransaction();
+ }
+
+ /**
+ * Create an instance of {@link ApplicationType.Ejb.HomeClass }
+ *
+ */
+ public ApplicationType.Ejb.HomeClass createApplicationTypeEjbHomeClass() {
+ return new ApplicationType.Ejb.HomeClass();
+ }
+
+ /**
+ * Create an instance of {@link XPDLDataObject.DataField }
+ *
+ */
+ public XPDLDataObject.DataField createXPDLDataObjectDataField() {
+ return new XPDLDataObject.DataField();
+ }
+
+ /**
+ * Create an instance of {@link XPDLSplit }
+ *
+ */
+ public XPDLSplit createXPDLSplit() {
+ return new XPDLSplit();
+ }
+
+ /**
+ * Create an instance of {@link XPDLWebServiceFaultCatch }
+ *
+ */
+ public XPDLWebServiceFaultCatch createXPDLWebServiceFaultCatch() {
+ return new XPDLWebServiceFaultCatch();
+ }
+
+ /**
+ * Create an instance of {@link XPDLTaskManual }
+ *
+ */
+ public XPDLTaskManual createXPDLTaskManual() {
+ return new XPDLTaskManual();
+ }
+
+ /**
+ * Create an instance of {@link XPDLVendorExtensions }
+ *
+ */
+ public XPDLVendorExtensions createXPDLVendorExtensions() {
+ return new XPDLVendorExtensions();
+ }
+
+ /**
+ * Create an instance of {@link XPDLParticipantType }
+ *
+ */
+ public XPDLParticipantType createXPDLParticipantType() {
+ return new XPDLParticipantType();
+ }
+
+ /**
+ * Create an instance of {@link XPDLCodepage }
+ *
+ */
+ public XPDLCodepage createXPDLCodepage() {
+ return new XPDLCodepage();
+ }
+
+ /**
+ * Create an instance of {@link XPDLDataFields }
+ *
+ */
+ public XPDLDataFields createXPDLDataFields() {
+ return new XPDLDataFields();
+ }
+
+ /**
+ * Create an instance of {@link XPDLActivity }
+ *
+ */
+ public XPDLActivity createXPDLActivity() {
+ return new XPDLActivity();
+ }
+
+ /**
+ * Create an instance of {@link XPDLResourceCosts }
+ *
+ */
+ public XPDLResourceCosts createXPDLResourceCosts() {
+ return new XPDLResourceCosts();
+ }
+
+ /**
+ * Create an instance of {@link XPDLJoin }
+ *
+ */
+ public XPDLJoin createXPDLJoin() {
+ return new XPDLJoin();
+ }
+
+ /**
+ * Create an instance of {@link XPDLInputSet }
+ *
+ */
+ public XPDLInputSet createXPDLInputSet() {
+ return new XPDLInputSet();
+ }
+
+ /**
+ * Create an instance of {@link ApplicationType.Form.FormLayout }
+ *
+ */
+ public ApplicationType.Form.FormLayout createApplicationTypeFormFormLayout() {
+ return new ApplicationType.Form.FormLayout();
+ }
+
+ /**
+ * Create an instance of {@link XPDLRule }
+ *
+ */
+ public XPDLRule createXPDLRule() {
+ return new XPDLRule();
+ }
+
+ /**
+ * Create an instance of {@link XPDLWebServiceOperation.Service }
+ *
+ */
+ public XPDLWebServiceOperation.Service createXPDLWebServiceOperationService() {
+ return new XPDLWebServiceOperation.Service();
+ }
+
+ /**
+ * Create an instance of {@link XPDLMessageFlow }
+ *
+ */
+ public XPDLMessageFlow createXPDLMessageFlow() {
+ return new XPDLMessageFlow();
+ }
+
+ /**
+ * Create an instance of {@link XPDLActivitySet }
+ *
+ */
+ public XPDLActivitySet createXPDLActivitySet() {
+ return new XPDLActivitySet();
+ }
+
+ /**
+ * Create an instance of {@link XPDLFormalParameter }
+ *
+ */
+ public XPDLFormalParameter createXPDLFormalParameter() {
+ return new XPDLFormalParameter();
+ }
+
+ /**
+ * Create an instance of {@link XPDLDeadline }
+ *
+ */
+ public XPDLDeadline createXPDLDeadline() {
+ return new XPDLDeadline();
+ }
+
+ /**
+ * Create an instance of {@link XPDLTriggerMultiple }
+ *
+ */
+ public XPDLTriggerMultiple createXPDLTriggerMultiple() {
+ return new XPDLTriggerMultiple();
+ }
+
+ /**
+ * Create an instance of {@link ExpressionType }
+ *
+ */
+ public ExpressionType createExpressionType() {
+ return new ExpressionType();
+ }
+
+ /**
+ * Create an instance of {@link MessageType }
+ *
+ */
+ public MessageType createMessageType() {
+ return new MessageType();
+ }
+
+ /**
+ * Create an instance of {@link XPDLOutput }
+ *
+ */
+ public XPDLOutput createXPDLOutput() {
+ return new XPDLOutput();
+ }
+
+ /**
+ * Create an instance of {@link XPDLUnionType }
+ *
+ */
+ public XPDLUnionType createXPDLUnionType() {
+ return new XPDLUnionType();
+ }
+
+ /**
+ * Create an instance of {@link XPDLWorkflowProcesses }
+ *
+ */
+ public XPDLWorkflowProcesses createXPDLWorkflowProcesses() {
+ return new XPDLWorkflowProcesses();
+ }
+
+ /**
+ * Create an instance of {@link XPDLPrecision }
+ *
+ */
+ public XPDLPrecision createXPDLPrecision() {
+ return new XPDLPrecision();
+ }
+
+ /**
+ * Create an instance of {@link XPDLCreated }
+ *
+ */
+ public XPDLCreated createXPDLCreated() {
+ return new XPDLCreated();
+ }
+
+ /**
+ * Create an instance of {@link XPDLExternalPackage }
+ *
+ */
+ public XPDLExternalPackage createXPDLExternalPackage() {
+ return new XPDLExternalPackage();
+ }
+
+ /**
+ * Create an instance of {@link XPDLAuthor }
+ *
+ */
+ public XPDLAuthor createXPDLAuthor() {
+ return new XPDLAuthor();
+ }
+
+ /**
+ * Create an instance of {@link XPDLIORules }
+ *
+ */
+ public XPDLIORules createXPDLIORules() {
+ return new XPDLIORules();
+ }
+
+ /**
+ * Create an instance of {@link XPDLSimulationInformation }
+ *
+ */
+ public XPDLSimulationInformation createXPDLSimulationInformation() {
+ return new XPDLSimulationInformation();
+ }
+
+ /**
+ * Create an instance of {@link XPDLLayoutInfo }
+ *
+ */
+ public XPDLLayoutInfo createXPDLLayoutInfo() {
+ return new XPDLLayoutInfo();
+ }
+
+ /**
+ * Create an instance of {@link XPDLPriority }
+ *
+ */
+ public XPDLPriority createXPDLPriority() {
+ return new XPDLPriority();
+ }
+
+ /**
+ * Create an instance of {@link XPDLBlockActivity }
+ *
+ */
+ public XPDLBlockActivity createXPDLBlockActivity() {
+ return new XPDLBlockActivity();
+ }
+
+ /**
+ * Create an instance of {@link XPDLWorkflowProcess }
+ *
+ */
+ public XPDLWorkflowProcess createXPDLWorkflowProcess() {
+ return new XPDLWorkflowProcess();
+ }
+
+ /**
+ * Create an instance of {@link XPDLTransitionRestrictions }
+ *
+ */
+ public XPDLTransitionRestrictions createXPDLTransitionRestrictions() {
+ return new XPDLTransitionRestrictions();
+ }
+
+ /**
+ * Create an instance of {@link XPDLCoordinates }
+ *
+ */
+ public XPDLCoordinates createXPDLCoordinates() {
+ return new XPDLCoordinates();
+ }
+
+ /**
+ * Create an instance of {@link XPDLModificationDate }
+ *
+ */
+ public XPDLModificationDate createXPDLModificationDate() {
+ return new XPDLModificationDate();
+ }
+
+ /**
+ * Create an instance of {@link XPDLOutputSet }
+ *
+ */
+ public XPDLOutputSet createXPDLOutputSet() {
+ return new XPDLOutputSet();
+ }
+
+ /**
+ * Create an instance of {@link ApplicationType.Script }
+ *
+ */
+ public ApplicationType.Script createApplicationTypeScript() {
+ return new ApplicationType.Script();
+ }
+
+ /**
+ * Create an instance of {@link XPDLEndPoint }
+ *
+ */
+ public XPDLEndPoint createXPDLEndPoint() {
+ return new XPDLEndPoint();
+ }
+
+ /**
+ * Create an instance of {@link XPDLInputSets }
+ *
+ */
+ public XPDLInputSets createXPDLInputSets() {
+ return new XPDLInputSets();
+ }
+
+ /**
+ * Create an instance of {@link XPDLNodeGraphicsInfos }
+ *
+ */
+ public XPDLNodeGraphicsInfos createXPDLNodeGraphicsInfos() {
+ return new XPDLNodeGraphicsInfos();
+ }
+
+ /**
+ * Create an instance of {@link ApplicationType.Pojo.Class }
+ *
+ */
+ public ApplicationType.Pojo.Class createApplicationTypePojoClass() {
+ return new ApplicationType.Pojo.Class();
+ }
+
+ /**
+ * Create an instance of {@link XPDLLimit }
+ *
+ */
+ public XPDLLimit createXPDLLimit() {
+ return new XPDLLimit();
+ }
+
+ /**
+ * Create an instance of {@link XPDLTransition }
+ *
+ */
+ public XPDLTransition createXPDLTransition() {
+ return new XPDLTransition();
+ }
+
+ /**
+ * Create an instance of {@link XPDLWebServiceOperation }
+ *
+ */
+ public XPDLWebServiceOperation createXPDLWebServiceOperation() {
+ return new XPDLWebServiceOperation();
+ }
+
+ /**
+ * Create an instance of {@link XPDLPerformers }
+ *
+ */
+ public XPDLPerformers createXPDLPerformers() {
+ return new XPDLPerformers();
+ }
+
+ /**
+ * Create an instance of {@link XPDLVersion }
+ *
+ */
+ public XPDLVersion createXPDLVersion() {
+ return new XPDLVersion();
+ }
+
+ /**
+ * Create an instance of {@link ApplicationType }
+ *
+ */
+ public ApplicationType createApplicationType() {
+ return new ApplicationType();
+ }
+
+ /**
+ * Create an instance of {@link XPDLRoute }
+ *
+ */
+ public XPDLRoute createXPDLRoute() {
+ return new XPDLRoute();
+ }
+
+ /**
+ * Create an instance of {@link XPDLPriorityUnit }
+ *
+ */
+ public XPDLPriorityUnit createXPDLPriorityUnit() {
+ return new XPDLPriorityUnit();
+ }
+
+ /**
+ * Create an instance of {@link XPDLFormalParameters }
+ *
+ */
+ public XPDLFormalParameters createXPDLFormalParameters() {
+ return new XPDLFormalParameters();
+ }
+
+ /**
+ * Create an instance of {@link XPDLCountrykey }
+ *
+ */
+ public XPDLCountrykey createXPDLCountrykey() {
+ return new XPDLCountrykey();
+ }
+
+ /**
+ * Create an instance of {@link XPDLGroup.Object }
+ *
+ */
+ public XPDLGroup.Object createXPDLGroupObject() {
+ return new XPDLGroup.Object();
+ }
+
+ /**
+ * Create an instance of {@link XPDLWorkingTime }
+ *
+ */
+ public XPDLWorkingTime createXPDLWorkingTime() {
+ return new XPDLWorkingTime();
+ }
+
+ /**
+ * Create an instance of {@link XPDLTaskReceive }
+ *
+ */
+ public XPDLTaskReceive createXPDLTaskReceive() {
+ return new XPDLTaskReceive();
+ }
+
+ /**
+ * Create an instance of {@link ApplicationType.Pojo.Method }
+ *
+ */
+ public ApplicationType.Pojo.Method createApplicationTypePojoMethod() {
+ return new ApplicationType.Pojo.Method();
+ }
+
+ /**
+ * Create an instance of {@link XPDLLane.NestedLane }
+ *
+ */
+ public XPDLLane.NestedLane createXPDLLaneNestedLane() {
+ return new XPDLLane.NestedLane();
+ }
+
+ /**
+ * Create an instance of {@link XPDLArtifacts }
+ *
+ */
+ public XPDLArtifacts createXPDLArtifacts() {
+ return new XPDLArtifacts();
+ }
+
+ /**
+ * Create an instance of {@link XPDLPages }
+ *
+ */
+ public XPDLPages createXPDLPages() {
+ return new XPDLPages();
+ }
+
+ /**
+ * Create an instance of {@link ApplicationType.Xslt }
+ *
+ */
+ public ApplicationType.Xslt createApplicationTypeXslt() {
+ return new ApplicationType.Xslt();
+ }
+
+ /**
+ * Create an instance of {@link XPDLLoopMultiInstance }
+ *
+ */
+ public XPDLLoopMultiInstance createXPDLLoopMultiInstance() {
+ return new XPDLLoopMultiInstance();
+ }
+
+ /**
+ * Create an instance of {@link XPDLPool }
+ *
+ */
+ public XPDLPool createXPDLPool() {
+ return new XPDLPool();
+ }
+
+ /**
+ * Create an instance of {@link XPDLDataType }
+ *
+ */
+ public XPDLDataType createXPDLDataType() {
+ return new XPDLDataType();
+ }
+
+ /**
+ * Create an instance of {@link XPDLStartEvent }
+ *
+ */
+ public XPDLStartEvent createXPDLStartEvent() {
+ return new XPDLStartEvent();
+ }
+
+ /**
+ * Create an instance of {@link XPDLApplications }
+ *
+ */
+ public XPDLApplications createXPDLApplications() {
+ return new XPDLApplications();
+ }
+
+ /**
+ * Create an instance of {@link XPDLPage }
+ *
+ */
+ public XPDLPage createXPDLPage() {
+ return new XPDLPage();
+ }
+
+ /**
+ * Create an instance of {@link XPDLMember }
+ *
+ */
+ public XPDLMember createXPDLMember() {
+ return new XPDLMember();
+ }
+
+ /**
+ * Create an instance of {@link XPDLMessageFlows }
+ *
+ */
+ public XPDLMessageFlows createXPDLMessageFlows() {
+ return new XPDLMessageFlows();
+ }
+
+ /**
+ * Create an instance of {@link XPDLLength }
+ *
+ */
+ public XPDLLength createXPDLLength() {
+ return new XPDLLength();
+ }
+
+ /**
+ * Create an instance of {@link XPDLNo }
+ *
+ */
+ public XPDLNo createXPDLNo() {
+ return new XPDLNo();
+ }
+
+ /**
+ * Create an instance of {@link XPDLApplication }
+ *
+ */
+ public XPDLApplication createXPDLApplication() {
+ return new XPDLApplication();
+ }
+
+ /**
+ * Create an instance of {@link XPDLConnectorGraphicsInfo }
+ *
+ */
+ public XPDLConnectorGraphicsInfo createXPDLConnectorGraphicsInfo() {
+ return new XPDLConnectorGraphicsInfo();
+ }
+
+ /**
+ * Create an instance of {@link XPDLTransitions }
+ *
+ */
+ public XPDLTransitions createXPDLTransitions() {
+ return new XPDLTransitions();
+ }
+
+ /**
+ * Create an instance of {@link ApplicationType.BusinessRule.RuleName }
+ *
+ */
+ public ApplicationType.BusinessRule.RuleName createApplicationTypeBusinessRuleRuleName() {
+ return new ApplicationType.BusinessRule.RuleName();
+ }
+
+ /**
+ * Create an instance of {@link XPDLExtendedAttribute }
+ *
+ */
+ public XPDLExtendedAttribute createXPDLExtendedAttribute() {
+ return new XPDLExtendedAttribute();
+ }
+
+ /**
+ * Create an instance of {@link XPDLDataMapping }
+ *
+ */
+ public XPDLDataMapping createXPDLDataMapping() {
+ return new XPDLDataMapping();
+ }
+
+ /**
+ * Create an instance of {@link XPDLActivities }
+ *
+ */
+ public XPDLActivities createXPDLActivities() {
+ return new XPDLActivities();
+ }
+
+ /**
+ * Create an instance of {@link XPDLTask }
+ *
+ */
+ public XPDLTask createXPDLTask() {
+ return new XPDLTask();
+ }
+
+ /**
+ * Create an instance of {@link XPDLTaskService }
+ *
+ */
+ public XPDLTaskService createXPDLTaskService() {
+ return new XPDLTaskService();
+ }
+
+ /**
+ * Create an instance of {@link XPDLParticipants }
+ *
+ */
+ public XPDLParticipants createXPDLParticipants() {
+ return new XPDLParticipants();
+ }
+
+ /**
+ * Create an instance of {@link XPDLTimeEstimation }
+ *
+ */
+ public XPDLTimeEstimation createXPDLTimeEstimation() {
+ return new XPDLTimeEstimation();
+ }
+
+ /**
+ * Create an instance of {@link ApplicationType.Ejb.JndiName }
+ *
+ */
+ public ApplicationType.Ejb.JndiName createApplicationTypeEjbJndiName() {
+ return new ApplicationType.Ejb.JndiName();
+ }
+
+ /**
+ * Create an instance of {@link ApplicationType.BusinessRule.Location }
+ *
+ */
+ public ApplicationType.BusinessRule.Location createApplicationTypeBusinessRuleLocation() {
+ return new ApplicationType.BusinessRule.Location();
+ }
+
+ /**
+ * Create an instance of {@link XPDLTriggerTimer }
+ *
+ */
+ public XPDLTriggerTimer createXPDLTriggerTimer() {
+ return new XPDLTriggerTimer();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link java.lang.Object }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.wfmc.org/2008/XPDL2.1", name = "TriggerResultCancel")
+ public JAXBElement<java.lang.Object> createTriggerResultCancel(java.lang.Object value) {
+ return new JAXBElement<java.lang.Object>(_TriggerResultCancel_QNAME, java.lang.Object.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link PackageType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.wfmc.org/2008/XPDL2.1", name = "Package")
+ public JAXBElement<PackageType> createPackage(PackageType value) {
+ return new JAXBElement<PackageType>(_Package_QNAME, PackageType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link XPDLWorkflowProcess }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.wfmc.org/2008/XPDL2.1", name = "WorkflowProcess")
+ public JAXBElement<XPDLWorkflowProcess> createWorkflowProcess(XPDLWorkflowProcess value) {
+ return new JAXBElement<XPDLWorkflowProcess>(_WorkflowProcess_QNAME, XPDLWorkflowProcess.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link ExpressionType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.wfmc.org/2008/XPDL2.1", name = "Expression", scope = XPDLCondition.class)
+ public JAXBElement<ExpressionType> createXPDLConditionExpression(ExpressionType value) {
+ return new JAXBElement<ExpressionType>(_XPDLConditionExpression_QNAME, ExpressionType.class, XPDLCondition.class, value);
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/ObjectFactory.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/PackageType.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/PackageType.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/PackageType.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,691 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for PackageType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="PackageType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}PackageHeader"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}RedefinableHeader" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}ConformanceClass" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Script" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}ExternalPackages" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TypeDeclarations" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Participants" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Applications" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}DataFields" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}PartnerLinkTypes" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Pages" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Pools" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}MessageFlows" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Associations" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Artifacts" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}WorkflowProcesses" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}ExtendedAttributes" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * <attribute name="Id" use="required" type="{http://www.wfmc.org/2008/XPDL2.1}Id" />
+ * <attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="Language" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="QueryLanguage" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "PackageType", propOrder = {
+ "packageHeader",
+ "redefinableHeader",
+ "conformanceClass",
+ "script",
+ "externalPackages",
+ "typeDeclarations",
+ "participants",
+ "applications",
+ "dataFields",
+ "partnerLinkTypes",
+ "pages",
+ "pools",
+ "messageFlows",
+ "associations",
+ "artifacts",
+ "workflowProcesses",
+ "extendedAttributes",
+ "any"
+})
+public class PackageType {
+
+ @XmlElement(name = "PackageHeader", required = true)
+ protected XPDLPackageHeader packageHeader;
+ @XmlElement(name = "RedefinableHeader")
+ protected XPDLRedefinableHeader redefinableHeader;
+ @XmlElement(name = "ConformanceClass")
+ protected XPDLConformanceClass conformanceClass;
+ @XmlElement(name = "Script")
+ protected XPDLScript script;
+ @XmlElement(name = "ExternalPackages")
+ protected XPDLExternalPackages externalPackages;
+ @XmlElement(name = "TypeDeclarations")
+ protected XPDLTypeDeclarations typeDeclarations;
+ @XmlElement(name = "Participants")
+ protected XPDLParticipants participants;
+ @XmlElement(name = "Applications")
+ protected XPDLApplications applications;
+ @XmlElement(name = "DataFields")
+ protected XPDLDataFields dataFields;
+ @XmlElement(name = "PartnerLinkTypes")
+ protected XPDLPartnerLinkTypes partnerLinkTypes;
+ @XmlElement(name = "Pages")
+ protected XPDLPages pages;
+ @XmlElement(name = "Pools")
+ protected XPDLPools pools;
+ @XmlElement(name = "MessageFlows")
+ protected XPDLMessageFlows messageFlows;
+ @XmlElement(name = "Associations")
+ protected XPDLAssociations associations;
+ @XmlElement(name = "Artifacts")
+ protected XPDLArtifacts artifacts;
+ @XmlElement(name = "WorkflowProcesses")
+ protected XPDLWorkflowProcesses workflowProcesses;
+ @XmlElement(name = "ExtendedAttributes")
+ protected XPDLExtendedAttributes extendedAttributes;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Id", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String id;
+ @XmlAttribute(name = "Name")
+ protected String name;
+ @XmlAttribute(name = "Language")
+ protected String language;
+ @XmlAttribute(name = "QueryLanguage")
+ protected String queryLanguage;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the packageHeader property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLPackageHeader }
+ *
+ */
+ public XPDLPackageHeader getPackageHeader() {
+ return packageHeader;
+ }
+
+ /**
+ * Sets the value of the packageHeader property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLPackageHeader }
+ *
+ */
+ public void setPackageHeader(XPDLPackageHeader value) {
+ this.packageHeader = value;
+ }
+
+ /**
+ * Gets the value of the redefinableHeader property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLRedefinableHeader }
+ *
+ */
+ public XPDLRedefinableHeader getRedefinableHeader() {
+ return redefinableHeader;
+ }
+
+ /**
+ * Sets the value of the redefinableHeader property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLRedefinableHeader }
+ *
+ */
+ public void setRedefinableHeader(XPDLRedefinableHeader value) {
+ this.redefinableHeader = value;
+ }
+
+ /**
+ * Gets the value of the conformanceClass property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLConformanceClass }
+ *
+ */
+ public XPDLConformanceClass getConformanceClass() {
+ return conformanceClass;
+ }
+
+ /**
+ * Sets the value of the conformanceClass property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLConformanceClass }
+ *
+ */
+ public void setConformanceClass(XPDLConformanceClass value) {
+ this.conformanceClass = value;
+ }
+
+ /**
+ * Gets the value of the script property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLScript }
+ *
+ */
+ public XPDLScript getScript() {
+ return script;
+ }
+
+ /**
+ * Sets the value of the script property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLScript }
+ *
+ */
+ public void setScript(XPDLScript value) {
+ this.script = value;
+ }
+
+ /**
+ * Gets the value of the externalPackages property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLExternalPackages }
+ *
+ */
+ public XPDLExternalPackages getExternalPackages() {
+ return externalPackages;
+ }
+
+ /**
+ * Sets the value of the externalPackages property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLExternalPackages }
+ *
+ */
+ public void setExternalPackages(XPDLExternalPackages value) {
+ this.externalPackages = value;
+ }
+
+ /**
+ * Gets the value of the typeDeclarations property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTypeDeclarations }
+ *
+ */
+ public XPDLTypeDeclarations getTypeDeclarations() {
+ return typeDeclarations;
+ }
+
+ /**
+ * Sets the value of the typeDeclarations property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTypeDeclarations }
+ *
+ */
+ public void setTypeDeclarations(XPDLTypeDeclarations value) {
+ this.typeDeclarations = value;
+ }
+
+ /**
+ * Gets the value of the participants property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLParticipants }
+ *
+ */
+ public XPDLParticipants getParticipants() {
+ return participants;
+ }
+
+ /**
+ * Sets the value of the participants property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLParticipants }
+ *
+ */
+ public void setParticipants(XPDLParticipants value) {
+ this.participants = value;
+ }
+
+ /**
+ * Gets the value of the applications property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLApplications }
+ *
+ */
+ public XPDLApplications getApplications() {
+ return applications;
+ }
+
+ /**
+ * Sets the value of the applications property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLApplications }
+ *
+ */
+ public void setApplications(XPDLApplications value) {
+ this.applications = value;
+ }
+
+ /**
+ * Gets the value of the dataFields property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLDataFields }
+ *
+ */
+ public XPDLDataFields getDataFields() {
+ return dataFields;
+ }
+
+ /**
+ * Sets the value of the dataFields property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLDataFields }
+ *
+ */
+ public void setDataFields(XPDLDataFields value) {
+ this.dataFields = value;
+ }
+
+ /**
+ * Gets the value of the partnerLinkTypes property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLPartnerLinkTypes }
+ *
+ */
+ public XPDLPartnerLinkTypes getPartnerLinkTypes() {
+ return partnerLinkTypes;
+ }
+
+ /**
+ * Sets the value of the partnerLinkTypes property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLPartnerLinkTypes }
+ *
+ */
+ public void setPartnerLinkTypes(XPDLPartnerLinkTypes value) {
+ this.partnerLinkTypes = value;
+ }
+
+ /**
+ * Gets the value of the pages property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLPages }
+ *
+ */
+ public XPDLPages getPages() {
+ return pages;
+ }
+
+ /**
+ * Sets the value of the pages property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLPages }
+ *
+ */
+ public void setPages(XPDLPages value) {
+ this.pages = value;
+ }
+
+ /**
+ * Gets the value of the pools property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLPools }
+ *
+ */
+ public XPDLPools getPools() {
+ return pools;
+ }
+
+ /**
+ * Sets the value of the pools property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLPools }
+ *
+ */
+ public void setPools(XPDLPools value) {
+ this.pools = value;
+ }
+
+ /**
+ * Gets the value of the messageFlows property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLMessageFlows }
+ *
+ */
+ public XPDLMessageFlows getMessageFlows() {
+ return messageFlows;
+ }
+
+ /**
+ * Sets the value of the messageFlows property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLMessageFlows }
+ *
+ */
+ public void setMessageFlows(XPDLMessageFlows value) {
+ this.messageFlows = value;
+ }
+
+ /**
+ * Gets the value of the associations property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLAssociations }
+ *
+ */
+ public XPDLAssociations getAssociations() {
+ return associations;
+ }
+
+ /**
+ * Sets the value of the associations property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLAssociations }
+ *
+ */
+ public void setAssociations(XPDLAssociations value) {
+ this.associations = value;
+ }
+
+ /**
+ * Gets the value of the artifacts property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLArtifacts }
+ *
+ */
+ public XPDLArtifacts getArtifacts() {
+ return artifacts;
+ }
+
+ /**
+ * Sets the value of the artifacts property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLArtifacts }
+ *
+ */
+ public void setArtifacts(XPDLArtifacts value) {
+ this.artifacts = value;
+ }
+
+ /**
+ * Gets the value of the workflowProcesses property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLWorkflowProcesses }
+ *
+ */
+ public XPDLWorkflowProcesses getWorkflowProcesses() {
+ return workflowProcesses;
+ }
+
+ /**
+ * Sets the value of the workflowProcesses property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLWorkflowProcesses }
+ *
+ */
+ public void setWorkflowProcesses(XPDLWorkflowProcesses value) {
+ this.workflowProcesses = value;
+ }
+
+ /**
+ * Gets the value of the extendedAttributes property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLExtendedAttributes }
+ *
+ */
+ public XPDLExtendedAttributes getExtendedAttributes() {
+ return extendedAttributes;
+ }
+
+ /**
+ * Sets the value of the extendedAttributes property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLExtendedAttributes }
+ *
+ */
+ public void setExtendedAttributes(XPDLExtendedAttributes value) {
+ this.extendedAttributes = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the language property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLanguage() {
+ return language;
+ }
+
+ /**
+ * Sets the value of the language property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLanguage(String value) {
+ this.language = value;
+ }
+
+ /**
+ * Gets the value of the queryLanguage property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getQueryLanguage() {
+ return queryLanguage;
+ }
+
+ /**
+ * Sets the value of the queryLanguage property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setQueryLanguage(String value) {
+ this.queryLanguage = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/PackageType.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLActivities.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLActivities.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLActivities.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,138 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Activity" maxOccurs="unbounded" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "activity",
+ "any"
+})
+@XmlRootElement(name = "Activities")
+public class XPDLActivities {
+
+ @XmlElement(name = "Activity")
+ protected List<XPDLActivity> activity;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * BPMN: corresponds to a flow object, which could be a BPMN activity, gateway, or event Gets the value of the activity property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the activity property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getActivity().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLActivity }
+ *
+ *
+ */
+ public List<XPDLActivity> getActivity() {
+ if (activity == null) {
+ activity = new ArrayList<XPDLActivity>();
+ }
+ return this.activity;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLActivities.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLActivity.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLActivity.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLActivity.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,1115 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.math.BigInteger;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Description" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Limit" minOccurs="0"/>
+ * <choice minOccurs="0">
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Route"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Implementation"/>
+ * <choice minOccurs="0">
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}BlockActivity"/>
+ * </choice>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Event"/>
+ * </choice>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Transaction" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Performers" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Priority" minOccurs="0"/>
+ * <choice minOccurs="0">
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Deadline" maxOccurs="unbounded" minOccurs="0"/>
+ * </choice>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}SimulationInformation" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Icon" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Documentation" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TransitionRestrictions" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}ExtendedAttributes" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}DataFields" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}InputSets" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}OutputSets" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}IORules" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Loop" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Assignments" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Object" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}NodeGraphicsInfos" minOccurs="0"/>
+ * <choice minOccurs="0">
+ * <sequence>
+ * <element name="Extensions" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
+ * <any/>
+ * </sequence>
+ * </choice>
+ * </sequence>
+ * <attribute name="Id" use="required" type="{http://www.wfmc.org/2008/XPDL2.1}Id" />
+ * <attribute name="IsForCompensation" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="StartActivity" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="Status" default="None">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="None"/>
+ * <enumeration value="Ready"/>
+ * <enumeration value="Active"/>
+ * <enumeration value="Cancelled"/>
+ * <enumeration value="Aborting"/>
+ * <enumeration value="Aborted"/>
+ * <enumeration value="Completing"/>
+ * <enumeration value="Completed"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * <attribute name="StartMode">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="Automatic"/>
+ * <enumeration value="Manual"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * <attribute name="FinishMode">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="Automatic"/>
+ * <enumeration value="Manual"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * <attribute name="StartQuantity" type="{http://www.w3.org/2001/XMLSchema}integer" default="1" />
+ * <attribute name="CompletionQuantity" type="{http://www.w3.org/2001/XMLSchema}integer" default="1" />
+ * <attribute name="IsATransaction" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "description",
+ "limit",
+ "route",
+ "implementation",
+ "blockActivity",
+ "event",
+ "transaction",
+ "performers",
+ "priority",
+ "deadline",
+ "simulationInformation",
+ "icon",
+ "documentation",
+ "transitionRestrictions",
+ "extendedAttributes",
+ "dataFields",
+ "inputSets",
+ "outputSets",
+ "ioRules",
+ "loop",
+ "assignments",
+ "object",
+ "nodeGraphicsInfos",
+ "extensions",
+ "any"
+})
+@XmlRootElement(name = "Activity")
+public class XPDLActivity {
+
+ @XmlElement(name = "Description")
+ protected XPDLDescription description;
+ @XmlElement(name = "Limit")
+ protected XPDLLimit limit;
+ @XmlElement(name = "Route")
+ protected XPDLRoute route;
+ @XmlElement(name = "Implementation")
+ protected XPDLImplementation implementation;
+ @XmlElement(name = "BlockActivity")
+ protected XPDLBlockActivity blockActivity;
+ @XmlElement(name = "Event")
+ protected XPDLEvent event;
+ @XmlElement(name = "Transaction")
+ protected XPDLTransaction transaction;
+ @XmlElement(name = "Performers")
+ protected XPDLPerformers performers;
+ @XmlElement(name = "Priority")
+ protected XPDLPriority priority;
+ @XmlElement(name = "Deadline")
+ protected List<XPDLDeadline> deadline;
+ @XmlElement(name = "SimulationInformation")
+ protected XPDLSimulationInformation simulationInformation;
+ @XmlElement(name = "Icon")
+ protected XPDLIcon icon;
+ @XmlElement(name = "Documentation")
+ protected XPDLDocumentation documentation;
+ @XmlElement(name = "TransitionRestrictions")
+ protected XPDLTransitionRestrictions transitionRestrictions;
+ @XmlElement(name = "ExtendedAttributes")
+ protected XPDLExtendedAttributes extendedAttributes;
+ @XmlElement(name = "DataFields")
+ protected XPDLDataFields dataFields;
+ @XmlElement(name = "InputSets")
+ protected XPDLInputSets inputSets;
+ @XmlElement(name = "OutputSets")
+ protected XPDLOutputSets outputSets;
+ @XmlElement(name = "IORules")
+ protected XPDLIORules ioRules;
+ @XmlElement(name = "Loop")
+ protected XPDLLoop loop;
+ @XmlElement(name = "Assignments")
+ protected XPDLAssignments assignments;
+ @XmlElement(name = "Object")
+ protected XPDLObject object;
+ @XmlElement(name = "NodeGraphicsInfos")
+ protected XPDLNodeGraphicsInfos nodeGraphicsInfos;
+ @XmlElement(name = "Extensions")
+ protected Object extensions;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Id", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String id;
+ @XmlAttribute(name = "IsForCompensation")
+ protected Boolean isForCompensation;
+ @XmlAttribute(name = "Name")
+ protected String name;
+ @XmlAttribute(name = "StartActivity")
+ protected Boolean startActivity;
+ @XmlAttribute(name = "Status")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String status;
+ @XmlAttribute(name = "StartMode")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String startMode;
+ @XmlAttribute(name = "FinishMode")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String finishMode;
+ @XmlAttribute(name = "StartQuantity")
+ protected BigInteger startQuantity;
+ @XmlAttribute(name = "CompletionQuantity")
+ protected BigInteger completionQuantity;
+ @XmlAttribute(name = "IsATransaction")
+ protected Boolean isATransaction;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the description property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLDescription }
+ *
+ */
+ public XPDLDescription getDescription() {
+ return description;
+ }
+
+ /**
+ * Sets the value of the description property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLDescription }
+ *
+ */
+ public void setDescription(XPDLDescription value) {
+ this.description = value;
+ }
+
+ /**
+ * Gets the value of the limit property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLLimit }
+ *
+ */
+ public XPDLLimit getLimit() {
+ return limit;
+ }
+
+ /**
+ * Sets the value of the limit property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLLimit }
+ *
+ */
+ public void setLimit(XPDLLimit value) {
+ this.limit = value;
+ }
+
+ /**
+ * Gets the value of the route property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLRoute }
+ *
+ */
+ public XPDLRoute getRoute() {
+ return route;
+ }
+
+ /**
+ * Sets the value of the route property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLRoute }
+ *
+ */
+ public void setRoute(XPDLRoute value) {
+ this.route = value;
+ }
+
+ /**
+ * BPMN: corresponds to an activity, which could be a task or subprocess.[Suggest change element to BpmnActivity, since there is an
+ * attribute Implementation which means something else entirely.]
+ *
+ * @return
+ * possible object is
+ * {@link XPDLImplementation }
+ *
+ */
+ public XPDLImplementation getImplementation() {
+ return implementation;
+ }
+
+ /**
+ * BPMN: corresponds to an activity, which could be a task or subprocess.[Suggest change element to BpmnActivity, since there is an
+ * attribute Implementation which means something else entirely.]
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLImplementation }
+ *
+ */
+ public void setImplementation(XPDLImplementation value) {
+ this.implementation = value;
+ }
+
+ /**
+ * Gets the value of the blockActivity property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLBlockActivity }
+ *
+ */
+ public XPDLBlockActivity getBlockActivity() {
+ return blockActivity;
+ }
+
+ /**
+ * Sets the value of the blockActivity property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLBlockActivity }
+ *
+ */
+ public void setBlockActivity(XPDLBlockActivity value) {
+ this.blockActivity = value;
+ }
+
+ /**
+ * BPMN: Identifies XPDL activity as a BPMN event.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLEvent }
+ *
+ */
+ public XPDLEvent getEvent() {
+ return event;
+ }
+
+ /**
+ * BPMN: Identifies XPDL activity as a BPMN event.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLEvent }
+ *
+ */
+ public void setEvent(XPDLEvent value) {
+ this.event = value;
+ }
+
+ /**
+ * Gets the value of the transaction property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTransaction }
+ *
+ */
+ public XPDLTransaction getTransaction() {
+ return transaction;
+ }
+
+ /**
+ * Sets the value of the transaction property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTransaction }
+ *
+ */
+ public void setTransaction(XPDLTransaction value) {
+ this.transaction = value;
+ }
+
+ /**
+ * Gets the value of the performers property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLPerformers }
+ *
+ */
+ public XPDLPerformers getPerformers() {
+ return performers;
+ }
+
+ /**
+ * Sets the value of the performers property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLPerformers }
+ *
+ */
+ public void setPerformers(XPDLPerformers value) {
+ this.performers = value;
+ }
+
+ /**
+ * Gets the value of the priority property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLPriority }
+ *
+ */
+ public XPDLPriority getPriority() {
+ return priority;
+ }
+
+ /**
+ * Sets the value of the priority property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLPriority }
+ *
+ */
+ public void setPriority(XPDLPriority value) {
+ this.priority = value;
+ }
+
+ /**
+ * Gets the value of the deadline property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the deadline property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDeadline().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLDeadline }
+ *
+ *
+ */
+ public List<XPDLDeadline> getDeadline() {
+ if (deadline == null) {
+ deadline = new ArrayList<XPDLDeadline>();
+ }
+ return this.deadline;
+ }
+
+ /**
+ * Gets the value of the simulationInformation property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLSimulationInformation }
+ *
+ */
+ public XPDLSimulationInformation getSimulationInformation() {
+ return simulationInformation;
+ }
+
+ /**
+ * Sets the value of the simulationInformation property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLSimulationInformation }
+ *
+ */
+ public void setSimulationInformation(XPDLSimulationInformation value) {
+ this.simulationInformation = value;
+ }
+
+ /**
+ * Gets the value of the icon property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLIcon }
+ *
+ */
+ public XPDLIcon getIcon() {
+ return icon;
+ }
+
+ /**
+ * Sets the value of the icon property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLIcon }
+ *
+ */
+ public void setIcon(XPDLIcon value) {
+ this.icon = value;
+ }
+
+ /**
+ * Gets the value of the documentation property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLDocumentation }
+ *
+ */
+ public XPDLDocumentation getDocumentation() {
+ return documentation;
+ }
+
+ /**
+ * Sets the value of the documentation property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLDocumentation }
+ *
+ */
+ public void setDocumentation(XPDLDocumentation value) {
+ this.documentation = value;
+ }
+
+ /**
+ * Gets the value of the transitionRestrictions property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTransitionRestrictions }
+ *
+ */
+ public XPDLTransitionRestrictions getTransitionRestrictions() {
+ return transitionRestrictions;
+ }
+
+ /**
+ * Sets the value of the transitionRestrictions property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTransitionRestrictions }
+ *
+ */
+ public void setTransitionRestrictions(XPDLTransitionRestrictions value) {
+ this.transitionRestrictions = value;
+ }
+
+ /**
+ * Gets the value of the extendedAttributes property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLExtendedAttributes }
+ *
+ */
+ public XPDLExtendedAttributes getExtendedAttributes() {
+ return extendedAttributes;
+ }
+
+ /**
+ * Sets the value of the extendedAttributes property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLExtendedAttributes }
+ *
+ */
+ public void setExtendedAttributes(XPDLExtendedAttributes value) {
+ this.extendedAttributes = value;
+ }
+
+ /**
+ * Gets the value of the dataFields property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLDataFields }
+ *
+ */
+ public XPDLDataFields getDataFields() {
+ return dataFields;
+ }
+
+ /**
+ * Sets the value of the dataFields property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLDataFields }
+ *
+ */
+ public void setDataFields(XPDLDataFields value) {
+ this.dataFields = value;
+ }
+
+ /**
+ * Gets the value of the inputSets property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLInputSets }
+ *
+ */
+ public XPDLInputSets getInputSets() {
+ return inputSets;
+ }
+
+ /**
+ * Sets the value of the inputSets property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLInputSets }
+ *
+ */
+ public void setInputSets(XPDLInputSets value) {
+ this.inputSets = value;
+ }
+
+ /**
+ * Gets the value of the outputSets property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLOutputSets }
+ *
+ */
+ public XPDLOutputSets getOutputSets() {
+ return outputSets;
+ }
+
+ /**
+ * Sets the value of the outputSets property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLOutputSets }
+ *
+ */
+ public void setOutputSets(XPDLOutputSets value) {
+ this.outputSets = value;
+ }
+
+ /**
+ * Gets the value of the ioRules property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLIORules }
+ *
+ */
+ public XPDLIORules getIORules() {
+ return ioRules;
+ }
+
+ /**
+ * Sets the value of the ioRules property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLIORules }
+ *
+ */
+ public void setIORules(XPDLIORules value) {
+ this.ioRules = value;
+ }
+
+ /**
+ * Gets the value of the loop property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLLoop }
+ *
+ */
+ public XPDLLoop getLoop() {
+ return loop;
+ }
+
+ /**
+ * Sets the value of the loop property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLLoop }
+ *
+ */
+ public void setLoop(XPDLLoop value) {
+ this.loop = value;
+ }
+
+ /**
+ * Gets the value of the assignments property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLAssignments }
+ *
+ */
+ public XPDLAssignments getAssignments() {
+ return assignments;
+ }
+
+ /**
+ * Sets the value of the assignments property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLAssignments }
+ *
+ */
+ public void setAssignments(XPDLAssignments value) {
+ this.assignments = value;
+ }
+
+ /**
+ * Gets the value of the object property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLObject }
+ *
+ */
+ public XPDLObject getObject() {
+ return object;
+ }
+
+ /**
+ * Sets the value of the object property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLObject }
+ *
+ */
+ public void setObject(XPDLObject value) {
+ this.object = value;
+ }
+
+ /**
+ * Gets the value of the nodeGraphicsInfos property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLNodeGraphicsInfos }
+ *
+ */
+ public XPDLNodeGraphicsInfos getNodeGraphicsInfos() {
+ return nodeGraphicsInfos;
+ }
+
+ /**
+ * Sets the value of the nodeGraphicsInfos property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLNodeGraphicsInfos }
+ *
+ */
+ public void setNodeGraphicsInfos(XPDLNodeGraphicsInfos value) {
+ this.nodeGraphicsInfos = value;
+ }
+
+ /**
+ * Gets the value of the extensions property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ public Object getExtensions() {
+ return extensions;
+ }
+
+ /**
+ * Sets the value of the extensions property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setExtensions(Object value) {
+ this.extensions = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the isForCompensation property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isIsForCompensation() {
+ return isForCompensation;
+ }
+
+ /**
+ * Sets the value of the isForCompensation property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setIsForCompensation(Boolean value) {
+ this.isForCompensation = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the startActivity property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isStartActivity() {
+ return startActivity;
+ }
+
+ /**
+ * Sets the value of the startActivity property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setStartActivity(Boolean value) {
+ this.startActivity = value;
+ }
+
+ /**
+ * Gets the value of the status property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getStatus() {
+ if (status == null) {
+ return "None";
+ } else {
+ return status;
+ }
+ }
+
+ /**
+ * Sets the value of the status property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setStatus(String value) {
+ this.status = value;
+ }
+
+ /**
+ * Gets the value of the startMode property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getStartMode() {
+ return startMode;
+ }
+
+ /**
+ * Sets the value of the startMode property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setStartMode(String value) {
+ this.startMode = value;
+ }
+
+ /**
+ * Gets the value of the finishMode property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getFinishMode() {
+ return finishMode;
+ }
+
+ /**
+ * Sets the value of the finishMode property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setFinishMode(String value) {
+ this.finishMode = value;
+ }
+
+ /**
+ * Gets the value of the startQuantity property.
+ *
+ * @return
+ * possible object is
+ * {@link BigInteger }
+ *
+ */
+ public BigInteger getStartQuantity() {
+ if (startQuantity == null) {
+ return new BigInteger("1");
+ } else {
+ return startQuantity;
+ }
+ }
+
+ /**
+ * Sets the value of the startQuantity property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BigInteger }
+ *
+ */
+ public void setStartQuantity(BigInteger value) {
+ this.startQuantity = value;
+ }
+
+ /**
+ * Gets the value of the completionQuantity property.
+ *
+ * @return
+ * possible object is
+ * {@link BigInteger }
+ *
+ */
+ public BigInteger getCompletionQuantity() {
+ if (completionQuantity == null) {
+ return new BigInteger("1");
+ } else {
+ return completionQuantity;
+ }
+ }
+
+ /**
+ * Sets the value of the completionQuantity property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BigInteger }
+ *
+ */
+ public void setCompletionQuantity(BigInteger value) {
+ this.completionQuantity = value;
+ }
+
+ /**
+ * Gets the value of the isATransaction property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isIsATransaction() {
+ if (isATransaction == null) {
+ return false;
+ } else {
+ return isATransaction;
+ }
+ }
+
+ /**
+ * Sets the value of the isATransaction property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setIsATransaction(Boolean value) {
+ this.isATransaction = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLActivity.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLActivitySet.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLActivitySet.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLActivitySet.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,372 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Activities" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Transitions" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Object" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * <attribute name="Id" use="required" type="{http://www.wfmc.org/2008/XPDL2.1}Id" />
+ * <attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="AdHoc" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="AdHocOrdering" default="Parallel">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="Sequential"/>
+ * <enumeration value="Parallel"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * <attribute name="AdHocCompletionCondition" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="DefaultStartActivityId" type="{http://www.wfmc.org/2008/XPDL2.1}IdRef" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "activities",
+ "transitions",
+ "object",
+ "any"
+})
+@XmlRootElement(name = "ActivitySet")
+public class XPDLActivitySet {
+
+ @XmlElement(name = "Activities")
+ protected XPDLActivities activities;
+ @XmlElement(name = "Transitions")
+ protected XPDLTransitions transitions;
+ @XmlElement(name = "Object")
+ protected XPDLObject object;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Id", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String id;
+ @XmlAttribute(name = "Name")
+ protected String name;
+ @XmlAttribute(name = "AdHoc")
+ protected Boolean adHoc;
+ @XmlAttribute(name = "AdHocOrdering")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String adHocOrdering;
+ @XmlAttribute(name = "AdHocCompletionCondition")
+ protected String adHocCompletionCondition;
+ @XmlAttribute(name = "DefaultStartActivityId")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String defaultStartActivityId;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the activities property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLActivities }
+ *
+ */
+ public XPDLActivities getActivities() {
+ return activities;
+ }
+
+ /**
+ * Sets the value of the activities property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLActivities }
+ *
+ */
+ public void setActivities(XPDLActivities value) {
+ this.activities = value;
+ }
+
+ /**
+ * Gets the value of the transitions property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTransitions }
+ *
+ */
+ public XPDLTransitions getTransitions() {
+ return transitions;
+ }
+
+ /**
+ * Sets the value of the transitions property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTransitions }
+ *
+ */
+ public void setTransitions(XPDLTransitions value) {
+ this.transitions = value;
+ }
+
+ /**
+ * Gets the value of the object property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLObject }
+ *
+ */
+ public XPDLObject getObject() {
+ return object;
+ }
+
+ /**
+ * Sets the value of the object property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLObject }
+ *
+ */
+ public void setObject(XPDLObject value) {
+ this.object = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the adHoc property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isAdHoc() {
+ if (adHoc == null) {
+ return false;
+ } else {
+ return adHoc;
+ }
+ }
+
+ /**
+ * Sets the value of the adHoc property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setAdHoc(Boolean value) {
+ this.adHoc = value;
+ }
+
+ /**
+ * Gets the value of the adHocOrdering property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAdHocOrdering() {
+ if (adHocOrdering == null) {
+ return "Parallel";
+ } else {
+ return adHocOrdering;
+ }
+ }
+
+ /**
+ * Sets the value of the adHocOrdering property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAdHocOrdering(String value) {
+ this.adHocOrdering = value;
+ }
+
+ /**
+ * Gets the value of the adHocCompletionCondition property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAdHocCompletionCondition() {
+ return adHocCompletionCondition;
+ }
+
+ /**
+ * Sets the value of the adHocCompletionCondition property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAdHocCompletionCondition(String value) {
+ this.adHocCompletionCondition = value;
+ }
+
+ /**
+ * Gets the value of the defaultStartActivityId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDefaultStartActivityId() {
+ return defaultStartActivityId;
+ }
+
+ /**
+ * Sets the value of the defaultStartActivityId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDefaultStartActivityId(String value) {
+ this.defaultStartActivityId = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLActivitySet.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLActivitySets.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLActivitySets.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLActivitySets.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,138 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}ActivitySet" maxOccurs="unbounded" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "activitySet",
+ "any"
+})
+@XmlRootElement(name = "ActivitySets")
+public class XPDLActivitySets {
+
+ @XmlElement(name = "ActivitySet")
+ protected List<XPDLActivitySet> activitySet;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the activitySet property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the activitySet property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getActivitySet().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLActivitySet }
+ *
+ *
+ */
+ public List<XPDLActivitySet> getActivitySet() {
+ if (activitySet == null) {
+ activitySet = new ArrayList<XPDLActivitySet>();
+ }
+ return this.activitySet;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLActivitySets.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLActualParameters.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLActualParameters.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLActualParameters.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,138 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="ActualParameter" type="{http://www.wfmc.org/2008/XPDL2.1}ExpressionType" maxOccurs="unbounded" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "actualParameter",
+ "any"
+})
+@XmlRootElement(name = "ActualParameters")
+public class XPDLActualParameters {
+
+ @XmlElement(name = "ActualParameter")
+ protected List<ExpressionType> actualParameter;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the actualParameter property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the actualParameter property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getActualParameter().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ExpressionType }
+ *
+ *
+ */
+ public List<ExpressionType> getActualParameter() {
+ if (actualParameter == null) {
+ actualParameter = new ArrayList<ExpressionType>();
+ }
+ return this.actualParameter;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLActualParameters.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLApplication.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLApplication.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLApplication.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,307 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Description" minOccurs="0"/>
+ * <element name="Type" type="{http://www.wfmc.org/2008/XPDL2.1}ApplicationType" minOccurs="0"/>
+ * <choice>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}FormalParameters"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}ExternalReference" minOccurs="0"/>
+ * </choice>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}ExtendedAttributes" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * <attribute name="Id" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * <attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "description",
+ "type",
+ "formalParameters",
+ "externalReference",
+ "extendedAttributes",
+ "any"
+})
+@XmlRootElement(name = "Application")
+public class XPDLApplication {
+
+ @XmlElement(name = "Description")
+ protected XPDLDescription description;
+ @XmlElement(name = "Type")
+ protected ApplicationType type;
+ @XmlElement(name = "FormalParameters")
+ protected XPDLFormalParameters formalParameters;
+ @XmlElement(name = "ExternalReference")
+ protected XPDLExternalReference externalReference;
+ @XmlElement(name = "ExtendedAttributes")
+ protected XPDLExtendedAttributes extendedAttributes;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Id", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String id;
+ @XmlAttribute(name = "Name")
+ protected String name;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the description property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLDescription }
+ *
+ */
+ public XPDLDescription getDescription() {
+ return description;
+ }
+
+ /**
+ * Sets the value of the description property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLDescription }
+ *
+ */
+ public void setDescription(XPDLDescription value) {
+ this.description = value;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link ApplicationType }
+ *
+ */
+ public ApplicationType getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ApplicationType }
+ *
+ */
+ public void setType(ApplicationType value) {
+ this.type = value;
+ }
+
+ /**
+ * Gets the value of the formalParameters property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLFormalParameters }
+ *
+ */
+ public XPDLFormalParameters getFormalParameters() {
+ return formalParameters;
+ }
+
+ /**
+ * Sets the value of the formalParameters property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLFormalParameters }
+ *
+ */
+ public void setFormalParameters(XPDLFormalParameters value) {
+ this.formalParameters = value;
+ }
+
+ /**
+ * Gets the value of the externalReference property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLExternalReference }
+ *
+ */
+ public XPDLExternalReference getExternalReference() {
+ return externalReference;
+ }
+
+ /**
+ * Sets the value of the externalReference property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLExternalReference }
+ *
+ */
+ public void setExternalReference(XPDLExternalReference value) {
+ this.externalReference = value;
+ }
+
+ /**
+ * Gets the value of the extendedAttributes property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLExtendedAttributes }
+ *
+ */
+ public XPDLExtendedAttributes getExtendedAttributes() {
+ return extendedAttributes;
+ }
+
+ /**
+ * Sets the value of the extendedAttributes property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLExtendedAttributes }
+ *
+ */
+ public void setExtendedAttributes(XPDLExtendedAttributes value) {
+ this.extendedAttributes = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLApplication.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLApplications.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLApplications.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLApplications.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,138 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Application" maxOccurs="unbounded" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "application",
+ "any"
+})
+@XmlRootElement(name = "Applications")
+public class XPDLApplications {
+
+ @XmlElement(name = "Application")
+ protected List<XPDLApplication> application;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the application property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the application property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getApplication().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLApplication }
+ *
+ *
+ */
+ public List<XPDLApplication> getApplication() {
+ if (application == null) {
+ application = new ArrayList<XPDLApplication>();
+ }
+ return this.application;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLApplications.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLArrayType.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLArrayType.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLArrayType.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,371 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <group ref="{http://www.wfmc.org/2008/XPDL2.1}DataTypes"/>
+ * <attribute name="LowerIndex" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * <attribute name="UpperIndex" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "basicType",
+ "declaredType",
+ "schemaType",
+ "externalReference",
+ "recordType",
+ "unionType",
+ "enumerationType",
+ "arrayType",
+ "listType"
+})
+@XmlRootElement(name = "ArrayType")
+public class XPDLArrayType {
+
+ @XmlElement(name = "BasicType")
+ protected XPDLBasicType basicType;
+ @XmlElement(name = "DeclaredType")
+ protected XPDLDeclaredType declaredType;
+ @XmlElement(name = "SchemaType")
+ protected XPDLSchemaType schemaType;
+ @XmlElement(name = "ExternalReference")
+ protected XPDLExternalReference externalReference;
+ @XmlElement(name = "RecordType")
+ protected XPDLRecordType recordType;
+ @XmlElement(name = "UnionType")
+ protected XPDLUnionType unionType;
+ @XmlElement(name = "EnumerationType")
+ protected XPDLEnumerationType enumerationType;
+ @XmlElement(name = "ArrayType")
+ protected XPDLArrayType arrayType;
+ @XmlElement(name = "ListType")
+ protected XPDLListType listType;
+ @XmlAttribute(name = "LowerIndex", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String lowerIndex;
+ @XmlAttribute(name = "UpperIndex", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String upperIndex;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the basicType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLBasicType }
+ *
+ */
+ public XPDLBasicType getBasicType() {
+ return basicType;
+ }
+
+ /**
+ * Sets the value of the basicType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLBasicType }
+ *
+ */
+ public void setBasicType(XPDLBasicType value) {
+ this.basicType = value;
+ }
+
+ /**
+ * Gets the value of the declaredType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLDeclaredType }
+ *
+ */
+ public XPDLDeclaredType getDeclaredType() {
+ return declaredType;
+ }
+
+ /**
+ * Sets the value of the declaredType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLDeclaredType }
+ *
+ */
+ public void setDeclaredType(XPDLDeclaredType value) {
+ this.declaredType = value;
+ }
+
+ /**
+ * Gets the value of the schemaType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLSchemaType }
+ *
+ */
+ public XPDLSchemaType getSchemaType() {
+ return schemaType;
+ }
+
+ /**
+ * Sets the value of the schemaType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLSchemaType }
+ *
+ */
+ public void setSchemaType(XPDLSchemaType value) {
+ this.schemaType = value;
+ }
+
+ /**
+ * Gets the value of the externalReference property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLExternalReference }
+ *
+ */
+ public XPDLExternalReference getExternalReference() {
+ return externalReference;
+ }
+
+ /**
+ * Sets the value of the externalReference property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLExternalReference }
+ *
+ */
+ public void setExternalReference(XPDLExternalReference value) {
+ this.externalReference = value;
+ }
+
+ /**
+ * Gets the value of the recordType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLRecordType }
+ *
+ */
+ public XPDLRecordType getRecordType() {
+ return recordType;
+ }
+
+ /**
+ * Sets the value of the recordType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLRecordType }
+ *
+ */
+ public void setRecordType(XPDLRecordType value) {
+ this.recordType = value;
+ }
+
+ /**
+ * Gets the value of the unionType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLUnionType }
+ *
+ */
+ public XPDLUnionType getUnionType() {
+ return unionType;
+ }
+
+ /**
+ * Sets the value of the unionType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLUnionType }
+ *
+ */
+ public void setUnionType(XPDLUnionType value) {
+ this.unionType = value;
+ }
+
+ /**
+ * Gets the value of the enumerationType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLEnumerationType }
+ *
+ */
+ public XPDLEnumerationType getEnumerationType() {
+ return enumerationType;
+ }
+
+ /**
+ * Sets the value of the enumerationType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLEnumerationType }
+ *
+ */
+ public void setEnumerationType(XPDLEnumerationType value) {
+ this.enumerationType = value;
+ }
+
+ /**
+ * Gets the value of the arrayType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLArrayType }
+ *
+ */
+ public XPDLArrayType getArrayType() {
+ return arrayType;
+ }
+
+ /**
+ * Sets the value of the arrayType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLArrayType }
+ *
+ */
+ public void setArrayType(XPDLArrayType value) {
+ this.arrayType = value;
+ }
+
+ /**
+ * Gets the value of the listType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLListType }
+ *
+ */
+ public XPDLListType getListType() {
+ return listType;
+ }
+
+ /**
+ * Sets the value of the listType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLListType }
+ *
+ */
+ public void setListType(XPDLListType value) {
+ this.listType = value;
+ }
+
+ /**
+ * Gets the value of the lowerIndex property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLowerIndex() {
+ return lowerIndex;
+ }
+
+ /**
+ * Sets the value of the lowerIndex property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLowerIndex(String value) {
+ this.lowerIndex = value;
+ }
+
+ /**
+ * Gets the value of the upperIndex property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getUpperIndex() {
+ return upperIndex;
+ }
+
+ /**
+ * Sets the value of the upperIndex property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setUpperIndex(String value) {
+ this.upperIndex = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLArrayType.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLArtifact.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLArtifact.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLArtifact.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,367 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence minOccurs="0">
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Object" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Group" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}DataObject" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}NodeGraphicsInfos" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * <attribute name="Id" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * <attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="ArtifactType" use="required">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="DataObject"/>
+ * <enumeration value="Group"/>
+ * <enumeration value="Annotation"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * <attribute name="TextAnnotation" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="Group" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "object",
+ "group",
+ "dataObject",
+ "nodeGraphicsInfos",
+ "any"
+})
+@XmlRootElement(name = "Artifact")
+public class XPDLArtifact {
+
+ @XmlElement(name = "Object")
+ protected XPDLObject object;
+ @XmlElement(name = "Group")
+ protected XPDLGroup group;
+ @XmlElement(name = "DataObject")
+ protected XPDLDataObject dataObject;
+ @XmlElement(name = "NodeGraphicsInfos")
+ protected XPDLNodeGraphicsInfos nodeGraphicsInfos;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Id", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String id;
+ @XmlAttribute(name = "Name")
+ protected String name;
+ @XmlAttribute(name = "ArtifactType", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String artifactType;
+ @XmlAttribute(name = "TextAnnotation")
+ protected String textAnnotation;
+ @XmlAttribute(name = "Group")
+ protected String groupAtt;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the object property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLObject }
+ *
+ */
+ public XPDLObject getObject() {
+ return object;
+ }
+
+ /**
+ * Sets the value of the object property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLObject }
+ *
+ */
+ public void setObject(XPDLObject value) {
+ this.object = value;
+ }
+
+ /**
+ * Gets the value of the group property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLGroup }
+ *
+ */
+ public XPDLGroup getGroup() {
+ return group;
+ }
+
+ /**
+ * Sets the value of the group property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLGroup }
+ *
+ */
+ public void setGroup(XPDLGroup value) {
+ this.group = value;
+ }
+
+ /**
+ * Gets the value of the dataObject property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLDataObject }
+ *
+ */
+ public XPDLDataObject getDataObject() {
+ return dataObject;
+ }
+
+ /**
+ * Sets the value of the dataObject property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLDataObject }
+ *
+ */
+ public void setDataObject(XPDLDataObject value) {
+ this.dataObject = value;
+ }
+
+ /**
+ * Gets the value of the nodeGraphicsInfos property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLNodeGraphicsInfos }
+ *
+ */
+ public XPDLNodeGraphicsInfos getNodeGraphicsInfos() {
+ return nodeGraphicsInfos;
+ }
+
+ /**
+ * Sets the value of the nodeGraphicsInfos property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLNodeGraphicsInfos }
+ *
+ */
+ public void setNodeGraphicsInfos(XPDLNodeGraphicsInfos value) {
+ this.nodeGraphicsInfos = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the artifactType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getArtifactType() {
+ return artifactType;
+ }
+
+ /**
+ * Sets the value of the artifactType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setArtifactType(String value) {
+ this.artifactType = value;
+ }
+
+ /**
+ * Gets the value of the textAnnotation property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTextAnnotation() {
+ return textAnnotation;
+ }
+
+ /**
+ * Sets the value of the textAnnotation property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTextAnnotation(String value) {
+ this.textAnnotation = value;
+ }
+
+ /**
+ * Gets the value of the groupAtt property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getGroupAtt() {
+ return groupAtt;
+ }
+
+ /**
+ * Sets the value of the groupAtt property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setGroupAtt(String value) {
+ this.groupAtt = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLArtifact.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLArtifactInput.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLArtifactInput.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLArtifactInput.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,168 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="ArtifactId" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * <attribute name="RequiredForStart" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "any"
+})
+@XmlRootElement(name = "ArtifactInput")
+public class XPDLArtifactInput {
+
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "ArtifactId", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String artifactId;
+ @XmlAttribute(name = "RequiredForStart")
+ protected Boolean requiredForStart;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the artifactId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getArtifactId() {
+ return artifactId;
+ }
+
+ /**
+ * Sets the value of the artifactId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setArtifactId(String value) {
+ this.artifactId = value;
+ }
+
+ /**
+ * Gets the value of the requiredForStart property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isRequiredForStart() {
+ if (requiredForStart == null) {
+ return true;
+ } else {
+ return requiredForStart;
+ }
+ }
+
+ /**
+ * Sets the value of the requiredForStart property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setRequiredForStart(Boolean value) {
+ this.requiredForStart = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLArtifactInput.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLArtifacts.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLArtifacts.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLArtifacts.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,108 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence maxOccurs="unbounded">
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Artifact"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "artifactAndAny"
+})
+@XmlRootElement(name = "Artifacts")
+public class XPDLArtifacts {
+
+ @XmlElementRef(name = "Artifact", namespace = "http://www.wfmc.org/2008/XPDL2.1", type = XPDLArtifact.class)
+ @XmlAnyElement(lax = true)
+ protected List<Object> artifactAndAny;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the artifactAndAny property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the artifactAndAny property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getArtifactAndAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLArtifact }
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getArtifactAndAny() {
+ if (artifactAndAny == null) {
+ artifactAndAny = new ArrayList<Object>();
+ }
+ return this.artifactAndAny;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLArtifacts.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLAssignment.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLAssignment.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLAssignment.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,203 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="Target" type="{http://www.wfmc.org/2008/XPDL2.1}ExpressionType"/>
+ * <element name="Expression" type="{http://www.wfmc.org/2008/XPDL2.1}ExpressionType"/>
+ * <any/>
+ * </sequence>
+ * <attribute name="AssignTime" default="Start">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="Start"/>
+ * <enumeration value="End"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "target",
+ "expression",
+ "any"
+})
+@XmlRootElement(name = "Assignment")
+public class XPDLAssignment {
+
+ @XmlElement(name = "Target", required = true)
+ protected ExpressionType target;
+ @XmlElement(name = "Expression", required = true)
+ protected ExpressionType expression;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "AssignTime")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String assignTime;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the target property.
+ *
+ * @return
+ * possible object is
+ * {@link ExpressionType }
+ *
+ */
+ public ExpressionType getTarget() {
+ return target;
+ }
+
+ /**
+ * Sets the value of the target property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ExpressionType }
+ *
+ */
+ public void setTarget(ExpressionType value) {
+ this.target = value;
+ }
+
+ /**
+ * Gets the value of the expression property.
+ *
+ * @return
+ * possible object is
+ * {@link ExpressionType }
+ *
+ */
+ public ExpressionType getExpression() {
+ return expression;
+ }
+
+ /**
+ * Sets the value of the expression property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ExpressionType }
+ *
+ */
+ public void setExpression(ExpressionType value) {
+ this.expression = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the assignTime property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAssignTime() {
+ if (assignTime == null) {
+ return "Start";
+ } else {
+ return assignTime;
+ }
+ }
+
+ /**
+ * Sets the value of the assignTime property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAssignTime(String value) {
+ this.assignTime = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLAssignment.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLAssignments.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLAssignments.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLAssignments.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,138 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Assignment" maxOccurs="unbounded"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "assignment",
+ "any"
+})
+@XmlRootElement(name = "Assignments")
+public class XPDLAssignments {
+
+ @XmlElement(name = "Assignment", required = true)
+ protected List<XPDLAssignment> assignment;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the assignment property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the assignment property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAssignment().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLAssignment }
+ *
+ *
+ */
+ public List<XPDLAssignment> getAssignment() {
+ if (assignment == null) {
+ assignment = new ArrayList<XPDLAssignment>();
+ }
+ return this.assignment;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLAssignments.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLAssociation.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLAssociation.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLAssociation.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,320 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence minOccurs="0">
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Object"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}ConnectorGraphicsInfos" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * <attribute name="Id" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * <attribute name="Source" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * <attribute name="Target" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * <attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="AssociationDirection" default="None">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="None"/>
+ * <enumeration value="To"/>
+ * <enumeration value="From"/>
+ * <enumeration value="Both"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "object",
+ "connectorGraphicsInfos",
+ "any"
+})
+@XmlRootElement(name = "Association")
+public class XPDLAssociation {
+
+ @XmlElement(name = "Object")
+ protected XPDLObject object;
+ @XmlElement(name = "ConnectorGraphicsInfos")
+ protected XPDLConnectorGraphicsInfos connectorGraphicsInfos;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Id", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String id;
+ @XmlAttribute(name = "Source", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String source;
+ @XmlAttribute(name = "Target", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String target;
+ @XmlAttribute(name = "Name")
+ protected String name;
+ @XmlAttribute(name = "AssociationDirection")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String associationDirection;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the object property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLObject }
+ *
+ */
+ public XPDLObject getObject() {
+ return object;
+ }
+
+ /**
+ * Sets the value of the object property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLObject }
+ *
+ */
+ public void setObject(XPDLObject value) {
+ this.object = value;
+ }
+
+ /**
+ * Gets the value of the connectorGraphicsInfos property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLConnectorGraphicsInfos }
+ *
+ */
+ public XPDLConnectorGraphicsInfos getConnectorGraphicsInfos() {
+ return connectorGraphicsInfos;
+ }
+
+ /**
+ * Sets the value of the connectorGraphicsInfos property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLConnectorGraphicsInfos }
+ *
+ */
+ public void setConnectorGraphicsInfos(XPDLConnectorGraphicsInfos value) {
+ this.connectorGraphicsInfos = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the source property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSource() {
+ return source;
+ }
+
+ /**
+ * Sets the value of the source property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSource(String value) {
+ this.source = value;
+ }
+
+ /**
+ * Gets the value of the target property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTarget() {
+ return target;
+ }
+
+ /**
+ * Sets the value of the target property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTarget(String value) {
+ this.target = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the associationDirection property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAssociationDirection() {
+ if (associationDirection == null) {
+ return "None";
+ } else {
+ return associationDirection;
+ }
+ }
+
+ /**
+ * Sets the value of the associationDirection property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAssociationDirection(String value) {
+ this.associationDirection = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLAssociation.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLAssociations.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLAssociations.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLAssociations.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,108 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence maxOccurs="unbounded">
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Association"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "associationAndAny"
+})
+@XmlRootElement(name = "Associations")
+public class XPDLAssociations {
+
+ @XmlElementRef(name = "Association", namespace = "http://www.wfmc.org/2008/XPDL2.1", type = XPDLAssociation.class)
+ @XmlAnyElement(lax = true)
+ protected List<Object> associationAndAny;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the associationAndAny property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the associationAndAny property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAssociationAndAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link XPDLAssociation }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAssociationAndAny() {
+ if (associationAndAny == null) {
+ associationAndAny = new ArrayList<Object>();
+ }
+ return this.associationAndAny;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLAssociations.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLAuthor.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLAuthor.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLAuthor.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,92 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "value"
+})
+@XmlRootElement(name = "Author")
+public class XPDLAuthor {
+
+ @XmlValue
+ protected String value;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLAuthor.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLBasicType.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLBasicType.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLBasicType.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,234 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Length" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Precision" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Scale" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * <attribute name="Type" use="required">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="STRING"/>
+ * <enumeration value="FLOAT"/>
+ * <enumeration value="INTEGER"/>
+ * <enumeration value="REFERENCE"/>
+ * <enumeration value="DATETIME"/>
+ * <enumeration value="DATE"/>
+ * <enumeration value="TIME"/>
+ * <enumeration value="BOOLEAN"/>
+ * <enumeration value="PERFORMER"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "length",
+ "precision",
+ "scale",
+ "any"
+})
+@XmlRootElement(name = "BasicType")
+public class XPDLBasicType {
+
+ @XmlElement(name = "Length")
+ protected XPDLLength length;
+ @XmlElement(name = "Precision")
+ protected XPDLPrecision precision;
+ @XmlElement(name = "Scale")
+ protected XPDLScale scale;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Type", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String type;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the length property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLLength }
+ *
+ */
+ public XPDLLength getLength() {
+ return length;
+ }
+
+ /**
+ * Sets the value of the length property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLLength }
+ *
+ */
+ public void setLength(XPDLLength value) {
+ this.length = value;
+ }
+
+ /**
+ * Gets the value of the precision property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLPrecision }
+ *
+ */
+ public XPDLPrecision getPrecision() {
+ return precision;
+ }
+
+ /**
+ * Sets the value of the precision property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLPrecision }
+ *
+ */
+ public void setPrecision(XPDLPrecision value) {
+ this.precision = value;
+ }
+
+ /**
+ * Gets the value of the scale property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLScale }
+ *
+ */
+ public XPDLScale getScale() {
+ return scale;
+ }
+
+ /**
+ * Sets the value of the scale property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLScale }
+ *
+ */
+ public void setScale(XPDLScale value) {
+ this.scale = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setType(String value) {
+ this.type = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLBasicType.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLBlockActivity.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLBlockActivity.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLBlockActivity.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,202 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="ActivitySetId" use="required" type="{http://www.wfmc.org/2008/XPDL2.1}IdRef" />
+ * <attribute name="StartActivityId" type="{http://www.wfmc.org/2008/XPDL2.1}IdRef" />
+ * <attribute name="View" default="COLLAPSED">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="COLLAPSED"/>
+ * <enumeration value="EXPANDED"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "any"
+})
+@XmlRootElement(name = "BlockActivity")
+public class XPDLBlockActivity {
+
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "ActivitySetId", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String activitySetId;
+ @XmlAttribute(name = "StartActivityId")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String startActivityId;
+ @XmlAttribute(name = "View")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String view;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the activitySetId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getActivitySetId() {
+ return activitySetId;
+ }
+
+ /**
+ * Sets the value of the activitySetId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setActivitySetId(String value) {
+ this.activitySetId = value;
+ }
+
+ /**
+ * Gets the value of the startActivityId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getStartActivityId() {
+ return startActivityId;
+ }
+
+ /**
+ * Sets the value of the startActivityId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setStartActivityId(String value) {
+ this.startActivityId = value;
+ }
+
+ /**
+ * Gets the value of the view property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getView() {
+ if (view == null) {
+ return "COLLAPSED";
+ } else {
+ return view;
+ }
+ }
+
+ /**
+ * Sets the value of the view property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setView(String value) {
+ this.view = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLBlockActivity.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCategories.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCategories.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCategories.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,138 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Category" maxOccurs="unbounded"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "category",
+ "any"
+})
+@XmlRootElement(name = "Categories")
+public class XPDLCategories {
+
+ @XmlElement(name = "Category", required = true)
+ protected List<XPDLCategory> category;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the category property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the category property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getCategory().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLCategory }
+ *
+ *
+ */
+ public List<XPDLCategory> getCategory() {
+ if (category == null) {
+ category = new ArrayList<XPDLCategory>();
+ }
+ return this.category;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCategories.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCategory.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCategory.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCategory.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,164 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="Id" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * <attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "any"
+})
+@XmlRootElement(name = "Category")
+public class XPDLCategory {
+
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Id", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String id;
+ @XmlAttribute(name = "Name")
+ protected String name;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCategory.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCodepage.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCodepage.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCodepage.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,92 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "value"
+})
+@XmlRootElement(name = "Codepage")
+public class XPDLCodepage {
+
+ @XmlValue
+ protected String value;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCodepage.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCondition.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCondition.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCondition.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,147 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlMixed;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice minOccurs="0">
+ * <element name="Expression" type="{http://www.wfmc.org/2008/XPDL2.1}ExpressionType" minOccurs="0"/>
+ * </choice>
+ * <attribute name="Type">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="CONDITION"/>
+ * <enumeration value="OTHERWISE"/>
+ * <enumeration value="EXCEPTION"/>
+ * <enumeration value="DEFAULTEXCEPTION"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "content"
+})
+@XmlRootElement(name = "Condition")
+public class XPDLCondition {
+
+ @XmlElementRef(name = "Expression", namespace = "http://www.wfmc.org/2008/XPDL2.1", type = JAXBElement.class)
+ @XmlMixed
+ protected List<Serializable> content;
+ @XmlAttribute(name = "Type")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String type;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the content property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the content property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getContent().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JAXBElement }{@code <}{@link ExpressionType }{@code >}
+ * {@link String }
+ *
+ *
+ */
+ public List<Serializable> getContent() {
+ if (content == null) {
+ content = new ArrayList<Serializable>();
+ }
+ return this.content;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setType(String value) {
+ this.type = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCondition.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLConformanceClass.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLConformanceClass.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLConformanceClass.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,188 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="GraphConformance" default="NON_BLOCKED">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="FULL_BLOCKED"/>
+ * <enumeration value="LOOP_BLOCKED"/>
+ * <enumeration value="NON_BLOCKED"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * <attribute name="BPMNModelPortabilityConformance" default="NONE">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="NONE"/>
+ * <enumeration value="SIMPLE"/>
+ * <enumeration value="STANDARD"/>
+ * <enumeration value="COMPLETE"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "any"
+})
+@XmlRootElement(name = "ConformanceClass")
+public class XPDLConformanceClass {
+
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "GraphConformance")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String graphConformance;
+ @XmlAttribute(name = "BPMNModelPortabilityConformance")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String bpmnModelPortabilityConformance;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the graphConformance property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getGraphConformance() {
+ if (graphConformance == null) {
+ return "NON_BLOCKED";
+ } else {
+ return graphConformance;
+ }
+ }
+
+ /**
+ * Sets the value of the graphConformance property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setGraphConformance(String value) {
+ this.graphConformance = value;
+ }
+
+ /**
+ * Gets the value of the bpmnModelPortabilityConformance property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getBPMNModelPortabilityConformance() {
+ if (bpmnModelPortabilityConformance == null) {
+ return "NONE";
+ } else {
+ return bpmnModelPortabilityConformance;
+ }
+ }
+
+ /**
+ * Sets the value of the bpmnModelPortabilityConformance property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setBPMNModelPortabilityConformance(String value) {
+ this.bpmnModelPortabilityConformance = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLConformanceClass.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLConnectorGraphicsInfo.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLConnectorGraphicsInfo.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLConnectorGraphicsInfo.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,311 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence minOccurs="0">
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Coordinates" maxOccurs="unbounded" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * <attribute name="ToolId" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * <attribute name="IsVisible" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+ * <attribute name="PageId" type="{http://www.wfmc.org/2008/XPDL2.1}IdRef" />
+ * <attribute name="Style" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="BorderColor" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="FillColor" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "coordinates",
+ "any"
+})
+@XmlRootElement(name = "ConnectorGraphicsInfo")
+public class XPDLConnectorGraphicsInfo {
+
+ @XmlElement(name = "Coordinates")
+ protected List<XPDLCoordinates> coordinates;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "ToolId")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String toolId;
+ @XmlAttribute(name = "IsVisible")
+ protected Boolean isVisible;
+ @XmlAttribute(name = "PageId")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String pageId;
+ @XmlAttribute(name = "Style")
+ protected String style;
+ @XmlAttribute(name = "BorderColor")
+ protected String borderColor;
+ @XmlAttribute(name = "FillColor")
+ protected String fillColor;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the coordinates property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the coordinates property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getCoordinates().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLCoordinates }
+ *
+ *
+ */
+ public List<XPDLCoordinates> getCoordinates() {
+ if (coordinates == null) {
+ coordinates = new ArrayList<XPDLCoordinates>();
+ }
+ return this.coordinates;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the toolId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getToolId() {
+ return toolId;
+ }
+
+ /**
+ * Sets the value of the toolId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setToolId(String value) {
+ this.toolId = value;
+ }
+
+ /**
+ * Gets the value of the isVisible property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isIsVisible() {
+ if (isVisible == null) {
+ return true;
+ } else {
+ return isVisible;
+ }
+ }
+
+ /**
+ * Sets the value of the isVisible property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setIsVisible(Boolean value) {
+ this.isVisible = value;
+ }
+
+ /**
+ * Gets the value of the pageId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPageId() {
+ return pageId;
+ }
+
+ /**
+ * Sets the value of the pageId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPageId(String value) {
+ this.pageId = value;
+ }
+
+ /**
+ * Gets the value of the style property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getStyle() {
+ return style;
+ }
+
+ /**
+ * Sets the value of the style property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setStyle(String value) {
+ this.style = value;
+ }
+
+ /**
+ * Gets the value of the borderColor property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getBorderColor() {
+ return borderColor;
+ }
+
+ /**
+ * Sets the value of the borderColor property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setBorderColor(String value) {
+ this.borderColor = value;
+ }
+
+ /**
+ * Gets the value of the fillColor property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getFillColor() {
+ return fillColor;
+ }
+
+ /**
+ * Sets the value of the fillColor property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setFillColor(String value) {
+ this.fillColor = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLConnectorGraphicsInfo.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLConnectorGraphicsInfos.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLConnectorGraphicsInfos.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLConnectorGraphicsInfos.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,138 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}ConnectorGraphicsInfo" maxOccurs="unbounded" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "connectorGraphicsInfo",
+ "any"
+})
+@XmlRootElement(name = "ConnectorGraphicsInfos")
+public class XPDLConnectorGraphicsInfos {
+
+ @XmlElement(name = "ConnectorGraphicsInfo")
+ protected List<XPDLConnectorGraphicsInfo> connectorGraphicsInfo;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the connectorGraphicsInfo property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the connectorGraphicsInfo property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getConnectorGraphicsInfo().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLConnectorGraphicsInfo }
+ *
+ *
+ */
+ public List<XPDLConnectorGraphicsInfo> getConnectorGraphicsInfo() {
+ if (connectorGraphicsInfo == null) {
+ connectorGraphicsInfo = new ArrayList<XPDLConnectorGraphicsInfo>();
+ }
+ return this.connectorGraphicsInfo;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLConnectorGraphicsInfos.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCoordinates.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCoordinates.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCoordinates.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,159 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="XCoordinate" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="YCoordinate" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "any"
+})
+@XmlRootElement(name = "Coordinates")
+public class XPDLCoordinates {
+
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "XCoordinate")
+ protected Double xCoordinate;
+ @XmlAttribute(name = "YCoordinate")
+ protected Double yCoordinate;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the xCoordinate property.
+ *
+ * @return
+ * possible object is
+ * {@link Double }
+ *
+ */
+ public Double getXCoordinate() {
+ return xCoordinate;
+ }
+
+ /**
+ * Sets the value of the xCoordinate property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Double }
+ *
+ */
+ public void setXCoordinate(Double value) {
+ this.xCoordinate = value;
+ }
+
+ /**
+ * Gets the value of the yCoordinate property.
+ *
+ * @return
+ * possible object is
+ * {@link Double }
+ *
+ */
+ public Double getYCoordinate() {
+ return yCoordinate;
+ }
+
+ /**
+ * Sets the value of the yCoordinate property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Double }
+ *
+ */
+ public void setYCoordinate(Double value) {
+ this.yCoordinate = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCoordinates.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCost.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCost.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCost.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,92 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "value"
+})
+@XmlRootElement(name = "Cost")
+public class XPDLCost {
+
+ @XmlValue
+ protected String value;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCost.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCostStructure.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCostStructure.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCostStructure.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,107 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.math.BigInteger;
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}ResourceCosts" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="FixedCost" type="{http://www.w3.org/2001/XMLSchema}integer"/>
+ * </choice>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "resourceCosts",
+ "fixedCost"
+})
+@XmlRootElement(name = "CostStructure")
+public class XPDLCostStructure {
+
+ @XmlElement(name = "ResourceCosts")
+ protected List<XPDLResourceCosts> resourceCosts;
+ @XmlElement(name = "FixedCost")
+ protected BigInteger fixedCost;
+
+ /**
+ * Gets the value of the resourceCosts property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the resourceCosts property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getResourceCosts().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLResourceCosts }
+ *
+ *
+ */
+ public List<XPDLResourceCosts> getResourceCosts() {
+ if (resourceCosts == null) {
+ resourceCosts = new ArrayList<XPDLResourceCosts>();
+ }
+ return this.resourceCosts;
+ }
+
+ /**
+ * Gets the value of the fixedCost property.
+ *
+ * @return
+ * possible object is
+ * {@link BigInteger }
+ *
+ */
+ public BigInteger getFixedCost() {
+ return fixedCost;
+ }
+
+ /**
+ * Sets the value of the fixedCost property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BigInteger }
+ *
+ */
+ public void setFixedCost(BigInteger value) {
+ this.fixedCost = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCostStructure.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCostUnit.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCostUnit.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCostUnit.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,92 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "value"
+})
+@XmlRootElement(name = "CostUnit")
+public class XPDLCostUnit {
+
+ @XmlValue
+ protected String value;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCostUnit.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCountrykey.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCountrykey.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCountrykey.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,92 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "value"
+})
+@XmlRootElement(name = "Countrykey")
+public class XPDLCountrykey {
+
+ @XmlValue
+ protected String value;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCountrykey.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCreated.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCreated.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCreated.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,92 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "value"
+})
+@XmlRootElement(name = "Created")
+public class XPDLCreated {
+
+ @XmlValue
+ protected String value;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLCreated.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDataField.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDataField.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDataField.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,398 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}DataType"/>
+ * <element name="InitialValue" type="{http://www.wfmc.org/2008/XPDL2.1}ExpressionType" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Length" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Description" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}ExtendedAttributes" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * <attribute name="Id" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * <attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="ReadOnly" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="IsArray" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="Correlation" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "dataType",
+ "initialValue",
+ "length",
+ "description",
+ "extendedAttributes",
+ "any"
+})
+@XmlRootElement(name = "DataField")
+public class XPDLDataField {
+
+ @XmlElement(name = "DataType", required = true)
+ protected XPDLDataType dataType;
+ @XmlElement(name = "InitialValue")
+ protected ExpressionType initialValue;
+ @XmlElement(name = "Length")
+ protected XPDLLength length;
+ @XmlElement(name = "Description")
+ protected XPDLDescription description;
+ @XmlElement(name = "ExtendedAttributes")
+ protected XPDLExtendedAttributes extendedAttributes;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Id", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String id;
+ @XmlAttribute(name = "Name")
+ protected String name;
+ @XmlAttribute(name = "ReadOnly")
+ protected Boolean readOnly;
+ @XmlAttribute(name = "IsArray")
+ protected Boolean isArray;
+ @XmlAttribute(name = "Correlation")
+ protected Boolean correlation;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the dataType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLDataType }
+ *
+ */
+ public XPDLDataType getDataType() {
+ return dataType;
+ }
+
+ /**
+ * Sets the value of the dataType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLDataType }
+ *
+ */
+ public void setDataType(XPDLDataType value) {
+ this.dataType = value;
+ }
+
+ /**
+ * Gets the value of the initialValue property.
+ *
+ * @return
+ * possible object is
+ * {@link ExpressionType }
+ *
+ */
+ public ExpressionType getInitialValue() {
+ return initialValue;
+ }
+
+ /**
+ * Sets the value of the initialValue property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ExpressionType }
+ *
+ */
+ public void setInitialValue(ExpressionType value) {
+ this.initialValue = value;
+ }
+
+ /**
+ * Gets the value of the length property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLLength }
+ *
+ */
+ public XPDLLength getLength() {
+ return length;
+ }
+
+ /**
+ * Sets the value of the length property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLLength }
+ *
+ */
+ public void setLength(XPDLLength value) {
+ this.length = value;
+ }
+
+ /**
+ * Gets the value of the description property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLDescription }
+ *
+ */
+ public XPDLDescription getDescription() {
+ return description;
+ }
+
+ /**
+ * Sets the value of the description property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLDescription }
+ *
+ */
+ public void setDescription(XPDLDescription value) {
+ this.description = value;
+ }
+
+ /**
+ * Gets the value of the extendedAttributes property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLExtendedAttributes }
+ *
+ */
+ public XPDLExtendedAttributes getExtendedAttributes() {
+ return extendedAttributes;
+ }
+
+ /**
+ * Sets the value of the extendedAttributes property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLExtendedAttributes }
+ *
+ */
+ public void setExtendedAttributes(XPDLExtendedAttributes value) {
+ this.extendedAttributes = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the readOnly property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isReadOnly() {
+ if (readOnly == null) {
+ return false;
+ } else {
+ return readOnly;
+ }
+ }
+
+ /**
+ * Sets the value of the readOnly property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setReadOnly(Boolean value) {
+ this.readOnly = value;
+ }
+
+ /**
+ * Gets the value of the isArray property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isIsArray() {
+ if (isArray == null) {
+ return false;
+ } else {
+ return isArray;
+ }
+ }
+
+ /**
+ * Sets the value of the isArray property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setIsArray(Boolean value) {
+ this.isArray = value;
+ }
+
+ /**
+ * Gets the value of the correlation property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isCorrelation() {
+ if (correlation == null) {
+ return false;
+ } else {
+ return correlation;
+ }
+ }
+
+ /**
+ * Sets the value of the correlation property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setCorrelation(Boolean value) {
+ this.correlation = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDataField.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDataFields.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDataFields.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDataFields.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,138 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}DataField" maxOccurs="unbounded" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "dataField",
+ "any"
+})
+@XmlRootElement(name = "DataFields")
+public class XPDLDataFields {
+
+ @XmlElement(name = "DataField")
+ protected List<XPDLDataField> dataField;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the dataField property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the dataField property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDataField().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLDataField }
+ *
+ *
+ */
+ public List<XPDLDataField> getDataField() {
+ if (dataField == null) {
+ dataField = new ArrayList<XPDLDataField>();
+ }
+ return this.dataField;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDataFields.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDataMapping.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDataMapping.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDataMapping.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,231 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="Actual" type="{http://www.wfmc.org/2008/XPDL2.1}ExpressionType"/>
+ * <element name="TestValue" type="{http://www.wfmc.org/2008/XPDL2.1}ExpressionType" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * <attribute name="Formal" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="Direction" default="IN">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="IN"/>
+ * <enumeration value="OUT"/>
+ * <enumeration value="INOUT"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "actual",
+ "testValue",
+ "any"
+})
+@XmlRootElement(name = "DataMapping")
+public class XPDLDataMapping {
+
+ @XmlElement(name = "Actual", required = true)
+ protected ExpressionType actual;
+ @XmlElement(name = "TestValue")
+ protected ExpressionType testValue;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Formal", required = true)
+ protected String formal;
+ @XmlAttribute(name = "Direction")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String direction;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the actual property.
+ *
+ * @return
+ * possible object is
+ * {@link ExpressionType }
+ *
+ */
+ public ExpressionType getActual() {
+ return actual;
+ }
+
+ /**
+ * Sets the value of the actual property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ExpressionType }
+ *
+ */
+ public void setActual(ExpressionType value) {
+ this.actual = value;
+ }
+
+ /**
+ * Gets the value of the testValue property.
+ *
+ * @return
+ * possible object is
+ * {@link ExpressionType }
+ *
+ */
+ public ExpressionType getTestValue() {
+ return testValue;
+ }
+
+ /**
+ * Sets the value of the testValue property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ExpressionType }
+ *
+ */
+ public void setTestValue(ExpressionType value) {
+ this.testValue = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the formal property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getFormal() {
+ return formal;
+ }
+
+ /**
+ * Sets the value of the formal property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setFormal(String value) {
+ this.formal = value;
+ }
+
+ /**
+ * Gets the value of the direction property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDirection() {
+ if (direction == null) {
+ return "IN";
+ } else {
+ return direction;
+ }
+ }
+
+ /**
+ * Sets the value of the direction property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDirection(String value) {
+ this.direction = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDataMapping.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDataMappings.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDataMappings.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDataMappings.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,138 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}DataMapping" maxOccurs="unbounded" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "dataMapping",
+ "any"
+})
+@XmlRootElement(name = "DataMappings")
+public class XPDLDataMappings {
+
+ @XmlElement(name = "DataMapping")
+ protected List<XPDLDataMapping> dataMapping;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the dataMapping property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the dataMapping property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDataMapping().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLDataMapping }
+ *
+ *
+ */
+ public List<XPDLDataMapping> getDataMapping() {
+ if (dataMapping == null) {
+ dataMapping = new ArrayList<XPDLDataMapping>();
+ }
+ return this.dataMapping;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDataMappings.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDataObject.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDataObject.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDataObject.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,285 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="DataField" maxOccurs="unbounded" minOccurs="0">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="Id" use="required" type="{http://www.wfmc.org/2008/XPDL2.1}Id" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <any/>
+ * </sequence>
+ * <attribute name="Id" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * <attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="State" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "dataField",
+ "any"
+})
+@XmlRootElement(name = "DataObject")
+public class XPDLDataObject {
+
+ @XmlElement(name = "DataField")
+ protected List<XPDLDataObject.DataField> dataField;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Id", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String id;
+ @XmlAttribute(name = "Name")
+ protected String name;
+ @XmlAttribute(name = "State")
+ protected String state;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the dataField property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the dataField property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDataField().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLDataObject.DataField }
+ *
+ *
+ */
+ public List<XPDLDataObject.DataField> getDataField() {
+ if (dataField == null) {
+ dataField = new ArrayList<XPDLDataObject.DataField>();
+ }
+ return this.dataField;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the state property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getState() {
+ return state;
+ }
+
+ /**
+ * Sets the value of the state property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setState(String value) {
+ this.state = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="Id" use="required" type="{http://www.wfmc.org/2008/XPDL2.1}Id" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class DataField {
+
+ @XmlAttribute(name = "Id", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String id;
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDataObject.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDataType.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDataType.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDataType.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,309 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <group ref="{http://www.wfmc.org/2008/XPDL2.1}DataTypes"/>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "basicType",
+ "declaredType",
+ "schemaType",
+ "externalReference",
+ "recordType",
+ "unionType",
+ "enumerationType",
+ "arrayType",
+ "listType"
+})
+@XmlRootElement(name = "DataType")
+public class XPDLDataType {
+
+ @XmlElement(name = "BasicType")
+ protected XPDLBasicType basicType;
+ @XmlElement(name = "DeclaredType")
+ protected XPDLDeclaredType declaredType;
+ @XmlElement(name = "SchemaType")
+ protected XPDLSchemaType schemaType;
+ @XmlElement(name = "ExternalReference")
+ protected XPDLExternalReference externalReference;
+ @XmlElement(name = "RecordType")
+ protected XPDLRecordType recordType;
+ @XmlElement(name = "UnionType")
+ protected XPDLUnionType unionType;
+ @XmlElement(name = "EnumerationType")
+ protected XPDLEnumerationType enumerationType;
+ @XmlElement(name = "ArrayType")
+ protected XPDLArrayType arrayType;
+ @XmlElement(name = "ListType")
+ protected XPDLListType listType;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the basicType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLBasicType }
+ *
+ */
+ public XPDLBasicType getBasicType() {
+ return basicType;
+ }
+
+ /**
+ * Sets the value of the basicType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLBasicType }
+ *
+ */
+ public void setBasicType(XPDLBasicType value) {
+ this.basicType = value;
+ }
+
+ /**
+ * Gets the value of the declaredType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLDeclaredType }
+ *
+ */
+ public XPDLDeclaredType getDeclaredType() {
+ return declaredType;
+ }
+
+ /**
+ * Sets the value of the declaredType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLDeclaredType }
+ *
+ */
+ public void setDeclaredType(XPDLDeclaredType value) {
+ this.declaredType = value;
+ }
+
+ /**
+ * Gets the value of the schemaType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLSchemaType }
+ *
+ */
+ public XPDLSchemaType getSchemaType() {
+ return schemaType;
+ }
+
+ /**
+ * Sets the value of the schemaType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLSchemaType }
+ *
+ */
+ public void setSchemaType(XPDLSchemaType value) {
+ this.schemaType = value;
+ }
+
+ /**
+ * Gets the value of the externalReference property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLExternalReference }
+ *
+ */
+ public XPDLExternalReference getExternalReference() {
+ return externalReference;
+ }
+
+ /**
+ * Sets the value of the externalReference property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLExternalReference }
+ *
+ */
+ public void setExternalReference(XPDLExternalReference value) {
+ this.externalReference = value;
+ }
+
+ /**
+ * Gets the value of the recordType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLRecordType }
+ *
+ */
+ public XPDLRecordType getRecordType() {
+ return recordType;
+ }
+
+ /**
+ * Sets the value of the recordType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLRecordType }
+ *
+ */
+ public void setRecordType(XPDLRecordType value) {
+ this.recordType = value;
+ }
+
+ /**
+ * Gets the value of the unionType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLUnionType }
+ *
+ */
+ public XPDLUnionType getUnionType() {
+ return unionType;
+ }
+
+ /**
+ * Sets the value of the unionType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLUnionType }
+ *
+ */
+ public void setUnionType(XPDLUnionType value) {
+ this.unionType = value;
+ }
+
+ /**
+ * Gets the value of the enumerationType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLEnumerationType }
+ *
+ */
+ public XPDLEnumerationType getEnumerationType() {
+ return enumerationType;
+ }
+
+ /**
+ * Sets the value of the enumerationType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLEnumerationType }
+ *
+ */
+ public void setEnumerationType(XPDLEnumerationType value) {
+ this.enumerationType = value;
+ }
+
+ /**
+ * Gets the value of the arrayType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLArrayType }
+ *
+ */
+ public XPDLArrayType getArrayType() {
+ return arrayType;
+ }
+
+ /**
+ * Sets the value of the arrayType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLArrayType }
+ *
+ */
+ public void setArrayType(XPDLArrayType value) {
+ this.arrayType = value;
+ }
+
+ /**
+ * Gets the value of the listType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLListType }
+ *
+ */
+ public XPDLListType getListType() {
+ return listType;
+ }
+
+ /**
+ * Sets the value of the listType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLListType }
+ *
+ */
+ public void setListType(XPDLListType value) {
+ this.listType = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDataType.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDeadline.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDeadline.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDeadline.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,279 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="DeadlineDuration" type="{http://www.wfmc.org/2008/XPDL2.1}ExpressionType" minOccurs="0"/>
+ * <element name="ExceptionName" minOccurs="0">
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </element>
+ * <any/>
+ * </sequence>
+ * <attribute name="Execution">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="ASYNCHR"/>
+ * <enumeration value="SYNCHR"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "deadlineDuration",
+ "exceptionName",
+ "any"
+})
+@XmlRootElement(name = "Deadline")
+public class XPDLDeadline {
+
+ @XmlElement(name = "DeadlineDuration")
+ protected ExpressionType deadlineDuration;
+ @XmlElement(name = "ExceptionName")
+ protected XPDLDeadline.ExceptionName exceptionName;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Execution")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String execution;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the deadlineDuration property.
+ *
+ * @return
+ * possible object is
+ * {@link ExpressionType }
+ *
+ */
+ public ExpressionType getDeadlineDuration() {
+ return deadlineDuration;
+ }
+
+ /**
+ * Sets the value of the deadlineDuration property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ExpressionType }
+ *
+ */
+ public void setDeadlineDuration(ExpressionType value) {
+ this.deadlineDuration = value;
+ }
+
+ /**
+ * Gets the value of the exceptionName property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLDeadline.ExceptionName }
+ *
+ */
+ public XPDLDeadline.ExceptionName getExceptionName() {
+ return exceptionName;
+ }
+
+ /**
+ * Sets the value of the exceptionName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLDeadline.ExceptionName }
+ *
+ */
+ public void setExceptionName(XPDLDeadline.ExceptionName value) {
+ this.exceptionName = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the execution property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getExecution() {
+ return execution;
+ }
+
+ /**
+ * Sets the value of the execution property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setExecution(String value) {
+ this.execution = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "value"
+ })
+ public static class ExceptionName {
+
+ @XmlValue
+ protected String value;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDeadline.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDeclaredType.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDeclaredType.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDeclaredType.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,163 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlIDREF;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="Id" use="required" type="{http://www.w3.org/2001/XMLSchema}IDREF" />
+ * <attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "any"
+})
+@XmlRootElement(name = "DeclaredType")
+public class XPDLDeclaredType {
+
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Id", required = true)
+ @XmlIDREF
+ @XmlSchemaType(name = "IDREF")
+ protected Object id;
+ @XmlAttribute(name = "Name")
+ protected String name;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ public Object getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setId(Object value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDeclaredType.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDescription.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDescription.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDescription.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,92 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "value"
+})
+@XmlRootElement(name = "Description")
+public class XPDLDescription {
+
+ @XmlValue
+ protected String value;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDescription.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDocumentation.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDocumentation.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDocumentation.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,92 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "value"
+})
+@XmlRootElement(name = "Documentation")
+public class XPDLDocumentation {
+
+ @XmlValue
+ protected String value;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDocumentation.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDuration.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDuration.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDuration.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,92 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "value"
+})
+@XmlRootElement(name = "Duration")
+public class XPDLDuration {
+
+ @XmlValue
+ protected String value;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLDuration.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLEndEvent.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLEndEvent.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLEndEvent.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,295 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TriggerResultMessage" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}ResultError" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TriggerResultCompensation" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TriggerResultSignal" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}ResultMultiple" minOccurs="0"/>
+ * </choice>
+ * <attribute name="Result" default="None">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="None"/>
+ * <enumeration value="Message"/>
+ * <enumeration value="Error"/>
+ * <enumeration value="Cancel"/>
+ * <enumeration value="Compensation"/>
+ * <enumeration value="Signal"/>
+ * <enumeration value="Terminate"/>
+ * <enumeration value="Multiple"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * <attribute name="Implementation" default="WebService">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="WebService"/>
+ * <enumeration value="Other"/>
+ * <enumeration value="Unspecified"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "triggerResultMessage",
+ "resultError",
+ "triggerResultCompensation",
+ "triggerResultSignal",
+ "resultMultiple"
+})
+@XmlRootElement(name = "EndEvent")
+public class XPDLEndEvent {
+
+ @XmlElement(name = "TriggerResultMessage")
+ protected XPDLTriggerResultMessage triggerResultMessage;
+ @XmlElement(name = "ResultError")
+ protected XPDLResultError resultError;
+ @XmlElement(name = "TriggerResultCompensation")
+ protected XPDLTriggerResultCompensation triggerResultCompensation;
+ @XmlElement(name = "TriggerResultSignal")
+ protected XPDLTriggerResultSignal triggerResultSignal;
+ @XmlElement(name = "ResultMultiple")
+ protected XPDLResultMultiple resultMultiple;
+ @XmlAttribute(name = "Result")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String result;
+ @XmlAttribute(name = "Implementation")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String implementation;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the triggerResultMessage property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTriggerResultMessage }
+ *
+ */
+ public XPDLTriggerResultMessage getTriggerResultMessage() {
+ return triggerResultMessage;
+ }
+
+ /**
+ * Sets the value of the triggerResultMessage property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTriggerResultMessage }
+ *
+ */
+ public void setTriggerResultMessage(XPDLTriggerResultMessage value) {
+ this.triggerResultMessage = value;
+ }
+
+ /**
+ * Gets the value of the resultError property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLResultError }
+ *
+ */
+ public XPDLResultError getResultError() {
+ return resultError;
+ }
+
+ /**
+ * Sets the value of the resultError property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLResultError }
+ *
+ */
+ public void setResultError(XPDLResultError value) {
+ this.resultError = value;
+ }
+
+ /**
+ * Gets the value of the triggerResultCompensation property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTriggerResultCompensation }
+ *
+ */
+ public XPDLTriggerResultCompensation getTriggerResultCompensation() {
+ return triggerResultCompensation;
+ }
+
+ /**
+ * Sets the value of the triggerResultCompensation property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTriggerResultCompensation }
+ *
+ */
+ public void setTriggerResultCompensation(XPDLTriggerResultCompensation value) {
+ this.triggerResultCompensation = value;
+ }
+
+ /**
+ * Gets the value of the triggerResultSignal property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTriggerResultSignal }
+ *
+ */
+ public XPDLTriggerResultSignal getTriggerResultSignal() {
+ return triggerResultSignal;
+ }
+
+ /**
+ * Sets the value of the triggerResultSignal property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTriggerResultSignal }
+ *
+ */
+ public void setTriggerResultSignal(XPDLTriggerResultSignal value) {
+ this.triggerResultSignal = value;
+ }
+
+ /**
+ * Gets the value of the resultMultiple property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLResultMultiple }
+ *
+ */
+ public XPDLResultMultiple getResultMultiple() {
+ return resultMultiple;
+ }
+
+ /**
+ * Sets the value of the resultMultiple property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLResultMultiple }
+ *
+ */
+ public void setResultMultiple(XPDLResultMultiple value) {
+ this.resultMultiple = value;
+ }
+
+ /**
+ * Gets the value of the result property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getResult() {
+ if (result == null) {
+ return "None";
+ } else {
+ return result;
+ }
+ }
+
+ /**
+ * Sets the value of the result property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setResult(String value) {
+ this.result = value;
+ }
+
+ /**
+ * Gets the value of the implementation property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getImplementation() {
+ if (implementation == null) {
+ return "WebService";
+ } else {
+ return implementation;
+ }
+ }
+
+ /**
+ * Sets the value of the implementation property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setImplementation(String value) {
+ this.implementation = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLEndEvent.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLEndPoint.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLEndPoint.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLEndPoint.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,175 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}ExternalReference"/>
+ * <any/>
+ * </sequence>
+ * <attribute name="EndPointType" default="WSDL">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="WSDL"/>
+ * <enumeration value="Service"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "externalReference",
+ "any"
+})
+@XmlRootElement(name = "EndPoint")
+public class XPDLEndPoint {
+
+ @XmlElement(name = "ExternalReference", required = true)
+ protected XPDLExternalReference externalReference;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "EndPointType")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String endPointType;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the externalReference property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLExternalReference }
+ *
+ */
+ public XPDLExternalReference getExternalReference() {
+ return externalReference;
+ }
+
+ /**
+ * Sets the value of the externalReference property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLExternalReference }
+ *
+ */
+ public void setExternalReference(XPDLExternalReference value) {
+ this.externalReference = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the endPointType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getEndPointType() {
+ if (endPointType == null) {
+ return "WSDL";
+ } else {
+ return endPointType;
+ }
+ }
+
+ /**
+ * Sets the value of the endPointType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setEndPointType(String value) {
+ this.endPointType = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLEndPoint.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLEnumerationType.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLEnumerationType.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLEnumerationType.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,138 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}EnumerationValue" maxOccurs="unbounded"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "enumerationValue",
+ "any"
+})
+@XmlRootElement(name = "EnumerationType")
+public class XPDLEnumerationType {
+
+ @XmlElement(name = "EnumerationValue", required = true)
+ protected List<XPDLEnumerationValue> enumerationValue;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the enumerationValue property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the enumerationValue property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getEnumerationValue().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLEnumerationValue }
+ *
+ *
+ */
+ public List<XPDLEnumerationValue> getEnumerationValue() {
+ if (enumerationValue == null) {
+ enumerationValue = new ArrayList<XPDLEnumerationValue>();
+ }
+ return this.enumerationValue;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLEnumerationType.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLEnumerationValue.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLEnumerationValue.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLEnumerationValue.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,137 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="Name" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "any"
+})
+@XmlRootElement(name = "EnumerationValue")
+public class XPDLEnumerationValue {
+
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Name", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String name;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLEnumerationValue.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLEvent.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLEvent.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLEvent.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,151 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}StartEvent" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}IntermediateEvent" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}EndEvent" minOccurs="0"/>
+ * </choice>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "startEvent",
+ "intermediateEvent",
+ "endEvent"
+})
+@XmlRootElement(name = "Event")
+public class XPDLEvent {
+
+ @XmlElement(name = "StartEvent")
+ protected XPDLStartEvent startEvent;
+ @XmlElement(name = "IntermediateEvent")
+ protected XPDLIntermediateEvent intermediateEvent;
+ @XmlElement(name = "EndEvent")
+ protected XPDLEndEvent endEvent;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the startEvent property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLStartEvent }
+ *
+ */
+ public XPDLStartEvent getStartEvent() {
+ return startEvent;
+ }
+
+ /**
+ * Sets the value of the startEvent property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLStartEvent }
+ *
+ */
+ public void setStartEvent(XPDLStartEvent value) {
+ this.startEvent = value;
+ }
+
+ /**
+ * Gets the value of the intermediateEvent property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLIntermediateEvent }
+ *
+ */
+ public XPDLIntermediateEvent getIntermediateEvent() {
+ return intermediateEvent;
+ }
+
+ /**
+ * Sets the value of the intermediateEvent property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLIntermediateEvent }
+ *
+ */
+ public void setIntermediateEvent(XPDLIntermediateEvent value) {
+ this.intermediateEvent = value;
+ }
+
+ /**
+ * Gets the value of the endEvent property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLEndEvent }
+ *
+ */
+ public XPDLEndEvent getEndEvent() {
+ return endEvent;
+ }
+
+ /**
+ * Sets the value of the endEvent property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLEndEvent }
+ *
+ */
+ public void setEndEvent(XPDLEndEvent value) {
+ this.endEvent = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLEvent.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLExtendedAttribute.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLExtendedAttribute.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLExtendedAttribute.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,143 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlMixed;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <any/>
+ * </choice>
+ * <attribute name="Name" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * <attribute name="Value" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "content"
+})
+@XmlRootElement(name = "ExtendedAttribute")
+public class XPDLExtendedAttribute {
+
+ @XmlMixed
+ @XmlAnyElement(lax = true)
+ protected List<Object> content;
+ @XmlAttribute(name = "Name", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String name;
+ @XmlAttribute(name = "Value")
+ protected String value;
+
+ /**
+ * Gets the value of the content property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the content property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getContent().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link String }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getContent() {
+ if (content == null) {
+ content = new ArrayList<Object>();
+ }
+ return this.content;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLExtendedAttribute.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLExtendedAttributes.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLExtendedAttributes.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLExtendedAttributes.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,78 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}ExtendedAttribute" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "extendedAttribute"
+})
+@XmlRootElement(name = "ExtendedAttributes")
+public class XPDLExtendedAttributes {
+
+ @XmlElement(name = "ExtendedAttribute")
+ protected List<XPDLExtendedAttribute> extendedAttribute;
+
+ /**
+ * Gets the value of the extendedAttribute property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the extendedAttribute property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getExtendedAttribute().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLExtendedAttribute }
+ *
+ *
+ */
+ public List<XPDLExtendedAttribute> getExtendedAttribute() {
+ if (extendedAttribute == null) {
+ extendedAttribute = new ArrayList<XPDLExtendedAttribute>();
+ }
+ return this.extendedAttribute;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLExtendedAttributes.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLExternalPackage.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLExternalPackage.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLExternalPackage.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,220 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}ExtendedAttributes" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * <attribute name="href" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * <attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "extendedAttributes",
+ "any"
+})
+@XmlRootElement(name = "ExternalPackage")
+public class XPDLExternalPackage {
+
+ @XmlElement(name = "ExtendedAttributes")
+ protected XPDLExtendedAttributes extendedAttributes;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute
+ protected String href;
+ @XmlAttribute(name = "Id")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String id;
+ @XmlAttribute(name = "Name")
+ protected String name;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the extendedAttributes property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLExtendedAttributes }
+ *
+ */
+ public XPDLExtendedAttributes getExtendedAttributes() {
+ return extendedAttributes;
+ }
+
+ /**
+ * Sets the value of the extendedAttributes property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLExtendedAttributes }
+ *
+ */
+ public void setExtendedAttributes(XPDLExtendedAttributes value) {
+ this.extendedAttributes = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the href property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getHref() {
+ return href;
+ }
+
+ /**
+ * Sets the value of the href property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setHref(String value) {
+ this.href = value;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLExternalPackage.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLExternalPackages.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLExternalPackages.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLExternalPackages.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,138 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}ExternalPackage" maxOccurs="unbounded" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "externalPackage",
+ "any"
+})
+@XmlRootElement(name = "ExternalPackages")
+public class XPDLExternalPackages {
+
+ @XmlElement(name = "ExternalPackage")
+ protected List<XPDLExternalPackage> externalPackage;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the externalPackage property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the externalPackage property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getExternalPackage().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLExternalPackage }
+ *
+ *
+ */
+ public List<XPDLExternalPackage> getExternalPackage() {
+ if (externalPackage == null) {
+ externalPackage = new ArrayList<XPDLExternalPackage>();
+ }
+ return this.externalPackage;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLExternalPackages.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLExternalReference.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLExternalReference.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLExternalReference.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,193 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="xref" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * <attribute name="location" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <attribute name="namespace" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "any"
+})
+@XmlRootElement(name = "ExternalReference")
+public class XPDLExternalReference {
+
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String xref;
+ @XmlAttribute(required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String location;
+ @XmlAttribute
+ @XmlSchemaType(name = "anyURI")
+ protected String namespace;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the xref property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getXref() {
+ return xref;
+ }
+
+ /**
+ * Sets the value of the xref property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setXref(String value) {
+ this.xref = value;
+ }
+
+ /**
+ * Gets the value of the location property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLocation() {
+ return location;
+ }
+
+ /**
+ * Sets the value of the location property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLocation(String value) {
+ this.location = value;
+ }
+
+ /**
+ * Gets the value of the namespace property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getNamespace() {
+ return namespace;
+ }
+
+ /**
+ * Sets the value of the namespace property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setNamespace(String value) {
+ this.namespace = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLExternalReference.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLFormalParameter.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLFormalParameter.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLFormalParameter.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,410 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}DataType"/>
+ * <element name="InitialValue" type="{http://www.wfmc.org/2008/XPDL2.1}ExpressionType" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Description" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Length" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * <attribute name="Id" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * <attribute name="Mode" default="IN">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="IN"/>
+ * <enumeration value="OUT"/>
+ * <enumeration value="INOUT"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * <attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="ReadOnly" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="Required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="IsArray" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "dataType",
+ "initialValue",
+ "description",
+ "length",
+ "any"
+})
+@XmlRootElement(name = "FormalParameter")
+public class XPDLFormalParameter {
+
+ @XmlElement(name = "DataType", required = true)
+ protected XPDLDataType dataType;
+ @XmlElement(name = "InitialValue")
+ protected ExpressionType initialValue;
+ @XmlElement(name = "Description")
+ protected XPDLDescription description;
+ @XmlElement(name = "Length")
+ protected XPDLLength length;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Id", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String id;
+ @XmlAttribute(name = "Mode")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String mode;
+ @XmlAttribute(name = "Name")
+ protected String name;
+ @XmlAttribute(name = "ReadOnly")
+ protected Boolean readOnly;
+ @XmlAttribute(name = "Required")
+ protected Boolean required;
+ @XmlAttribute(name = "IsArray")
+ protected Boolean isArray;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the dataType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLDataType }
+ *
+ */
+ public XPDLDataType getDataType() {
+ return dataType;
+ }
+
+ /**
+ * Sets the value of the dataType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLDataType }
+ *
+ */
+ public void setDataType(XPDLDataType value) {
+ this.dataType = value;
+ }
+
+ /**
+ * Gets the value of the initialValue property.
+ *
+ * @return
+ * possible object is
+ * {@link ExpressionType }
+ *
+ */
+ public ExpressionType getInitialValue() {
+ return initialValue;
+ }
+
+ /**
+ * Sets the value of the initialValue property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ExpressionType }
+ *
+ */
+ public void setInitialValue(ExpressionType value) {
+ this.initialValue = value;
+ }
+
+ /**
+ * Gets the value of the description property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLDescription }
+ *
+ */
+ public XPDLDescription getDescription() {
+ return description;
+ }
+
+ /**
+ * Sets the value of the description property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLDescription }
+ *
+ */
+ public void setDescription(XPDLDescription value) {
+ this.description = value;
+ }
+
+ /**
+ * Gets the value of the length property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLLength }
+ *
+ */
+ public XPDLLength getLength() {
+ return length;
+ }
+
+ /**
+ * Sets the value of the length property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLLength }
+ *
+ */
+ public void setLength(XPDLLength value) {
+ this.length = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the mode property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getMode() {
+ if (mode == null) {
+ return "IN";
+ } else {
+ return mode;
+ }
+ }
+
+ /**
+ * Sets the value of the mode property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setMode(String value) {
+ this.mode = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the readOnly property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isReadOnly() {
+ if (readOnly == null) {
+ return false;
+ } else {
+ return readOnly;
+ }
+ }
+
+ /**
+ * Sets the value of the readOnly property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setReadOnly(Boolean value) {
+ this.readOnly = value;
+ }
+
+ /**
+ * Gets the value of the required property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isRequired() {
+ if (required == null) {
+ return false;
+ } else {
+ return required;
+ }
+ }
+
+ /**
+ * Sets the value of the required property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setRequired(Boolean value) {
+ this.required = value;
+ }
+
+ /**
+ * Gets the value of the isArray property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isIsArray() {
+ if (isArray == null) {
+ return false;
+ } else {
+ return isArray;
+ }
+ }
+
+ /**
+ * Sets the value of the isArray property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setIsArray(Boolean value) {
+ this.isArray = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLFormalParameter.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLFormalParameters.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLFormalParameters.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLFormalParameters.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,172 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <choice minOccurs="0">
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}FormalParameter" maxOccurs="unbounded" minOccurs="0"/>
+ * </choice>
+ * <choice minOccurs="0">
+ * <sequence>
+ * <element name="Extensions" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
+ * <any/>
+ * </sequence>
+ * </choice>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "formalParameter",
+ "extensions",
+ "any"
+})
+@XmlRootElement(name = "FormalParameters")
+public class XPDLFormalParameters {
+
+ @XmlElement(name = "FormalParameter")
+ protected List<XPDLFormalParameter> formalParameter;
+ @XmlElement(name = "Extensions")
+ protected Object extensions;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the formalParameter property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the formalParameter property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getFormalParameter().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLFormalParameter }
+ *
+ *
+ */
+ public List<XPDLFormalParameter> getFormalParameter() {
+ if (formalParameter == null) {
+ formalParameter = new ArrayList<XPDLFormalParameter>();
+ }
+ return this.formalParameter;
+ }
+
+ /**
+ * Gets the value of the extensions property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ public Object getExtensions() {
+ return extensions;
+ }
+
+ /**
+ * Sets the value of the extensions property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setExtensions(Object value) {
+ this.extensions = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLFormalParameters.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLGroup.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLGroup.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLGroup.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,284 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Category" minOccurs="0"/>
+ * <element name="Object" maxOccurs="unbounded" minOccurs="0">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="Id" use="required" type="{http://www.wfmc.org/2008/XPDL2.1}Id" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <any/>
+ * </sequence>
+ * <attribute name="Id" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * <attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "category",
+ "object",
+ "any"
+})
+@XmlRootElement(name = "Group")
+public class XPDLGroup {
+
+ @XmlElement(name = "Category")
+ protected XPDLCategory category;
+ @XmlElement(name = "Object")
+ protected List<XPDLGroup.Object> object;
+ @XmlAnyElement(lax = true)
+ protected List<java.lang.Object> any;
+ @XmlAttribute(name = "Id", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String id;
+ @XmlAttribute(name = "Name")
+ protected String name;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the category property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLCategory }
+ *
+ */
+ public XPDLCategory getCategory() {
+ return category;
+ }
+
+ /**
+ * Sets the value of the category property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLCategory }
+ *
+ */
+ public void setCategory(XPDLCategory value) {
+ this.category = value;
+ }
+
+ /**
+ * Gets the value of the object property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the object property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getObject().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLGroup.Object }
+ *
+ *
+ */
+ public List<XPDLGroup.Object> getObject() {
+ if (object == null) {
+ object = new ArrayList<XPDLGroup.Object>();
+ }
+ return this.object;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link java.lang.Object }
+ *
+ *
+ */
+ public List<java.lang.Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<java.lang.Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="Id" use="required" type="{http://www.wfmc.org/2008/XPDL2.1}Id" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Object {
+
+ @XmlAttribute(name = "Id", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String id;
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLGroup.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLIORules.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLIORules.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLIORules.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,138 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="Expression" type="{http://www.wfmc.org/2008/XPDL2.1}ExpressionType" maxOccurs="unbounded"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "expression",
+ "any"
+})
+@XmlRootElement(name = "IORules")
+public class XPDLIORules {
+
+ @XmlElement(name = "Expression", required = true)
+ protected List<ExpressionType> expression;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the expression property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the expression property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getExpression().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ExpressionType }
+ *
+ *
+ */
+ public List<ExpressionType> getExpression() {
+ if (expression == null) {
+ expression = new ArrayList<ExpressionType>();
+ }
+ return this.expression;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLIORules.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLIcon.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLIcon.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLIcon.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,248 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.math.BigInteger;
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * <attribute name="XCOORD" type="{http://www.w3.org/2001/XMLSchema}integer" />
+ * <attribute name="YCOORD" type="{http://www.w3.org/2001/XMLSchema}integer" />
+ * <attribute name="WIDTH" type="{http://www.w3.org/2001/XMLSchema}integer" />
+ * <attribute name="HEIGHT" type="{http://www.w3.org/2001/XMLSchema}integer" />
+ * <attribute name="SHAPE" default="RoundRectangle">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="RoundRectangle"/>
+ * <enumeration value="Rectangle"/>
+ * <enumeration value="Ellipse"/>
+ * <enumeration value="Diamond"/>
+ * <enumeration value="Ellipse"/>
+ * <enumeration value="UpTriangle"/>
+ * <enumeration value="DownTriangle"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "value"
+})
+@XmlRootElement(name = "Icon")
+public class XPDLIcon {
+
+ @XmlValue
+ protected String value;
+ @XmlAttribute(name = "XCOORD")
+ protected BigInteger xcoord;
+ @XmlAttribute(name = "YCOORD")
+ protected BigInteger ycoord;
+ @XmlAttribute(name = "WIDTH")
+ protected BigInteger width;
+ @XmlAttribute(name = "HEIGHT")
+ protected BigInteger height;
+ @XmlAttribute(name = "SHAPE")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String shape;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets the value of the xcoord property.
+ *
+ * @return
+ * possible object is
+ * {@link BigInteger }
+ *
+ */
+ public BigInteger getXCOORD() {
+ return xcoord;
+ }
+
+ /**
+ * Sets the value of the xcoord property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BigInteger }
+ *
+ */
+ public void setXCOORD(BigInteger value) {
+ this.xcoord = value;
+ }
+
+ /**
+ * Gets the value of the ycoord property.
+ *
+ * @return
+ * possible object is
+ * {@link BigInteger }
+ *
+ */
+ public BigInteger getYCOORD() {
+ return ycoord;
+ }
+
+ /**
+ * Sets the value of the ycoord property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BigInteger }
+ *
+ */
+ public void setYCOORD(BigInteger value) {
+ this.ycoord = value;
+ }
+
+ /**
+ * Gets the value of the width property.
+ *
+ * @return
+ * possible object is
+ * {@link BigInteger }
+ *
+ */
+ public BigInteger getWIDTH() {
+ return width;
+ }
+
+ /**
+ * Sets the value of the width property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BigInteger }
+ *
+ */
+ public void setWIDTH(BigInteger value) {
+ this.width = value;
+ }
+
+ /**
+ * Gets the value of the height property.
+ *
+ * @return
+ * possible object is
+ * {@link BigInteger }
+ *
+ */
+ public BigInteger getHEIGHT() {
+ return height;
+ }
+
+ /**
+ * Sets the value of the height property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BigInteger }
+ *
+ */
+ public void setHEIGHT(BigInteger value) {
+ this.height = value;
+ }
+
+ /**
+ * Gets the value of the shape property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSHAPE() {
+ if (shape == null) {
+ return "RoundRectangle";
+ } else {
+ return shape;
+ }
+ }
+
+ /**
+ * Sets the value of the shape property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSHAPE(String value) {
+ this.shape = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLIcon.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLImplementation.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLImplementation.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLImplementation.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,179 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice minOccurs="0">
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}No" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Task" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}SubFlow" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Reference" minOccurs="0"/>
+ * </choice>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "no",
+ "task",
+ "subFlow",
+ "reference"
+})
+@XmlRootElement(name = "Implementation")
+public class XPDLImplementation {
+
+ @XmlElement(name = "No")
+ protected XPDLNo no;
+ @XmlElement(name = "Task")
+ protected XPDLTask task;
+ @XmlElement(name = "SubFlow")
+ protected XPDLSubFlow subFlow;
+ @XmlElement(name = "Reference")
+ protected XPDLReference reference;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * BPMN: corresponds to a task with unspecified TaskType
+ *
+ * @return
+ * possible object is
+ * {@link XPDLNo }
+ *
+ */
+ public XPDLNo getNo() {
+ return no;
+ }
+
+ /**
+ * BPMN: corresponds to a task with unspecified TaskType
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLNo }
+ *
+ */
+ public void setNo(XPDLNo value) {
+ this.no = value;
+ }
+
+ /**
+ * BPMN: corresponds to a task with specified TaskType
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTask }
+ *
+ */
+ public XPDLTask getTask() {
+ return task;
+ }
+
+ /**
+ * BPMN: corresponds to a task with specified TaskType
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTask }
+ *
+ */
+ public void setTask(XPDLTask value) {
+ this.task = value;
+ }
+
+ /**
+ * BPMN: corresponds to Reusable subprocess. May run in different pool or same pool.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLSubFlow }
+ *
+ */
+ public XPDLSubFlow getSubFlow() {
+ return subFlow;
+ }
+
+ /**
+ * BPMN: corresponds to Reusable subprocess. May run in different pool or same pool.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLSubFlow }
+ *
+ */
+ public void setSubFlow(XPDLSubFlow value) {
+ this.subFlow = value;
+ }
+
+ /**
+ * Gets the value of the reference property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLReference }
+ *
+ */
+ public XPDLReference getReference() {
+ return reference;
+ }
+
+ /**
+ * Sets the value of the reference property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLReference }
+ *
+ */
+ public void setReference(XPDLReference value) {
+ this.reference = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLImplementation.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLInput.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLInput.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLInput.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,137 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="ArtifactId" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "any"
+})
+@XmlRootElement(name = "Input")
+public class XPDLInput {
+
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "ArtifactId", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String artifactId;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the artifactId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getArtifactId() {
+ return artifactId;
+ }
+
+ /**
+ * Sets the value of the artifactId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setArtifactId(String value) {
+ this.artifactId = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLInput.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLInputSet.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLInputSet.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLInputSet.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,204 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Input" maxOccurs="unbounded"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}ArtifactInput" maxOccurs="unbounded" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}PropertyInput" maxOccurs="unbounded" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "input",
+ "artifactInput",
+ "propertyInput",
+ "any"
+})
+@XmlRootElement(name = "InputSet")
+public class XPDLInputSet {
+
+ @XmlElement(name = "Input", required = true)
+ protected List<XPDLInput> input;
+ @XmlElement(name = "ArtifactInput")
+ protected List<XPDLArtifactInput> artifactInput;
+ @XmlElement(name = "PropertyInput")
+ protected List<XPDLPropertyInput> propertyInput;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the input property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the input property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getInput().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLInput }
+ *
+ *
+ */
+ public List<XPDLInput> getInput() {
+ if (input == null) {
+ input = new ArrayList<XPDLInput>();
+ }
+ return this.input;
+ }
+
+ /**
+ * Gets the value of the artifactInput property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the artifactInput property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getArtifactInput().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLArtifactInput }
+ *
+ *
+ */
+ public List<XPDLArtifactInput> getArtifactInput() {
+ if (artifactInput == null) {
+ artifactInput = new ArrayList<XPDLArtifactInput>();
+ }
+ return this.artifactInput;
+ }
+
+ /**
+ * Gets the value of the propertyInput property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the propertyInput property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getPropertyInput().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLPropertyInput }
+ *
+ *
+ */
+ public List<XPDLPropertyInput> getPropertyInput() {
+ if (propertyInput == null) {
+ propertyInput = new ArrayList<XPDLPropertyInput>();
+ }
+ return this.propertyInput;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLInputSet.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLInputSets.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLInputSets.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLInputSets.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,138 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}InputSet" maxOccurs="unbounded"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "inputSet",
+ "any"
+})
+@XmlRootElement(name = "InputSets")
+public class XPDLInputSets {
+
+ @XmlElement(name = "InputSet", required = true)
+ protected List<XPDLInputSet> inputSet;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the inputSet property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the inputSet property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getInputSet().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLInputSet }
+ *
+ *
+ */
+ public List<XPDLInputSet> getInputSet() {
+ if (inputSet == null) {
+ inputSet = new ArrayList<XPDLInputSet>();
+ }
+ return this.inputSet;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLInputSets.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLIntermediateEvent.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLIntermediateEvent.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLIntermediateEvent.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,439 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice minOccurs="0">
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TriggerResultMessage" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TriggerTimer" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}ResultError" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TriggerResultCompensation" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TriggerConditional" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TriggerResultLink" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TriggerResultCancel" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TriggerResultSignal" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TriggerIntermediateMultiple" minOccurs="0"/>
+ * </choice>
+ * <attribute name="Trigger" use="required">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="None"/>
+ * <enumeration value="Message"/>
+ * <enumeration value="Timer"/>
+ * <enumeration value="Error"/>
+ * <enumeration value="Cancel"/>
+ * <enumeration value="Conditional"/>
+ * <enumeration value="Link"/>
+ * <enumeration value="Signal"/>
+ * <enumeration value="Compensation"/>
+ * <enumeration value="Multiple"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * <attribute name="Implementation" default="WebService">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="WebService"/>
+ * <enumeration value="Other"/>
+ * <enumeration value="Unspecified"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * <attribute name="Target" type="{http://www.wfmc.org/2008/XPDL2.1}Id" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "triggerResultMessage",
+ "triggerTimer",
+ "resultError",
+ "triggerResultCompensation",
+ "triggerConditional",
+ "triggerResultLink",
+ "triggerResultCancel",
+ "triggerResultSignal",
+ "triggerIntermediateMultiple"
+})
+@XmlRootElement(name = "IntermediateEvent")
+public class XPDLIntermediateEvent {
+
+ @XmlElement(name = "TriggerResultMessage")
+ protected XPDLTriggerResultMessage triggerResultMessage;
+ @XmlElement(name = "TriggerTimer")
+ protected XPDLTriggerTimer triggerTimer;
+ @XmlElement(name = "ResultError")
+ protected XPDLResultError resultError;
+ @XmlElement(name = "TriggerResultCompensation")
+ protected XPDLTriggerResultCompensation triggerResultCompensation;
+ @XmlElement(name = "TriggerConditional")
+ protected XPDLTriggerConditional triggerConditional;
+ @XmlElement(name = "TriggerResultLink")
+ protected XPDLTriggerResultLink triggerResultLink;
+ @XmlElement(name = "TriggerResultCancel")
+ protected Object triggerResultCancel;
+ @XmlElement(name = "TriggerResultSignal")
+ protected XPDLTriggerResultSignal triggerResultSignal;
+ @XmlElement(name = "TriggerIntermediateMultiple")
+ protected XPDLTriggerIntermediateMultiple triggerIntermediateMultiple;
+ @XmlAttribute(name = "Trigger", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String trigger;
+ @XmlAttribute(name = "Implementation")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String implementation;
+ @XmlAttribute(name = "Target")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String target;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the triggerResultMessage property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTriggerResultMessage }
+ *
+ */
+ public XPDLTriggerResultMessage getTriggerResultMessage() {
+ return triggerResultMessage;
+ }
+
+ /**
+ * Sets the value of the triggerResultMessage property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTriggerResultMessage }
+ *
+ */
+ public void setTriggerResultMessage(XPDLTriggerResultMessage value) {
+ this.triggerResultMessage = value;
+ }
+
+ /**
+ * Gets the value of the triggerTimer property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTriggerTimer }
+ *
+ */
+ public XPDLTriggerTimer getTriggerTimer() {
+ return triggerTimer;
+ }
+
+ /**
+ * Sets the value of the triggerTimer property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTriggerTimer }
+ *
+ */
+ public void setTriggerTimer(XPDLTriggerTimer value) {
+ this.triggerTimer = value;
+ }
+
+ /**
+ * Gets the value of the resultError property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLResultError }
+ *
+ */
+ public XPDLResultError getResultError() {
+ return resultError;
+ }
+
+ /**
+ * Sets the value of the resultError property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLResultError }
+ *
+ */
+ public void setResultError(XPDLResultError value) {
+ this.resultError = value;
+ }
+
+ /**
+ * BPMN: Must be present if if Trigger or ResultType is Compensation.[This event can be attached or throwing. Thus name of element
+ * should be TriggerResultCompensation.]
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTriggerResultCompensation }
+ *
+ */
+ public XPDLTriggerResultCompensation getTriggerResultCompensation() {
+ return triggerResultCompensation;
+ }
+
+ /**
+ * BPMN: Must be present if if Trigger or ResultType is Compensation.[This event can be attached or throwing. Thus name of element
+ * should be TriggerResultCompensation.]
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTriggerResultCompensation }
+ *
+ */
+ public void setTriggerResultCompensation(XPDLTriggerResultCompensation value) {
+ this.triggerResultCompensation = value;
+ }
+
+ /**
+ * Gets the value of the triggerConditional property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTriggerConditional }
+ *
+ */
+ public XPDLTriggerConditional getTriggerConditional() {
+ return triggerConditional;
+ }
+
+ /**
+ * Sets the value of the triggerConditional property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTriggerConditional }
+ *
+ */
+ public void setTriggerConditional(XPDLTriggerConditional value) {
+ this.triggerConditional = value;
+ }
+
+ /**
+ * BPMN: Link event connects source and target nodes of the same process or subprocess. Equivalent to a sequence flow between source
+ * and target nodes.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTriggerResultLink }
+ *
+ */
+ public XPDLTriggerResultLink getTriggerResultLink() {
+ return triggerResultLink;
+ }
+
+ /**
+ * BPMN: Link event connects source and target nodes of the same process or subprocess. Equivalent to a sequence flow between source
+ * and target nodes.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTriggerResultLink }
+ *
+ */
+ public void setTriggerResultLink(XPDLTriggerResultLink value) {
+ this.triggerResultLink = value;
+ }
+
+ /**
+ * Gets the value of the triggerResultCancel property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ public Object getTriggerResultCancel() {
+ return triggerResultCancel;
+ }
+
+ /**
+ * Sets the value of the triggerResultCancel property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setTriggerResultCancel(Object value) {
+ this.triggerResultCancel = value;
+ }
+
+ /**
+ * Gets the value of the triggerResultSignal property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTriggerResultSignal }
+ *
+ */
+ public XPDLTriggerResultSignal getTriggerResultSignal() {
+ return triggerResultSignal;
+ }
+
+ /**
+ * Sets the value of the triggerResultSignal property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTriggerResultSignal }
+ *
+ */
+ public void setTriggerResultSignal(XPDLTriggerResultSignal value) {
+ this.triggerResultSignal = value;
+ }
+
+ /**
+ * BPMN: if the TriggerType is Multiple then this must be present. Only valid for attached event. [EventDetail elements are incorrect.
+ * They should be message, timer, error, conditional, signal, cancel.]
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTriggerIntermediateMultiple }
+ *
+ */
+ public XPDLTriggerIntermediateMultiple getTriggerIntermediateMultiple() {
+ return triggerIntermediateMultiple;
+ }
+
+ /**
+ * BPMN: if the TriggerType is Multiple then this must be present. Only valid for attached event. [EventDetail elements are incorrect.
+ * They should be message, timer, error, conditional, signal, cancel.]
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTriggerIntermediateMultiple }
+ *
+ */
+ public void setTriggerIntermediateMultiple(XPDLTriggerIntermediateMultiple value) {
+ this.triggerIntermediateMultiple = value;
+ }
+
+ /**
+ * Gets the value of the trigger property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTrigger() {
+ return trigger;
+ }
+
+ /**
+ * Sets the value of the trigger property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTrigger(String value) {
+ this.trigger = value;
+ }
+
+ /**
+ * Gets the value of the implementation property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getImplementation() {
+ if (implementation == null) {
+ return "WebService";
+ } else {
+ return implementation;
+ }
+ }
+
+ /**
+ * Sets the value of the implementation property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setImplementation(String value) {
+ this.implementation = value;
+ }
+
+ /**
+ * Gets the value of the target property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTarget() {
+ return target;
+ }
+
+ /**
+ * Sets the value of the target property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTarget(String value) {
+ this.target = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLIntermediateEvent.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLJoin.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLJoin.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLJoin.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,210 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="Type">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="Exclusive"/>
+ * <enumeration value="Inclusive"/>
+ * <enumeration value="Complex"/>
+ * <enumeration value="Parallel"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * <attribute name="ExclusiveType" default="Data">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="Data"/>
+ * <enumeration value="Event"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * <attribute name="IncomingCondtion" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "any"
+})
+@XmlRootElement(name = "Join")
+public class XPDLJoin {
+
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Type")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String type;
+ @XmlAttribute(name = "ExclusiveType")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String exclusiveType;
+ @XmlAttribute(name = "IncomingCondtion")
+ protected String incomingCondtion;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setType(String value) {
+ this.type = value;
+ }
+
+ /**
+ * Gets the value of the exclusiveType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getExclusiveType() {
+ if (exclusiveType == null) {
+ return "Data";
+ } else {
+ return exclusiveType;
+ }
+ }
+
+ /**
+ * Sets the value of the exclusiveType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setExclusiveType(String value) {
+ this.exclusiveType = value;
+ }
+
+ /**
+ * Gets the value of the incomingCondtion property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getIncomingCondtion() {
+ return incomingCondtion;
+ }
+
+ /**
+ * Sets the value of the incomingCondtion property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIncomingCondtion(String value) {
+ this.incomingCondtion = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLJoin.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLLane.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLLane.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLLane.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,343 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence minOccurs="0">
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Object" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}NodeGraphicsInfos" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Performers" minOccurs="0"/>
+ * <element name="NestedLane" maxOccurs="unbounded" minOccurs="0">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="LaneId" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <any/>
+ * </sequence>
+ * <attribute name="Id" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * <attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "object",
+ "nodeGraphicsInfos",
+ "performers",
+ "nestedLane",
+ "any"
+})
+@XmlRootElement(name = "Lane")
+public class XPDLLane {
+
+ @XmlElement(name = "Object")
+ protected XPDLObject object;
+ @XmlElement(name = "NodeGraphicsInfos")
+ protected XPDLNodeGraphicsInfos nodeGraphicsInfos;
+ @XmlElement(name = "Performers")
+ protected XPDLPerformers performers;
+ @XmlElement(name = "NestedLane")
+ protected List<XPDLLane.NestedLane> nestedLane;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Id", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String id;
+ @XmlAttribute(name = "Name")
+ protected String name;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the object property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLObject }
+ *
+ */
+ public XPDLObject getObject() {
+ return object;
+ }
+
+ /**
+ * Sets the value of the object property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLObject }
+ *
+ */
+ public void setObject(XPDLObject value) {
+ this.object = value;
+ }
+
+ /**
+ * Gets the value of the nodeGraphicsInfos property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLNodeGraphicsInfos }
+ *
+ */
+ public XPDLNodeGraphicsInfos getNodeGraphicsInfos() {
+ return nodeGraphicsInfos;
+ }
+
+ /**
+ * Sets the value of the nodeGraphicsInfos property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLNodeGraphicsInfos }
+ *
+ */
+ public void setNodeGraphicsInfos(XPDLNodeGraphicsInfos value) {
+ this.nodeGraphicsInfos = value;
+ }
+
+ /**
+ * Gets the value of the performers property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLPerformers }
+ *
+ */
+ public XPDLPerformers getPerformers() {
+ return performers;
+ }
+
+ /**
+ * Sets the value of the performers property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLPerformers }
+ *
+ */
+ public void setPerformers(XPDLPerformers value) {
+ this.performers = value;
+ }
+
+ /**
+ * Gets the value of the nestedLane property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the nestedLane property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getNestedLane().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLLane.NestedLane }
+ *
+ *
+ */
+ public List<XPDLLane.NestedLane> getNestedLane() {
+ if (nestedLane == null) {
+ nestedLane = new ArrayList<XPDLLane.NestedLane>();
+ }
+ return this.nestedLane;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="LaneId" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class NestedLane {
+
+ @XmlAttribute(name = "LaneId", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String laneId;
+
+ /**
+ * Gets the value of the laneId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLaneId() {
+ return laneId;
+ }
+
+ /**
+ * Sets the value of the laneId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLaneId(String value) {
+ this.laneId = value;
+ }
+
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLLane.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLLanes.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLLanes.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLLanes.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,138 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Lane" maxOccurs="unbounded" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "lane",
+ "any"
+})
+@XmlRootElement(name = "Lanes")
+public class XPDLLanes {
+
+ @XmlElement(name = "Lane")
+ protected List<XPDLLane> lane;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the lane property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the lane property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getLane().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLLane }
+ *
+ *
+ */
+ public List<XPDLLane> getLane() {
+ if (lane == null) {
+ lane = new ArrayList<XPDLLane>();
+ }
+ return this.lane;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLLanes.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLLayoutInfo.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLLayoutInfo.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLLayoutInfo.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,91 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="PixelsPerMillimeter" type="{http://www.w3.org/2001/XMLSchema}float" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "")
+@XmlRootElement(name = "LayoutInfo")
+public class XPDLLayoutInfo {
+
+ @XmlAttribute(name = "PixelsPerMillimeter")
+ protected Float pixelsPerMillimeter;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the pixelsPerMillimeter property.
+ *
+ * @return
+ * possible object is
+ * {@link Float }
+ *
+ */
+ public Float getPixelsPerMillimeter() {
+ return pixelsPerMillimeter;
+ }
+
+ /**
+ * Sets the value of the pixelsPerMillimeter property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Float }
+ *
+ */
+ public void setPixelsPerMillimeter(Float value) {
+ this.pixelsPerMillimeter = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLLayoutInfo.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLLength.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLLength.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLLength.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,92 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "value"
+})
+@XmlRootElement(name = "Length")
+public class XPDLLength {
+
+ @XmlValue
+ protected String value;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLLength.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLLimit.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLLimit.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLLimit.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,92 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "value"
+})
+@XmlRootElement(name = "Limit")
+public class XPDLLimit {
+
+ @XmlValue
+ protected String value;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLLimit.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLListType.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLListType.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLListType.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,309 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <group ref="{http://www.wfmc.org/2008/XPDL2.1}DataTypes"/>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "basicType",
+ "declaredType",
+ "schemaType",
+ "externalReference",
+ "recordType",
+ "unionType",
+ "enumerationType",
+ "arrayType",
+ "listType"
+})
+@XmlRootElement(name = "ListType")
+public class XPDLListType {
+
+ @XmlElement(name = "BasicType")
+ protected XPDLBasicType basicType;
+ @XmlElement(name = "DeclaredType")
+ protected XPDLDeclaredType declaredType;
+ @XmlElement(name = "SchemaType")
+ protected XPDLSchemaType schemaType;
+ @XmlElement(name = "ExternalReference")
+ protected XPDLExternalReference externalReference;
+ @XmlElement(name = "RecordType")
+ protected XPDLRecordType recordType;
+ @XmlElement(name = "UnionType")
+ protected XPDLUnionType unionType;
+ @XmlElement(name = "EnumerationType")
+ protected XPDLEnumerationType enumerationType;
+ @XmlElement(name = "ArrayType")
+ protected XPDLArrayType arrayType;
+ @XmlElement(name = "ListType")
+ protected XPDLListType listType;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the basicType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLBasicType }
+ *
+ */
+ public XPDLBasicType getBasicType() {
+ return basicType;
+ }
+
+ /**
+ * Sets the value of the basicType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLBasicType }
+ *
+ */
+ public void setBasicType(XPDLBasicType value) {
+ this.basicType = value;
+ }
+
+ /**
+ * Gets the value of the declaredType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLDeclaredType }
+ *
+ */
+ public XPDLDeclaredType getDeclaredType() {
+ return declaredType;
+ }
+
+ /**
+ * Sets the value of the declaredType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLDeclaredType }
+ *
+ */
+ public void setDeclaredType(XPDLDeclaredType value) {
+ this.declaredType = value;
+ }
+
+ /**
+ * Gets the value of the schemaType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLSchemaType }
+ *
+ */
+ public XPDLSchemaType getSchemaType() {
+ return schemaType;
+ }
+
+ /**
+ * Sets the value of the schemaType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLSchemaType }
+ *
+ */
+ public void setSchemaType(XPDLSchemaType value) {
+ this.schemaType = value;
+ }
+
+ /**
+ * Gets the value of the externalReference property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLExternalReference }
+ *
+ */
+ public XPDLExternalReference getExternalReference() {
+ return externalReference;
+ }
+
+ /**
+ * Sets the value of the externalReference property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLExternalReference }
+ *
+ */
+ public void setExternalReference(XPDLExternalReference value) {
+ this.externalReference = value;
+ }
+
+ /**
+ * Gets the value of the recordType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLRecordType }
+ *
+ */
+ public XPDLRecordType getRecordType() {
+ return recordType;
+ }
+
+ /**
+ * Sets the value of the recordType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLRecordType }
+ *
+ */
+ public void setRecordType(XPDLRecordType value) {
+ this.recordType = value;
+ }
+
+ /**
+ * Gets the value of the unionType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLUnionType }
+ *
+ */
+ public XPDLUnionType getUnionType() {
+ return unionType;
+ }
+
+ /**
+ * Sets the value of the unionType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLUnionType }
+ *
+ */
+ public void setUnionType(XPDLUnionType value) {
+ this.unionType = value;
+ }
+
+ /**
+ * Gets the value of the enumerationType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLEnumerationType }
+ *
+ */
+ public XPDLEnumerationType getEnumerationType() {
+ return enumerationType;
+ }
+
+ /**
+ * Sets the value of the enumerationType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLEnumerationType }
+ *
+ */
+ public void setEnumerationType(XPDLEnumerationType value) {
+ this.enumerationType = value;
+ }
+
+ /**
+ * Gets the value of the arrayType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLArrayType }
+ *
+ */
+ public XPDLArrayType getArrayType() {
+ return arrayType;
+ }
+
+ /**
+ * Sets the value of the arrayType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLArrayType }
+ *
+ */
+ public void setArrayType(XPDLArrayType value) {
+ this.arrayType = value;
+ }
+
+ /**
+ * Gets the value of the listType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLListType }
+ *
+ */
+ public XPDLListType getListType() {
+ return listType;
+ }
+
+ /**
+ * Sets the value of the listType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLListType }
+ *
+ */
+ public void setListType(XPDLListType value) {
+ this.listType = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLListType.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLLoop.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLLoop.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLLoop.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,161 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}LoopStandard"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}LoopMultiInstance"/>
+ * </choice>
+ * <attribute name="LoopType" use="required">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="Standard"/>
+ * <enumeration value="MultiInstance"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "loopStandard",
+ "loopMultiInstance"
+})
+@XmlRootElement(name = "Loop")
+public class XPDLLoop {
+
+ @XmlElement(name = "LoopStandard")
+ protected XPDLLoopStandard loopStandard;
+ @XmlElement(name = "LoopMultiInstance")
+ protected XPDLLoopMultiInstance loopMultiInstance;
+ @XmlAttribute(name = "LoopType", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String loopType;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the loopStandard property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLLoopStandard }
+ *
+ */
+ public XPDLLoopStandard getLoopStandard() {
+ return loopStandard;
+ }
+
+ /**
+ * Sets the value of the loopStandard property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLLoopStandard }
+ *
+ */
+ public void setLoopStandard(XPDLLoopStandard value) {
+ this.loopStandard = value;
+ }
+
+ /**
+ * Gets the value of the loopMultiInstance property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLLoopMultiInstance }
+ *
+ */
+ public XPDLLoopMultiInstance getLoopMultiInstance() {
+ return loopMultiInstance;
+ }
+
+ /**
+ * Sets the value of the loopMultiInstance property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLLoopMultiInstance }
+ *
+ */
+ public void setLoopMultiInstance(XPDLLoopMultiInstance value) {
+ this.loopMultiInstance = value;
+ }
+
+ /**
+ * Gets the value of the loopType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLoopType() {
+ return loopType;
+ }
+
+ /**
+ * Sets the value of the loopType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLoopType(String value) {
+ this.loopType = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLLoop.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLLoopMultiInstance.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLLoopMultiInstance.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLLoopMultiInstance.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,322 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.math.BigInteger;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="MI_Condition" type="{http://www.wfmc.org/2008/XPDL2.1}ExpressionType" minOccurs="0"/>
+ * <element name="ComplexMI_FlowCondition" type="{http://www.wfmc.org/2008/XPDL2.1}ExpressionType" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * <attribute name="MI_Condition" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="LoopCounter" type="{http://www.w3.org/2001/XMLSchema}integer" />
+ * <attribute name="MI_Ordering" use="required">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="Sequential"/>
+ * <enumeration value="Parallel"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * <attribute name="MI_FlowCondition" default="All">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="None"/>
+ * <enumeration value="One"/>
+ * <enumeration value="All"/>
+ * <enumeration value="Complex"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * <attribute name="ComplexMI_FlowCondition" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "miCondition",
+ "complexMIFlowCondition",
+ "any"
+})
+@XmlRootElement(name = "LoopMultiInstance")
+public class XPDLLoopMultiInstance {
+
+ @XmlElement(name = "MI_Condition")
+ protected ExpressionType miCondition;
+ @XmlElement(name = "ComplexMI_FlowCondition")
+ protected ExpressionType complexMIFlowCondition;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "MI_Condition")
+ protected String miConditionAtt;
+ @XmlAttribute(name = "LoopCounter")
+ protected BigInteger loopCounter;
+ @XmlAttribute(name = "MI_Ordering", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String miOrdering;
+ @XmlAttribute(name = "MI_FlowCondition")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String miFlowCondition;
+ @XmlAttribute(name = "ComplexMI_FlowCondition")
+ protected String complexMIFlowConditionAtt;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the miCondition property.
+ *
+ * @return
+ * possible object is
+ * {@link ExpressionType }
+ *
+ */
+ public ExpressionType getMICondition() {
+ return miCondition;
+ }
+
+ /**
+ * Sets the value of the miCondition property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ExpressionType }
+ *
+ */
+ public void setMICondition(ExpressionType value) {
+ this.miCondition = value;
+ }
+
+ /**
+ * Gets the value of the complexMIFlowCondition property.
+ *
+ * @return
+ * possible object is
+ * {@link ExpressionType }
+ *
+ */
+ public ExpressionType getComplexMIFlowCondition() {
+ return complexMIFlowCondition;
+ }
+
+ /**
+ * Sets the value of the complexMIFlowCondition property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ExpressionType }
+ *
+ */
+ public void setComplexMIFlowCondition(ExpressionType value) {
+ this.complexMIFlowCondition = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the miConditionAtt property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getMiConditionAtt() {
+ return miConditionAtt;
+ }
+
+ /**
+ * Sets the value of the miConditionAtt property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setMiConditionAtt(String value) {
+ this.miConditionAtt = value;
+ }
+
+ /**
+ * Gets the value of the loopCounter property.
+ *
+ * @return
+ * possible object is
+ * {@link BigInteger }
+ *
+ */
+ public BigInteger getLoopCounter() {
+ return loopCounter;
+ }
+
+ /**
+ * Sets the value of the loopCounter property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BigInteger }
+ *
+ */
+ public void setLoopCounter(BigInteger value) {
+ this.loopCounter = value;
+ }
+
+ /**
+ * Gets the value of the miOrdering property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getMIOrdering() {
+ return miOrdering;
+ }
+
+ /**
+ * Sets the value of the miOrdering property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setMIOrdering(String value) {
+ this.miOrdering = value;
+ }
+
+ /**
+ * Gets the value of the miFlowCondition property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getMIFlowCondition() {
+ if (miFlowCondition == null) {
+ return "All";
+ } else {
+ return miFlowCondition;
+ }
+ }
+
+ /**
+ * Sets the value of the miFlowCondition property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setMIFlowCondition(String value) {
+ this.miFlowCondition = value;
+ }
+
+ /**
+ * Gets the value of the complexMIFlowConditionAtt property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getComplexMIFlowConditionAtt() {
+ return complexMIFlowConditionAtt;
+ }
+
+ /**
+ * Sets the value of the complexMIFlowConditionAtt property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setComplexMIFlowConditionAtt(String value) {
+ this.complexMIFlowConditionAtt = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLLoopMultiInstance.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLLoopStandard.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLLoopStandard.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLLoopStandard.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,253 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.math.BigInteger;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="LoopCondition" type="{http://www.wfmc.org/2008/XPDL2.1}ExpressionType" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * <attribute name="LoopCondition" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="LoopCounter" type="{http://www.w3.org/2001/XMLSchema}integer" />
+ * <attribute name="LoopMaximum" type="{http://www.w3.org/2001/XMLSchema}integer" />
+ * <attribute name="TestTime" use="required">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="Before"/>
+ * <enumeration value="After"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "loopCondition",
+ "any"
+})
+@XmlRootElement(name = "LoopStandard")
+public class XPDLLoopStandard {
+
+ @XmlElement(name = "LoopCondition")
+ protected ExpressionType loopCondition;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "LoopCondition")
+ protected String loopConditionAtt;
+ @XmlAttribute(name = "LoopCounter")
+ protected BigInteger loopCounter;
+ @XmlAttribute(name = "LoopMaximum")
+ protected BigInteger loopMaximum;
+ @XmlAttribute(name = "TestTime", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String testTime;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the loopCondition property.
+ *
+ * @return
+ * possible object is
+ * {@link ExpressionType }
+ *
+ */
+ public ExpressionType getLoopCondition() {
+ return loopCondition;
+ }
+
+ /**
+ * Sets the value of the loopCondition property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ExpressionType }
+ *
+ */
+ public void setLoopCondition(ExpressionType value) {
+ this.loopCondition = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the loopConditionAtt property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLoopConditionAtt() {
+ return loopConditionAtt;
+ }
+
+ /**
+ * Sets the value of the loopConditionAtt property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLoopConditionAtt(String value) {
+ this.loopConditionAtt = value;
+ }
+
+ /**
+ * Gets the value of the loopCounter property.
+ *
+ * @return
+ * possible object is
+ * {@link BigInteger }
+ *
+ */
+ public BigInteger getLoopCounter() {
+ return loopCounter;
+ }
+
+ /**
+ * Sets the value of the loopCounter property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BigInteger }
+ *
+ */
+ public void setLoopCounter(BigInteger value) {
+ this.loopCounter = value;
+ }
+
+ /**
+ * Gets the value of the loopMaximum property.
+ *
+ * @return
+ * possible object is
+ * {@link BigInteger }
+ *
+ */
+ public BigInteger getLoopMaximum() {
+ return loopMaximum;
+ }
+
+ /**
+ * Sets the value of the loopMaximum property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BigInteger }
+ *
+ */
+ public void setLoopMaximum(BigInteger value) {
+ this.loopMaximum = value;
+ }
+
+ /**
+ * Gets the value of the testTime property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTestTime() {
+ return testTime;
+ }
+
+ /**
+ * Sets the value of the testTime property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTestTime(String value) {
+ this.testTime = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLLoopStandard.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLMember.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLMember.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLMember.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,309 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <group ref="{http://www.wfmc.org/2008/XPDL2.1}DataTypes"/>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "basicType",
+ "declaredType",
+ "schemaType",
+ "externalReference",
+ "recordType",
+ "unionType",
+ "enumerationType",
+ "arrayType",
+ "listType"
+})
+@XmlRootElement(name = "Member")
+public class XPDLMember {
+
+ @XmlElement(name = "BasicType")
+ protected XPDLBasicType basicType;
+ @XmlElement(name = "DeclaredType")
+ protected XPDLDeclaredType declaredType;
+ @XmlElement(name = "SchemaType")
+ protected XPDLSchemaType schemaType;
+ @XmlElement(name = "ExternalReference")
+ protected XPDLExternalReference externalReference;
+ @XmlElement(name = "RecordType")
+ protected XPDLRecordType recordType;
+ @XmlElement(name = "UnionType")
+ protected XPDLUnionType unionType;
+ @XmlElement(name = "EnumerationType")
+ protected XPDLEnumerationType enumerationType;
+ @XmlElement(name = "ArrayType")
+ protected XPDLArrayType arrayType;
+ @XmlElement(name = "ListType")
+ protected XPDLListType listType;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the basicType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLBasicType }
+ *
+ */
+ public XPDLBasicType getBasicType() {
+ return basicType;
+ }
+
+ /**
+ * Sets the value of the basicType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLBasicType }
+ *
+ */
+ public void setBasicType(XPDLBasicType value) {
+ this.basicType = value;
+ }
+
+ /**
+ * Gets the value of the declaredType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLDeclaredType }
+ *
+ */
+ public XPDLDeclaredType getDeclaredType() {
+ return declaredType;
+ }
+
+ /**
+ * Sets the value of the declaredType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLDeclaredType }
+ *
+ */
+ public void setDeclaredType(XPDLDeclaredType value) {
+ this.declaredType = value;
+ }
+
+ /**
+ * Gets the value of the schemaType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLSchemaType }
+ *
+ */
+ public XPDLSchemaType getSchemaType() {
+ return schemaType;
+ }
+
+ /**
+ * Sets the value of the schemaType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLSchemaType }
+ *
+ */
+ public void setSchemaType(XPDLSchemaType value) {
+ this.schemaType = value;
+ }
+
+ /**
+ * Gets the value of the externalReference property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLExternalReference }
+ *
+ */
+ public XPDLExternalReference getExternalReference() {
+ return externalReference;
+ }
+
+ /**
+ * Sets the value of the externalReference property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLExternalReference }
+ *
+ */
+ public void setExternalReference(XPDLExternalReference value) {
+ this.externalReference = value;
+ }
+
+ /**
+ * Gets the value of the recordType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLRecordType }
+ *
+ */
+ public XPDLRecordType getRecordType() {
+ return recordType;
+ }
+
+ /**
+ * Sets the value of the recordType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLRecordType }
+ *
+ */
+ public void setRecordType(XPDLRecordType value) {
+ this.recordType = value;
+ }
+
+ /**
+ * Gets the value of the unionType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLUnionType }
+ *
+ */
+ public XPDLUnionType getUnionType() {
+ return unionType;
+ }
+
+ /**
+ * Sets the value of the unionType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLUnionType }
+ *
+ */
+ public void setUnionType(XPDLUnionType value) {
+ this.unionType = value;
+ }
+
+ /**
+ * Gets the value of the enumerationType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLEnumerationType }
+ *
+ */
+ public XPDLEnumerationType getEnumerationType() {
+ return enumerationType;
+ }
+
+ /**
+ * Sets the value of the enumerationType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLEnumerationType }
+ *
+ */
+ public void setEnumerationType(XPDLEnumerationType value) {
+ this.enumerationType = value;
+ }
+
+ /**
+ * Gets the value of the arrayType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLArrayType }
+ *
+ */
+ public XPDLArrayType getArrayType() {
+ return arrayType;
+ }
+
+ /**
+ * Sets the value of the arrayType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLArrayType }
+ *
+ */
+ public void setArrayType(XPDLArrayType value) {
+ this.arrayType = value;
+ }
+
+ /**
+ * Gets the value of the listType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLListType }
+ *
+ */
+ public XPDLListType getListType() {
+ return listType;
+ }
+
+ /**
+ * Sets the value of the listType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLListType }
+ *
+ */
+ public void setListType(XPDLListType value) {
+ this.listType = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLMember.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLMessageFlow.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLMessageFlow.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLMessageFlow.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,305 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence minOccurs="0">
+ * <element name="Message" type="{http://www.wfmc.org/2008/XPDL2.1}MessageType" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Object" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}ConnectorGraphicsInfos" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * <attribute name="Id" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * <attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="Source" use="required" type="{http://www.wfmc.org/2008/XPDL2.1}IdRef" />
+ * <attribute name="Target" use="required" type="{http://www.wfmc.org/2008/XPDL2.1}IdRef" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "message",
+ "object",
+ "connectorGraphicsInfos",
+ "any"
+})
+@XmlRootElement(name = "MessageFlow")
+public class XPDLMessageFlow {
+
+ @XmlElement(name = "Message")
+ protected MessageType message;
+ @XmlElement(name = "Object")
+ protected XPDLObject object;
+ @XmlElement(name = "ConnectorGraphicsInfos")
+ protected XPDLConnectorGraphicsInfos connectorGraphicsInfos;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Id", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String id;
+ @XmlAttribute(name = "Name")
+ protected String name;
+ @XmlAttribute(name = "Source", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String source;
+ @XmlAttribute(name = "Target", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String target;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the message property.
+ *
+ * @return
+ * possible object is
+ * {@link MessageType }
+ *
+ */
+ public MessageType getMessage() {
+ return message;
+ }
+
+ /**
+ * Sets the value of the message property.
+ *
+ * @param value
+ * allowed object is
+ * {@link MessageType }
+ *
+ */
+ public void setMessage(MessageType value) {
+ this.message = value;
+ }
+
+ /**
+ * Gets the value of the object property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLObject }
+ *
+ */
+ public XPDLObject getObject() {
+ return object;
+ }
+
+ /**
+ * Sets the value of the object property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLObject }
+ *
+ */
+ public void setObject(XPDLObject value) {
+ this.object = value;
+ }
+
+ /**
+ * Gets the value of the connectorGraphicsInfos property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLConnectorGraphicsInfos }
+ *
+ */
+ public XPDLConnectorGraphicsInfos getConnectorGraphicsInfos() {
+ return connectorGraphicsInfos;
+ }
+
+ /**
+ * Sets the value of the connectorGraphicsInfos property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLConnectorGraphicsInfos }
+ *
+ */
+ public void setConnectorGraphicsInfos(XPDLConnectorGraphicsInfos value) {
+ this.connectorGraphicsInfos = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the source property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSource() {
+ return source;
+ }
+
+ /**
+ * Sets the value of the source property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSource(String value) {
+ this.source = value;
+ }
+
+ /**
+ * Gets the value of the target property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTarget() {
+ return target;
+ }
+
+ /**
+ * Sets the value of the target property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTarget(String value) {
+ this.target = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLMessageFlow.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLMessageFlows.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLMessageFlows.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLMessageFlows.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,108 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence maxOccurs="unbounded" minOccurs="0">
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}MessageFlow"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "messageFlowAndAny"
+})
+@XmlRootElement(name = "MessageFlows")
+public class XPDLMessageFlows {
+
+ @XmlElementRef(name = "MessageFlow", namespace = "http://www.wfmc.org/2008/XPDL2.1", type = XPDLMessageFlow.class)
+ @XmlAnyElement(lax = true)
+ protected List<Object> messageFlowAndAny;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the messageFlowAndAny property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the messageFlowAndAny property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getMessageFlowAndAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLMessageFlow }
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getMessageFlowAndAny() {
+ if (messageFlowAndAny == null) {
+ messageFlowAndAny = new ArrayList<Object>();
+ }
+ return this.messageFlowAndAny;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLMessageFlows.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLModificationDate.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLModificationDate.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLModificationDate.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,92 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "value"
+})
+@XmlRootElement(name = "ModificationDate")
+public class XPDLModificationDate {
+
+ @XmlValue
+ protected String value;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLModificationDate.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLNo.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLNo.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLNo.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,104 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "any"
+})
+@XmlRootElement(name = "No")
+public class XPDLNo {
+
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLNo.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLNodeGraphicsInfo.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLNodeGraphicsInfo.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLNodeGraphicsInfo.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,387 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Coordinates" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * <attribute name="ToolId" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="IsVisible" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+ * <attribute name="PageId" type="{http://www.wfmc.org/2008/XPDL2.1}IdRef" />
+ * <attribute name="LaneId" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * <attribute name="Height" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="Width" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="BorderColor" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="FillColor" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="Shape" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "coordinates",
+ "any"
+})
+@XmlRootElement(name = "NodeGraphicsInfo")
+public class XPDLNodeGraphicsInfo {
+
+ @XmlElement(name = "Coordinates")
+ protected XPDLCoordinates coordinates;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "ToolId")
+ protected String toolId;
+ @XmlAttribute(name = "IsVisible")
+ protected Boolean isVisible;
+ @XmlAttribute(name = "PageId")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String pageId;
+ @XmlAttribute(name = "LaneId")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String laneId;
+ @XmlAttribute(name = "Height")
+ protected Double height;
+ @XmlAttribute(name = "Width")
+ protected Double width;
+ @XmlAttribute(name = "BorderColor")
+ protected String borderColor;
+ @XmlAttribute(name = "FillColor")
+ protected String fillColor;
+ @XmlAttribute(name = "Shape")
+ protected String shape;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the coordinates property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLCoordinates }
+ *
+ */
+ public XPDLCoordinates getCoordinates() {
+ return coordinates;
+ }
+
+ /**
+ * Sets the value of the coordinates property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLCoordinates }
+ *
+ */
+ public void setCoordinates(XPDLCoordinates value) {
+ this.coordinates = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the toolId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getToolId() {
+ return toolId;
+ }
+
+ /**
+ * Sets the value of the toolId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setToolId(String value) {
+ this.toolId = value;
+ }
+
+ /**
+ * Gets the value of the isVisible property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isIsVisible() {
+ if (isVisible == null) {
+ return true;
+ } else {
+ return isVisible;
+ }
+ }
+
+ /**
+ * Sets the value of the isVisible property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setIsVisible(Boolean value) {
+ this.isVisible = value;
+ }
+
+ /**
+ * Gets the value of the pageId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPageId() {
+ return pageId;
+ }
+
+ /**
+ * Sets the value of the pageId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPageId(String value) {
+ this.pageId = value;
+ }
+
+ /**
+ * Gets the value of the laneId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLaneId() {
+ return laneId;
+ }
+
+ /**
+ * Sets the value of the laneId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLaneId(String value) {
+ this.laneId = value;
+ }
+
+ /**
+ * Gets the value of the height property.
+ *
+ * @return
+ * possible object is
+ * {@link Double }
+ *
+ */
+ public Double getHeight() {
+ return height;
+ }
+
+ /**
+ * Sets the value of the height property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Double }
+ *
+ */
+ public void setHeight(Double value) {
+ this.height = value;
+ }
+
+ /**
+ * Gets the value of the width property.
+ *
+ * @return
+ * possible object is
+ * {@link Double }
+ *
+ */
+ public Double getWidth() {
+ return width;
+ }
+
+ /**
+ * Sets the value of the width property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Double }
+ *
+ */
+ public void setWidth(Double value) {
+ this.width = value;
+ }
+
+ /**
+ * Gets the value of the borderColor property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getBorderColor() {
+ return borderColor;
+ }
+
+ /**
+ * Sets the value of the borderColor property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setBorderColor(String value) {
+ this.borderColor = value;
+ }
+
+ /**
+ * Gets the value of the fillColor property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getFillColor() {
+ return fillColor;
+ }
+
+ /**
+ * Sets the value of the fillColor property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setFillColor(String value) {
+ this.fillColor = value;
+ }
+
+ /**
+ * Gets the value of the shape property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getShape() {
+ return shape;
+ }
+
+ /**
+ * Sets the value of the shape property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setShape(String value) {
+ this.shape = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLNodeGraphicsInfo.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLNodeGraphicsInfos.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLNodeGraphicsInfos.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLNodeGraphicsInfos.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,138 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}NodeGraphicsInfo" maxOccurs="unbounded" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "nodeGraphicsInfo",
+ "any"
+})
+@XmlRootElement(name = "NodeGraphicsInfos")
+public class XPDLNodeGraphicsInfos {
+
+ @XmlElement(name = "NodeGraphicsInfo")
+ protected List<XPDLNodeGraphicsInfo> nodeGraphicsInfo;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the nodeGraphicsInfo property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the nodeGraphicsInfo property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getNodeGraphicsInfo().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLNodeGraphicsInfo }
+ *
+ *
+ */
+ public List<XPDLNodeGraphicsInfo> getNodeGraphicsInfo() {
+ if (nodeGraphicsInfo == null) {
+ nodeGraphicsInfo = new ArrayList<XPDLNodeGraphicsInfo>();
+ }
+ return this.nodeGraphicsInfo;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLNodeGraphicsInfos.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLObject.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLObject.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLObject.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,221 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence minOccurs="0">
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Categories" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Documentation" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * <attribute name="Id" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * <attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "categories",
+ "documentation",
+ "any"
+})
+@XmlRootElement(name = "Object")
+public class XPDLObject {
+
+ @XmlElement(name = "Categories")
+ protected XPDLCategories categories;
+ @XmlElement(name = "Documentation")
+ protected XPDLDocumentation documentation;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Id", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String id;
+ @XmlAttribute(name = "Name")
+ protected String name;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the categories property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLCategories }
+ *
+ */
+ public XPDLCategories getCategories() {
+ return categories;
+ }
+
+ /**
+ * Sets the value of the categories property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLCategories }
+ *
+ */
+ public void setCategories(XPDLCategories value) {
+ this.categories = value;
+ }
+
+ /**
+ * Gets the value of the documentation property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLDocumentation }
+ *
+ */
+ public XPDLDocumentation getDocumentation() {
+ return documentation;
+ }
+
+ /**
+ * Sets the value of the documentation property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLDocumentation }
+ *
+ */
+ public void setDocumentation(XPDLDocumentation value) {
+ this.documentation = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLObject.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLOutput.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLOutput.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLOutput.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,137 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="ArtifactId" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "any"
+})
+@XmlRootElement(name = "Output")
+public class XPDLOutput {
+
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "ArtifactId", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String artifactId;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the artifactId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getArtifactId() {
+ return artifactId;
+ }
+
+ /**
+ * Sets the value of the artifactId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setArtifactId(String value) {
+ this.artifactId = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLOutput.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLOutputSet.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLOutputSet.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLOutputSet.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,138 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Output" maxOccurs="unbounded"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "output",
+ "any"
+})
+@XmlRootElement(name = "OutputSet")
+public class XPDLOutputSet {
+
+ @XmlElement(name = "Output", required = true)
+ protected List<XPDLOutput> output;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the output property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the output property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getOutput().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLOutput }
+ *
+ *
+ */
+ public List<XPDLOutput> getOutput() {
+ if (output == null) {
+ output = new ArrayList<XPDLOutput>();
+ }
+ return this.output;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLOutputSet.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLOutputSets.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLOutputSets.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLOutputSets.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,138 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}OutputSet" maxOccurs="unbounded"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "outputSet",
+ "any"
+})
+@XmlRootElement(name = "OutputSets")
+public class XPDLOutputSets {
+
+ @XmlElement(name = "OutputSet", required = true)
+ protected List<XPDLOutputSet> outputSet;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the outputSet property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the outputSet property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getOutputSet().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLOutputSet }
+ *
+ *
+ */
+ public List<XPDLOutputSet> getOutputSet() {
+ if (outputSet == null) {
+ outputSet = new ArrayList<XPDLOutputSet>();
+ }
+ return this.outputSet;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLOutputSets.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPackageHeader.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPackageHeader.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPackageHeader.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,385 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}XPDLVersion"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Vendor"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Created"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}ModificationDate" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Description" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Documentation" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}PriorityUnit" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}CostUnit" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}VendorExtensions" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}LayoutInfo" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "xpdlVersion",
+ "vendor",
+ "created",
+ "modificationDate",
+ "description",
+ "documentation",
+ "priorityUnit",
+ "costUnit",
+ "vendorExtensions",
+ "layoutInfo",
+ "any"
+})
+@XmlRootElement(name = "PackageHeader")
+public class XPDLPackageHeader {
+
+ @XmlElement(name = "XPDLVersion", required = true)
+ protected XPDLXPDLVersion xpdlVersion;
+ @XmlElement(name = "Vendor", required = true)
+ protected XPDLVendor vendor;
+ @XmlElement(name = "Created", required = true)
+ protected XPDLCreated created;
+ @XmlElement(name = "ModificationDate")
+ protected XPDLModificationDate modificationDate;
+ @XmlElement(name = "Description")
+ protected XPDLDescription description;
+ @XmlElement(name = "Documentation")
+ protected XPDLDocumentation documentation;
+ @XmlElement(name = "PriorityUnit")
+ protected XPDLPriorityUnit priorityUnit;
+ @XmlElement(name = "CostUnit")
+ protected XPDLCostUnit costUnit;
+ @XmlElement(name = "VendorExtensions")
+ protected XPDLVendorExtensions vendorExtensions;
+ @XmlElement(name = "LayoutInfo")
+ protected XPDLLayoutInfo layoutInfo;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the xpdlVersion property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLXPDLVersion }
+ *
+ */
+ public XPDLXPDLVersion getXPDLVersion() {
+ return xpdlVersion;
+ }
+
+ /**
+ * Sets the value of the xpdlVersion property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLXPDLVersion }
+ *
+ */
+ public void setXPDLVersion(XPDLXPDLVersion value) {
+ this.xpdlVersion = value;
+ }
+
+ /**
+ * Gets the value of the vendor property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLVendor }
+ *
+ */
+ public XPDLVendor getVendor() {
+ return vendor;
+ }
+
+ /**
+ * Sets the value of the vendor property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLVendor }
+ *
+ */
+ public void setVendor(XPDLVendor value) {
+ this.vendor = value;
+ }
+
+ /**
+ * Gets the value of the created property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLCreated }
+ *
+ */
+ public XPDLCreated getCreated() {
+ return created;
+ }
+
+ /**
+ * Sets the value of the created property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLCreated }
+ *
+ */
+ public void setCreated(XPDLCreated value) {
+ this.created = value;
+ }
+
+ /**
+ * Gets the value of the modificationDate property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLModificationDate }
+ *
+ */
+ public XPDLModificationDate getModificationDate() {
+ return modificationDate;
+ }
+
+ /**
+ * Sets the value of the modificationDate property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLModificationDate }
+ *
+ */
+ public void setModificationDate(XPDLModificationDate value) {
+ this.modificationDate = value;
+ }
+
+ /**
+ * Gets the value of the description property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLDescription }
+ *
+ */
+ public XPDLDescription getDescription() {
+ return description;
+ }
+
+ /**
+ * Sets the value of the description property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLDescription }
+ *
+ */
+ public void setDescription(XPDLDescription value) {
+ this.description = value;
+ }
+
+ /**
+ * Gets the value of the documentation property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLDocumentation }
+ *
+ */
+ public XPDLDocumentation getDocumentation() {
+ return documentation;
+ }
+
+ /**
+ * Sets the value of the documentation property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLDocumentation }
+ *
+ */
+ public void setDocumentation(XPDLDocumentation value) {
+ this.documentation = value;
+ }
+
+ /**
+ * Gets the value of the priorityUnit property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLPriorityUnit }
+ *
+ */
+ public XPDLPriorityUnit getPriorityUnit() {
+ return priorityUnit;
+ }
+
+ /**
+ * Sets the value of the priorityUnit property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLPriorityUnit }
+ *
+ */
+ public void setPriorityUnit(XPDLPriorityUnit value) {
+ this.priorityUnit = value;
+ }
+
+ /**
+ * Gets the value of the costUnit property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLCostUnit }
+ *
+ */
+ public XPDLCostUnit getCostUnit() {
+ return costUnit;
+ }
+
+ /**
+ * Sets the value of the costUnit property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLCostUnit }
+ *
+ */
+ public void setCostUnit(XPDLCostUnit value) {
+ this.costUnit = value;
+ }
+
+ /**
+ * Gets the value of the vendorExtensions property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLVendorExtensions }
+ *
+ */
+ public XPDLVendorExtensions getVendorExtensions() {
+ return vendorExtensions;
+ }
+
+ /**
+ * Sets the value of the vendorExtensions property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLVendorExtensions }
+ *
+ */
+ public void setVendorExtensions(XPDLVendorExtensions value) {
+ this.vendorExtensions = value;
+ }
+
+ /**
+ * Gets the value of the layoutInfo property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLLayoutInfo }
+ *
+ */
+ public XPDLLayoutInfo getLayoutInfo() {
+ return layoutInfo;
+ }
+
+ /**
+ * Sets the value of the layoutInfo property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLLayoutInfo }
+ *
+ */
+ public void setLayoutInfo(XPDLLayoutInfo value) {
+ this.layoutInfo = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPackageHeader.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPage.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPage.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPage.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,216 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="Id" use="required" type="{http://www.wfmc.org/2008/XPDL2.1}Id" />
+ * <attribute name="Height" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="Width" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "any"
+})
+@XmlRootElement(name = "Page")
+public class XPDLPage {
+
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Name")
+ protected String name;
+ @XmlAttribute(name = "Id", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String id;
+ @XmlAttribute(name = "Height")
+ protected Double height;
+ @XmlAttribute(name = "Width")
+ protected Double width;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the height property.
+ *
+ * @return
+ * possible object is
+ * {@link Double }
+ *
+ */
+ public Double getHeight() {
+ return height;
+ }
+
+ /**
+ * Sets the value of the height property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Double }
+ *
+ */
+ public void setHeight(Double value) {
+ this.height = value;
+ }
+
+ /**
+ * Gets the value of the width property.
+ *
+ * @return
+ * possible object is
+ * {@link Double }
+ *
+ */
+ public Double getWidth() {
+ return width;
+ }
+
+ /**
+ * Sets the value of the width property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Double }
+ *
+ */
+ public void setWidth(Double value) {
+ this.width = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPage.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPages.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPages.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPages.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,138 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Page" maxOccurs="unbounded" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "page",
+ "any"
+})
+@XmlRootElement(name = "Pages")
+public class XPDLPages {
+
+ @XmlElement(name = "Page")
+ protected List<XPDLPage> page;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the page property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the page property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getPage().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLPage }
+ *
+ *
+ */
+ public List<XPDLPage> getPage() {
+ if (page == null) {
+ page = new ArrayList<XPDLPage>();
+ }
+ return this.page;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPages.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLParticipant.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLParticipant.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLParticipant.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,277 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}ParticipantType"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Description" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}ExternalReference" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}ExtendedAttributes" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * <attribute name="Id" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * <attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "participantType",
+ "description",
+ "externalReference",
+ "extendedAttributes",
+ "any"
+})
+@XmlRootElement(name = "Participant")
+public class XPDLParticipant {
+
+ @XmlElement(name = "ParticipantType", required = true)
+ protected XPDLParticipantType participantType;
+ @XmlElement(name = "Description")
+ protected XPDLDescription description;
+ @XmlElement(name = "ExternalReference")
+ protected XPDLExternalReference externalReference;
+ @XmlElement(name = "ExtendedAttributes")
+ protected XPDLExtendedAttributes extendedAttributes;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Id", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String id;
+ @XmlAttribute(name = "Name")
+ protected String name;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the participantType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLParticipantType }
+ *
+ */
+ public XPDLParticipantType getParticipantType() {
+ return participantType;
+ }
+
+ /**
+ * Sets the value of the participantType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLParticipantType }
+ *
+ */
+ public void setParticipantType(XPDLParticipantType value) {
+ this.participantType = value;
+ }
+
+ /**
+ * Gets the value of the description property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLDescription }
+ *
+ */
+ public XPDLDescription getDescription() {
+ return description;
+ }
+
+ /**
+ * Sets the value of the description property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLDescription }
+ *
+ */
+ public void setDescription(XPDLDescription value) {
+ this.description = value;
+ }
+
+ /**
+ * Gets the value of the externalReference property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLExternalReference }
+ *
+ */
+ public XPDLExternalReference getExternalReference() {
+ return externalReference;
+ }
+
+ /**
+ * Sets the value of the externalReference property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLExternalReference }
+ *
+ */
+ public void setExternalReference(XPDLExternalReference value) {
+ this.externalReference = value;
+ }
+
+ /**
+ * Gets the value of the extendedAttributes property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLExtendedAttributes }
+ *
+ */
+ public XPDLExtendedAttributes getExtendedAttributes() {
+ return extendedAttributes;
+ }
+
+ /**
+ * Sets the value of the extendedAttributes property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLExtendedAttributes }
+ *
+ */
+ public void setExtendedAttributes(XPDLExtendedAttributes value) {
+ this.extendedAttributes = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLParticipant.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLParticipantType.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLParticipantType.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLParticipantType.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,146 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="Type" use="required">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="RESOURCE_SET"/>
+ * <enumeration value="RESOURCE"/>
+ * <enumeration value="ROLE"/>
+ * <enumeration value="ORGANIZATIONAL_UNIT"/>
+ * <enumeration value="HUMAN"/>
+ * <enumeration value="SYSTEM"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "any"
+})
+@XmlRootElement(name = "ParticipantType")
+public class XPDLParticipantType {
+
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Type", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String type;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setType(String value) {
+ this.type = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLParticipantType.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLParticipants.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLParticipants.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLParticipants.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,138 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Participant" maxOccurs="unbounded" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "participant",
+ "any"
+})
+@XmlRootElement(name = "Participants")
+public class XPDLParticipants {
+
+ @XmlElement(name = "Participant")
+ protected List<XPDLParticipant> participant;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the participant property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the participant property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getParticipant().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLParticipant }
+ *
+ *
+ */
+ public List<XPDLParticipant> getParticipant() {
+ if (participant == null) {
+ participant = new ArrayList<XPDLParticipant>();
+ }
+ return this.participant;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLParticipants.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPartnerLink.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPartnerLink.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPartnerLink.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,573 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="MyRole" minOccurs="0">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="RoleName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="PartnerRole" minOccurs="0">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}EndPoint"/>
+ * <any/>
+ * </sequence>
+ * <attribute name="RoleName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="ServiceName" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="PortName" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <any/>
+ * </sequence>
+ * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="Id" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * <attribute name="PartnerLinkTypeId" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "myRole",
+ "partnerRole",
+ "any"
+})
+@XmlRootElement(name = "PartnerLink")
+public class XPDLPartnerLink {
+
+ @XmlElement(name = "MyRole")
+ protected XPDLPartnerLink.MyRole myRole;
+ @XmlElement(name = "PartnerRole")
+ protected XPDLPartnerLink.PartnerRole partnerRole;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(required = true)
+ protected String name;
+ @XmlAttribute(name = "Id", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String id;
+ @XmlAttribute(name = "PartnerLinkTypeId", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String partnerLinkTypeId;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the myRole property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLPartnerLink.MyRole }
+ *
+ */
+ public XPDLPartnerLink.MyRole getMyRole() {
+ return myRole;
+ }
+
+ /**
+ * Sets the value of the myRole property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLPartnerLink.MyRole }
+ *
+ */
+ public void setMyRole(XPDLPartnerLink.MyRole value) {
+ this.myRole = value;
+ }
+
+ /**
+ * Gets the value of the partnerRole property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLPartnerLink.PartnerRole }
+ *
+ */
+ public XPDLPartnerLink.PartnerRole getPartnerRole() {
+ return partnerRole;
+ }
+
+ /**
+ * Sets the value of the partnerRole property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLPartnerLink.PartnerRole }
+ *
+ */
+ public void setPartnerRole(XPDLPartnerLink.PartnerRole value) {
+ this.partnerRole = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the partnerLinkTypeId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPartnerLinkTypeId() {
+ return partnerLinkTypeId;
+ }
+
+ /**
+ * Sets the value of the partnerLinkTypeId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPartnerLinkTypeId(String value) {
+ this.partnerLinkTypeId = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="RoleName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "any"
+ })
+ public static class MyRole {
+
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "RoleName", required = true)
+ protected String roleName;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the roleName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRoleName() {
+ return roleName;
+ }
+
+ /**
+ * Sets the value of the roleName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRoleName(String value) {
+ this.roleName = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}EndPoint"/>
+ * <any/>
+ * </sequence>
+ * <attribute name="RoleName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="ServiceName" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="PortName" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "endPoint",
+ "any"
+ })
+ public static class PartnerRole {
+
+ @XmlElement(name = "EndPoint", required = true)
+ protected XPDLEndPoint endPoint;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "RoleName", required = true)
+ protected String roleName;
+ @XmlAttribute(name = "ServiceName")
+ protected String serviceName;
+ @XmlAttribute(name = "PortName")
+ protected String portName;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the endPoint property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLEndPoint }
+ *
+ */
+ public XPDLEndPoint getEndPoint() {
+ return endPoint;
+ }
+
+ /**
+ * Sets the value of the endPoint property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLEndPoint }
+ *
+ */
+ public void setEndPoint(XPDLEndPoint value) {
+ this.endPoint = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the roleName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRoleName() {
+ return roleName;
+ }
+
+ /**
+ * Sets the value of the roleName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRoleName(String value) {
+ this.roleName = value;
+ }
+
+ /**
+ * Gets the value of the serviceName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getServiceName() {
+ return serviceName;
+ }
+
+ /**
+ * Sets the value of the serviceName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setServiceName(String value) {
+ this.serviceName = value;
+ }
+
+ /**
+ * Gets the value of the portName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPortName() {
+ return portName;
+ }
+
+ /**
+ * Sets the value of the portName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPortName(String value) {
+ this.portName = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPartnerLink.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPartnerLinkType.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPartnerLinkType.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPartnerLinkType.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,345 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="Role" maxOccurs="2">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="portType" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="Name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <any/>
+ * </sequence>
+ * <attribute name="Id" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "role",
+ "any"
+})
+@XmlRootElement(name = "PartnerLinkType")
+public class XPDLPartnerLinkType {
+
+ @XmlElement(name = "Role", required = true)
+ protected List<XPDLPartnerLinkType.Role> role;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Id", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String id;
+ @XmlAttribute(required = true)
+ protected String name;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the role property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the role property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getRole().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLPartnerLinkType.Role }
+ *
+ *
+ */
+ public List<XPDLPartnerLinkType.Role> getRole() {
+ if (role == null) {
+ role = new ArrayList<XPDLPartnerLinkType.Role>();
+ }
+ return this.role;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="portType" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="Name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "any"
+ })
+ public static class Role {
+
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(required = true)
+ protected String portType;
+ @XmlAttribute(name = "Name", required = true)
+ protected String name;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the portType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPortType() {
+ return portType;
+ }
+
+ /**
+ * Sets the value of the portType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPortType(String value) {
+ this.portType = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPartnerLinkType.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPartnerLinkTypes.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPartnerLinkTypes.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPartnerLinkTypes.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,138 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}PartnerLinkType" maxOccurs="unbounded"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "partnerLinkType",
+ "any"
+})
+@XmlRootElement(name = "PartnerLinkTypes")
+public class XPDLPartnerLinkTypes {
+
+ @XmlElement(name = "PartnerLinkType", required = true)
+ protected List<XPDLPartnerLinkType> partnerLinkType;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the partnerLinkType property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the partnerLinkType property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getPartnerLinkType().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLPartnerLinkType }
+ *
+ *
+ */
+ public List<XPDLPartnerLinkType> getPartnerLinkType() {
+ if (partnerLinkType == null) {
+ partnerLinkType = new ArrayList<XPDLPartnerLinkType>();
+ }
+ return this.partnerLinkType;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPartnerLinkTypes.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPartnerLinks.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPartnerLinks.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPartnerLinks.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,138 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}PartnerLink" maxOccurs="unbounded"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "partnerLink",
+ "any"
+})
+@XmlRootElement(name = "PartnerLinks")
+public class XPDLPartnerLinks {
+
+ @XmlElement(name = "PartnerLink", required = true)
+ protected List<XPDLPartnerLink> partnerLink;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the partnerLink property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the partnerLink property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getPartnerLink().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLPartnerLink }
+ *
+ *
+ */
+ public List<XPDLPartnerLink> getPartnerLink() {
+ if (partnerLink == null) {
+ partnerLink = new ArrayList<XPDLPartnerLink>();
+ }
+ return this.partnerLink;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPartnerLinks.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPerformer.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPerformer.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPerformer.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,92 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "value"
+})
+@XmlRootElement(name = "Performer")
+public class XPDLPerformer {
+
+ @XmlValue
+ protected String value;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPerformer.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPerformers.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPerformers.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPerformers.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,138 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Performer" maxOccurs="unbounded"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "performer",
+ "any"
+})
+@XmlRootElement(name = "Performers")
+public class XPDLPerformers {
+
+ @XmlElement(name = "Performer", required = true)
+ protected List<XPDLPerformer> performer;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the performer property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the performer property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getPerformer().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLPerformer }
+ *
+ *
+ */
+ public List<XPDLPerformer> getPerformer() {
+ if (performer == null) {
+ performer = new ArrayList<XPDLPerformer>();
+ }
+ return this.performer;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPerformers.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPool.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPool.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPool.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,394 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Lanes" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Object" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}NodeGraphicsInfos" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * <attribute name="Id" use="required" type="{http://www.wfmc.org/2008/XPDL2.1}Id" />
+ * <attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="Orientation" default="HORIZONTAL">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="HORIZONTAL"/>
+ * <enumeration value="VERTICAL"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * <attribute name="Process" type="{http://www.wfmc.org/2008/XPDL2.1}IdRef" />
+ * <attribute name="Participant" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * <attribute name="BoundaryVisible" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="MainPool" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "lanes",
+ "object",
+ "nodeGraphicsInfos",
+ "any"
+})
+@XmlRootElement(name = "Pool")
+public class XPDLPool {
+
+ @XmlElement(name = "Lanes")
+ protected XPDLLanes lanes;
+ @XmlElement(name = "Object")
+ protected XPDLObject object;
+ @XmlElement(name = "NodeGraphicsInfos")
+ protected XPDLNodeGraphicsInfos nodeGraphicsInfos;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Id", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String id;
+ @XmlAttribute(name = "Name")
+ protected String name;
+ @XmlAttribute(name = "Orientation")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String orientation;
+ @XmlAttribute(name = "Process")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String process;
+ @XmlAttribute(name = "Participant")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String participant;
+ @XmlAttribute(name = "BoundaryVisible", required = true)
+ protected boolean boundaryVisible;
+ @XmlAttribute(name = "MainPool")
+ protected Boolean mainPool;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the lanes property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLLanes }
+ *
+ */
+ public XPDLLanes getLanes() {
+ return lanes;
+ }
+
+ /**
+ * Sets the value of the lanes property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLLanes }
+ *
+ */
+ public void setLanes(XPDLLanes value) {
+ this.lanes = value;
+ }
+
+ /**
+ * Gets the value of the object property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLObject }
+ *
+ */
+ public XPDLObject getObject() {
+ return object;
+ }
+
+ /**
+ * Sets the value of the object property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLObject }
+ *
+ */
+ public void setObject(XPDLObject value) {
+ this.object = value;
+ }
+
+ /**
+ * Gets the value of the nodeGraphicsInfos property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLNodeGraphicsInfos }
+ *
+ */
+ public XPDLNodeGraphicsInfos getNodeGraphicsInfos() {
+ return nodeGraphicsInfos;
+ }
+
+ /**
+ * Sets the value of the nodeGraphicsInfos property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLNodeGraphicsInfos }
+ *
+ */
+ public void setNodeGraphicsInfos(XPDLNodeGraphicsInfos value) {
+ this.nodeGraphicsInfos = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the orientation property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getOrientation() {
+ if (orientation == null) {
+ return "HORIZONTAL";
+ } else {
+ return orientation;
+ }
+ }
+
+ /**
+ * Sets the value of the orientation property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setOrientation(String value) {
+ this.orientation = value;
+ }
+
+ /**
+ * Gets the value of the process property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getProcess() {
+ return process;
+ }
+
+ /**
+ * Sets the value of the process property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setProcess(String value) {
+ this.process = value;
+ }
+
+ /**
+ * Gets the value of the participant property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getParticipant() {
+ return participant;
+ }
+
+ /**
+ * Sets the value of the participant property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setParticipant(String value) {
+ this.participant = value;
+ }
+
+ /**
+ * Gets the value of the boundaryVisible property.
+ *
+ */
+ public boolean isBoundaryVisible() {
+ return boundaryVisible;
+ }
+
+ /**
+ * Sets the value of the boundaryVisible property.
+ *
+ */
+ public void setBoundaryVisible(boolean value) {
+ this.boundaryVisible = value;
+ }
+
+ /**
+ * Gets the value of the mainPool property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isMainPool() {
+ if (mainPool == null) {
+ return false;
+ } else {
+ return mainPool;
+ }
+ }
+
+ /**
+ * Sets the value of the mainPool property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setMainPool(Boolean value) {
+ this.mainPool = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPool.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPools.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPools.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPools.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,138 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Pool" maxOccurs="unbounded" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "pool",
+ "any"
+})
+@XmlRootElement(name = "Pools")
+public class XPDLPools {
+
+ @XmlElement(name = "Pool")
+ protected List<XPDLPool> pool;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the pool property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the pool property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getPool().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLPool }
+ *
+ *
+ */
+ public List<XPDLPool> getPool() {
+ if (pool == null) {
+ pool = new ArrayList<XPDLPool>();
+ }
+ return this.pool;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPools.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPrecision.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPrecision.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPrecision.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,84 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>short">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "value"
+})
+@XmlRootElement(name = "Precision")
+public class XPDLPrecision {
+
+ @XmlValue
+ protected short value;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the value property.
+ *
+ */
+ public short getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ */
+ public void setValue(short value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPrecision.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPriority.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPriority.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPriority.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,92 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "value"
+})
+@XmlRootElement(name = "Priority")
+public class XPDLPriority {
+
+ @XmlValue
+ protected String value;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPriority.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPriorityUnit.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPriorityUnit.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPriorityUnit.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,92 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "value"
+})
+@XmlRootElement(name = "PriorityUnit")
+public class XPDLPriorityUnit {
+
+ @XmlValue
+ protected String value;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPriorityUnit.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLProcessHeader.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLProcessHeader.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLProcessHeader.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,343 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Created" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Description" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Priority" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Limit" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}ValidFrom" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}ValidTo" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TimeEstimation" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * <attribute name="DurationUnit">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="Y"/>
+ * <enumeration value="M"/>
+ * <enumeration value="D"/>
+ * <enumeration value="h"/>
+ * <enumeration value="m"/>
+ * <enumeration value="s"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "created",
+ "description",
+ "priority",
+ "limit",
+ "validFrom",
+ "validTo",
+ "timeEstimation",
+ "any"
+})
+@XmlRootElement(name = "ProcessHeader")
+public class XPDLProcessHeader {
+
+ @XmlElement(name = "Created")
+ protected XPDLCreated created;
+ @XmlElement(name = "Description")
+ protected XPDLDescription description;
+ @XmlElement(name = "Priority")
+ protected XPDLPriority priority;
+ @XmlElement(name = "Limit")
+ protected XPDLLimit limit;
+ @XmlElement(name = "ValidFrom")
+ protected XPDLValidFrom validFrom;
+ @XmlElement(name = "ValidTo")
+ protected XPDLValidTo validTo;
+ @XmlElement(name = "TimeEstimation")
+ protected XPDLTimeEstimation timeEstimation;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "DurationUnit")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String durationUnit;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the created property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLCreated }
+ *
+ */
+ public XPDLCreated getCreated() {
+ return created;
+ }
+
+ /**
+ * Sets the value of the created property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLCreated }
+ *
+ */
+ public void setCreated(XPDLCreated value) {
+ this.created = value;
+ }
+
+ /**
+ * Gets the value of the description property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLDescription }
+ *
+ */
+ public XPDLDescription getDescription() {
+ return description;
+ }
+
+ /**
+ * Sets the value of the description property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLDescription }
+ *
+ */
+ public void setDescription(XPDLDescription value) {
+ this.description = value;
+ }
+
+ /**
+ * Gets the value of the priority property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLPriority }
+ *
+ */
+ public XPDLPriority getPriority() {
+ return priority;
+ }
+
+ /**
+ * Sets the value of the priority property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLPriority }
+ *
+ */
+ public void setPriority(XPDLPriority value) {
+ this.priority = value;
+ }
+
+ /**
+ * Gets the value of the limit property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLLimit }
+ *
+ */
+ public XPDLLimit getLimit() {
+ return limit;
+ }
+
+ /**
+ * Sets the value of the limit property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLLimit }
+ *
+ */
+ public void setLimit(XPDLLimit value) {
+ this.limit = value;
+ }
+
+ /**
+ * Gets the value of the validFrom property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLValidFrom }
+ *
+ */
+ public XPDLValidFrom getValidFrom() {
+ return validFrom;
+ }
+
+ /**
+ * Sets the value of the validFrom property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLValidFrom }
+ *
+ */
+ public void setValidFrom(XPDLValidFrom value) {
+ this.validFrom = value;
+ }
+
+ /**
+ * Gets the value of the validTo property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLValidTo }
+ *
+ */
+ public XPDLValidTo getValidTo() {
+ return validTo;
+ }
+
+ /**
+ * Sets the value of the validTo property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLValidTo }
+ *
+ */
+ public void setValidTo(XPDLValidTo value) {
+ this.validTo = value;
+ }
+
+ /**
+ * Gets the value of the timeEstimation property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTimeEstimation }
+ *
+ */
+ public XPDLTimeEstimation getTimeEstimation() {
+ return timeEstimation;
+ }
+
+ /**
+ * Sets the value of the timeEstimation property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTimeEstimation }
+ *
+ */
+ public void setTimeEstimation(XPDLTimeEstimation value) {
+ this.timeEstimation = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the durationUnit property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDurationUnit() {
+ return durationUnit;
+ }
+
+ /**
+ * Sets the value of the durationUnit property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDurationUnit(String value) {
+ this.durationUnit = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLProcessHeader.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPropertyInput.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPropertyInput.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPropertyInput.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,137 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="PropertyId" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "any"
+})
+@XmlRootElement(name = "PropertyInput")
+public class XPDLPropertyInput {
+
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "PropertyId", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String propertyId;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the propertyId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPropertyId() {
+ return propertyId;
+ }
+
+ /**
+ * Sets the value of the propertyId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPropertyId(String value) {
+ this.propertyId = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLPropertyInput.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLRecordType.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLRecordType.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLRecordType.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,138 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Member" maxOccurs="unbounded"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "member",
+ "any"
+})
+@XmlRootElement(name = "RecordType")
+public class XPDLRecordType {
+
+ @XmlElement(name = "Member", required = true)
+ protected List<XPDLMember> member;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the member property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the member property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getMember().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLMember }
+ *
+ *
+ */
+ public List<XPDLMember> getMember() {
+ if (member == null) {
+ member = new ArrayList<XPDLMember>();
+ }
+ return this.member;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLRecordType.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLRedefinableHeader.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLRedefinableHeader.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLRedefinableHeader.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,284 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Author" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Version" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Codepage" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Countrykey" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Responsibles" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * <attribute name="PublicationStatus">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="UNDER_REVISION"/>
+ * <enumeration value="RELEASED"/>
+ * <enumeration value="UNDER_TEST"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "author",
+ "version",
+ "codepage",
+ "countrykey",
+ "responsibles",
+ "any"
+})
+@XmlRootElement(name = "RedefinableHeader")
+public class XPDLRedefinableHeader {
+
+ @XmlElement(name = "Author")
+ protected XPDLAuthor author;
+ @XmlElement(name = "Version")
+ protected XPDLVersion version;
+ @XmlElement(name = "Codepage")
+ protected XPDLCodepage codepage;
+ @XmlElement(name = "Countrykey")
+ protected XPDLCountrykey countrykey;
+ @XmlElement(name = "Responsibles")
+ protected XPDLResponsibles responsibles;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "PublicationStatus")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String publicationStatus;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the author property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLAuthor }
+ *
+ */
+ public XPDLAuthor getAuthor() {
+ return author;
+ }
+
+ /**
+ * Sets the value of the author property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLAuthor }
+ *
+ */
+ public void setAuthor(XPDLAuthor value) {
+ this.author = value;
+ }
+
+ /**
+ * Gets the value of the version property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLVersion }
+ *
+ */
+ public XPDLVersion getVersion() {
+ return version;
+ }
+
+ /**
+ * Sets the value of the version property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLVersion }
+ *
+ */
+ public void setVersion(XPDLVersion value) {
+ this.version = value;
+ }
+
+ /**
+ * Gets the value of the codepage property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLCodepage }
+ *
+ */
+ public XPDLCodepage getCodepage() {
+ return codepage;
+ }
+
+ /**
+ * Sets the value of the codepage property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLCodepage }
+ *
+ */
+ public void setCodepage(XPDLCodepage value) {
+ this.codepage = value;
+ }
+
+ /**
+ * Gets the value of the countrykey property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLCountrykey }
+ *
+ */
+ public XPDLCountrykey getCountrykey() {
+ return countrykey;
+ }
+
+ /**
+ * Sets the value of the countrykey property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLCountrykey }
+ *
+ */
+ public void setCountrykey(XPDLCountrykey value) {
+ this.countrykey = value;
+ }
+
+ /**
+ * Gets the value of the responsibles property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLResponsibles }
+ *
+ */
+ public XPDLResponsibles getResponsibles() {
+ return responsibles;
+ }
+
+ /**
+ * Sets the value of the responsibles property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLResponsibles }
+ *
+ */
+ public void setResponsibles(XPDLResponsibles value) {
+ this.responsibles = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the publicationStatus property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPublicationStatus() {
+ return publicationStatus;
+ }
+
+ /**
+ * Sets the value of the publicationStatus property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPublicationStatus(String value) {
+ this.publicationStatus = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLRedefinableHeader.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLReference.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLReference.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLReference.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,135 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="ActivityId" use="required" type="{http://www.wfmc.org/2008/XPDL2.1}IdRef" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "any"
+})
+@XmlRootElement(name = "Reference")
+public class XPDLReference {
+
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "ActivityId", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String activityId;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the activityId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getActivityId() {
+ return activityId;
+ }
+
+ /**
+ * Sets the value of the activityId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setActivityId(String value) {
+ this.activityId = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLReference.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLResourceCosts.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLResourceCosts.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLResourceCosts.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,153 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.math.BigDecimal;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="ResourceCostName">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <maxLength value="100"/>
+ * <minLength value="0"/>
+ * <whiteSpace value="preserve"/>
+ * </restriction>
+ * </simpleType>
+ * </element>
+ * <element name="ResourceCost">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}decimal">
+ * <fractionDigits value="2"/>
+ * </restriction>
+ * </simpleType>
+ * </element>
+ * <element name="CostUnitOfTime">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="second"/>
+ * <enumeration value="minute"/>
+ * <enumeration value="hour"/>
+ * </restriction>
+ * </simpleType>
+ * </element>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "resourceCostName",
+ "resourceCost",
+ "costUnitOfTime"
+})
+@XmlRootElement(name = "ResourceCosts")
+public class XPDLResourceCosts {
+
+ @XmlElement(name = "ResourceCostName", required = true)
+ protected String resourceCostName;
+ @XmlElement(name = "ResourceCost", required = true)
+ protected BigDecimal resourceCost;
+ @XmlElement(name = "CostUnitOfTime", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String costUnitOfTime;
+
+ /**
+ * Gets the value of the resourceCostName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getResourceCostName() {
+ return resourceCostName;
+ }
+
+ /**
+ * Sets the value of the resourceCostName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setResourceCostName(String value) {
+ this.resourceCostName = value;
+ }
+
+ /**
+ * Gets the value of the resourceCost property.
+ *
+ * @return
+ * possible object is
+ * {@link BigDecimal }
+ *
+ */
+ public BigDecimal getResourceCost() {
+ return resourceCost;
+ }
+
+ /**
+ * Sets the value of the resourceCost property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BigDecimal }
+ *
+ */
+ public void setResourceCost(BigDecimal value) {
+ this.resourceCost = value;
+ }
+
+ /**
+ * Gets the value of the costUnitOfTime property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getCostUnitOfTime() {
+ return costUnitOfTime;
+ }
+
+ /**
+ * Sets the value of the costUnitOfTime property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setCostUnitOfTime(String value) {
+ this.costUnitOfTime = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLResourceCosts.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLResponsible.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLResponsible.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLResponsible.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,92 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "value"
+})
+@XmlRootElement(name = "Responsible")
+public class XPDLResponsible {
+
+ @XmlValue
+ protected String value;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLResponsible.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLResponsibles.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLResponsibles.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLResponsibles.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,138 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Responsible" maxOccurs="unbounded" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "responsible",
+ "any"
+})
+@XmlRootElement(name = "Responsibles")
+public class XPDLResponsibles {
+
+ @XmlElement(name = "Responsible")
+ protected List<XPDLResponsible> responsible;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the responsible property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the responsible property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getResponsible().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLResponsible }
+ *
+ *
+ */
+ public List<XPDLResponsible> getResponsible() {
+ if (responsible == null) {
+ responsible = new ArrayList<XPDLResponsible>();
+ }
+ return this.responsible;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLResponsibles.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLResultError.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLResultError.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLResultError.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,132 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="ErrorCode" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "any"
+})
+@XmlRootElement(name = "ResultError")
+public class XPDLResultError {
+
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "ErrorCode")
+ protected String errorCode;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the errorCode property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getErrorCode() {
+ return errorCode;
+ }
+
+ /**
+ * Sets the value of the errorCode property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setErrorCode(String value) {
+ this.errorCode = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLResultError.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLResultMultiple.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLResultMultiple.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLResultMultiple.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,217 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TriggerResultMessage" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TriggerResultLink" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TriggerResultCompensation" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}ResultError" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "triggerResultMessage",
+ "triggerResultLink",
+ "triggerResultCompensation",
+ "resultError",
+ "any"
+})
+@XmlRootElement(name = "ResultMultiple")
+public class XPDLResultMultiple {
+
+ @XmlElement(name = "TriggerResultMessage")
+ protected XPDLTriggerResultMessage triggerResultMessage;
+ @XmlElement(name = "TriggerResultLink")
+ protected XPDLTriggerResultLink triggerResultLink;
+ @XmlElement(name = "TriggerResultCompensation")
+ protected XPDLTriggerResultCompensation triggerResultCompensation;
+ @XmlElement(name = "ResultError")
+ protected XPDLResultError resultError;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the triggerResultMessage property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTriggerResultMessage }
+ *
+ */
+ public XPDLTriggerResultMessage getTriggerResultMessage() {
+ return triggerResultMessage;
+ }
+
+ /**
+ * Sets the value of the triggerResultMessage property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTriggerResultMessage }
+ *
+ */
+ public void setTriggerResultMessage(XPDLTriggerResultMessage value) {
+ this.triggerResultMessage = value;
+ }
+
+ /**
+ * Gets the value of the triggerResultLink property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTriggerResultLink }
+ *
+ */
+ public XPDLTriggerResultLink getTriggerResultLink() {
+ return triggerResultLink;
+ }
+
+ /**
+ * Sets the value of the triggerResultLink property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTriggerResultLink }
+ *
+ */
+ public void setTriggerResultLink(XPDLTriggerResultLink value) {
+ this.triggerResultLink = value;
+ }
+
+ /**
+ * Gets the value of the triggerResultCompensation property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTriggerResultCompensation }
+ *
+ */
+ public XPDLTriggerResultCompensation getTriggerResultCompensation() {
+ return triggerResultCompensation;
+ }
+
+ /**
+ * Sets the value of the triggerResultCompensation property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTriggerResultCompensation }
+ *
+ */
+ public void setTriggerResultCompensation(XPDLTriggerResultCompensation value) {
+ this.triggerResultCompensation = value;
+ }
+
+ /**
+ * Gets the value of the resultError property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLResultError }
+ *
+ */
+ public XPDLResultError getResultError() {
+ return resultError;
+ }
+
+ /**
+ * Sets the value of the resultError property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLResultError }
+ *
+ */
+ public void setResultError(XPDLResultError value) {
+ this.resultError = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLResultMultiple.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLRoute.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLRoute.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLRoute.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,304 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="GatewayType" default="Exclusive">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="Exclusive"/>
+ * <enumeration value="Inclusive"/>
+ * <enumeration value="Complex"/>
+ * <enumeration value="AND"/>
+ * <enumeration value="Parallel"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * <attribute name="ExclusiveType" default="Data">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="Data"/>
+ * <enumeration value="Event"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * <attribute name="Instantiate" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="MarkerVisible" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="IncomingCondition" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="OutgoingCondition" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "any"
+})
+@XmlRootElement(name = "Route")
+public class XPDLRoute {
+
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "GatewayType")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String gatewayType;
+ @XmlAttribute(name = "ExclusiveType")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String exclusiveType;
+ @XmlAttribute(name = "Instantiate")
+ protected Boolean instantiate;
+ @XmlAttribute(name = "MarkerVisible")
+ protected Boolean markerVisible;
+ @XmlAttribute(name = "IncomingCondition")
+ protected String incomingCondition;
+ @XmlAttribute(name = "OutgoingCondition")
+ protected String outgoingCondition;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the gatewayType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getGatewayType() {
+ if (gatewayType == null) {
+ return "Exclusive";
+ } else {
+ return gatewayType;
+ }
+ }
+
+ /**
+ * Sets the value of the gatewayType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setGatewayType(String value) {
+ this.gatewayType = value;
+ }
+
+ /**
+ * Gets the value of the exclusiveType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getExclusiveType() {
+ if (exclusiveType == null) {
+ return "Data";
+ } else {
+ return exclusiveType;
+ }
+ }
+
+ /**
+ * Sets the value of the exclusiveType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setExclusiveType(String value) {
+ this.exclusiveType = value;
+ }
+
+ /**
+ * Gets the value of the instantiate property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isInstantiate() {
+ if (instantiate == null) {
+ return false;
+ } else {
+ return instantiate;
+ }
+ }
+
+ /**
+ * Sets the value of the instantiate property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setInstantiate(Boolean value) {
+ this.instantiate = value;
+ }
+
+ /**
+ * Gets the value of the markerVisible property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isMarkerVisible() {
+ if (markerVisible == null) {
+ return false;
+ } else {
+ return markerVisible;
+ }
+ }
+
+ /**
+ * Sets the value of the markerVisible property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setMarkerVisible(Boolean value) {
+ this.markerVisible = value;
+ }
+
+ /**
+ * Gets the value of the incomingCondition property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getIncomingCondition() {
+ return incomingCondition;
+ }
+
+ /**
+ * Sets the value of the incomingCondition property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIncomingCondition(String value) {
+ this.incomingCondition = value;
+ }
+
+ /**
+ * Gets the value of the outgoingCondition property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getOutgoingCondition() {
+ return outgoingCondition;
+ }
+
+ /**
+ * Sets the value of the outgoingCondition property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setOutgoingCondition(String value) {
+ this.outgoingCondition = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLRoute.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLRule.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLRule.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLRule.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,193 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="Expression" type="{http://www.wfmc.org/2008/XPDL2.1}ExpressionType"/>
+ * <any/>
+ * </sequence>
+ * <attribute name="Id" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * <attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "expression",
+ "any"
+})
+@XmlRootElement(name = "Rule")
+public class XPDLRule {
+
+ @XmlElement(name = "Expression", required = true)
+ protected ExpressionType expression;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Id", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String id;
+ @XmlAttribute(name = "Name")
+ protected String name;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the expression property.
+ *
+ * @return
+ * possible object is
+ * {@link ExpressionType }
+ *
+ */
+ public ExpressionType getExpression() {
+ return expression;
+ }
+
+ /**
+ * Sets the value of the expression property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ExpressionType }
+ *
+ */
+ public void setExpression(ExpressionType value) {
+ this.expression = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLRule.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLScale.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLScale.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLScale.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,84 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>short">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "value"
+})
+@XmlRootElement(name = "Scale")
+public class XPDLScale {
+
+ @XmlValue
+ protected short value;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the value property.
+ *
+ */
+ public short getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ */
+ public void setValue(short value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLScale.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLSchemaType.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLSchemaType.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLSchemaType.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,104 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "any"
+})
+@XmlRootElement(name = "SchemaType")
+public class XPDLSchemaType {
+
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLSchemaType.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLScript.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLScript.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLScript.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,188 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="Type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="Version" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="Grammar" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "any"
+})
+@XmlRootElement(name = "Script")
+public class XPDLScript {
+
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Type", required = true)
+ protected String type;
+ @XmlAttribute(name = "Version")
+ protected String version;
+ @XmlAttribute(name = "Grammar")
+ @XmlSchemaType(name = "anyURI")
+ protected String grammar;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setType(String value) {
+ this.type = value;
+ }
+
+ /**
+ * Gets the value of the version property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getVersion() {
+ return version;
+ }
+
+ /**
+ * Sets the value of the version property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setVersion(String value) {
+ this.version = value;
+ }
+
+ /**
+ * Gets the value of the grammar property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getGrammar() {
+ return grammar;
+ }
+
+ /**
+ * Sets the value of the grammar property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setGrammar(String value) {
+ this.grammar = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLScript.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLSimulationInformation.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLSimulationInformation.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLSimulationInformation.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,199 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Cost"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TimeEstimation"/>
+ * <any/>
+ * </sequence>
+ * <attribute name="Instantiation">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="ONCE"/>
+ * <enumeration value="MULTIPLE"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "cost",
+ "timeEstimation",
+ "any"
+})
+@XmlRootElement(name = "SimulationInformation")
+public class XPDLSimulationInformation {
+
+ @XmlElement(name = "Cost", required = true)
+ protected XPDLCost cost;
+ @XmlElement(name = "TimeEstimation", required = true)
+ protected XPDLTimeEstimation timeEstimation;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Instantiation")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String instantiation;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the cost property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLCost }
+ *
+ */
+ public XPDLCost getCost() {
+ return cost;
+ }
+
+ /**
+ * Sets the value of the cost property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLCost }
+ *
+ */
+ public void setCost(XPDLCost value) {
+ this.cost = value;
+ }
+
+ /**
+ * Gets the value of the timeEstimation property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTimeEstimation }
+ *
+ */
+ public XPDLTimeEstimation getTimeEstimation() {
+ return timeEstimation;
+ }
+
+ /**
+ * Sets the value of the timeEstimation property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTimeEstimation }
+ *
+ */
+ public void setTimeEstimation(XPDLTimeEstimation value) {
+ this.timeEstimation = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the instantiation property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getInstantiation() {
+ return instantiation;
+ }
+
+ /**
+ * Sets the value of the instantiation property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setInstantiation(String value) {
+ this.instantiation = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLSimulationInformation.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLSplit.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLSplit.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLSplit.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,239 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TransitionRefs" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * <attribute name="Type">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="Exclusive"/>
+ * <enumeration value="Inclusive"/>
+ * <enumeration value="Complex"/>
+ * <enumeration value="Parallel"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * <attribute name="ExclusiveType" default="Data">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="Data"/>
+ * <enumeration value="Event"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * <attribute name="OutgoingCondition" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "transitionRefs",
+ "any"
+})
+@XmlRootElement(name = "Split")
+public class XPDLSplit {
+
+ @XmlElement(name = "TransitionRefs")
+ protected XPDLTransitionRefs transitionRefs;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Type")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String type;
+ @XmlAttribute(name = "ExclusiveType")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String exclusiveType;
+ @XmlAttribute(name = "OutgoingCondition")
+ protected String outgoingCondition;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the transitionRefs property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTransitionRefs }
+ *
+ */
+ public XPDLTransitionRefs getTransitionRefs() {
+ return transitionRefs;
+ }
+
+ /**
+ * Sets the value of the transitionRefs property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTransitionRefs }
+ *
+ */
+ public void setTransitionRefs(XPDLTransitionRefs value) {
+ this.transitionRefs = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setType(String value) {
+ this.type = value;
+ }
+
+ /**
+ * Gets the value of the exclusiveType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getExclusiveType() {
+ if (exclusiveType == null) {
+ return "Data";
+ } else {
+ return exclusiveType;
+ }
+ }
+
+ /**
+ * Sets the value of the exclusiveType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setExclusiveType(String value) {
+ this.exclusiveType = value;
+ }
+
+ /**
+ * Gets the value of the outgoingCondition property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getOutgoingCondition() {
+ return outgoingCondition;
+ }
+
+ /**
+ * Sets the value of the outgoingCondition property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setOutgoingCondition(String value) {
+ this.outgoingCondition = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLSplit.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLStartEvent.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLStartEvent.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLStartEvent.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,289 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice minOccurs="0">
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TriggerResultMessage" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TriggerTimer" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TriggerConditional" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TriggerResultSignal" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TriggerMultiple" minOccurs="0"/>
+ * </choice>
+ * <attribute name="Trigger" use="required">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="None"/>
+ * <enumeration value="Message"/>
+ * <enumeration value="Timer"/>
+ * <enumeration value="Conditional"/>
+ * <enumeration value="Signal"/>
+ * <enumeration value="Multiple"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * <attribute name="Implementation" default="WebService">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="WebService"/>
+ * <enumeration value="Other"/>
+ * <enumeration value="Unspecified"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "triggerResultMessage",
+ "triggerTimer",
+ "triggerConditional",
+ "triggerResultSignal",
+ "triggerMultiple"
+})
+@XmlRootElement(name = "StartEvent")
+public class XPDLStartEvent {
+
+ @XmlElement(name = "TriggerResultMessage")
+ protected XPDLTriggerResultMessage triggerResultMessage;
+ @XmlElement(name = "TriggerTimer")
+ protected XPDLTriggerTimer triggerTimer;
+ @XmlElement(name = "TriggerConditional")
+ protected XPDLTriggerConditional triggerConditional;
+ @XmlElement(name = "TriggerResultSignal")
+ protected XPDLTriggerResultSignal triggerResultSignal;
+ @XmlElement(name = "TriggerMultiple")
+ protected XPDLTriggerMultiple triggerMultiple;
+ @XmlAttribute(name = "Trigger", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String trigger;
+ @XmlAttribute(name = "Implementation")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String implementation;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the triggerResultMessage property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTriggerResultMessage }
+ *
+ */
+ public XPDLTriggerResultMessage getTriggerResultMessage() {
+ return triggerResultMessage;
+ }
+
+ /**
+ * Sets the value of the triggerResultMessage property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTriggerResultMessage }
+ *
+ */
+ public void setTriggerResultMessage(XPDLTriggerResultMessage value) {
+ this.triggerResultMessage = value;
+ }
+
+ /**
+ * Gets the value of the triggerTimer property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTriggerTimer }
+ *
+ */
+ public XPDLTriggerTimer getTriggerTimer() {
+ return triggerTimer;
+ }
+
+ /**
+ * Sets the value of the triggerTimer property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTriggerTimer }
+ *
+ */
+ public void setTriggerTimer(XPDLTriggerTimer value) {
+ this.triggerTimer = value;
+ }
+
+ /**
+ * Gets the value of the triggerConditional property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTriggerConditional }
+ *
+ */
+ public XPDLTriggerConditional getTriggerConditional() {
+ return triggerConditional;
+ }
+
+ /**
+ * Sets the value of the triggerConditional property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTriggerConditional }
+ *
+ */
+ public void setTriggerConditional(XPDLTriggerConditional value) {
+ this.triggerConditional = value;
+ }
+
+ /**
+ * Gets the value of the triggerResultSignal property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTriggerResultSignal }
+ *
+ */
+ public XPDLTriggerResultSignal getTriggerResultSignal() {
+ return triggerResultSignal;
+ }
+
+ /**
+ * Sets the value of the triggerResultSignal property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTriggerResultSignal }
+ *
+ */
+ public void setTriggerResultSignal(XPDLTriggerResultSignal value) {
+ this.triggerResultSignal = value;
+ }
+
+ /**
+ * Gets the value of the triggerMultiple property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTriggerMultiple }
+ *
+ */
+ public XPDLTriggerMultiple getTriggerMultiple() {
+ return triggerMultiple;
+ }
+
+ /**
+ * Sets the value of the triggerMultiple property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTriggerMultiple }
+ *
+ */
+ public void setTriggerMultiple(XPDLTriggerMultiple value) {
+ this.triggerMultiple = value;
+ }
+
+ /**
+ * Gets the value of the trigger property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTrigger() {
+ return trigger;
+ }
+
+ /**
+ * Sets the value of the trigger property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTrigger(String value) {
+ this.trigger = value;
+ }
+
+ /**
+ * Gets the value of the implementation property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getImplementation() {
+ if (implementation == null) {
+ return "WebService";
+ } else {
+ return implementation;
+ }
+ }
+
+ /**
+ * Sets the value of the implementation property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setImplementation(String value) {
+ this.implementation = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLStartEvent.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLSubFlow.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLSubFlow.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLSubFlow.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,438 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <choice minOccurs="0">
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}ActualParameters"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}DataMappings"/>
+ * </choice>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}EndPoint" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * <attribute name="Id" use="required" type="{http://www.wfmc.org/2008/XPDL2.1}IdRef" />
+ * <attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="Execution" default="SYNCHR">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="ASYNCHR"/>
+ * <enumeration value="SYNCHR"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * <attribute name="View" default="COLLAPSED">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="COLLAPSED"/>
+ * <enumeration value="EXPANDED"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * <attribute name="PackageRef" type="{http://www.wfmc.org/2008/XPDL2.1}IdRef" />
+ * <attribute name="InstanceDataField" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="StartActivitySetId" type="{http://www.wfmc.org/2008/XPDL2.1}IdRef" />
+ * <attribute name="StartActivityId" type="{http://www.wfmc.org/2008/XPDL2.1}IdRef" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "actualParameters",
+ "dataMappings",
+ "endPoint",
+ "any"
+})
+@XmlRootElement(name = "SubFlow")
+public class XPDLSubFlow {
+
+ @XmlElement(name = "ActualParameters")
+ protected XPDLActualParameters actualParameters;
+ @XmlElement(name = "DataMappings")
+ protected XPDLDataMappings dataMappings;
+ @XmlElement(name = "EndPoint")
+ protected XPDLEndPoint endPoint;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Id", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String id;
+ @XmlAttribute(name = "Name")
+ protected String name;
+ @XmlAttribute(name = "Execution")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String execution;
+ @XmlAttribute(name = "View")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String view;
+ @XmlAttribute(name = "PackageRef")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String packageRef;
+ @XmlAttribute(name = "InstanceDataField")
+ protected String instanceDataField;
+ @XmlAttribute(name = "StartActivitySetId")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String startActivitySetId;
+ @XmlAttribute(name = "StartActivityId")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String startActivityId;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the actualParameters property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLActualParameters }
+ *
+ */
+ public XPDLActualParameters getActualParameters() {
+ return actualParameters;
+ }
+
+ /**
+ * Sets the value of the actualParameters property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLActualParameters }
+ *
+ */
+ public void setActualParameters(XPDLActualParameters value) {
+ this.actualParameters = value;
+ }
+
+ /**
+ * Gets the value of the dataMappings property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLDataMappings }
+ *
+ */
+ public XPDLDataMappings getDataMappings() {
+ return dataMappings;
+ }
+
+ /**
+ * Sets the value of the dataMappings property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLDataMappings }
+ *
+ */
+ public void setDataMappings(XPDLDataMappings value) {
+ this.dataMappings = value;
+ }
+
+ /**
+ * Gets the value of the endPoint property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLEndPoint }
+ *
+ */
+ public XPDLEndPoint getEndPoint() {
+ return endPoint;
+ }
+
+ /**
+ * Sets the value of the endPoint property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLEndPoint }
+ *
+ */
+ public void setEndPoint(XPDLEndPoint value) {
+ this.endPoint = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the execution property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getExecution() {
+ if (execution == null) {
+ return "SYNCHR";
+ } else {
+ return execution;
+ }
+ }
+
+ /**
+ * Sets the value of the execution property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setExecution(String value) {
+ this.execution = value;
+ }
+
+ /**
+ * Gets the value of the view property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getView() {
+ if (view == null) {
+ return "COLLAPSED";
+ } else {
+ return view;
+ }
+ }
+
+ /**
+ * Sets the value of the view property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setView(String value) {
+ this.view = value;
+ }
+
+ /**
+ * Gets the value of the packageRef property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPackageRef() {
+ return packageRef;
+ }
+
+ /**
+ * Sets the value of the packageRef property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPackageRef(String value) {
+ this.packageRef = value;
+ }
+
+ /**
+ * Gets the value of the instanceDataField property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getInstanceDataField() {
+ return instanceDataField;
+ }
+
+ /**
+ * Sets the value of the instanceDataField property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setInstanceDataField(String value) {
+ this.instanceDataField = value;
+ }
+
+ /**
+ * Gets the value of the startActivitySetId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getStartActivitySetId() {
+ return startActivitySetId;
+ }
+
+ /**
+ * Sets the value of the startActivitySetId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setStartActivitySetId(String value) {
+ this.startActivitySetId = value;
+ }
+
+ /**
+ * Gets the value of the startActivityId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getStartActivityId() {
+ return startActivityId;
+ }
+
+ /**
+ * Sets the value of the startActivityId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setStartActivityId(String value) {
+ this.startActivityId = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLSubFlow.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTask.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTask.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTask.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,297 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice minOccurs="0">
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TaskService"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TaskReceive"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TaskManual"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TaskReference"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TaskScript"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TaskSend"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TaskUser"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TaskApplication"/>
+ * </choice>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "taskService",
+ "taskReceive",
+ "taskManual",
+ "taskReference",
+ "taskScript",
+ "taskSend",
+ "taskUser",
+ "taskApplication"
+})
+@XmlRootElement(name = "Task")
+public class XPDLTask {
+
+ @XmlElement(name = "TaskService")
+ protected XPDLTaskService taskService;
+ @XmlElement(name = "TaskReceive")
+ protected XPDLTaskReceive taskReceive;
+ @XmlElement(name = "TaskManual")
+ protected XPDLTaskManual taskManual;
+ @XmlElement(name = "TaskReference")
+ protected XPDLTaskReference taskReference;
+ @XmlElement(name = "TaskScript")
+ protected XPDLTaskScript taskScript;
+ @XmlElement(name = "TaskSend")
+ protected XPDLTaskSend taskSend;
+ @XmlElement(name = "TaskUser")
+ protected XPDLTaskUser taskUser;
+ @XmlElement(name = "TaskApplication")
+ protected XPDLTaskApplication taskApplication;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * BPMN: TaskType = Service. In BPMN generally signifies any automated activity.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTaskService }
+ *
+ */
+ public XPDLTaskService getTaskService() {
+ return taskService;
+ }
+
+ /**
+ * BPMN: TaskType = Service. In BPMN generally signifies any automated activity.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTaskService }
+ *
+ */
+ public void setTaskService(XPDLTaskService value) {
+ this.taskService = value;
+ }
+
+ /**
+ * BPMN: TaskType = Receive. Waits for a message, then continues. Equivalent to a "catching" message event. In BPMN, "message"
+ * generally signifies any signal from outside the process (pool).
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTaskReceive }
+ *
+ */
+ public XPDLTaskReceive getTaskReceive() {
+ return taskReceive;
+ }
+
+ /**
+ * BPMN: TaskType = Receive. Waits for a message, then continues. Equivalent to a "catching" message event. In BPMN, "message"
+ * generally signifies any signal from outside the process (pool).
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTaskReceive }
+ *
+ */
+ public void setTaskReceive(XPDLTaskReceive value) {
+ this.taskReceive = value;
+ }
+
+ /**
+ * BPMN: TaskType = Manual. Used for human tasks other than those accessed via workflow.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTaskManual }
+ *
+ */
+ public XPDLTaskManual getTaskManual() {
+ return taskManual;
+ }
+
+ /**
+ * BPMN: TaskType = Manual. Used for human tasks other than those accessed via workflow.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTaskManual }
+ *
+ */
+ public void setTaskManual(XPDLTaskManual value) {
+ this.taskManual = value;
+ }
+
+ /**
+ * BPMN: TaskType = Reference. Task properties defined in referenced activity.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTaskReference }
+ *
+ */
+ public XPDLTaskReference getTaskReference() {
+ return taskReference;
+ }
+
+ /**
+ * BPMN: TaskType = Reference. Task properties defined in referenced activity.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTaskReference }
+ *
+ */
+ public void setTaskReference(XPDLTaskReference value) {
+ this.taskReference = value;
+ }
+
+ /**
+ * BPMN: TaskType = Script. Used for automated tasks executed by scripts on process engine, to distinguish from automated tasks
+ * performed externally (Service).
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTaskScript }
+ *
+ */
+ public XPDLTaskScript getTaskScript() {
+ return taskScript;
+ }
+
+ /**
+ * BPMN: TaskType = Script. Used for automated tasks executed by scripts on process engine, to distinguish from automated tasks
+ * performed externally (Service).
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTaskScript }
+ *
+ */
+ public void setTaskScript(XPDLTaskScript value) {
+ this.taskScript = value;
+ }
+
+ /**
+ * BPMN: Task Type = Send. Equivalent to a "throwing" message event. Sends a message immediately and continues. In BPMN, "message"
+ * signifies any signal sent outside the process (pool).
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTaskSend }
+ *
+ */
+ public XPDLTaskSend getTaskSend() {
+ return taskSend;
+ }
+
+ /**
+ * BPMN: Task Type = Send. Equivalent to a "throwing" message event. Sends a message immediately and continues. In BPMN, "message"
+ * signifies any signal sent outside the process (pool).
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTaskSend }
+ *
+ */
+ public void setTaskSend(XPDLTaskSend value) {
+ this.taskSend = value;
+ }
+
+ /**
+ * BPMN: Task Type = User. Generally used for human tasks.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTaskUser }
+ *
+ */
+ public XPDLTaskUser getTaskUser() {
+ return taskUser;
+ }
+
+ /**
+ * BPMN: Task Type = User. Generally used for human tasks.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTaskUser }
+ *
+ */
+ public void setTaskUser(XPDLTaskUser value) {
+ this.taskUser = value;
+ }
+
+ /**
+ * Gets the value of the taskApplication property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTaskApplication }
+ *
+ */
+ public XPDLTaskApplication getTaskApplication() {
+ return taskApplication;
+ }
+
+ /**
+ * Sets the value of the taskApplication property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTaskApplication }
+ *
+ */
+ public void setTaskApplication(XPDLTaskApplication value) {
+ this.taskApplication = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTask.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTaskApplication.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTaskApplication.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTaskApplication.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,280 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <choice minOccurs="0">
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}ActualParameters"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}DataMappings"/>
+ * </choice>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Description" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * <attribute name="Id" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * <attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="PackageRef" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "actualParameters",
+ "dataMappings",
+ "description",
+ "any"
+})
+@XmlRootElement(name = "TaskApplication")
+public class XPDLTaskApplication {
+
+ @XmlElement(name = "ActualParameters")
+ protected XPDLActualParameters actualParameters;
+ @XmlElement(name = "DataMappings")
+ protected XPDLDataMappings dataMappings;
+ @XmlElement(name = "Description")
+ protected XPDLDescription description;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Id", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String id;
+ @XmlAttribute(name = "Name")
+ protected String name;
+ @XmlAttribute(name = "PackageRef")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String packageRef;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the actualParameters property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLActualParameters }
+ *
+ */
+ public XPDLActualParameters getActualParameters() {
+ return actualParameters;
+ }
+
+ /**
+ * Sets the value of the actualParameters property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLActualParameters }
+ *
+ */
+ public void setActualParameters(XPDLActualParameters value) {
+ this.actualParameters = value;
+ }
+
+ /**
+ * Gets the value of the dataMappings property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLDataMappings }
+ *
+ */
+ public XPDLDataMappings getDataMappings() {
+ return dataMappings;
+ }
+
+ /**
+ * Sets the value of the dataMappings property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLDataMappings }
+ *
+ */
+ public void setDataMappings(XPDLDataMappings value) {
+ this.dataMappings = value;
+ }
+
+ /**
+ * Gets the value of the description property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLDescription }
+ *
+ */
+ public XPDLDescription getDescription() {
+ return description;
+ }
+
+ /**
+ * Sets the value of the description property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLDescription }
+ *
+ */
+ public void setDescription(XPDLDescription value) {
+ this.description = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the packageRef property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPackageRef() {
+ return packageRef;
+ }
+
+ /**
+ * Sets the value of the packageRef property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPackageRef(String value) {
+ this.packageRef = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTaskApplication.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTaskManual.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTaskManual.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTaskManual.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,133 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Performers" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "performers",
+ "any"
+})
+@XmlRootElement(name = "TaskManual")
+public class XPDLTaskManual {
+
+ @XmlElement(name = "Performers")
+ protected XPDLPerformers performers;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the performers property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLPerformers }
+ *
+ */
+ public XPDLPerformers getPerformers() {
+ return performers;
+ }
+
+ /**
+ * Sets the value of the performers property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLPerformers }
+ *
+ */
+ public void setPerformers(XPDLPerformers value) {
+ this.performers = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTaskManual.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTaskReceive.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTaskReceive.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTaskReceive.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,223 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="Message" type="{http://www.wfmc.org/2008/XPDL2.1}MessageType" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}WebServiceOperation" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * <attribute name="Instantiate" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="Implementation" default="WebService">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="WebService"/>
+ * <enumeration value="Other"/>
+ * <enumeration value="Unspecified"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "message",
+ "webServiceOperation",
+ "any"
+})
+@XmlRootElement(name = "TaskReceive")
+public class XPDLTaskReceive {
+
+ @XmlElement(name = "Message")
+ protected MessageType message;
+ @XmlElement(name = "WebServiceOperation")
+ protected XPDLWebServiceOperation webServiceOperation;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Instantiate", required = true)
+ protected boolean instantiate;
+ @XmlAttribute(name = "Implementation")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String implementation;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the message property.
+ *
+ * @return
+ * possible object is
+ * {@link MessageType }
+ *
+ */
+ public MessageType getMessage() {
+ return message;
+ }
+
+ /**
+ * Sets the value of the message property.
+ *
+ * @param value
+ * allowed object is
+ * {@link MessageType }
+ *
+ */
+ public void setMessage(MessageType value) {
+ this.message = value;
+ }
+
+ /**
+ * Gets the value of the webServiceOperation property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLWebServiceOperation }
+ *
+ */
+ public XPDLWebServiceOperation getWebServiceOperation() {
+ return webServiceOperation;
+ }
+
+ /**
+ * Sets the value of the webServiceOperation property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLWebServiceOperation }
+ *
+ */
+ public void setWebServiceOperation(XPDLWebServiceOperation value) {
+ this.webServiceOperation = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the instantiate property.
+ *
+ */
+ public boolean isInstantiate() {
+ return instantiate;
+ }
+
+ /**
+ * Sets the value of the instantiate property.
+ *
+ */
+ public void setInstantiate(boolean value) {
+ this.instantiate = value;
+ }
+
+ /**
+ * Gets the value of the implementation property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getImplementation() {
+ if (implementation == null) {
+ return "WebService";
+ } else {
+ return implementation;
+ }
+ }
+
+ /**
+ * Sets the value of the implementation property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setImplementation(String value) {
+ this.implementation = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTaskReceive.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTaskReference.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTaskReference.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTaskReference.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,135 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="TaskRef" use="required" type="{http://www.wfmc.org/2008/XPDL2.1}IdRef" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "any"
+})
+@XmlRootElement(name = "TaskReference")
+public class XPDLTaskReference {
+
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "TaskRef", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String taskRef;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the taskRef property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTaskRef() {
+ return taskRef;
+ }
+
+ /**
+ * Sets the value of the taskRef property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTaskRef(String value) {
+ this.taskRef = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTaskReference.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTaskScript.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTaskScript.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTaskScript.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,133 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="Script" type="{http://www.wfmc.org/2008/XPDL2.1}ExpressionType"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "script",
+ "any"
+})
+@XmlRootElement(name = "TaskScript")
+public class XPDLTaskScript {
+
+ @XmlElement(name = "Script", required = true)
+ protected ExpressionType script;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the script property.
+ *
+ * @return
+ * possible object is
+ * {@link ExpressionType }
+ *
+ */
+ public ExpressionType getScript() {
+ return script;
+ }
+
+ /**
+ * Sets the value of the script property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ExpressionType }
+ *
+ */
+ public void setScript(ExpressionType value) {
+ this.script = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTaskScript.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTaskSend.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTaskSend.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTaskSend.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,237 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="Message" type="{http://www.wfmc.org/2008/XPDL2.1}MessageType" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}WebServiceOperation" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}WebServiceFaultCatch" maxOccurs="unbounded" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * <attribute name="Implementation" default="WebService">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="WebService"/>
+ * <enumeration value="Other"/>
+ * <enumeration value="Unspecified"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "message",
+ "webServiceOperation",
+ "webServiceFaultCatch",
+ "any"
+})
+@XmlRootElement(name = "TaskSend")
+public class XPDLTaskSend {
+
+ @XmlElement(name = "Message")
+ protected MessageType message;
+ @XmlElement(name = "WebServiceOperation")
+ protected XPDLWebServiceOperation webServiceOperation;
+ @XmlElement(name = "WebServiceFaultCatch")
+ protected List<XPDLWebServiceFaultCatch> webServiceFaultCatch;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Implementation")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String implementation;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the message property.
+ *
+ * @return
+ * possible object is
+ * {@link MessageType }
+ *
+ */
+ public MessageType getMessage() {
+ return message;
+ }
+
+ /**
+ * Sets the value of the message property.
+ *
+ * @param value
+ * allowed object is
+ * {@link MessageType }
+ *
+ */
+ public void setMessage(MessageType value) {
+ this.message = value;
+ }
+
+ /**
+ * Gets the value of the webServiceOperation property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLWebServiceOperation }
+ *
+ */
+ public XPDLWebServiceOperation getWebServiceOperation() {
+ return webServiceOperation;
+ }
+
+ /**
+ * Sets the value of the webServiceOperation property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLWebServiceOperation }
+ *
+ */
+ public void setWebServiceOperation(XPDLWebServiceOperation value) {
+ this.webServiceOperation = value;
+ }
+
+ /**
+ * Gets the value of the webServiceFaultCatch property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the webServiceFaultCatch property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getWebServiceFaultCatch().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLWebServiceFaultCatch }
+ *
+ *
+ */
+ public List<XPDLWebServiceFaultCatch> getWebServiceFaultCatch() {
+ if (webServiceFaultCatch == null) {
+ webServiceFaultCatch = new ArrayList<XPDLWebServiceFaultCatch>();
+ }
+ return this.webServiceFaultCatch;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the implementation property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getImplementation() {
+ if (implementation == null) {
+ return "WebService";
+ } else {
+ return implementation;
+ }
+ }
+
+ /**
+ * Sets the value of the implementation property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setImplementation(String value) {
+ this.implementation = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTaskSend.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTaskService.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTaskService.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTaskService.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,265 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="MessageIn" type="{http://www.wfmc.org/2008/XPDL2.1}MessageType" minOccurs="0"/>
+ * <element name="MessageOut" type="{http://www.wfmc.org/2008/XPDL2.1}MessageType" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}WebServiceOperation" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}WebServiceFaultCatch" maxOccurs="unbounded" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * <attribute name="Implementation" default="WebService">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="WebService"/>
+ * <enumeration value="Other"/>
+ * <enumeration value="Unspecified"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "messageIn",
+ "messageOut",
+ "webServiceOperation",
+ "webServiceFaultCatch",
+ "any"
+})
+@XmlRootElement(name = "TaskService")
+public class XPDLTaskService {
+
+ @XmlElement(name = "MessageIn")
+ protected MessageType messageIn;
+ @XmlElement(name = "MessageOut")
+ protected MessageType messageOut;
+ @XmlElement(name = "WebServiceOperation")
+ protected XPDLWebServiceOperation webServiceOperation;
+ @XmlElement(name = "WebServiceFaultCatch")
+ protected List<XPDLWebServiceFaultCatch> webServiceFaultCatch;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Implementation")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String implementation;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the messageIn property.
+ *
+ * @return
+ * possible object is
+ * {@link MessageType }
+ *
+ */
+ public MessageType getMessageIn() {
+ return messageIn;
+ }
+
+ /**
+ * Sets the value of the messageIn property.
+ *
+ * @param value
+ * allowed object is
+ * {@link MessageType }
+ *
+ */
+ public void setMessageIn(MessageType value) {
+ this.messageIn = value;
+ }
+
+ /**
+ * Gets the value of the messageOut property.
+ *
+ * @return
+ * possible object is
+ * {@link MessageType }
+ *
+ */
+ public MessageType getMessageOut() {
+ return messageOut;
+ }
+
+ /**
+ * Sets the value of the messageOut property.
+ *
+ * @param value
+ * allowed object is
+ * {@link MessageType }
+ *
+ */
+ public void setMessageOut(MessageType value) {
+ this.messageOut = value;
+ }
+
+ /**
+ * Gets the value of the webServiceOperation property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLWebServiceOperation }
+ *
+ */
+ public XPDLWebServiceOperation getWebServiceOperation() {
+ return webServiceOperation;
+ }
+
+ /**
+ * Sets the value of the webServiceOperation property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLWebServiceOperation }
+ *
+ */
+ public void setWebServiceOperation(XPDLWebServiceOperation value) {
+ this.webServiceOperation = value;
+ }
+
+ /**
+ * Gets the value of the webServiceFaultCatch property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the webServiceFaultCatch property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getWebServiceFaultCatch().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLWebServiceFaultCatch }
+ *
+ *
+ */
+ public List<XPDLWebServiceFaultCatch> getWebServiceFaultCatch() {
+ if (webServiceFaultCatch == null) {
+ webServiceFaultCatch = new ArrayList<XPDLWebServiceFaultCatch>();
+ }
+ return this.webServiceFaultCatch;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the implementation property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getImplementation() {
+ if (implementation == null) {
+ return "WebService";
+ } else {
+ return implementation;
+ }
+ }
+
+ /**
+ * Sets the value of the implementation property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setImplementation(String value) {
+ this.implementation = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTaskService.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTaskUser.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTaskUser.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTaskUser.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,260 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Performers" minOccurs="0"/>
+ * <element name="MessageIn" type="{http://www.wfmc.org/2008/XPDL2.1}MessageType" minOccurs="0"/>
+ * <element name="MessageOut" type="{http://www.wfmc.org/2008/XPDL2.1}MessageType" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}WebServiceOperation" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * <attribute name="Implementation" default="WebService">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="WebService"/>
+ * <enumeration value="Other"/>
+ * <enumeration value="Unspecified"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "performers",
+ "messageIn",
+ "messageOut",
+ "webServiceOperation",
+ "any"
+})
+@XmlRootElement(name = "TaskUser")
+public class XPDLTaskUser {
+
+ @XmlElement(name = "Performers")
+ protected XPDLPerformers performers;
+ @XmlElement(name = "MessageIn")
+ protected MessageType messageIn;
+ @XmlElement(name = "MessageOut")
+ protected MessageType messageOut;
+ @XmlElement(name = "WebServiceOperation")
+ protected XPDLWebServiceOperation webServiceOperation;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Implementation")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String implementation;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the performers property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLPerformers }
+ *
+ */
+ public XPDLPerformers getPerformers() {
+ return performers;
+ }
+
+ /**
+ * Sets the value of the performers property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLPerformers }
+ *
+ */
+ public void setPerformers(XPDLPerformers value) {
+ this.performers = value;
+ }
+
+ /**
+ * Gets the value of the messageIn property.
+ *
+ * @return
+ * possible object is
+ * {@link MessageType }
+ *
+ */
+ public MessageType getMessageIn() {
+ return messageIn;
+ }
+
+ /**
+ * Sets the value of the messageIn property.
+ *
+ * @param value
+ * allowed object is
+ * {@link MessageType }
+ *
+ */
+ public void setMessageIn(MessageType value) {
+ this.messageIn = value;
+ }
+
+ /**
+ * Gets the value of the messageOut property.
+ *
+ * @return
+ * possible object is
+ * {@link MessageType }
+ *
+ */
+ public MessageType getMessageOut() {
+ return messageOut;
+ }
+
+ /**
+ * Sets the value of the messageOut property.
+ *
+ * @param value
+ * allowed object is
+ * {@link MessageType }
+ *
+ */
+ public void setMessageOut(MessageType value) {
+ this.messageOut = value;
+ }
+
+ /**
+ * Gets the value of the webServiceOperation property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLWebServiceOperation }
+ *
+ */
+ public XPDLWebServiceOperation getWebServiceOperation() {
+ return webServiceOperation;
+ }
+
+ /**
+ * Sets the value of the webServiceOperation property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLWebServiceOperation }
+ *
+ */
+ public void setWebServiceOperation(XPDLWebServiceOperation value) {
+ this.webServiceOperation = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the implementation property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getImplementation() {
+ if (implementation == null) {
+ return "WebService";
+ } else {
+ return implementation;
+ }
+ }
+
+ /**
+ * Sets the value of the implementation property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setImplementation(String value) {
+ this.implementation = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTaskUser.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTimeEstimation.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTimeEstimation.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTimeEstimation.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,189 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}WaitingTime" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}WorkingTime" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Duration" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "waitingTime",
+ "workingTime",
+ "duration",
+ "any"
+})
+@XmlRootElement(name = "TimeEstimation")
+public class XPDLTimeEstimation {
+
+ @XmlElement(name = "WaitingTime")
+ protected XPDLWaitingTime waitingTime;
+ @XmlElement(name = "WorkingTime")
+ protected XPDLWorkingTime workingTime;
+ @XmlElement(name = "Duration")
+ protected XPDLDuration duration;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the waitingTime property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLWaitingTime }
+ *
+ */
+ public XPDLWaitingTime getWaitingTime() {
+ return waitingTime;
+ }
+
+ /**
+ * Sets the value of the waitingTime property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLWaitingTime }
+ *
+ */
+ public void setWaitingTime(XPDLWaitingTime value) {
+ this.waitingTime = value;
+ }
+
+ /**
+ * Gets the value of the workingTime property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLWorkingTime }
+ *
+ */
+ public XPDLWorkingTime getWorkingTime() {
+ return workingTime;
+ }
+
+ /**
+ * Sets the value of the workingTime property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLWorkingTime }
+ *
+ */
+ public void setWorkingTime(XPDLWorkingTime value) {
+ this.workingTime = value;
+ }
+
+ /**
+ * Gets the value of the duration property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLDuration }
+ *
+ */
+ public XPDLDuration getDuration() {
+ return duration;
+ }
+
+ /**
+ * Sets the value of the duration property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLDuration }
+ *
+ */
+ public void setDuration(XPDLDuration value) {
+ this.duration = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTimeEstimation.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTransaction.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTransaction.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTransaction.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,197 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="TransactionId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="TransactionProtocol" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="TransactionMethod" use="required">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="Compensate"/>
+ * <enumeration value="Store"/>
+ * <enumeration value="Image"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "any"
+})
+@XmlRootElement(name = "Transaction")
+public class XPDLTransaction {
+
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "TransactionId", required = true)
+ protected String transactionId;
+ @XmlAttribute(name = "TransactionProtocol", required = true)
+ protected String transactionProtocol;
+ @XmlAttribute(name = "TransactionMethod", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String transactionMethod;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the transactionId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTransactionId() {
+ return transactionId;
+ }
+
+ /**
+ * Sets the value of the transactionId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTransactionId(String value) {
+ this.transactionId = value;
+ }
+
+ /**
+ * Gets the value of the transactionProtocol property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTransactionProtocol() {
+ return transactionProtocol;
+ }
+
+ /**
+ * Sets the value of the transactionProtocol property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTransactionProtocol(String value) {
+ this.transactionProtocol = value;
+ }
+
+ /**
+ * Gets the value of the transactionMethod property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTransactionMethod() {
+ return transactionMethod;
+ }
+
+ /**
+ * Sets the value of the transactionMethod property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTransactionMethod(String value) {
+ this.transactionMethod = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTransaction.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTransition.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTransition.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTransition.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,418 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Condition" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Description" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}ExtendedAttributes" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Assignments" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Object" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}ConnectorGraphicsInfos" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * <attribute name="Id" use="required" type="{http://www.wfmc.org/2008/XPDL2.1}Id" />
+ * <attribute name="From" use="required" type="{http://www.wfmc.org/2008/XPDL2.1}IdRef" />
+ * <attribute name="To" use="required" type="{http://www.wfmc.org/2008/XPDL2.1}IdRef" />
+ * <attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="Quantity" type="{http://www.w3.org/2001/XMLSchema}int" default="1" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "condition",
+ "description",
+ "extendedAttributes",
+ "assignments",
+ "object",
+ "connectorGraphicsInfos",
+ "any"
+})
+@XmlRootElement(name = "Transition")
+public class XPDLTransition {
+
+ @XmlElement(name = "Condition")
+ protected XPDLCondition condition;
+ @XmlElement(name = "Description")
+ protected XPDLDescription description;
+ @XmlElement(name = "ExtendedAttributes")
+ protected XPDLExtendedAttributes extendedAttributes;
+ @XmlElement(name = "Assignments")
+ protected XPDLAssignments assignments;
+ @XmlElement(name = "Object")
+ protected XPDLObject object;
+ @XmlElement(name = "ConnectorGraphicsInfos")
+ protected XPDLConnectorGraphicsInfos connectorGraphicsInfos;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Id", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String id;
+ @XmlAttribute(name = "From", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String from;
+ @XmlAttribute(name = "To", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String to;
+ @XmlAttribute(name = "Name")
+ protected String name;
+ @XmlAttribute(name = "Quantity")
+ protected Integer quantity;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the condition property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLCondition }
+ *
+ */
+ public XPDLCondition getCondition() {
+ return condition;
+ }
+
+ /**
+ * Sets the value of the condition property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLCondition }
+ *
+ */
+ public void setCondition(XPDLCondition value) {
+ this.condition = value;
+ }
+
+ /**
+ * Gets the value of the description property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLDescription }
+ *
+ */
+ public XPDLDescription getDescription() {
+ return description;
+ }
+
+ /**
+ * Sets the value of the description property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLDescription }
+ *
+ */
+ public void setDescription(XPDLDescription value) {
+ this.description = value;
+ }
+
+ /**
+ * Gets the value of the extendedAttributes property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLExtendedAttributes }
+ *
+ */
+ public XPDLExtendedAttributes getExtendedAttributes() {
+ return extendedAttributes;
+ }
+
+ /**
+ * Sets the value of the extendedAttributes property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLExtendedAttributes }
+ *
+ */
+ public void setExtendedAttributes(XPDLExtendedAttributes value) {
+ this.extendedAttributes = value;
+ }
+
+ /**
+ * Gets the value of the assignments property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLAssignments }
+ *
+ */
+ public XPDLAssignments getAssignments() {
+ return assignments;
+ }
+
+ /**
+ * Sets the value of the assignments property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLAssignments }
+ *
+ */
+ public void setAssignments(XPDLAssignments value) {
+ this.assignments = value;
+ }
+
+ /**
+ * Gets the value of the object property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLObject }
+ *
+ */
+ public XPDLObject getObject() {
+ return object;
+ }
+
+ /**
+ * Sets the value of the object property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLObject }
+ *
+ */
+ public void setObject(XPDLObject value) {
+ this.object = value;
+ }
+
+ /**
+ * Gets the value of the connectorGraphicsInfos property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLConnectorGraphicsInfos }
+ *
+ */
+ public XPDLConnectorGraphicsInfos getConnectorGraphicsInfos() {
+ return connectorGraphicsInfos;
+ }
+
+ /**
+ * Sets the value of the connectorGraphicsInfos property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLConnectorGraphicsInfos }
+ *
+ */
+ public void setConnectorGraphicsInfos(XPDLConnectorGraphicsInfos value) {
+ this.connectorGraphicsInfos = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the from property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getFrom() {
+ return from;
+ }
+
+ /**
+ * Sets the value of the from property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setFrom(String value) {
+ this.from = value;
+ }
+
+ /**
+ * Gets the value of the to property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTo() {
+ return to;
+ }
+
+ /**
+ * Sets the value of the to property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTo(String value) {
+ this.to = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the quantity property.
+ *
+ * @return
+ * possible object is
+ * {@link Integer }
+ *
+ */
+ public int getQuantity() {
+ if (quantity == null) {
+ return 1;
+ } else {
+ return quantity;
+ }
+ }
+
+ /**
+ * Sets the value of the quantity property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ *
+ */
+ public void setQuantity(Integer value) {
+ this.quantity = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTransition.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTransitionRef.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTransitionRef.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTransitionRef.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,162 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="Id" use="required" type="{http://www.wfmc.org/2008/XPDL2.1}IdRef" />
+ * <attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "any"
+})
+@XmlRootElement(name = "TransitionRef")
+public class XPDLTransitionRef {
+
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Id", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String id;
+ @XmlAttribute(name = "Name")
+ protected String name;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTransitionRef.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTransitionRefs.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTransitionRefs.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTransitionRefs.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,138 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TransitionRef" maxOccurs="unbounded" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "transitionRef",
+ "any"
+})
+@XmlRootElement(name = "TransitionRefs")
+public class XPDLTransitionRefs {
+
+ @XmlElement(name = "TransitionRef")
+ protected List<XPDLTransitionRef> transitionRef;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the transitionRef property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the transitionRef property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getTransitionRef().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLTransitionRef }
+ *
+ *
+ */
+ public List<XPDLTransitionRef> getTransitionRef() {
+ if (transitionRef == null) {
+ transitionRef = new ArrayList<XPDLTransitionRef>();
+ }
+ return this.transitionRef;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTransitionRefs.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTransitionRestriction.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTransitionRestriction.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTransitionRestriction.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,161 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Join" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Split" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "join",
+ "split",
+ "any"
+})
+@XmlRootElement(name = "TransitionRestriction")
+public class XPDLTransitionRestriction {
+
+ @XmlElement(name = "Join")
+ protected XPDLJoin join;
+ @XmlElement(name = "Split")
+ protected XPDLSplit split;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the join property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLJoin }
+ *
+ */
+ public XPDLJoin getJoin() {
+ return join;
+ }
+
+ /**
+ * Sets the value of the join property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLJoin }
+ *
+ */
+ public void setJoin(XPDLJoin value) {
+ this.join = value;
+ }
+
+ /**
+ * Gets the value of the split property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLSplit }
+ *
+ */
+ public XPDLSplit getSplit() {
+ return split;
+ }
+
+ /**
+ * Sets the value of the split property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLSplit }
+ *
+ */
+ public void setSplit(XPDLSplit value) {
+ this.split = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTransitionRestriction.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTransitionRestrictions.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTransitionRestrictions.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTransitionRestrictions.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,138 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TransitionRestriction" maxOccurs="unbounded" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "transitionRestriction",
+ "any"
+})
+@XmlRootElement(name = "TransitionRestrictions")
+public class XPDLTransitionRestrictions {
+
+ @XmlElement(name = "TransitionRestriction")
+ protected List<XPDLTransitionRestriction> transitionRestriction;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the transitionRestriction property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the transitionRestriction property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getTransitionRestriction().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLTransitionRestriction }
+ *
+ *
+ */
+ public List<XPDLTransitionRestriction> getTransitionRestriction() {
+ if (transitionRestriction == null) {
+ transitionRestriction = new ArrayList<XPDLTransitionRestriction>();
+ }
+ return this.transitionRestriction;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTransitionRestrictions.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTransitions.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTransitions.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTransitions.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,138 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Transition" maxOccurs="unbounded" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "transition",
+ "any"
+})
+@XmlRootElement(name = "Transitions")
+public class XPDLTransitions {
+
+ @XmlElement(name = "Transition")
+ protected List<XPDLTransition> transition;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the transition property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the transition property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getTransition().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLTransition }
+ *
+ *
+ */
+ public List<XPDLTransition> getTransition() {
+ if (transition == null) {
+ transition = new ArrayList<XPDLTransition>();
+ }
+ return this.transition;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTransitions.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTriggerConditional.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTriggerConditional.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTriggerConditional.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,161 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="Expression" type="{http://www.wfmc.org/2008/XPDL2.1}ExpressionType" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * <attribute name="ConditionName" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "expression",
+ "any"
+})
+@XmlRootElement(name = "TriggerConditional")
+public class XPDLTriggerConditional {
+
+ @XmlElement(name = "Expression")
+ protected ExpressionType expression;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "ConditionName")
+ protected String conditionName;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the expression property.
+ *
+ * @return
+ * possible object is
+ * {@link ExpressionType }
+ *
+ */
+ public ExpressionType getExpression() {
+ return expression;
+ }
+
+ /**
+ * Sets the value of the expression property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ExpressionType }
+ *
+ */
+ public void setExpression(ExpressionType value) {
+ this.expression = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the conditionName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getConditionName() {
+ return conditionName;
+ }
+
+ /**
+ * Sets the value of the conditionName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setConditionName(String value) {
+ this.conditionName = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTriggerConditional.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTriggerIntermediateMultiple.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTriggerIntermediateMultiple.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTriggerIntermediateMultiple.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,273 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TriggerResultMessage" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TriggerTimer" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}ResultError" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TriggerResultCompensation" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TriggerConditional" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TriggerResultLink" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "triggerResultMessage",
+ "triggerTimer",
+ "resultError",
+ "triggerResultCompensation",
+ "triggerConditional",
+ "triggerResultLink",
+ "any"
+})
+@XmlRootElement(name = "TriggerIntermediateMultiple")
+public class XPDLTriggerIntermediateMultiple {
+
+ @XmlElement(name = "TriggerResultMessage")
+ protected XPDLTriggerResultMessage triggerResultMessage;
+ @XmlElement(name = "TriggerTimer")
+ protected XPDLTriggerTimer triggerTimer;
+ @XmlElement(name = "ResultError")
+ protected XPDLResultError resultError;
+ @XmlElement(name = "TriggerResultCompensation")
+ protected XPDLTriggerResultCompensation triggerResultCompensation;
+ @XmlElement(name = "TriggerConditional")
+ protected XPDLTriggerConditional triggerConditional;
+ @XmlElement(name = "TriggerResultLink")
+ protected XPDLTriggerResultLink triggerResultLink;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the triggerResultMessage property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTriggerResultMessage }
+ *
+ */
+ public XPDLTriggerResultMessage getTriggerResultMessage() {
+ return triggerResultMessage;
+ }
+
+ /**
+ * Sets the value of the triggerResultMessage property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTriggerResultMessage }
+ *
+ */
+ public void setTriggerResultMessage(XPDLTriggerResultMessage value) {
+ this.triggerResultMessage = value;
+ }
+
+ /**
+ * Gets the value of the triggerTimer property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTriggerTimer }
+ *
+ */
+ public XPDLTriggerTimer getTriggerTimer() {
+ return triggerTimer;
+ }
+
+ /**
+ * Sets the value of the triggerTimer property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTriggerTimer }
+ *
+ */
+ public void setTriggerTimer(XPDLTriggerTimer value) {
+ this.triggerTimer = value;
+ }
+
+ /**
+ * Gets the value of the resultError property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLResultError }
+ *
+ */
+ public XPDLResultError getResultError() {
+ return resultError;
+ }
+
+ /**
+ * Sets the value of the resultError property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLResultError }
+ *
+ */
+ public void setResultError(XPDLResultError value) {
+ this.resultError = value;
+ }
+
+ /**
+ * Gets the value of the triggerResultCompensation property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTriggerResultCompensation }
+ *
+ */
+ public XPDLTriggerResultCompensation getTriggerResultCompensation() {
+ return triggerResultCompensation;
+ }
+
+ /**
+ * Sets the value of the triggerResultCompensation property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTriggerResultCompensation }
+ *
+ */
+ public void setTriggerResultCompensation(XPDLTriggerResultCompensation value) {
+ this.triggerResultCompensation = value;
+ }
+
+ /**
+ * Gets the value of the triggerConditional property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTriggerConditional }
+ *
+ */
+ public XPDLTriggerConditional getTriggerConditional() {
+ return triggerConditional;
+ }
+
+ /**
+ * Sets the value of the triggerConditional property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTriggerConditional }
+ *
+ */
+ public void setTriggerConditional(XPDLTriggerConditional value) {
+ this.triggerConditional = value;
+ }
+
+ /**
+ * Gets the value of the triggerResultLink property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTriggerResultLink }
+ *
+ */
+ public XPDLTriggerResultLink getTriggerResultLink() {
+ return triggerResultLink;
+ }
+
+ /**
+ * Sets the value of the triggerResultLink property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTriggerResultLink }
+ *
+ */
+ public void setTriggerResultLink(XPDLTriggerResultLink value) {
+ this.triggerResultLink = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTriggerIntermediateMultiple.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTriggerMultiple.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTriggerMultiple.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTriggerMultiple.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,217 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TriggerResultMessage" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TriggerTimer" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TriggerConditional" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TriggerResultLink" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "triggerResultMessage",
+ "triggerTimer",
+ "triggerConditional",
+ "triggerResultLink",
+ "any"
+})
+@XmlRootElement(name = "TriggerMultiple")
+public class XPDLTriggerMultiple {
+
+ @XmlElement(name = "TriggerResultMessage")
+ protected XPDLTriggerResultMessage triggerResultMessage;
+ @XmlElement(name = "TriggerTimer")
+ protected XPDLTriggerTimer triggerTimer;
+ @XmlElement(name = "TriggerConditional")
+ protected XPDLTriggerConditional triggerConditional;
+ @XmlElement(name = "TriggerResultLink")
+ protected XPDLTriggerResultLink triggerResultLink;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the triggerResultMessage property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTriggerResultMessage }
+ *
+ */
+ public XPDLTriggerResultMessage getTriggerResultMessage() {
+ return triggerResultMessage;
+ }
+
+ /**
+ * Sets the value of the triggerResultMessage property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTriggerResultMessage }
+ *
+ */
+ public void setTriggerResultMessage(XPDLTriggerResultMessage value) {
+ this.triggerResultMessage = value;
+ }
+
+ /**
+ * Gets the value of the triggerTimer property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTriggerTimer }
+ *
+ */
+ public XPDLTriggerTimer getTriggerTimer() {
+ return triggerTimer;
+ }
+
+ /**
+ * Sets the value of the triggerTimer property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTriggerTimer }
+ *
+ */
+ public void setTriggerTimer(XPDLTriggerTimer value) {
+ this.triggerTimer = value;
+ }
+
+ /**
+ * Gets the value of the triggerConditional property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTriggerConditional }
+ *
+ */
+ public XPDLTriggerConditional getTriggerConditional() {
+ return triggerConditional;
+ }
+
+ /**
+ * Sets the value of the triggerConditional property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTriggerConditional }
+ *
+ */
+ public void setTriggerConditional(XPDLTriggerConditional value) {
+ this.triggerConditional = value;
+ }
+
+ /**
+ * Gets the value of the triggerResultLink property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTriggerResultLink }
+ *
+ */
+ public XPDLTriggerResultLink getTriggerResultLink() {
+ return triggerResultLink;
+ }
+
+ /**
+ * Sets the value of the triggerResultLink property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTriggerResultLink }
+ *
+ */
+ public void setTriggerResultLink(XPDLTriggerResultLink value) {
+ this.triggerResultLink = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTriggerMultiple.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTriggerResultCompensation.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTriggerResultCompensation.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTriggerResultCompensation.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,137 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="ActivityId" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "any"
+})
+@XmlRootElement(name = "TriggerResultCompensation")
+public class XPDLTriggerResultCompensation {
+
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "ActivityId")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String activityId;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the activityId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getActivityId() {
+ return activityId;
+ }
+
+ /**
+ * Sets the value of the activityId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setActivityId(String value) {
+ this.activityId = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTriggerResultCompensation.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTriggerResultLink.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTriggerResultLink.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTriggerResultLink.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,176 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="CatchThrow" default="CATCH">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="CATCH"/>
+ * <enumeration value="THROW"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * <attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "any"
+})
+@XmlRootElement(name = "TriggerResultLink")
+public class XPDLTriggerResultLink {
+
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "CatchThrow")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String catchThrow;
+ @XmlAttribute(name = "Name")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String name;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the catchThrow property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getCatchThrow() {
+ if (catchThrow == null) {
+ return "CATCH";
+ } else {
+ return catchThrow;
+ }
+ }
+
+ /**
+ * Sets the value of the catchThrow property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setCatchThrow(String value) {
+ this.catchThrow = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTriggerResultLink.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTriggerResultMessage.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTriggerResultMessage.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTriggerResultMessage.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,203 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="Message" type="{http://www.wfmc.org/2008/XPDL2.1}MessageType" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}WebServiceOperation" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * <attribute name="CatchThrow" default="CATCH">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="CATCH"/>
+ * <enumeration value="THROW"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "message",
+ "webServiceOperation",
+ "any"
+})
+@XmlRootElement(name = "TriggerResultMessage")
+public class XPDLTriggerResultMessage {
+
+ @XmlElement(name = "Message")
+ protected MessageType message;
+ @XmlElement(name = "WebServiceOperation")
+ protected XPDLWebServiceOperation webServiceOperation;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "CatchThrow")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String catchThrow;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the message property.
+ *
+ * @return
+ * possible object is
+ * {@link MessageType }
+ *
+ */
+ public MessageType getMessage() {
+ return message;
+ }
+
+ /**
+ * Sets the value of the message property.
+ *
+ * @param value
+ * allowed object is
+ * {@link MessageType }
+ *
+ */
+ public void setMessage(MessageType value) {
+ this.message = value;
+ }
+
+ /**
+ * Gets the value of the webServiceOperation property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLWebServiceOperation }
+ *
+ */
+ public XPDLWebServiceOperation getWebServiceOperation() {
+ return webServiceOperation;
+ }
+
+ /**
+ * Sets the value of the webServiceOperation property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLWebServiceOperation }
+ *
+ */
+ public void setWebServiceOperation(XPDLWebServiceOperation value) {
+ this.webServiceOperation = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the catchThrow property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getCatchThrow() {
+ if (catchThrow == null) {
+ return "CATCH";
+ } else {
+ return catchThrow;
+ }
+ }
+
+ /**
+ * Sets the value of the catchThrow property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setCatchThrow(String value) {
+ this.catchThrow = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTriggerResultMessage.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTriggerResultSignal.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTriggerResultSignal.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTriggerResultSignal.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,207 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="Properties" type="{http://www.wfmc.org/2008/XPDL2.1}ExpressionType" maxOccurs="unbounded"/>
+ * <any/>
+ * </sequence>
+ * <attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="CatchThrow" default="CATCH">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="CATCH"/>
+ * <enumeration value="THROW"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "properties",
+ "any"
+})
+@XmlRootElement(name = "TriggerResultSignal")
+public class XPDLTriggerResultSignal {
+
+ @XmlElement(name = "Properties", required = true)
+ protected List<ExpressionType> properties;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Name")
+ protected String name;
+ @XmlAttribute(name = "CatchThrow")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String catchThrow;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the properties property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the properties property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getProperties().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ExpressionType }
+ *
+ *
+ */
+ public List<ExpressionType> getProperties() {
+ if (properties == null) {
+ properties = new ArrayList<ExpressionType>();
+ }
+ return this.properties;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the catchThrow property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getCatchThrow() {
+ if (catchThrow == null) {
+ return "CATCH";
+ } else {
+ return catchThrow;
+ }
+ }
+
+ /**
+ * Sets the value of the catchThrow property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setCatchThrow(String value) {
+ this.catchThrow = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTriggerResultSignal.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTriggerTimer.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTriggerTimer.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTriggerTimer.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,163 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <choice>
+ * <element name="TimeDate" type="{http://www.wfmc.org/2008/XPDL2.1}ExpressionType"/>
+ * <element name="TimeCycle" type="{http://www.wfmc.org/2008/XPDL2.1}ExpressionType"/>
+ * </choice>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "timeDate",
+ "timeCycle",
+ "any"
+})
+@XmlRootElement(name = "TriggerTimer")
+public class XPDLTriggerTimer {
+
+ @XmlElement(name = "TimeDate")
+ protected ExpressionType timeDate;
+ @XmlElement(name = "TimeCycle")
+ protected ExpressionType timeCycle;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the timeDate property.
+ *
+ * @return
+ * possible object is
+ * {@link ExpressionType }
+ *
+ */
+ public ExpressionType getTimeDate() {
+ return timeDate;
+ }
+
+ /**
+ * Sets the value of the timeDate property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ExpressionType }
+ *
+ */
+ public void setTimeDate(ExpressionType value) {
+ this.timeDate = value;
+ }
+
+ /**
+ * Gets the value of the timeCycle property.
+ *
+ * @return
+ * possible object is
+ * {@link ExpressionType }
+ *
+ */
+ public ExpressionType getTimeCycle() {
+ return timeCycle;
+ }
+
+ /**
+ * Sets the value of the timeCycle property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ExpressionType }
+ *
+ */
+ public void setTimeCycle(ExpressionType value) {
+ this.timeCycle = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTriggerTimer.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTypeDeclaration.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTypeDeclaration.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTypeDeclaration.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,467 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlID;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <group ref="{http://www.wfmc.org/2008/XPDL2.1}DataTypes"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Description" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}ExtendedAttributes" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * <attribute name="Id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ * <attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "basicType",
+ "declaredType",
+ "schemaType",
+ "externalReference",
+ "recordType",
+ "unionType",
+ "enumerationType",
+ "arrayType",
+ "listType",
+ "description",
+ "extendedAttributes",
+ "any"
+})
+@XmlRootElement(name = "TypeDeclaration")
+public class XPDLTypeDeclaration {
+
+ @XmlElement(name = "BasicType")
+ protected XPDLBasicType basicType;
+ @XmlElement(name = "DeclaredType")
+ protected XPDLDeclaredType declaredType;
+ @XmlElement(name = "SchemaType")
+ protected XPDLSchemaType schemaType;
+ @XmlElement(name = "ExternalReference")
+ protected XPDLExternalReference externalReference;
+ @XmlElement(name = "RecordType")
+ protected XPDLRecordType recordType;
+ @XmlElement(name = "UnionType")
+ protected XPDLUnionType unionType;
+ @XmlElement(name = "EnumerationType")
+ protected XPDLEnumerationType enumerationType;
+ @XmlElement(name = "ArrayType")
+ protected XPDLArrayType arrayType;
+ @XmlElement(name = "ListType")
+ protected XPDLListType listType;
+ @XmlElement(name = "Description")
+ protected XPDLDescription description;
+ @XmlElement(name = "ExtendedAttributes")
+ protected XPDLExtendedAttributes extendedAttributes;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Id", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlID
+ @XmlSchemaType(name = "ID")
+ protected String id;
+ @XmlAttribute(name = "Name")
+ protected String name;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the basicType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLBasicType }
+ *
+ */
+ public XPDLBasicType getBasicType() {
+ return basicType;
+ }
+
+ /**
+ * Sets the value of the basicType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLBasicType }
+ *
+ */
+ public void setBasicType(XPDLBasicType value) {
+ this.basicType = value;
+ }
+
+ /**
+ * Gets the value of the declaredType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLDeclaredType }
+ *
+ */
+ public XPDLDeclaredType getDeclaredType() {
+ return declaredType;
+ }
+
+ /**
+ * Sets the value of the declaredType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLDeclaredType }
+ *
+ */
+ public void setDeclaredType(XPDLDeclaredType value) {
+ this.declaredType = value;
+ }
+
+ /**
+ * Gets the value of the schemaType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLSchemaType }
+ *
+ */
+ public XPDLSchemaType getSchemaType() {
+ return schemaType;
+ }
+
+ /**
+ * Sets the value of the schemaType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLSchemaType }
+ *
+ */
+ public void setSchemaType(XPDLSchemaType value) {
+ this.schemaType = value;
+ }
+
+ /**
+ * Gets the value of the externalReference property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLExternalReference }
+ *
+ */
+ public XPDLExternalReference getExternalReference() {
+ return externalReference;
+ }
+
+ /**
+ * Sets the value of the externalReference property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLExternalReference }
+ *
+ */
+ public void setExternalReference(XPDLExternalReference value) {
+ this.externalReference = value;
+ }
+
+ /**
+ * Gets the value of the recordType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLRecordType }
+ *
+ */
+ public XPDLRecordType getRecordType() {
+ return recordType;
+ }
+
+ /**
+ * Sets the value of the recordType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLRecordType }
+ *
+ */
+ public void setRecordType(XPDLRecordType value) {
+ this.recordType = value;
+ }
+
+ /**
+ * Gets the value of the unionType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLUnionType }
+ *
+ */
+ public XPDLUnionType getUnionType() {
+ return unionType;
+ }
+
+ /**
+ * Sets the value of the unionType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLUnionType }
+ *
+ */
+ public void setUnionType(XPDLUnionType value) {
+ this.unionType = value;
+ }
+
+ /**
+ * Gets the value of the enumerationType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLEnumerationType }
+ *
+ */
+ public XPDLEnumerationType getEnumerationType() {
+ return enumerationType;
+ }
+
+ /**
+ * Sets the value of the enumerationType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLEnumerationType }
+ *
+ */
+ public void setEnumerationType(XPDLEnumerationType value) {
+ this.enumerationType = value;
+ }
+
+ /**
+ * Gets the value of the arrayType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLArrayType }
+ *
+ */
+ public XPDLArrayType getArrayType() {
+ return arrayType;
+ }
+
+ /**
+ * Sets the value of the arrayType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLArrayType }
+ *
+ */
+ public void setArrayType(XPDLArrayType value) {
+ this.arrayType = value;
+ }
+
+ /**
+ * Gets the value of the listType property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLListType }
+ *
+ */
+ public XPDLListType getListType() {
+ return listType;
+ }
+
+ /**
+ * Sets the value of the listType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLListType }
+ *
+ */
+ public void setListType(XPDLListType value) {
+ this.listType = value;
+ }
+
+ /**
+ * Gets the value of the description property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLDescription }
+ *
+ */
+ public XPDLDescription getDescription() {
+ return description;
+ }
+
+ /**
+ * Sets the value of the description property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLDescription }
+ *
+ */
+ public void setDescription(XPDLDescription value) {
+ this.description = value;
+ }
+
+ /**
+ * Gets the value of the extendedAttributes property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLExtendedAttributes }
+ *
+ */
+ public XPDLExtendedAttributes getExtendedAttributes() {
+ return extendedAttributes;
+ }
+
+ /**
+ * Sets the value of the extendedAttributes property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLExtendedAttributes }
+ *
+ */
+ public void setExtendedAttributes(XPDLExtendedAttributes value) {
+ this.extendedAttributes = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTypeDeclaration.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTypeDeclarations.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTypeDeclarations.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTypeDeclarations.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,138 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TypeDeclaration" maxOccurs="unbounded" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "typeDeclaration",
+ "any"
+})
+@XmlRootElement(name = "TypeDeclarations")
+public class XPDLTypeDeclarations {
+
+ @XmlElement(name = "TypeDeclaration")
+ protected List<XPDLTypeDeclaration> typeDeclaration;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the typeDeclaration property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the typeDeclaration property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getTypeDeclaration().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLTypeDeclaration }
+ *
+ *
+ */
+ public List<XPDLTypeDeclaration> getTypeDeclaration() {
+ if (typeDeclaration == null) {
+ typeDeclaration = new ArrayList<XPDLTypeDeclaration>();
+ }
+ return this.typeDeclaration;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLTypeDeclarations.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLUnionType.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLUnionType.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLUnionType.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,138 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Member" maxOccurs="unbounded"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "member",
+ "any"
+})
+@XmlRootElement(name = "UnionType")
+public class XPDLUnionType {
+
+ @XmlElement(name = "Member", required = true)
+ protected List<XPDLMember> member;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the member property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the member property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getMember().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLMember }
+ *
+ *
+ */
+ public List<XPDLMember> getMember() {
+ if (member == null) {
+ member = new ArrayList<XPDLMember>();
+ }
+ return this.member;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLUnionType.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLValidFrom.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLValidFrom.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLValidFrom.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,92 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "value"
+})
+@XmlRootElement(name = "ValidFrom")
+public class XPDLValidFrom {
+
+ @XmlValue
+ protected String value;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLValidFrom.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLValidTo.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLValidTo.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLValidTo.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,92 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "value"
+})
+@XmlRootElement(name = "ValidTo")
+public class XPDLValidTo {
+
+ @XmlValue
+ protected String value;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLValidTo.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLVendor.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLVendor.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLVendor.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,92 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "value"
+})
+@XmlRootElement(name = "Vendor")
+public class XPDLVendor {
+
+ @XmlValue
+ protected String value;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLVendor.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLVendorExtension.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLVendorExtension.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLVendorExtension.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,189 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="ToolId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="schemaLocation" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <attribute name="extensionDescription" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "any"
+})
+@XmlRootElement(name = "VendorExtension")
+public class XPDLVendorExtension {
+
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "ToolId", required = true)
+ protected String toolId;
+ @XmlAttribute(required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String schemaLocation;
+ @XmlAttribute
+ @XmlSchemaType(name = "anyURI")
+ protected String extensionDescription;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the toolId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getToolId() {
+ return toolId;
+ }
+
+ /**
+ * Sets the value of the toolId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setToolId(String value) {
+ this.toolId = value;
+ }
+
+ /**
+ * Gets the value of the schemaLocation property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSchemaLocation() {
+ return schemaLocation;
+ }
+
+ /**
+ * Sets the value of the schemaLocation property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSchemaLocation(String value) {
+ this.schemaLocation = value;
+ }
+
+ /**
+ * Gets the value of the extensionDescription property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getExtensionDescription() {
+ return extensionDescription;
+ }
+
+ /**
+ * Sets the value of the extensionDescription property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setExtensionDescription(String value) {
+ this.extensionDescription = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLVendorExtension.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLVendorExtensions.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLVendorExtensions.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLVendorExtensions.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,138 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}VendorExtension" maxOccurs="unbounded" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "vendorExtension",
+ "any"
+})
+@XmlRootElement(name = "VendorExtensions")
+public class XPDLVendorExtensions {
+
+ @XmlElement(name = "VendorExtension")
+ protected List<XPDLVendorExtension> vendorExtension;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the vendorExtension property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the vendorExtension property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getVendorExtension().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLVendorExtension }
+ *
+ *
+ */
+ public List<XPDLVendorExtension> getVendorExtension() {
+ if (vendorExtension == null) {
+ vendorExtension = new ArrayList<XPDLVendorExtension>();
+ }
+ return this.vendorExtension;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLVendorExtensions.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLVersion.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLVersion.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLVersion.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,92 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "value"
+})
+@XmlRootElement(name = "Version")
+public class XPDLVersion {
+
+ @XmlValue
+ protected String value;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLVersion.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLWaitingTime.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLWaitingTime.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLWaitingTime.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,92 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "value"
+})
+@XmlRootElement(name = "WaitingTime")
+public class XPDLWaitingTime {
+
+ @XmlValue
+ protected String value;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLWaitingTime.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLWebServiceFaultCatch.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLWebServiceFaultCatch.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLWebServiceFaultCatch.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,224 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="Message" type="{http://www.wfmc.org/2008/XPDL2.1}MessageType" minOccurs="0"/>
+ * <choice>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}BlockActivity"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}TransitionRef"/>
+ * </choice>
+ * <any/>
+ * </sequence>
+ * <attribute name="FaultName" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "message",
+ "blockActivity",
+ "transitionRef",
+ "any"
+})
+@XmlRootElement(name = "WebServiceFaultCatch")
+public class XPDLWebServiceFaultCatch {
+
+ @XmlElement(name = "Message")
+ protected MessageType message;
+ @XmlElement(name = "BlockActivity")
+ protected XPDLBlockActivity blockActivity;
+ @XmlElement(name = "TransitionRef")
+ protected XPDLTransitionRef transitionRef;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "FaultName")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String faultName;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the message property.
+ *
+ * @return
+ * possible object is
+ * {@link MessageType }
+ *
+ */
+ public MessageType getMessage() {
+ return message;
+ }
+
+ /**
+ * Sets the value of the message property.
+ *
+ * @param value
+ * allowed object is
+ * {@link MessageType }
+ *
+ */
+ public void setMessage(MessageType value) {
+ this.message = value;
+ }
+
+ /**
+ * Gets the value of the blockActivity property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLBlockActivity }
+ *
+ */
+ public XPDLBlockActivity getBlockActivity() {
+ return blockActivity;
+ }
+
+ /**
+ * Sets the value of the blockActivity property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLBlockActivity }
+ *
+ */
+ public void setBlockActivity(XPDLBlockActivity value) {
+ this.blockActivity = value;
+ }
+
+ /**
+ * Gets the value of the transitionRef property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTransitionRef }
+ *
+ */
+ public XPDLTransitionRef getTransitionRef() {
+ return transitionRef;
+ }
+
+ /**
+ * Sets the value of the transitionRef property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTransitionRef }
+ *
+ */
+ public void setTransitionRef(XPDLTransitionRef value) {
+ this.transitionRef = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the faultName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getFaultName() {
+ return faultName;
+ }
+
+ /**
+ * Sets the value of the faultName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setFaultName(String value) {
+ this.faultName = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLWebServiceFaultCatch.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLWebServiceOperation.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLWebServiceOperation.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLWebServiceOperation.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,534 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <choice>
+ * <element name="Partner">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="PartnerLinkId" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * <attribute name="RoleType" use="required">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="MyRole"/>
+ * <enumeration value="PartnerRole"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="Service">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}EndPoint"/>
+ * <any/>
+ * </sequence>
+ * <attribute name="ServiceName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="PortName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * </choice>
+ * <any/>
+ * </sequence>
+ * <attribute name="OperationName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "partner",
+ "service",
+ "any"
+})
+@XmlRootElement(name = "WebServiceOperation")
+public class XPDLWebServiceOperation {
+
+ @XmlElement(name = "Partner")
+ protected XPDLWebServiceOperation.Partner partner;
+ @XmlElement(name = "Service")
+ protected XPDLWebServiceOperation.Service service;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "OperationName", required = true)
+ protected String operationName;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the partner property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLWebServiceOperation.Partner }
+ *
+ */
+ public XPDLWebServiceOperation.Partner getPartner() {
+ return partner;
+ }
+
+ /**
+ * Sets the value of the partner property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLWebServiceOperation.Partner }
+ *
+ */
+ public void setPartner(XPDLWebServiceOperation.Partner value) {
+ this.partner = value;
+ }
+
+ /**
+ * Gets the value of the service property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLWebServiceOperation.Service }
+ *
+ */
+ public XPDLWebServiceOperation.Service getService() {
+ return service;
+ }
+
+ /**
+ * Sets the value of the service property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLWebServiceOperation.Service }
+ *
+ */
+ public void setService(XPDLWebServiceOperation.Service value) {
+ this.service = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the operationName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getOperationName() {
+ return operationName;
+ }
+
+ /**
+ * Sets the value of the operationName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setOperationName(String value) {
+ this.operationName = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="PartnerLinkId" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
+ * <attribute name="RoleType" use="required">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="MyRole"/>
+ * <enumeration value="PartnerRole"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "any"
+ })
+ public static class Partner {
+
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "PartnerLinkId", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NMTOKEN")
+ protected String partnerLinkId;
+ @XmlAttribute(name = "RoleType", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String roleType;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the partnerLinkId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPartnerLinkId() {
+ return partnerLinkId;
+ }
+
+ /**
+ * Sets the value of the partnerLinkId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPartnerLinkId(String value) {
+ this.partnerLinkId = value;
+ }
+
+ /**
+ * Gets the value of the roleType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRoleType() {
+ return roleType;
+ }
+
+ /**
+ * Sets the value of the roleType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRoleType(String value) {
+ this.roleType = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}EndPoint"/>
+ * <any/>
+ * </sequence>
+ * <attribute name="ServiceName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="PortName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "endPoint",
+ "any"
+ })
+ public static class Service {
+
+ @XmlElement(name = "EndPoint", required = true)
+ protected XPDLEndPoint endPoint;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "ServiceName", required = true)
+ protected String serviceName;
+ @XmlAttribute(name = "PortName", required = true)
+ protected String portName;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the endPoint property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLEndPoint }
+ *
+ */
+ public XPDLEndPoint getEndPoint() {
+ return endPoint;
+ }
+
+ /**
+ * Sets the value of the endPoint property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLEndPoint }
+ *
+ */
+ public void setEndPoint(XPDLEndPoint value) {
+ this.endPoint = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the serviceName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getServiceName() {
+ return serviceName;
+ }
+
+ /**
+ * Sets the value of the serviceName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setServiceName(String value) {
+ this.serviceName = value;
+ }
+
+ /**
+ * Gets the value of the portName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPortName() {
+ return portName;
+ }
+
+ /**
+ * Sets the value of the portName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPortName(String value) {
+ this.portName = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLWebServiceOperation.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLWorkflowProcess.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLWorkflowProcess.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLWorkflowProcess.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,957 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for ProcessType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="ProcessType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}ProcessHeader"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}RedefinableHeader" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}FormalParameters" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}InputSets" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}OutputSets" minOccurs="0"/>
+ * <choice minOccurs="0">
+ * <sequence minOccurs="0">
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Participants" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Applications" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}DataFields" minOccurs="0"/>
+ * </sequence>
+ * </choice>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}ActivitySets" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Activities" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Transitions" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}ExtendedAttributes" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Assignments" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}PartnerLinks" minOccurs="0"/>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}Object" minOccurs="0"/>
+ * <choice minOccurs="0">
+ * <sequence>
+ * <element name="Extensions" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
+ * <any/>
+ * </sequence>
+ * </choice>
+ * </sequence>
+ * <attribute name="Id" use="required" type="{http://www.wfmc.org/2008/XPDL2.1}Id" />
+ * <attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="AccessLevel" default="PUBLIC">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="PUBLIC"/>
+ * <enumeration value="PRIVATE"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * <attribute name="ProcessType" default="None">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="None"/>
+ * <enumeration value="Private"/>
+ * <enumeration value="Abstract"/>
+ * <enumeration value="Collaboration"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * <attribute name="Status" default="None">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="None"/>
+ * <enumeration value="Ready"/>
+ * <enumeration value="Active"/>
+ * <enumeration value="Cancelled"/>
+ * <enumeration value="Aborting"/>
+ * <enumeration value="Aborted"/>
+ * <enumeration value="Completing"/>
+ * <enumeration value="Completed"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * <attribute name="SuppressJoinFailure" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="EnableInstanceCompensation" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="AdHoc" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="AdHocOrdering" default="Parallel">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="Sequential"/>
+ * <enumeration value="Parallel"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * <attribute name="AdHocCompletionCondition" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="DefaultStartActivitySetId" type="{http://www.wfmc.org/2008/XPDL2.1}IdRef" />
+ * <attribute name="DefaultStartActivityId" type="{http://www.wfmc.org/2008/XPDL2.1}IdRef" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ProcessType", propOrder = {
+ "processHeader",
+ "redefinableHeader",
+ "formalParameters",
+ "inputSets",
+ "outputSets",
+ "participants",
+ "applications",
+ "dataFields",
+ "activitySets",
+ "activities",
+ "transitions",
+ "extendedAttributes",
+ "assignments",
+ "partnerLinks",
+ "object",
+ "extensions",
+ "any"
+})
+public class XPDLWorkflowProcess {
+
+ @XmlElement(name = "ProcessHeader", required = true)
+ protected XPDLProcessHeader processHeader;
+ @XmlElement(name = "RedefinableHeader")
+ protected XPDLRedefinableHeader redefinableHeader;
+ @XmlElement(name = "FormalParameters")
+ protected XPDLFormalParameters formalParameters;
+ @XmlElement(name = "InputSets")
+ protected XPDLInputSets inputSets;
+ @XmlElement(name = "OutputSets")
+ protected XPDLOutputSets outputSets;
+ @XmlElement(name = "Participants")
+ protected XPDLParticipants participants;
+ @XmlElement(name = "Applications")
+ protected XPDLApplications applications;
+ @XmlElement(name = "DataFields")
+ protected XPDLDataFields dataFields;
+ @XmlElement(name = "ActivitySets")
+ protected XPDLActivitySets activitySets;
+ @XmlElement(name = "Activities")
+ protected XPDLActivities activities;
+ @XmlElement(name = "Transitions")
+ protected XPDLTransitions transitions;
+ @XmlElement(name = "ExtendedAttributes")
+ protected XPDLExtendedAttributes extendedAttributes;
+ @XmlElement(name = "Assignments")
+ protected XPDLAssignments assignments;
+ @XmlElement(name = "PartnerLinks")
+ protected XPDLPartnerLinks partnerLinks;
+ @XmlElement(name = "Object")
+ protected XPDLObject object;
+ @XmlElement(name = "Extensions")
+ protected Object extensions;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Id", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String id;
+ @XmlAttribute(name = "Name")
+ protected String name;
+ @XmlAttribute(name = "AccessLevel")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String accessLevel;
+ @XmlAttribute(name = "ProcessType")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String processType;
+ @XmlAttribute(name = "Status")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String status;
+ @XmlAttribute(name = "SuppressJoinFailure")
+ protected Boolean suppressJoinFailure;
+ @XmlAttribute(name = "EnableInstanceCompensation")
+ protected Boolean enableInstanceCompensation;
+ @XmlAttribute(name = "AdHoc")
+ protected Boolean adHoc;
+ @XmlAttribute(name = "AdHocOrdering")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String adHocOrdering;
+ @XmlAttribute(name = "AdHocCompletionCondition")
+ protected String adHocCompletionCondition;
+ @XmlAttribute(name = "DefaultStartActivitySetId")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String defaultStartActivitySetId;
+ @XmlAttribute(name = "DefaultStartActivityId")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String defaultStartActivityId;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the processHeader property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLProcessHeader }
+ *
+ */
+ public XPDLProcessHeader getProcessHeader() {
+ return processHeader;
+ }
+
+ /**
+ * Sets the value of the processHeader property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLProcessHeader }
+ *
+ */
+ public void setProcessHeader(XPDLProcessHeader value) {
+ this.processHeader = value;
+ }
+
+ /**
+ * Gets the value of the redefinableHeader property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLRedefinableHeader }
+ *
+ */
+ public XPDLRedefinableHeader getRedefinableHeader() {
+ return redefinableHeader;
+ }
+
+ /**
+ * Sets the value of the redefinableHeader property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLRedefinableHeader }
+ *
+ */
+ public void setRedefinableHeader(XPDLRedefinableHeader value) {
+ this.redefinableHeader = value;
+ }
+
+ /**
+ * Gets the value of the formalParameters property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLFormalParameters }
+ *
+ */
+ public XPDLFormalParameters getFormalParameters() {
+ return formalParameters;
+ }
+
+ /**
+ * Sets the value of the formalParameters property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLFormalParameters }
+ *
+ */
+ public void setFormalParameters(XPDLFormalParameters value) {
+ this.formalParameters = value;
+ }
+
+ /**
+ * Gets the value of the inputSets property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLInputSets }
+ *
+ */
+ public XPDLInputSets getInputSets() {
+ return inputSets;
+ }
+
+ /**
+ * Sets the value of the inputSets property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLInputSets }
+ *
+ */
+ public void setInputSets(XPDLInputSets value) {
+ this.inputSets = value;
+ }
+
+ /**
+ * Gets the value of the outputSets property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLOutputSets }
+ *
+ */
+ public XPDLOutputSets getOutputSets() {
+ return outputSets;
+ }
+
+ /**
+ * Sets the value of the outputSets property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLOutputSets }
+ *
+ */
+ public void setOutputSets(XPDLOutputSets value) {
+ this.outputSets = value;
+ }
+
+ /**
+ * Gets the value of the participants property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLParticipants }
+ *
+ */
+ public XPDLParticipants getParticipants() {
+ return participants;
+ }
+
+ /**
+ * Sets the value of the participants property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLParticipants }
+ *
+ */
+ public void setParticipants(XPDLParticipants value) {
+ this.participants = value;
+ }
+
+ /**
+ * Gets the value of the applications property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLApplications }
+ *
+ */
+ public XPDLApplications getApplications() {
+ return applications;
+ }
+
+ /**
+ * Sets the value of the applications property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLApplications }
+ *
+ */
+ public void setApplications(XPDLApplications value) {
+ this.applications = value;
+ }
+
+ /**
+ * Gets the value of the dataFields property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLDataFields }
+ *
+ */
+ public XPDLDataFields getDataFields() {
+ return dataFields;
+ }
+
+ /**
+ * Sets the value of the dataFields property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLDataFields }
+ *
+ */
+ public void setDataFields(XPDLDataFields value) {
+ this.dataFields = value;
+ }
+
+ /**
+ * Gets the value of the activitySets property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLActivitySets }
+ *
+ */
+ public XPDLActivitySets getActivitySets() {
+ return activitySets;
+ }
+
+ /**
+ * Sets the value of the activitySets property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLActivitySets }
+ *
+ */
+ public void setActivitySets(XPDLActivitySets value) {
+ this.activitySets = value;
+ }
+
+ /**
+ * Gets the value of the activities property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLActivities }
+ *
+ */
+ public XPDLActivities getActivities() {
+ return activities;
+ }
+
+ /**
+ * Sets the value of the activities property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLActivities }
+ *
+ */
+ public void setActivities(XPDLActivities value) {
+ this.activities = value;
+ }
+
+ /**
+ * Gets the value of the transitions property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLTransitions }
+ *
+ */
+ public XPDLTransitions getTransitions() {
+ return transitions;
+ }
+
+ /**
+ * Sets the value of the transitions property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLTransitions }
+ *
+ */
+ public void setTransitions(XPDLTransitions value) {
+ this.transitions = value;
+ }
+
+ /**
+ * Gets the value of the extendedAttributes property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLExtendedAttributes }
+ *
+ */
+ public XPDLExtendedAttributes getExtendedAttributes() {
+ return extendedAttributes;
+ }
+
+ /**
+ * Sets the value of the extendedAttributes property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLExtendedAttributes }
+ *
+ */
+ public void setExtendedAttributes(XPDLExtendedAttributes value) {
+ this.extendedAttributes = value;
+ }
+
+ /**
+ * Gets the value of the assignments property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLAssignments }
+ *
+ */
+ public XPDLAssignments getAssignments() {
+ return assignments;
+ }
+
+ /**
+ * Sets the value of the assignments property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLAssignments }
+ *
+ */
+ public void setAssignments(XPDLAssignments value) {
+ this.assignments = value;
+ }
+
+ /**
+ * Gets the value of the partnerLinks property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLPartnerLinks }
+ *
+ */
+ public XPDLPartnerLinks getPartnerLinks() {
+ return partnerLinks;
+ }
+
+ /**
+ * Sets the value of the partnerLinks property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLPartnerLinks }
+ *
+ */
+ public void setPartnerLinks(XPDLPartnerLinks value) {
+ this.partnerLinks = value;
+ }
+
+ /**
+ * Gets the value of the object property.
+ *
+ * @return
+ * possible object is
+ * {@link XPDLObject }
+ *
+ */
+ public XPDLObject getObject() {
+ return object;
+ }
+
+ /**
+ * Sets the value of the object property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XPDLObject }
+ *
+ */
+ public void setObject(XPDLObject value) {
+ this.object = value;
+ }
+
+ /**
+ * Gets the value of the extensions property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ public Object getExtensions() {
+ return extensions;
+ }
+
+ /**
+ * Sets the value of the extensions property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setExtensions(Object value) {
+ this.extensions = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the accessLevel property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAccessLevel() {
+ if (accessLevel == null) {
+ return "PUBLIC";
+ } else {
+ return accessLevel;
+ }
+ }
+
+ /**
+ * Sets the value of the accessLevel property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAccessLevel(String value) {
+ this.accessLevel = value;
+ }
+
+ /**
+ * Gets the value of the processType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getProcessType() {
+ if (processType == null) {
+ return "None";
+ } else {
+ return processType;
+ }
+ }
+
+ /**
+ * Sets the value of the processType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setProcessType(String value) {
+ this.processType = value;
+ }
+
+ /**
+ * Gets the value of the status property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getStatus() {
+ if (status == null) {
+ return "None";
+ } else {
+ return status;
+ }
+ }
+
+ /**
+ * Sets the value of the status property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setStatus(String value) {
+ this.status = value;
+ }
+
+ /**
+ * Gets the value of the suppressJoinFailure property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isSuppressJoinFailure() {
+ if (suppressJoinFailure == null) {
+ return false;
+ } else {
+ return suppressJoinFailure;
+ }
+ }
+
+ /**
+ * Sets the value of the suppressJoinFailure property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setSuppressJoinFailure(Boolean value) {
+ this.suppressJoinFailure = value;
+ }
+
+ /**
+ * Gets the value of the enableInstanceCompensation property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isEnableInstanceCompensation() {
+ if (enableInstanceCompensation == null) {
+ return false;
+ } else {
+ return enableInstanceCompensation;
+ }
+ }
+
+ /**
+ * Sets the value of the enableInstanceCompensation property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setEnableInstanceCompensation(Boolean value) {
+ this.enableInstanceCompensation = value;
+ }
+
+ /**
+ * Gets the value of the adHoc property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isAdHoc() {
+ if (adHoc == null) {
+ return false;
+ } else {
+ return adHoc;
+ }
+ }
+
+ /**
+ * Sets the value of the adHoc property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setAdHoc(Boolean value) {
+ this.adHoc = value;
+ }
+
+ /**
+ * Gets the value of the adHocOrdering property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAdHocOrdering() {
+ if (adHocOrdering == null) {
+ return "Parallel";
+ } else {
+ return adHocOrdering;
+ }
+ }
+
+ /**
+ * Sets the value of the adHocOrdering property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAdHocOrdering(String value) {
+ this.adHocOrdering = value;
+ }
+
+ /**
+ * Gets the value of the adHocCompletionCondition property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAdHocCompletionCondition() {
+ return adHocCompletionCondition;
+ }
+
+ /**
+ * Sets the value of the adHocCompletionCondition property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAdHocCompletionCondition(String value) {
+ this.adHocCompletionCondition = value;
+ }
+
+ /**
+ * Gets the value of the defaultStartActivitySetId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDefaultStartActivitySetId() {
+ return defaultStartActivitySetId;
+ }
+
+ /**
+ * Sets the value of the defaultStartActivitySetId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDefaultStartActivitySetId(String value) {
+ this.defaultStartActivitySetId = value;
+ }
+
+ /**
+ * Gets the value of the defaultStartActivityId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDefaultStartActivityId() {
+ return defaultStartActivityId;
+ }
+
+ /**
+ * Sets the value of the defaultStartActivityId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDefaultStartActivityId(String value) {
+ this.defaultStartActivityId = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLWorkflowProcess.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLWorkflowProcesses.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLWorkflowProcesses.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLWorkflowProcesses.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,138 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.wfmc.org/2008/XPDL2.1}WorkflowProcess" maxOccurs="unbounded" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "workflowProcess",
+ "any"
+})
+@XmlRootElement(name = "WorkflowProcesses")
+public class XPDLWorkflowProcesses {
+
+ @XmlElement(name = "WorkflowProcess")
+ protected List<XPDLWorkflowProcess> workflowProcess;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the workflowProcess property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the workflowProcess property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getWorkflowProcess().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link XPDLWorkflowProcess }
+ *
+ *
+ */
+ public List<XPDLWorkflowProcess> getWorkflowProcess() {
+ if (workflowProcess == null) {
+ workflowProcess = new ArrayList<XPDLWorkflowProcess>();
+ }
+ return this.workflowProcess;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLWorkflowProcesses.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLWorkingTime.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLWorkingTime.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLWorkingTime.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,92 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "value"
+})
+@XmlRootElement(name = "WorkingTime")
+public class XPDLWorkingTime {
+
+ @XmlValue
+ protected String value;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLWorkingTime.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLXPDLVersion.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLXPDLVersion.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLXPDLVersion.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,92 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.xpdl21.model;
+
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "value"
+})
+@XmlRootElement(name = "XPDLVersion")
+public class XPDLXPDLVersion {
+
+ @XmlValue
+ protected String value;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/XPDLXPDLVersion.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/package-info.java
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/package-info.java (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/package-info.java 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,9 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2008.07.17 at 01:26:08 PM CEST
+//
+
+(a)javax.xml.bind.annotation.XmlSchema(namespace = "http://www.wfmc.org/2008/XPDL2.1", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package org.jboss.bpm.dialect.xpdl21.model;
Property changes on: api/trunk/modules/dialects/xpdl21/src/main/java/org/jboss/bpm/dialect/xpdl21/model/package-info.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Copied: api/trunk/modules/dialects/xpdl21/src/main/resources/bpmnxpdl_31.xsd (from rev 1663, api/trunk/modules/api/src/main/resources/bpmnxpdl_31.xsd)
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/resources/bpmnxpdl_31.xsd (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/resources/bpmnxpdl_31.xsd 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,3353 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema targetNamespace="http://www.wfmc.org/2008/XPDL2.1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:deprecated="http://www.wfmc.org/2002/XPDL1.0"
+ xmlns:xpdl="http://www.wfmc.org/2008/XPDL2.1" elementFormDefault="qualified" attributeFormDefault="unqualified" version="31">
+ <xsd:import namespace="http://www.wfmc.org/2002/XPDL1.0" schemaLocation="http://www.wfmc.org/standards/docs/TC-1025_schema_10_xpdl.xsd" />
+ <xsd:element name="Activities">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Activity" minOccurs="0" maxOccurs="unbounded">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: corresponds to a flow object, which could be a BPMN activity, gateway, or event</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Activity">
+ <xsd:annotation>
+ <xsd:documentation>BPMN extension</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Description" minOccurs="0" />
+ <xsd:element ref="xpdl:Limit" minOccurs="0" />
+ <xsd:choice minOccurs="0">
+ <xsd:element ref="xpdl:Route" />
+ <xsd:element ref="xpdl:Implementation">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: corresponds to an activity, which could be a task or subprocess.[Suggest change element to BpmnActivity, since there is an
+ attribute Implementation which means something else entirely.]</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:choice minOccurs="0">
+ <xsd:element ref="deprecated:BlockActivity" />
+ <xsd:element ref="xpdl:BlockActivity" />
+ </xsd:choice>
+ <xsd:element ref="xpdl:Event">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Identifies XPDL activity as a BPMN event.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ </xsd:choice>
+ <xsd:element ref="xpdl:Transaction" minOccurs="0" />
+ <xsd:element ref="xpdl:Performers" minOccurs="0" />
+ <xsd:element ref="xpdl:Performer" minOccurs="0">
+ <xsd:annotation>
+ <xsd:documentation>Deprecated from XPDL2.0. Must be a child of Performers</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element ref="deprecated:StartMode" minOccurs="0" />
+ <xsd:element ref="deprecated:FinishMode" minOccurs="0" />
+ <xsd:element ref="xpdl:Priority" minOccurs="0" />
+ <xsd:choice minOccurs="0">
+ <xsd:element ref="deprecated:Deadline" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:element ref="xpdl:Deadline" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:choice>
+ <xsd:element ref="xpdl:SimulationInformation" minOccurs="0" />
+ <xsd:element ref="xpdl:Icon" minOccurs="0" />
+ <xsd:element ref="xpdl:Documentation" minOccurs="0" />
+ <xsd:element ref="xpdl:TransitionRestrictions" minOccurs="0" />
+ <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0" />
+ <xsd:element ref="xpdl:DataFields" minOccurs="0" />
+ <xsd:element ref="xpdl:InputSets" minOccurs="0" />
+ <xsd:element ref="xpdl:OutputSets" minOccurs="0" />
+ <xsd:element ref="xpdl:IORules" minOccurs="0" />
+ <xsd:element ref="xpdl:Loop" minOccurs="0" />
+ <xsd:element ref="xpdl:Assignments" minOccurs="0" />
+ <xsd:element ref="xpdl:Object" minOccurs="0" />
+ <xsd:element ref="xpdl:NodeGraphicsInfos" minOccurs="0" />
+ <xsd:choice minOccurs="0">
+ <xsd:sequence>
+ <xsd:element name="Extensions" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ </xsd:choice>
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xpdl:Id" use="required">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: unique identifier of the flow object</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="IsForCompensation" type="xsd:boolean" use="optional" />
+ <xsd:attribute name="Name" type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: label of the flow object in the diagram</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="StartActivity" type="xsd:boolean" use="optional">
+ <xsd:annotation>
+ <xsd:documentation> Designates the first activity to be executed when the process is instantiated. Used when there is no other way to determine this Conflicts
+ with BPMN StartEvent and no process definition should use both.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="Status" use="optional" default="None">
+ <xsd:annotation>
+ <xsd:documentation> BPMN: Status values are assigned during execution. Status can be treated as a property and used in expressions local to an Activity. It is
+ unclear that status belongs in the XPDL document.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="None" />
+ <xsd:enumeration value="Ready" />
+ <xsd:enumeration value="Active" />
+ <xsd:enumeration value="Cancelled" />
+ <xsd:enumeration value="Aborting" />
+ <xsd:enumeration value="Aborted" />
+ <xsd:enumeration value="Completing" />
+ <xsd:enumeration value="Completed" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="StartMode">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="Automatic" />
+ <xsd:enumeration value="Manual" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="FinishMode">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="Automatic" />
+ <xsd:enumeration value="Manual" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="StartQuantity" type="xsd:integer" use="optional" default="1" />
+ <xsd:attribute name="CompletionQuantity" type="xsd:integer" use="optional" default="1" />
+ <xsd:attribute name="IsATransaction" type="xsd:boolean" use="optional" default="false" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ActivitySet">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Activities" minOccurs="0" />
+ <xsd:element ref="xpdl:Transitions" minOccurs="0" />
+ <xsd:element ref="xpdl:Object" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xpdl:Id" use="required" />
+ <xsd:attribute name="Name" type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation source="added to XPDL 2.0" />
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="AdHoc" type="xsd:boolean" use="optional" default="false">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: for Embedded subprocess</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="AdHocOrdering" use="optional" default="Parallel">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: for Embedded subprocess</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="Sequential" />
+ <xsd:enumeration value="Parallel" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="AdHocCompletionCondition" type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: for Embedded subprocess</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="DefaultStartActivityId" type="xpdl:IdRef" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ <xsd:key name="ActivityIds.ActivitySet">
+ <xsd:selector xpath="./xpdl:Activities/xpdl:Activity" />
+ <xsd:field xpath="@Id" />
+ </xsd:key>
+ <xsd:key name="TransitionIds.ActivitySet">
+ <xsd:selector xpath="./xpdl:Transitions/xpdl:Transition" />
+ <xsd:field xpath="@Id" />
+ </xsd:key>
+ <xsd:keyref name="DefaultStartActivityIdRef.ActivitySet" refer="xpdl:ActivityIds.ActivitySet">
+ <xsd:selector xpath="." />
+ <xsd:field xpath="@DefaultStartActivityId" />
+ </xsd:keyref>
+ <xsd:keyref name="TransitionFromRef.ActivitySet" refer="xpdl:ActivityIds.ActivitySet">
+ <xsd:selector xpath="./xpdl:Transitions/xpdl:Transition" />
+ <xsd:field xpath="@From" />
+ </xsd:keyref>
+ <xsd:keyref name="TransitionToRef.ActivitySet" refer="xpdl:ActivityIds.ActivitySet">
+ <xsd:selector xpath="./xpdl:Transitions/xpdl:Transition" />
+ <xsd:field xpath="@To" />
+ </xsd:keyref>
+ <xsd:keyref name="TransitionRefIdRef.ActivitySet" refer="xpdl:TransitionIds.ActivitySet">
+ <xsd:selector xpath="./xpdl:Activities/xpdl:Activity/xpdl:TransitionRestrictions/xpdl:TransitionRestriction/xpdl:Split/xpdl:TransitionRefs/xpdl:TransitionRef" />
+ <xsd:field xpath="@Id" />
+ </xsd:keyref>
+ <!-- check that the default start activity id exists -->
+ <!-- check that the from and to specified in a transition exists -->
+ <!-- check that the id specified in a transitionref exists -->
+ </xsd:element>
+ <xsd:element name="ActivitySets">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:ActivitySet" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ActualParameters">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="ActualParameter" type="xpdl:ExpressionType" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Application">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Description" minOccurs="0" />
+ <xsd:element name="Type" type="xpdl:ApplicationType" minOccurs="0" />
+ <xsd:choice>
+ <xsd:element ref="xpdl:FormalParameters" />
+ <xsd:element ref="xpdl:ExternalReference" minOccurs="0" />
+ </xsd:choice>
+ <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:complexType name="ApplicationType">
+ <xsd:choice>
+ <xsd:element name="Ejb">
+ <xsd:annotation>
+ <xsd:documentation> Call EJB component -- There can be max one formal parameter that is OUT, if it exists it has to be the last formal parameter. no INOUT
+ formal parameters</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="JndiName">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="HomeClass">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Method">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Pojo">
+ <xsd:annotation>
+ <xsd:documentation> Call method on Java class -- There can be max one formal parameter that is OUT, if it exists it has to be the last formal parameter. no
+ INOUT formal parameters</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="Class">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Method">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Xslt">
+ <xsd:annotation>
+ <xsd:documentation> Execute Tranformation -- Formal Parameters restrictions: one IN and one OUT formal parameters or only one INOUT formal parameter
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="location" type="xsd:anyURI" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Script">
+ <xsd:annotation>
+ <xsd:documentation> Execute Script -- No additional restrictions for formal parameters. The suggestion: every Formal Parameter should be registered in the
+ script scope as a global variable</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="Expression" type="xpdl:ExpressionType" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="WebService">
+ <xsd:annotation>
+ <xsd:documentation> For WSDL 1.2 -- Invoke WebService, all IN Fprmal Parameters will be mapped to input message, all OUT Formal Parameters will be maped from
+ output message</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:WebServiceOperation" />
+ <xsd:element ref="xpdl:WebServiceFaultCatch" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="InputMsgName" type="xsd:string" use="required">
+ <xsd:annotation>
+ <xsd:documentation>The name of inputMessage as defined in the WSDL which will help in uniquely identifying the operation to be invoked
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="OutputMsgName" type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>The name of inputMessage as defined in the WSDL which will help in uniquely identifying the operation to be invoked
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="BusinessRule">
+ <xsd:annotation>
+ <xsd:documentation>Invoke business rule</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="RuleName">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Location">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:anyURI">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Form">
+ <xsd:annotation>
+ <xsd:documentation>Placeholder for all form related additional information.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="FormLayout" minOccurs="0">
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="xsd:anyType">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:choice>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ <xsd:element name="Applications">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Application" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ArrayType">
+ <xsd:complexType>
+ <xsd:group ref="xpdl:DataTypes" />
+ <xsd:attribute name="LowerIndex" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="UpperIndex" type="xsd:NMTOKEN" use="required" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Artifact">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Not further defined here.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence minOccurs="0">
+ <xsd:element ref="xpdl:Object" minOccurs="0" />
+ <xsd:element ref="xpdl:Group" minOccurs="0" />
+ <xsd:element ref="xpdl:DataObject" minOccurs="0" />
+ <xsd:element ref="xpdl:NodeGraphicsInfos" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:attribute name="ArtifactType" use="required">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="DataObject" />
+ <xsd:enumeration value="Group" />
+ <xsd:enumeration value="Annotation" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="TextAnnotation" type="xsd:string" use="optional" />
+ <xsd:attribute name="Group" type="xsd:string" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Artifacts">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence maxOccurs="unbounded">
+ <xsd:element ref="xpdl:Artifact" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ArtifactInput">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="ArtifactId" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="RequiredForStart" type="xsd:boolean" use="optional" default="true" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Assignment">
+ <xsd:annotation>
+ <xsd:documentation>BPMN and XPDL</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="Target" type="xpdl:ExpressionType">
+ <xsd:annotation>
+ <xsd:documentation> lvalue expression of the assignment, in XPDL may be the name of a DataField, in BPMN name of a Property, in XPATH a reference
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element name="Expression" type="xpdl:ExpressionType">
+ <xsd:annotation>
+ <xsd:documentation>rvalue expression of the assignment</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="AssignTime" use="optional" default="Start">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="Start" />
+ <xsd:enumeration value="End" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Assignments">
+ <xsd:annotation>
+ <xsd:documentation>BPMN and XPDL</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Assignment" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Association">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence minOccurs="0">
+ <xsd:element ref="xpdl:Object" />
+ <xsd:element ref="xpdl:ConnectorGraphicsInfos" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="Source" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="Target" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:attribute name="AssociationDirection" use="optional" default="None">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="None" />
+ <xsd:enumeration value="To" />
+ <xsd:enumeration value="From" />
+ <xsd:enumeration value="Both" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Associations">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence maxOccurs="unbounded">
+ <xsd:element ref="xpdl:Association" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Author">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="BasicType">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Length" minOccurs="0" />
+ <xsd:element ref="xpdl:Precision" minOccurs="0" />
+ <xsd:element ref="xpdl:Scale" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Type" use="required">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="STRING" />
+ <xsd:enumeration value="FLOAT" />
+ <xsd:enumeration value="INTEGER" />
+ <xsd:enumeration value="REFERENCE" />
+ <xsd:enumeration value="DATETIME" />
+ <xsd:enumeration value="DATE" />
+ <xsd:enumeration value="TIME" />
+ <xsd:enumeration value="BOOLEAN" />
+ <xsd:enumeration value="PERFORMER" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="BlockActivity">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="ActivitySetId" type="xpdl:IdRef" use="required">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Corresponds to embedded subprocess. Pointer to ActivitySet/@Id in XPDL.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="StartActivityId" type="xpdl:IdRef" use="optional" />
+ <xsd:attribute name="View" use="optional" default="COLLAPSED">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Determines whether the subprocess is rendered as Collapsed or Expanded in diagram. Default is Collapsed.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="COLLAPSED" />
+ <xsd:enumeration value="EXPANDED" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Category">
+ <xsd:annotation>
+ <xsd:documentation> BPMN (and XPDL??Allows arbitrary grouping of various types of elements, for reporting.)</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Categories">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Category" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Codepage">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Condition">
+ <xsd:complexType mixed="true">
+ <xsd:choice minOccurs="0">
+ <xsd:element ref="deprecated:Xpression" minOccurs="0" />
+ <xsd:element name="Expression" type="xpdl:ExpressionType" minOccurs="0" />
+ </xsd:choice>
+ <xsd:attribute name="Type">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="CONDITION" />
+ <xsd:enumeration value="OTHERWISE" />
+ <xsd:enumeration value="EXCEPTION" />
+ <xsd:enumeration value="DEFAULTEXCEPTION" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ConformanceClass">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="GraphConformance" use="optional" default="NON_BLOCKED">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="FULL_BLOCKED" />
+ <xsd:enumeration value="LOOP_BLOCKED" />
+ <xsd:enumeration value="NON_BLOCKED" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="BPMNModelPortabilityConformance" use="optional" default="NONE">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="NONE" />
+ <xsd:enumeration value="SIMPLE" />
+ <xsd:enumeration value="STANDARD" />
+ <xsd:enumeration value="COMPLETE" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ConnectorGraphicsInfo">
+ <xsd:annotation>
+ <xsd:documentation>BPMN and XPDL</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence minOccurs="0">
+ <xsd:element ref="xpdl:Coordinates" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="ToolId" type="xsd:NMTOKEN" use="optional" />
+ <xsd:attribute name="IsVisible" type="xsd:boolean" use="optional" default="true" />
+ <xsd:attribute name="Page" type="xsd:NMTOKEN" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>Deprecated in XPDL 2.1, now use PageId and Page element</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="PageId" type="xpdl:IdRef" use="optional" />
+ <xsd:attribute name="Style" type="xsd:string" use="optional" />
+ <xsd:attribute name="BorderColor" type="xsd:string" use="optional" />
+ <xsd:attribute name="FillColor" type="xsd:string" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ConnectorGraphicsInfos">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:ConnectorGraphicsInfo" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Coordinates">
+ <xsd:annotation>
+ <xsd:documentation>BPMN and XPDL</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="XCoordinate" type="xsd:double" use="optional" />
+ <xsd:attribute name="YCoordinate" type="xsd:double" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Cost">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="CostStructure">
+ <xsd:annotation>
+ <xsd:documentation> Activities incur costs in a number of way, the use up resources which may be people, machines, services, computers, office space, etc.
+ Activities also use up fixed costs which may be assigned on an activity by activity basis, thus allowing for the assignment of overhead. Fixed costs are
+ assigned in bulk, that is to say there is one fixed cost per activity. However resource costs are assigned on a resource by resource basis, each one having a
+ cost and an associated time unit.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:choice>
+ <xsd:element ref="xpdl:ResourceCosts" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:element name="FixedCost" type="xsd:integer" />
+ </xsd:choice>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="CostUnit">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Countrykey">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Created">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="DataField">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:DataType" />
+ <xsd:element name="InitialValue" type="xpdl:ExpressionType" minOccurs="0" />
+ <xsd:element ref="xpdl:Length" minOccurs="0" />
+ <xsd:element ref="xpdl:Description" minOccurs="0" />
+ <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:attribute name="ReadOnly" type="xsd:boolean" use="optional" default="false" />
+ <xsd:attribute name="IsArray" type="xsd:boolean" use="optional" default="false" />
+ <xsd:attribute name="Correlation" type="xsd:boolean" use="optional" default="false">
+ <xsd:annotation>
+ <xsd:documentation>Used in BPMN to support mapping to BPEL</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="DataFields">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:DataField" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="DataMappings">
+ <xsd:annotation>
+ <xsd:documentation>XPDL and BPMN:Maps fields or properties between calling and called processes or subprocesses</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:DataMapping" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="DataMapping">
+ <xsd:annotation>
+ <xsd:documentation>XPDL and BPMN:Maps fields between calling and called processes or subprocesses</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="Actual" type="xpdl:ExpressionType" />
+ <xsd:element name="TestValue" type="xpdl:ExpressionType" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Formal" type="xsd:string" use="required" />
+ <xsd:attribute name="Direction" default="IN">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="IN" />
+ <xsd:enumeration value="OUT" />
+ <xsd:enumeration value="INOUT" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="DataObject">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="DataField" minOccurs="0" maxOccurs="unbounded">
+ <xsd:complexType>
+ <xsd:attribute name="Id" type="xpdl:Id" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:attribute name="State" type="xsd:string" use="optional" />
+ <xsd:attribute name="RequiredForStart" type="xsd:boolean" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>Deprecated in BPMN1.1</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="ProducedAtCompletion" type="xsd:boolean" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>Deprecated in BPMN1.1</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="DataType">
+ <xsd:complexType>
+ <xsd:group ref="xpdl:DataTypes" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:group name="DataTypes">
+ <xsd:choice>
+ <xsd:element ref="xpdl:BasicType" />
+ <xsd:element ref="xpdl:DeclaredType" />
+ <xsd:element ref="xpdl:SchemaType" />
+ <xsd:element ref="xpdl:ExternalReference" />
+ <xsd:element ref="xpdl:RecordType" />
+ <xsd:element ref="xpdl:UnionType" />
+ <xsd:element ref="xpdl:EnumerationType" />
+ <xsd:element ref="xpdl:ArrayType" />
+ <xsd:element ref="xpdl:ListType" />
+ </xsd:choice>
+ </xsd:group>
+ <xsd:element name="Deadline">
+ <xsd:annotation>
+ <xsd:documentation>BPMN provides a timer event to support this type of functionality and it is the preferred method for doing this.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="DeadlineDuration" type="xpdl:ExpressionType" minOccurs="0" />
+ <xsd:element name="ExceptionName" minOccurs="0">
+ <xsd:annotation>
+ <xsd:documentation>This name should match that specified in Transition/Condition/Expression</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Execution">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="ASYNCHR" />
+ <xsd:enumeration value="SYNCHR" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="DeclaredType">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xsd:IDREF" use="required" />
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Description">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Documentation">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Duration">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="EndEvent">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:choice>
+ <xsd:element ref="xpdl:TriggerResultMessage" minOccurs="0" />
+ <xsd:element ref="xpdl:ResultError" minOccurs="0" />
+ <xsd:element ref="xpdl:TriggerResultCompensation" minOccurs="0" />
+ <xsd:element ref="xpdl:TriggerResultSignal" minOccurs="0" />
+ <xsd:element ref="xpdl:ResultMultiple" minOccurs="0" />
+ </xsd:choice>
+ <xsd:attribute name="Result" use="optional" default="None">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="None" />
+ <xsd:enumeration value="Message" />
+ <xsd:enumeration value="Error" />
+ <xsd:enumeration value="Cancel" />
+ <xsd:enumeration value="Compensation" />
+ <xsd:enumeration value="Signal" />
+ <xsd:enumeration value="Terminate" />
+ <xsd:enumeration value="Multiple" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="Implementation" use="optional" default="WebService">
+ <xsd:annotation>
+ <xsd:documentation> Required if the Trigger or Result is Message</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="WebService" />
+ <xsd:enumeration value="Other" />
+ <xsd:enumeration value="Unspecified" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="EndPoint">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:ExternalReference" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="EndPointType" use="optional" default="WSDL">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="WSDL" />
+ <xsd:enumeration value="Service" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="EnumerationType">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:EnumerationValue" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="EnumerationValue">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Name" type="xsd:NMTOKEN" use="required" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Event">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:choice>
+ <xsd:element ref="xpdl:StartEvent" minOccurs="0" />
+ <xsd:element ref="xpdl:IntermediateEvent" minOccurs="0" />
+ <xsd:element ref="xpdl:EndEvent" minOccurs="0" />
+ </xsd:choice>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:complexType name="ExpressionType" mixed="true">
+ <xsd:choice minOccurs="0" maxOccurs="unbounded">
+ <xsd:any processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:choice>
+ <xsd:attribute name="ScriptType" type="xsd:string" use="optional" />
+ <xsd:attribute name="ScriptVersion" type="xsd:string" use="optional" />
+ <xsd:attribute name="ScriptGrammar" type="xsd:anyURI" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ <xsd:element name="ExtendedAttribute">
+ <xsd:complexType mixed="true">
+ <xsd:choice minOccurs="0" maxOccurs="unbounded">
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:choice>
+ <xsd:attribute name="Name" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="Value" type="xsd:string" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ExtendedAttributes">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:ExtendedAttribute" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ExternalPackage">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="href" type="xsd:string" />
+ <xsd:attribute name="Id" type="xsd:NMTOKEN" />
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ExternalPackages">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:ExternalPackage" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ExternalReference">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="xref" type="xsd:NMTOKEN" use="optional" />
+ <xsd:attribute name="location" type="xsd:anyURI" use="required" />
+ <xsd:attribute name="namespace" type="xsd:anyURI" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="FormalParameter">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:DataType" />
+ <xsd:element name="InitialValue" type="xpdl:ExpressionType" minOccurs="0" />
+ <xsd:element ref="xpdl:Description" minOccurs="0" />
+ <xsd:element ref="xpdl:Length" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="Mode" default="IN">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="IN" />
+ <xsd:enumeration value="OUT" />
+ <xsd:enumeration value="INOUT" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:attribute name="ReadOnly" type="xsd:boolean" use="optional" default="false" />
+ <xsd:attribute name="Required" type="xsd:boolean" use="optional" default="false" />
+ <xsd:attribute name="IsArray" type="xsd:boolean" use="optional" default="false" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="FormalParameters">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:choice minOccurs="0">
+ <xsd:element ref="deprecated:FormalParameter" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:element ref="xpdl:FormalParameter" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:choice>
+ <xsd:choice minOccurs="0">
+ <xsd:sequence>
+ <xsd:element name="Extensions" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ </xsd:choice>
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Group">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Category" minOccurs="0" />
+ <xsd:element name="Object" minOccurs="0" maxOccurs="unbounded">
+ <xsd:complexType>
+ <xsd:attribute name="Id" type="xpdl:Id" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:any namespace="##other" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Icon">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:attribute name="XCOORD" type="xsd:integer" use="optional" />
+ <xsd:attribute name="YCOORD" type="xsd:integer" use="optional" />
+ <xsd:attribute name="WIDTH" type="xsd:integer" use="optional" />
+ <xsd:attribute name="HEIGHT" type="xsd:integer" use="optional" />
+ <xsd:attribute name="SHAPE" use="optional" default="RoundRectangle">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="RoundRectangle" />
+ <xsd:enumeration value="Rectangle" />
+ <xsd:enumeration value="Ellipse" />
+ <xsd:enumeration value="Diamond" />
+ <xsd:enumeration value="Ellipse" />
+ <xsd:enumeration value="UpTriangle" />
+ <xsd:enumeration value="DownTriangle" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Implementation">
+ <xsd:complexType>
+ <xsd:choice minOccurs="0">
+ <xsd:element ref="xpdl:No" minOccurs="0">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: corresponds to a task with unspecified TaskType</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element ref="deprecated:Tool" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:element ref="xpdl:Task" minOccurs="0">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: corresponds to a task with specified TaskType</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element ref="xpdl:SubFlow" minOccurs="0">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: corresponds to Reusable subprocess. May run in different pool or same pool.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element ref="xpdl:Reference" minOccurs="0" />
+ </xsd:choice>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Input">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="ArtifactId" type="xsd:NMTOKEN" use="required" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="InputSet">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Input" maxOccurs="unbounded" />
+ <xsd:element ref="xpdl:ArtifactInput" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:element ref="xpdl:PropertyInput" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="InputSets">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:InputSet" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="IntermediateEvent">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:choice minOccurs="0">
+ <xsd:element ref="xpdl:TriggerResultMessage" minOccurs="0" />
+ <xsd:element ref="xpdl:TriggerTimer" minOccurs="0" />
+ <xsd:element ref="xpdl:ResultError" minOccurs="0" />
+ <xsd:element ref="xpdl:TriggerResultCompensation" minOccurs="0">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Must be present if if Trigger or ResultType is Compensation.[This event can be attached or throwing. Thus name of element
+ should be TriggerResultCompensation.]</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element ref="xpdl:TriggerConditional" minOccurs="0" />
+ <xsd:element ref="xpdl:TriggerResultLink" minOccurs="0">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Link event connects source and target nodes of the same process or subprocess. Equivalent to a sequence flow between source
+ and target nodes.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element ref="xpdl:TriggerResultCancel" minOccurs="0" />
+ <xsd:element ref="xpdl:TriggerResultSignal" minOccurs="0" />
+ <xsd:element ref="xpdl:TriggerIntermediateMultiple" minOccurs="0">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: if the TriggerType is Multiple then this must be present. Only valid for attached event. [EventDetail elements are incorrect.
+ They should be message, timer, error, conditional, signal, cancel.]</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ </xsd:choice>
+ <xsd:attribute name="Trigger" use="required">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="None" />
+ <xsd:enumeration value="Message" />
+ <xsd:enumeration value="Timer" />
+ <xsd:enumeration value="Error" />
+ <xsd:enumeration value="Cancel" />
+ <xsd:enumeration value="Conditional" />
+ <xsd:enumeration value="Link" />
+ <xsd:enumeration value="Signal" />
+ <xsd:enumeration value="Compensation" />
+ <xsd:enumeration value="Multiple" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="Implementation" use="optional" default="WebService">
+ <xsd:annotation>
+ <xsd:documentation>Required if the Trigger is Message</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="WebService" />
+ <xsd:enumeration value="Other" />
+ <xsd:enumeration value="Unspecified" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="Target" type="xpdl:Id" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Presence of attribute indicates attached intermediate event; attribute value points to the BPMN activity (task or subprocess)
+ the event is attached to. Absence of the attribute indicates intermediate event in sequence flow. Pointer to Activity/@Id, where activity type must be a
+ task or subprocess.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="IORules">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="Expression" type="xpdl:ExpressionType" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Join">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Type">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="XOR">
+ <xsd:annotation>
+ <xsd:documentation>Deprecated in BPMN1.1</xsd:documentation>
+ </xsd:annotation>
+ </xsd:enumeration>
+ <xsd:enumeration value="Exclusive" />
+ <xsd:enumeration value="OR">
+ <xsd:annotation>
+ <xsd:documentation>Deprecated in BPMN1.1</xsd:documentation>
+ </xsd:annotation>
+ </xsd:enumeration>
+ <xsd:enumeration value="Inclusive" />
+ <xsd:enumeration value="Complex" />
+ <xsd:enumeration value="AND">
+ <xsd:annotation>
+ <xsd:documentation>Deprecated in BPMN1.1</xsd:documentation>
+ </xsd:annotation>
+ </xsd:enumeration>
+ <xsd:enumeration value="Parallel" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="ExclusiveType" use="optional" default="Data">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="Data" />
+ <xsd:enumeration value="Event" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="IncomingCondtion" type="xsd:string" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Lane">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence minOccurs="0">
+ <xsd:element ref="xpdl:Object" minOccurs="0" />
+ <xsd:element ref="xpdl:NodeGraphicsInfos" minOccurs="0" />
+ <xsd:element ref="xpdl:Performers" minOccurs="0" />
+ <xsd:element name="NestedLane" minOccurs="0" maxOccurs="unbounded">
+ <xsd:complexType>
+ <xsd:attribute name="LaneId" type="xsd:NMTOKEN" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:attribute name="ParentLane" type="xsd:NMTOKEN" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>Deprecated from BPMN1.0.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="ParentPool" type="xsd:NMTOKEN" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>Deprecated from BPMN1.0.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Lanes">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Lane" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="LayoutInfo">
+ <xsd:complexType>
+ <xsd:attribute name="PixelsPerMillimeter" type="xsd:float" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>Co-ordinates / Sizes are in pixels - this attribute specifies the number of pixels per millimeter used by application.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Length">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Limit">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ListType">
+ <xsd:complexType>
+ <xsd:group ref="xpdl:DataTypes" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Loop">
+ <xsd:annotation>
+ <xsd:documentation>BPMN (and possibly XPDL)</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:choice>
+ <xsd:element ref="xpdl:LoopStandard" />
+ <xsd:element ref="xpdl:LoopMultiInstance" />
+ </xsd:choice>
+ <xsd:attribute name="LoopType" use="required">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="Standard" />
+ <xsd:enumeration value="MultiInstance" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="LoopMultiInstance">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="MI_Condition" type="xpdl:ExpressionType" minOccurs="0" />
+ <xsd:element name="ComplexMI_FlowCondition" type="xpdl:ExpressionType" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="MI_Condition" type="xsd:string" use="optional" />
+ <xsd:attribute name="LoopCounter" type="xsd:integer">
+ <xsd:annotation>
+ <xsd:documentation> This is updated at run time to count the number of executions of the loop and is available as a property to be used in expressions. Does
+ this belong in the XPDL?</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="MI_Ordering" use="required">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="Sequential" />
+ <xsd:enumeration value="Parallel" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="MI_FlowCondition" use="optional" default="All">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="None" />
+ <xsd:enumeration value="One" />
+ <xsd:enumeration value="All" />
+ <xsd:enumeration value="Complex" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="ComplexMI_FlowCondition" type="xsd:string" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="LoopStandard">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="LoopCondition" type="xpdl:ExpressionType" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="LoopCondition" type="xsd:string" use="optional" />
+ <xsd:attribute name="LoopCounter" type="xsd:integer">
+ <xsd:annotation>
+ <xsd:documentation> This is updated at run time to count the number of executions of the loop and is available as a property to be used in expressions. Does
+ this belong in the XPDL?</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="LoopMaximum" type="xsd:integer" use="optional" />
+ <xsd:attribute name="TestTime" use="required">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="Before" />
+ <xsd:enumeration value="After" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Member">
+ <xsd:complexType>
+ <xsd:group ref="xpdl:DataTypes" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:complexType name="MessageType">
+ <xsd:annotation>
+ <xsd:documentation>Formal Parameters defined by WSDL. Must constraint the parameters to either all in or all out, because Message is in a single direction
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence minOccurs="0">
+ <xsd:choice minOccurs="0">
+ <xsd:element ref="xpdl:ActualParameters" />
+ <xsd:element ref="xpdl:DataMappings" />
+ </xsd:choice>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:attribute name="From" type="xsd:NMTOKEN" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>This must be the name of a Participant</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="To" type="xsd:NMTOKEN" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>This must be the name of a participant</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="FaultName" type="xsd:NMTOKEN" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ <xsd:element name="MessageFlow">
+ <xsd:annotation>
+ <xsd:documentation>:BPMN:</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence minOccurs="0">
+ <xsd:element name="Message" type="xpdl:MessageType" minOccurs="0" />
+ <xsd:element ref="xpdl:Object" minOccurs="0" />
+ <xsd:element ref="xpdl:ConnectorGraphicsInfos" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:attribute name="Source" type="xpdl:IdRef" use="required" />
+ <xsd:attribute name="Target" type="xpdl:IdRef" use="required" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="MessageFlows">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence minOccurs="0" maxOccurs="unbounded">
+ <xsd:element ref="xpdl:MessageFlow" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ModificationDate">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="No">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="NodeGraphicsInfo">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Coordinates" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="ToolId" type="xsd:string" use="optional" />
+ <xsd:attribute name="IsVisible" type="xsd:boolean" use="optional" default="true" />
+ <xsd:attribute name="Page" type="xsd:NMTOKEN" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>Deprecated in XPDL 2.1, now use PageId and Page element</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="PageId" type="xpdl:IdRef" use="optional" />
+ <xsd:attribute name="LaneId" type="xsd:NMTOKEN" use="optional" />
+ <xsd:attribute name="Height" type="xsd:double" use="optional" />
+ <xsd:attribute name="Width" type="xsd:double" use="optional" />
+ <xsd:attribute name="BorderColor" type="xsd:string" use="optional" />
+ <xsd:attribute name="FillColor" type="xsd:string" use="optional" />
+ <xsd:attribute name="Shape" type="xsd:string" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="NodeGraphicsInfos">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:NodeGraphicsInfo" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Object">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: This is used to identify the Activity in an EndEvent Compensation???Also used to associate categories and ocumentation with a
+ variety of elements</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence minOccurs="0">
+ <xsd:element ref="xpdl:Categories" minOccurs="0" />
+ <xsd:element ref="xpdl:Documentation" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required">
+ <xsd:annotation>
+ <xsd:documentation>This identifies any Object in the BPMN diagram.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Output">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="ArtifactId" type="xsd:NMTOKEN" use="required" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="OutputSet">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Output" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="OutputSets">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:OutputSet" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Package" type="xpdl:PackageType">
+ <xsd:key name="ProcessIds.Package">
+ <xsd:selector xpath=".//xpdl:WorkflowProcess | .//xpdl:ActivitySet" />
+ <xsd:field xpath="@Id" />
+ </xsd:key>
+ <xsd:keyref name="PoolProcessIdRef.Package" refer="xpdl:ProcessIds.Package">
+ <xsd:selector xpath=".//xpdl:Pool" />
+ <xsd:field xpath="@Process" />
+ </xsd:keyref>
+ <xsd:key name="ProcessIdsTopLevel.Package">
+ <xsd:selector xpath=".//xpdl:WorkflowProcess" />
+ <xsd:field xpath="@Id" />
+ </xsd:key>
+ <xsd:keyref name="SubFlowIdRef.Package" refer="xpdl:ProcessIdsTopLevel.Package">
+ <xsd:selector xpath=".//xpdl:SubFlow" />
+ <xsd:field xpath="@Id" />
+ </xsd:keyref>
+ <xsd:key name="ActivitySetIds.Package">
+ <xsd:selector xpath=".//xpdl:ActivitySet" />
+ <xsd:field xpath="@Id" />
+ </xsd:key>
+ <xsd:keyref name="SubFlowStartActivitySetIdRef.Package" refer="xpdl:ActivitySetIds.Package">
+ <xsd:selector xpath=".//xpdl:SubFlow" />
+ <xsd:field xpath="@StartActivitySetId" />
+ </xsd:keyref>
+ <xsd:key name="ActivityIds.Package">
+ <xsd:selector xpath=".//xpdl:Activity" />
+ <xsd:field xpath="@Id" />
+ </xsd:key>
+ <xsd:keyref name="SubFlowStartActivityIdRef.Package" refer="xpdl:ActivityIds.Package">
+ <xsd:selector xpath=".//xpdl:SubFlow" />
+ <xsd:field xpath="@StartActivityId" />
+ </xsd:keyref>
+ <xsd:keyref name="TaskReferenceTaskRef.Package" refer="xpdl:ActivityIds.Package">
+ <xsd:selector xpath=".//xpdl:TaskReference" />
+ <xsd:field xpath="@TaskRef" />
+ </xsd:keyref>
+ <xsd:key name="LaneIds.Package">
+ <xsd:selector xpath=".//xpdl:Lane" />
+ <xsd:field xpath="@Id" />
+ </xsd:key>
+ <xsd:keyref name="NodeGraphicsInfoLaneIdRef.Package" refer="xpdl:LaneIds.Package">
+ <xsd:selector xpath=".//xpdl:NodeGraphicsInfo" />
+ <xsd:field xpath="@LaneId" />
+ </xsd:keyref>
+ <xsd:key name="PageIds.Package">
+ <xsd:selector xpath=".//xpdl:Page" />
+ <xsd:field xpath="@Id" />
+ </xsd:key>
+ <xsd:keyref name="GraphicsInfoPageIdRef.Package" refer="xpdl:PageIds.Package">
+ <xsd:selector xpath=".//xpdl:NodeGraphicsInfo | .//xpdl:ConnectorGraphicsInfo" />
+ <xsd:field xpath="@PageId" />
+ </xsd:keyref>
+ <xsd:key name="PoolAndActivityIds.Package">
+ <xsd:selector xpath=".//xpdl:Pool | .//xpdl:Activity" />
+ <xsd:field xpath="@Id" />
+ </xsd:key>
+ <xsd:keyref name="MessageFlowSourceRef.Package" refer="xpdl:PoolAndActivityIds.Package">
+ <xsd:selector xpath=".//xpdl:MessageFlow" />
+ <xsd:field xpath="@Source" />
+ </xsd:keyref>
+ <xsd:keyref name="MessageFlowTargetRef.Package" refer="xpdl:PoolAndActivityIds.Package">
+ <xsd:selector xpath=".//xpdl:MessageFlow" />
+ <xsd:field xpath="@Target" />
+ </xsd:keyref>
+ <!-- checks that process id referred to by pool exists -->
+ <!-- checks that process id referred to by subflow exists (must be top-level, not an activityset) -->
+ <!-- checks that start activityset referred to by subflow exists (note: incomplete test, does not constrain to process specified by subflow) -->
+ <!-- checks that start activity referred to by subflow exists (note: incomplete test, does not constrain to process specified by subflow) -->
+ <!-- checks that activity referred to by taskreference exists (note: may be incomplete test, does not constrain to same process that contains the task) -->
+ <!-- checks that lane id referred to by nodegraphicsinfo exists -->
+ <!-- checks that page id referred to by grahicsinfo exists -->
+ <!-- checks that source and target referred to by messageflow exists (note: incomplete test, does check that source/target are, or are in, separate pools) -->
+ </xsd:element>
+ <xsd:complexType name="PackageType">
+ <xsd:sequence>
+ <xsd:element ref="xpdl:PackageHeader" />
+ <xsd:element ref="xpdl:RedefinableHeader" minOccurs="0" />
+ <xsd:element ref="xpdl:ConformanceClass" minOccurs="0" />
+ <xsd:element ref="xpdl:Script" minOccurs="0" />
+ <xsd:element ref="xpdl:ExternalPackages" minOccurs="0" />
+ <xsd:element ref="xpdl:TypeDeclarations" minOccurs="0" />
+ <xsd:element ref="xpdl:Participants" minOccurs="0" />
+ <xsd:element ref="xpdl:Applications" minOccurs="0" />
+ <xsd:element ref="xpdl:DataFields" minOccurs="0" />
+ <xsd:element ref="xpdl:PartnerLinkTypes" minOccurs="0" />
+ <xsd:element ref="xpdl:Pages" minOccurs="0" />
+ <xsd:element ref="xpdl:Pools" minOccurs="0" />
+ <xsd:element ref="xpdl:MessageFlows" minOccurs="0" />
+ <xsd:element ref="xpdl:Associations" minOccurs="0" />
+ <xsd:element ref="xpdl:Artifacts" minOccurs="0" />
+ <xsd:element ref="xpdl:WorkflowProcesses" minOccurs="0" />
+ <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xpdl:Id" use="required">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Corresponds to BPD identifier. Target of @DiagramRef in Subflow.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:attribute name="Language" type="xsd:string" use="optional" />
+ <xsd:attribute name="QueryLanguage" type="xsd:string" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ <xsd:element name="PackageHeader">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:XPDLVersion" />
+ <xsd:element ref="xpdl:Vendor" />
+ <xsd:element ref="xpdl:Created" />
+ <xsd:element ref="xpdl:ModificationDate" minOccurs="0" />
+ <xsd:element ref="xpdl:Description" minOccurs="0" />
+ <xsd:element ref="xpdl:Documentation" minOccurs="0" />
+ <xsd:element ref="xpdl:PriorityUnit" minOccurs="0" />
+ <xsd:element ref="xpdl:CostUnit" minOccurs="0" />
+ <xsd:element ref="xpdl:VendorExtensions" minOccurs="0" />
+ <xsd:element ref="xpdl:LayoutInfo" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Page">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:attribute name="Id" type="xpdl:Id" use="required" />
+ <xsd:attribute name="Height" type="xsd:double" use="optional" />
+ <xsd:attribute name="Width" type="xsd:double" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Pages">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Page" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Participant">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:ParticipantType" />
+ <xsd:element ref="xpdl:Description" minOccurs="0" />
+ <xsd:element ref="xpdl:ExternalReference" minOccurs="0" />
+ <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ParticipantType">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Type" use="required">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="RESOURCE_SET" />
+ <xsd:enumeration value="RESOURCE" />
+ <xsd:enumeration value="ROLE" />
+ <xsd:enumeration value="ORGANIZATIONAL_UNIT" />
+ <xsd:enumeration value="HUMAN" />
+ <xsd:enumeration value="SYSTEM" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Participants">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Participant" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="PartnerLink">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="MyRole" minOccurs="0">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="RoleName" type="xsd:string" use="required" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="PartnerRole" minOccurs="0">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:EndPoint" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="RoleName" type="xsd:string" use="required" />
+ <xsd:attribute name="ServiceName" type="xsd:string" use="optional" />
+ <xsd:attribute name="PortName" type="xsd:string" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" />
+ <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="PartnerLinkTypeId" type="xsd:NMTOKEN" use="required" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="PartnerLinks">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:PartnerLink" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="PartnerLinkType">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="Role" maxOccurs="2">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="portType" type="xsd:string" use="required" />
+ <xsd:attribute name="Name" type="xsd:string" use="required" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="name" type="xsd:string" use="required" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="PartnerLinkTypes">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:PartnerLinkType" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Performer">
+ <xsd:annotation>
+ <xsd:documentation>A String or Expression designating the Performer</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Performers">
+ <xsd:annotation>
+ <xsd:documentation>BPMN and XPDL</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Performer" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Pool">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Lanes" minOccurs="0" />
+ <xsd:element ref="xpdl:Object" minOccurs="0" />
+ <xsd:element ref="xpdl:NodeGraphicsInfos" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xpdl:Id" use="required">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="Name" type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Pool label in diagram</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="Orientation" use="optional" default="HORIZONTAL">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="HORIZONTAL" />
+ <xsd:enumeration value="VERTICAL" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="Process" type="xpdl:IdRef" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Pointer to WorkflowProcess/@Id; presence indicates this pool is part of an internal (private) process.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="Participant" type="xsd:NMTOKEN" use="optional" />
+ <xsd:attribute name="BoundaryVisible" type="xsd:boolean" use="required" />
+ <xsd:attribute name="MainPool" type="xsd:boolean" use="optional" default="false" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Pools">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Pool" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Precision">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:short">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Priority">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="PriorityUnit">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ProcessHeader">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Created" minOccurs="0" />
+ <xsd:element ref="xpdl:Description" minOccurs="0" />
+ <xsd:element ref="xpdl:Priority" minOccurs="0" />
+ <xsd:element ref="xpdl:Limit" minOccurs="0" />
+ <xsd:element ref="xpdl:ValidFrom" minOccurs="0" />
+ <xsd:element ref="xpdl:ValidTo" minOccurs="0" />
+ <xsd:element ref="xpdl:TimeEstimation" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="DurationUnit">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="Y" />
+ <xsd:enumeration value="M" />
+ <xsd:enumeration value="D" />
+ <xsd:enumeration value="h" />
+ <xsd:enumeration value="m" />
+ <xsd:enumeration value="s" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:complexType name="ProcessType">
+ <xsd:sequence>
+ <xsd:element ref="xpdl:ProcessHeader" />
+ <xsd:element ref="xpdl:RedefinableHeader" minOccurs="0" />
+ <xsd:element ref="xpdl:FormalParameters" minOccurs="0" />
+ <xsd:element ref="xpdl:InputSets" minOccurs="0" />
+ <xsd:element ref="xpdl:OutputSets" minOccurs="0" />
+ <xsd:choice minOccurs="0">
+ <xsd:annotation>
+ <xsd:documentation>changes xpdl 1.0 order</xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence minOccurs="0">
+ <xsd:element ref="xpdl:Participants" minOccurs="0" />
+ <xsd:element ref="xpdl:Applications" minOccurs="0" />
+ <xsd:element ref="xpdl:DataFields" minOccurs="0" />
+ </xsd:sequence>
+ <xsd:sequence minOccurs="0">
+ <xsd:element ref="deprecated:DataFields" minOccurs="0" />
+ <xsd:element ref="deprecated:Participants" minOccurs="0" />
+ <xsd:element ref="deprecated:Applications" minOccurs="0" />
+ </xsd:sequence>
+ </xsd:choice>
+ <xsd:element ref="xpdl:ActivitySets" minOccurs="0" />
+ <xsd:element ref="xpdl:Activities" minOccurs="0" />
+ <xsd:element ref="xpdl:Transitions" minOccurs="0" />
+ <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0" />
+ <xsd:element ref="xpdl:Assignments" minOccurs="0" />
+ <xsd:element ref="xpdl:PartnerLinks" minOccurs="0" />
+ <xsd:element ref="xpdl:Object" minOccurs="0" />
+ <xsd:choice minOccurs="0">
+ <xsd:sequence>
+ <xsd:element name="Extensions" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ </xsd:choice>
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xpdl:Id" use="required">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: unique identifier for the process, referenced by Pool</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="Name" type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: label of WorkflowProcess in diagram, should be same as for Pool</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="AccessLevel" use="optional" default="PUBLIC">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="PUBLIC" />
+ <xsd:enumeration value="PRIVATE" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="ProcessType" use="optional" default="None">
+ <xsd:annotation>
+ <xsd:documentation>BPMN:</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="None" />
+ <xsd:enumeration value="Private" />
+ <xsd:enumeration value="Abstract" />
+ <xsd:enumeration value="Collaboration" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="Status" use="optional" default="None">
+ <xsd:annotation>
+ <xsd:documentation> BPMN: Status values are assigned during execution. Status can be treated as a property and used in expressions local to a Process. It is
+ unclear that status belongs in the XPDL document.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="None" />
+ <xsd:enumeration value="Ready" />
+ <xsd:enumeration value="Active" />
+ <xsd:enumeration value="Cancelled" />
+ <xsd:enumeration value="Aborting" />
+ <xsd:enumeration value="Aborted" />
+ <xsd:enumeration value="Completing" />
+ <xsd:enumeration value="Completed" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="SuppressJoinFailure" type="xsd:boolean" use="optional" default="false" />
+ <xsd:attribute name="EnableInstanceCompensation" type="xsd:boolean" use="optional" default="false" />
+ <xsd:attribute name="AdHoc" type="xsd:boolean" use="optional" default="false">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: for Embedded subprocess</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="AdHocOrdering" use="optional" default="Parallel">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="Sequential" />
+ <xsd:enumeration value="Parallel" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="AdHocCompletionCondition" type="xsd:string" use="optional" />
+ <xsd:attribute name="DefaultStartActivitySetId" type="xpdl:IdRef" use="optional" />
+ <xsd:attribute name="DefaultStartActivityId" type="xpdl:IdRef" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ <xsd:element name="PropertyInput">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="PropertyId" type="xsd:NMTOKEN" use="required" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="RecordType">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Member" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="RedefinableHeader">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Author" minOccurs="0" />
+ <xsd:element ref="xpdl:Version" minOccurs="0" />
+ <xsd:element ref="xpdl:Codepage" minOccurs="0" />
+ <xsd:element ref="xpdl:Countrykey" minOccurs="0" />
+ <xsd:element ref="xpdl:Responsibles" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="PublicationStatus">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="UNDER_REVISION" />
+ <xsd:enumeration value="RELEASED" />
+ <xsd:enumeration value="UNDER_TEST" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Reference">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="ActivityId" type="xpdl:IdRef" use="required">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Reference to a BPMN task or subprocess definition elsewhere; should not be used for gateway or event. Pointer to Activity/@Id in
+ XPDL.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ResourceCosts">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="ResourceCostName">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:string">
+ <xsd:maxLength value="100" />
+ <xsd:minLength value="0" />
+ <xsd:whiteSpace value="preserve" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:element>
+ <xsd:element name="ResourceCost">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:decimal">
+ <xsd:fractionDigits value="2" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:element>
+ <xsd:element name="CostUnitOfTime">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="second" />
+ <xsd:enumeration value="minute" />
+ <xsd:enumeration value="hour" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:element>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Responsible">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Responsibles">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Responsible" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TriggerResultCompensation">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Must be present if if Trigger or ResultType is Compensation.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="ActivityId" type="xsd:NMTOKEN" use="optional">
+ <xsd:annotation>
+ <xsd:documentation> This supplies the Id of the Activity to be Compensated. Used only for intermediate events or end events in the seuence flow. Events
+ attached to the boundary of an activity already know the Id.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ResultError">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Must be present if Trigger or ResultType is error.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="ErrorCode" type="xsd:string" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ResultMultiple">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Must be present if ResultType is Multiple.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:annotation>
+ <xsd:documentation>at least two results must be present</xsd:documentation>
+ </xsd:annotation>
+ <xsd:element ref="xpdl:TriggerResultMessage" minOccurs="0" />
+ <xsd:element ref="xpdl:TriggerResultLink" minOccurs="0" />
+ <xsd:element ref="xpdl:TriggerResultCompensation" minOccurs="0" />
+ <xsd:element ref="xpdl:ResultError" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Route">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="GatewayType" use="optional" default="Exclusive">
+ <xsd:annotation>
+ <xsd:documentation> Used when needed for BPMN Gateways. Gate and sequence information is associated with the Transition Element.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="XOR">
+ <xsd:annotation>
+ <xsd:documentation>Deprecated in BPMN1.1</xsd:documentation>
+ </xsd:annotation>
+ </xsd:enumeration>
+ <xsd:enumeration value="Exclusive" />
+ <xsd:enumeration value="OR">
+ <xsd:annotation>
+ <xsd:documentation>Deprecated in BPMN1.1</xsd:documentation>
+ </xsd:annotation>
+ </xsd:enumeration>
+ <xsd:enumeration value="Inclusive" />
+ <xsd:enumeration value="Complex" />
+ <xsd:enumeration value="AND" />
+ <xsd:enumeration value="Parallel" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="XORType" use="optional" default="Data">
+ <xsd:annotation>
+ <xsd:documentation>Deprecated in BPMN1.1</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="Data" />
+ <xsd:enumeration value="Event" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="ExclusiveType" use="optional" default="Data">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="Data" />
+ <xsd:enumeration value="Event" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="Instantiate" type="xsd:boolean" use="optional" default="false" />
+ <xsd:attribute name="MarkerVisible" type="xsd:boolean" use="optional" default="false">
+ <xsd:annotation>
+ <xsd:documentation>Applicable only to XOR Gateways</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="IncomingCondition" type="xsd:string" use="optional" />
+ <xsd:attribute name="OutgoingCondition" type="xsd:string" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Rule">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="Expression" type="xpdl:ExpressionType" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Scale">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:short">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="SchemaType">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Script">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Type" type="xsd:string" use="required" />
+ <xsd:attribute name="Version" type="xsd:string" use="optional" />
+ <xsd:attribute name="Grammar" type="xsd:anyURI" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="SimulationInformation">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Cost" />
+ <xsd:element ref="xpdl:TimeEstimation" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Instantiation">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="ONCE" />
+ <xsd:enumeration value="MULTIPLE" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Split">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:TransitionRefs" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Type">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="XOR">
+ <xsd:annotation>
+ <xsd:documentation>Deprecated in BPMN1.1</xsd:documentation>
+ </xsd:annotation>
+ </xsd:enumeration>
+ <xsd:enumeration value="Exclusive" />
+ <xsd:enumeration value="OR">
+ <xsd:annotation>
+ <xsd:documentation>Deprecated in BPMN1.1</xsd:documentation>
+ </xsd:annotation>
+ </xsd:enumeration>
+ <xsd:enumeration value="Inclusive" />
+ <xsd:enumeration value="Complex" />
+ <xsd:enumeration value="AND">
+ <xsd:annotation>
+ <xsd:documentation>Deprecated in BPMN1.1</xsd:documentation>
+ </xsd:annotation>
+ </xsd:enumeration>
+ <xsd:enumeration value="Parallel" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="ExclusiveType" use="optional" default="Data">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="Data" />
+ <xsd:enumeration value="Event" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="OutgoingCondition" type="xsd:string" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="StartEvent">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:choice minOccurs="0">
+ <xsd:element ref="xpdl:TriggerResultMessage" minOccurs="0" />
+ <xsd:element ref="xpdl:TriggerTimer" minOccurs="0" />
+ <xsd:element ref="xpdl:TriggerConditional" minOccurs="0" />
+ <xsd:element ref="xpdl:TriggerResultSignal" minOccurs="0" />
+ <xsd:element ref="xpdl:TriggerMultiple" minOccurs="0" />
+ </xsd:choice>
+ <xsd:attribute name="Trigger" use="required">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Trigger or Result type for the event</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="None" />
+ <xsd:enumeration value="Message" />
+ <xsd:enumeration value="Timer" />
+ <xsd:enumeration value="Conditional" />
+ <xsd:enumeration value="Signal" />
+ <xsd:enumeration value="Multiple" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="Implementation" use="optional" default="WebService">
+ <xsd:annotation>
+ <xsd:documentation>Required if the Trigger is Message</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="WebService" />
+ <xsd:enumeration value="Other" />
+ <xsd:enumeration value="Unspecified" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="SubFlow">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:choice minOccurs="0">
+ <xsd:element ref="xpdl:ActualParameters" />
+ <xsd:element ref="xpdl:DataMappings" />
+ </xsd:choice>
+ <xsd:element ref="xpdl:EndPoint" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xpdl:IdRef" use="required">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Corresponds to BPMN attribute ProcessRef, pointer to WorkflowProcess/@Id in BPD referenced by PackageRef. [Suggest name change
+ to ProcessRef; this is IDREF not ID].</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:attribute name="Execution" use="optional" default="SYNCHR">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="ASYNCHR" />
+ <xsd:enumeration value="SYNCHR" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="View" use="optional" default="COLLAPSED">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Detrmines rendering of subprocess as Collapsed or Expended. Default is Collapsed.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="COLLAPSED" />
+ <xsd:enumeration value="EXPANDED" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="PackageRef" type="xpdl:IdRef" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Corresponds to BPMN attribute DiagramRef, pointer to a BPD identified by Package/@Id. [Maybe IDREF doesn't work here since ID is
+ in a different document.]</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="InstanceDataField" type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation> Used to store the instance id of the subflow instantiated by the activity. This is then available later on (e.g. for correlation,
+ messaging etc.) especially in the case of asynchronous invocation.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="StartActivitySetId" type="xpdl:IdRef" use="optional" />
+ <xsd:attribute name="StartActivityId" type="xpdl:IdRef" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Task">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:choice minOccurs="0">
+ <xsd:element ref="xpdl:TaskService">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: TaskType = Service. In BPMN generally signifies any automated activity.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element ref="xpdl:TaskReceive">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: TaskType = Receive. Waits for a message, then continues. Equivalent to a "catching" message event. In BPMN, "message"
+ generally signifies any signal from outside the process (pool).</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element ref="xpdl:TaskManual">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: TaskType = Manual. Used for human tasks other than those accessed via workflow.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element ref="xpdl:TaskReference">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: TaskType = Reference. Task properties defined in referenced activity.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element ref="xpdl:TaskScript">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: TaskType = Script. Used for automated tasks executed by scripts on process engine, to distinguish from automated tasks
+ performed externally (Service).</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element ref="xpdl:TaskSend">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Task Type = Send. Equivalent to a "throwing" message event. Sends a message immediately and continues. In BPMN, "message"
+ signifies any signal sent outside the process (pool).</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element ref="xpdl:TaskUser">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Task Type = User. Generally used for human tasks.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element ref="xpdl:TaskApplication" />
+ </xsd:choice>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TaskManual">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Performers" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TaskReceive">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="Message" type="xpdl:MessageType" minOccurs="0">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Implementation-related but required by spec.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element ref="xpdl:WebServiceOperation" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Instantiate" type="xsd:boolean" use="required" />
+ <xsd:attribute name="Implementation" use="optional" default="WebService">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Implementation-related but required by spec.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="WebService" />
+ <xsd:enumeration value="Other" />
+ <xsd:enumeration value="Unspecified" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TaskReference">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="TaskRef" type="xpdl:IdRef" use="required">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Pointer to Activity/@Id that defines the task.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TaskSend">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="Message" type="xpdl:MessageType" minOccurs="0">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Implementation-related but required by spec</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element ref="xpdl:WebServiceOperation" minOccurs="0" />
+ <xsd:element ref="xpdl:WebServiceFaultCatch" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Implementation" use="optional" default="WebService">
+ <xsd:annotation>
+ <xsd:documentation>Required if the Task is Send</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="WebService" />
+ <xsd:enumeration value="Other" />
+ <xsd:enumeration value="Unspecified" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TaskService">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="MessageIn" type="xpdl:MessageType" minOccurs="0">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Implementation-related but required by spec.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element name="MessageOut" type="xpdl:MessageType" minOccurs="0">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Implementation-related but required by spec.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element ref="xpdl:WebServiceOperation" minOccurs="0" />
+ <xsd:element ref="xpdl:WebServiceFaultCatch" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Implementation" use="optional" default="WebService">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Implementation-related, but required if the Task is Service</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="WebService" />
+ <xsd:enumeration value="Other" />
+ <xsd:enumeration value="Unspecified" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TaskScript">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="Script" type="xpdl:ExpressionType">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TaskUser">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Performers" minOccurs="0" />
+ <xsd:element name="MessageIn" type="xpdl:MessageType" minOccurs="0" />
+ <xsd:element name="MessageOut" type="xpdl:MessageType" minOccurs="0" />
+ <xsd:element ref="xpdl:WebServiceOperation" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Implementation" use="optional" default="WebService">
+ <xsd:annotation>
+ <xsd:documentation>Required if the Task is User</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="WebService" />
+ <xsd:enumeration value="Other" />
+ <xsd:enumeration value="Unspecified" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TimeEstimation">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:WaitingTime" minOccurs="0" />
+ <xsd:element ref="xpdl:WorkingTime" minOccurs="0" />
+ <xsd:element ref="xpdl:Duration" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TaskApplication">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:choice minOccurs="0">
+ <xsd:element ref="xpdl:ActualParameters" />
+ <xsd:element ref="xpdl:DataMappings" />
+ </xsd:choice>
+ <xsd:element ref="xpdl:Description" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:attribute name="PackageRef" type="xsd:NMTOKEN" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Transaction">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: If SubProcess is a transaction then this is required.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="TransactionId" type="xsd:string" use="required" />
+ <xsd:attribute name="TransactionProtocol" type="xsd:string" use="required" />
+ <xsd:attribute name="TransactionMethod" use="required">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="Compensate" />
+ <xsd:enumeration value="Store" />
+ <xsd:enumeration value="Image" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Transition">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Condition" minOccurs="0" />
+ <xsd:element ref="xpdl:Description" minOccurs="0" />
+ <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0" />
+ <xsd:element ref="xpdl:Assignments" minOccurs="0" />
+ <xsd:element ref="xpdl:Object" minOccurs="0" />
+ <xsd:element ref="xpdl:ConnectorGraphicsInfos" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xpdl:Id" use="required" />
+ <xsd:attribute name="From" type="xpdl:IdRef" use="required" />
+ <xsd:attribute name="To" type="xpdl:IdRef" use="required" />
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:attribute name="Quantity" type="xsd:int" use="optional" default="1">
+ <xsd:annotation>
+ <xsd:documentation>Used only in BPMN. Specifies number of tokens on outgoing transition.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TransitionRef">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xpdl:IdRef" use="required" />
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TransitionRefs">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:TransitionRef" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TransitionRestriction">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Join" minOccurs="0" />
+ <xsd:element ref="xpdl:Split" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TransitionRestrictions">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:TransitionRestriction" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Transitions">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Transition" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TriggerConditional">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="Expression" type="xpdl:ExpressionType" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="ConditionName" type="xsd:string" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TriggerResultLink">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: if the Trigger or Result Type is Link then this must be present.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="CatchThrow" use="optional" default="CATCH">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="CATCH" />
+ <xsd:enumeration value="THROW" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="Name" type="xsd:NMTOKEN" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>The link can only be used within one process as a shorthand for a long sequence flow .</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TriggerResultMessage">
+ <xsd:annotation>
+ <xsd:documentation> BPMN: If the Trigger or Result Type is Message then this must be present</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="Message" type="xpdl:MessageType" minOccurs="0" />
+ <xsd:element ref="xpdl:WebServiceOperation" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="CatchThrow" use="optional" default="CATCH">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="CATCH" />
+ <xsd:enumeration value="THROW" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TriggerResultCancel" />
+ <xsd:element name="TriggerResultSignal">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="Properties" type="xpdl:ExpressionType" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Name" type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>Text description of the signal</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="CatchThrow" use="optional" default="CATCH">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="CATCH" />
+ <xsd:enumeration value="THROW" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TriggerIntermediateMultiple">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: if the TriggerType is Multiple then this must be present.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:annotation>
+ <xsd:documentation>BPMN: For Multiple, at least two triggers must be present.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:element ref="xpdl:TriggerResultMessage" minOccurs="0" />
+ <xsd:element ref="xpdl:TriggerTimer" minOccurs="0" />
+ <xsd:element ref="xpdl:ResultError" minOccurs="0" />
+ <xsd:element ref="xpdl:TriggerResultCompensation" minOccurs="0" />
+ <xsd:element ref="xpdl:TriggerConditional" minOccurs="0" />
+ <xsd:element ref="xpdl:TriggerResultLink" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TriggerMultiple">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: if the TriggerType is Multiple then this must be present.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:annotation>
+ <xsd:documentation>BPMN: For Multiple, at least two triggers must be present.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:element ref="xpdl:TriggerResultMessage" minOccurs="0" />
+ <xsd:element ref="xpdl:TriggerTimer" minOccurs="0" />
+ <xsd:element ref="xpdl:TriggerConditional" minOccurs="0" />
+ <xsd:element ref="xpdl:TriggerResultLink" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TriggerRule">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: if the TriggerType is Rule then this must be present. DEprecated in BPMN1.1</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="RuleName" type="xsd:string" use="required">
+ <xsd:annotation>
+ <xsd:documentation>This is the nameof a Rule element.</xsd:documentation>
+ <xsd:documentation>Deprecated in BPMN1.1</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TriggerTimer">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: If the Trigger Type is Timer then this must be present</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:choice>
+ <xsd:element name="TimeDate" type="xpdl:ExpressionType" />
+ <xsd:element name="TimeCycle" type="xpdl:ExpressionType" />
+ </xsd:choice>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="TimeDate" type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>Deprecated</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="TimeCycle" type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>Deprecated</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TypeDeclaration">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:group ref="xpdl:DataTypes" />
+ <xsd:element ref="xpdl:Description" minOccurs="0" />
+ <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xsd:ID" use="required" />
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TypeDeclarations">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:TypeDeclaration" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="UnionType">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Member" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ValidFrom">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ValidTo">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Vendor">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="VendorExtension">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="ToolId" type="xsd:string" use="required" />
+ <xsd:attribute name="schemaLocation" type="xsd:anyURI" use="required" />
+ <xsd:attribute name="extensionDescription" type="xsd:anyURI" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="VendorExtensions">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:VendorExtension" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Version">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="WaitingTime">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="WebServiceFaultCatch">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="Message" type="xpdl:MessageType" minOccurs="0" />
+ <xsd:choice>
+ <xsd:element ref="xpdl:BlockActivity" />
+ <xsd:element ref="xpdl:TransitionRef" />
+ </xsd:choice>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="FaultName" type="xsd:NMTOKEN" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="WebServiceOperation">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: If the Implementation is a WebService this is required.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:choice>
+ <xsd:element name="Partner">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="PartnerLinkId" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="RoleType" use="required">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="MyRole" />
+ <xsd:enumeration value="PartnerRole" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Service">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:EndPoint" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="ServiceName" type="xsd:string" use="required" />
+ <xsd:attribute name="PortName" type="xsd:string" use="required" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:choice>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="OperationName" type="xsd:string" use="required" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="WorkflowProcess" type="xpdl:ProcessType">
+ <xsd:key name="ActivitySetIds.WorkflowProcess">
+ <xsd:selector xpath="./xpdl:ActivitySets/xpdl:ActivitySet" />
+ <xsd:field xpath="@Id" />
+ </xsd:key>
+ <xsd:key name="ActivityIds.WorkflowProcess">
+ <xsd:selector xpath="./xpdl:Activities/xpdl:Activity | ./xpdl:ActivitySets/xpdl:ActivitySet/xpdl:Activities/xpdl:Activity" />
+ <xsd:field xpath="@Id" />
+ </xsd:key>
+ <xsd:key name="ActivityIdsTopLevel.WorkflowProcess">
+ <xsd:selector xpath="./xpdl:Activities/xpdl:Activity" />
+ <xsd:field xpath="@Id" />
+ </xsd:key>
+ <xsd:key name="TransitionIdsTopLevel.WorkflowProcess">
+ <xsd:selector xpath="./xpdl:Transitions/xpdl:Transition" />
+ <xsd:field xpath="@Id" />
+ </xsd:key>
+ <xsd:keyref name="DefaultStartActivitySetIdRef.WorkflowProcess" refer="xpdl:ActivitySetIds.WorkflowProcess">
+ <xsd:selector xpath="." />
+ <xsd:field xpath="@DefaultStartActivitySetId" />
+ </xsd:keyref>
+ <xsd:keyref name="DefaultStartActivityIdRef.WorkflowProcess" refer="xpdl:ActivityIds.WorkflowProcess">
+ <xsd:selector xpath="." />
+ <xsd:field xpath="@DefaultStartActivityId" />
+ </xsd:keyref>
+ <xsd:keyref name="BlockActivityActivitySetIdRef.WorkflowProcess" refer="xpdl:ActivitySetIds.WorkflowProcess">
+ <xsd:selector xpath=".//xpdl:BlockActivity" />
+ <xsd:field xpath="@ActivitySetId" />
+ </xsd:keyref>
+ <xsd:keyref name="BlockActivityStartActivityIdRef.WorkflowProcess" refer="xpdl:ActivityIds.WorkflowProcess">
+ <xsd:selector xpath=".//xpdl:BlockActivity" />
+ <xsd:field xpath="@StartActivityId" />
+ </xsd:keyref>
+ <xsd:keyref name="TransitionFromRef.WorkflowProcess" refer="xpdl:ActivityIdsTopLevel.WorkflowProcess">
+ <xsd:selector xpath="./xpdl:Transitions/xpdl:Transition" />
+ <xsd:field xpath="@From" />
+ </xsd:keyref>
+ <xsd:keyref name="TransitionToRef.WorkflowProcess" refer="xpdl:ActivityIdsTopLevel.WorkflowProcess">
+ <xsd:selector xpath="./xpdl:Transitions/xpdl:Transition" />
+ <xsd:field xpath="@To" />
+ </xsd:keyref>
+ <xsd:keyref name="TransitionRefIdRef.WorkflowProcess" refer="xpdl:TransitionIdsTopLevel.WorkflowProcess">
+ <xsd:selector xpath="./xpdl:Activities/xpdl:Activity/xpdl:TransitionRestrictions/xpdl:TransitionRestriction/xpdl:Split/xpdl:TransitionRefs/xpdl:TransitionRef" />
+ <xsd:field xpath="@Id" />
+ </xsd:keyref>
+ <!-- constrain to only activities in the top-level, not activitysets -->
+ <!-- constrain to only transitions in the top-level, not activitysets -->
+ <!-- check that specified default start activityset exists -->
+ <!-- check that specified default start activity exists (note: incomplete test, does not constrain to optional activtyset specified by DefaultStartActivitySetId) -->
+ <!-- check that the activityset specified in a blockactivity exists -->
+ <!-- check that the start activity specified in a blockactivity exists (note: incomplete test, does not constrain to activtyset specified by ActivitySetId) -->
+ <!-- check that the from and to specified in a transition exists -->
+ <!-- check that the id specified in a transitionref exists -->
+ </xsd:element>
+ <xsd:element name="WorkflowProcesses">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:WorkflowProcess" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="WorkingTime">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="XPDLVersion">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:simpleType name="Id">
+ <xsd:restriction base="xsd:NMTOKEN" />
+ </xsd:simpleType>
+ <xsd:simpleType name="IdRef">
+ <xsd:restriction base="xsd:NMTOKEN" />
+ </xsd:simpleType>
+</xsd:schema>
\ No newline at end of file
Copied: api/trunk/modules/dialects/xpdl21/src/main/resources/bpmnxpdl_31_mods.xsd (from rev 1663, api/trunk/modules/api/src/main/resources/bpmnxpdl_31_mods.xsd)
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/resources/bpmnxpdl_31_mods.xsd (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/resources/bpmnxpdl_31_mods.xsd 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,3230 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This schema has some modifications
+-->
+<xsd:schema targetNamespace="http://www.wfmc.org/2008/XPDL2.1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xpdl="http://www.wfmc.org/2008/XPDL2.1"
+ elementFormDefault="qualified" attributeFormDefault="unqualified" version="31">
+ <xsd:element name="Activities">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Activity" minOccurs="0" maxOccurs="unbounded">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: corresponds to a flow object, which could be a BPMN activity, gateway, or event</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Activity">
+ <xsd:annotation>
+ <xsd:documentation>BPMN extension</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Description" minOccurs="0" />
+ <xsd:element ref="xpdl:Limit" minOccurs="0" />
+ <xsd:choice minOccurs="0">
+ <xsd:element ref="xpdl:Route" />
+ <xsd:element ref="xpdl:Implementation">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: corresponds to an activity, which could be a task or subprocess.[Suggest change element to BpmnActivity, since there is an
+ attribute Implementation which means something else entirely.]</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:choice minOccurs="0">
+ <xsd:element ref="xpdl:BlockActivity" />
+ </xsd:choice>
+ <xsd:element ref="xpdl:Event">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Identifies XPDL activity as a BPMN event.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ </xsd:choice>
+ <xsd:element ref="xpdl:Transaction" minOccurs="0" />
+ <xsd:element ref="xpdl:Performers" minOccurs="0" />
+ <xsd:element ref="xpdl:Priority" minOccurs="0" />
+ <xsd:choice minOccurs="0">
+ <xsd:element ref="xpdl:Deadline" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:choice>
+ <xsd:element ref="xpdl:SimulationInformation" minOccurs="0" />
+ <xsd:element ref="xpdl:Icon" minOccurs="0" />
+ <xsd:element ref="xpdl:Documentation" minOccurs="0" />
+ <xsd:element ref="xpdl:TransitionRestrictions" minOccurs="0" />
+ <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0" />
+ <xsd:element ref="xpdl:DataFields" minOccurs="0" />
+ <xsd:element ref="xpdl:InputSets" minOccurs="0" />
+ <xsd:element ref="xpdl:OutputSets" minOccurs="0" />
+ <xsd:element ref="xpdl:IORules" minOccurs="0" />
+ <xsd:element ref="xpdl:Loop" minOccurs="0" />
+ <xsd:element ref="xpdl:Assignments" minOccurs="0" />
+ <xsd:element ref="xpdl:Object" minOccurs="0" />
+ <xsd:element ref="xpdl:NodeGraphicsInfos" minOccurs="0" />
+ <xsd:choice minOccurs="0">
+ <xsd:sequence>
+ <xsd:element name="Extensions" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ </xsd:choice>
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xpdl:Id" use="required">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: unique identifier of the flow object</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="IsForCompensation" type="xsd:boolean" use="optional" />
+ <xsd:attribute name="Name" type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: label of the flow object in the diagram</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="StartActivity" type="xsd:boolean" use="optional">
+ <xsd:annotation>
+ <xsd:documentation> Designates the first activity to be executed when the process is instantiated. Used when there is no other way to determine this Conflicts
+ with BPMN StartEvent and no process definition should use both.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="Status" use="optional" default="None">
+ <xsd:annotation>
+ <xsd:documentation> BPMN: Status values are assigned during execution. Status can be treated as a property and used in expressions local to an Activity. It is
+ unclear that status belongs in the XPDL document.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="None" />
+ <xsd:enumeration value="Ready" />
+ <xsd:enumeration value="Active" />
+ <xsd:enumeration value="Cancelled" />
+ <xsd:enumeration value="Aborting" />
+ <xsd:enumeration value="Aborted" />
+ <xsd:enumeration value="Completing" />
+ <xsd:enumeration value="Completed" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="StartMode">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="Automatic" />
+ <xsd:enumeration value="Manual" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="FinishMode">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="Automatic" />
+ <xsd:enumeration value="Manual" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="StartQuantity" type="xsd:integer" use="optional" default="1" />
+ <xsd:attribute name="CompletionQuantity" type="xsd:integer" use="optional" default="1" />
+ <xsd:attribute name="IsATransaction" type="xsd:boolean" use="optional" default="false" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ActivitySet">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Activities" minOccurs="0" />
+ <xsd:element ref="xpdl:Transitions" minOccurs="0" />
+ <xsd:element ref="xpdl:Object" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xpdl:Id" use="required" />
+ <xsd:attribute name="Name" type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation source="added to XPDL 2.0" />
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="AdHoc" type="xsd:boolean" use="optional" default="false">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: for Embedded subprocess</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="AdHocOrdering" use="optional" default="Parallel">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: for Embedded subprocess</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="Sequential" />
+ <xsd:enumeration value="Parallel" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="AdHocCompletionCondition" type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: for Embedded subprocess</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="DefaultStartActivityId" type="xpdl:IdRef" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ <xsd:key name="ActivityIds.ActivitySet">
+ <xsd:selector xpath="./xpdl:Activities/xpdl:Activity" />
+ <xsd:field xpath="@Id" />
+ </xsd:key>
+ <xsd:key name="TransitionIds.ActivitySet">
+ <xsd:selector xpath="./xpdl:Transitions/xpdl:Transition" />
+ <xsd:field xpath="@Id" />
+ </xsd:key>
+ <xsd:keyref name="DefaultStartActivityIdRef.ActivitySet" refer="xpdl:ActivityIds.ActivitySet">
+ <xsd:selector xpath="." />
+ <xsd:field xpath="@DefaultStartActivityId" />
+ </xsd:keyref>
+ <xsd:keyref name="TransitionFromRef.ActivitySet" refer="xpdl:ActivityIds.ActivitySet">
+ <xsd:selector xpath="./xpdl:Transitions/xpdl:Transition" />
+ <xsd:field xpath="@From" />
+ </xsd:keyref>
+ <xsd:keyref name="TransitionToRef.ActivitySet" refer="xpdl:ActivityIds.ActivitySet">
+ <xsd:selector xpath="./xpdl:Transitions/xpdl:Transition" />
+ <xsd:field xpath="@To" />
+ </xsd:keyref>
+ <xsd:keyref name="TransitionRefIdRef.ActivitySet" refer="xpdl:TransitionIds.ActivitySet">
+ <xsd:selector xpath="./xpdl:Activities/xpdl:Activity/xpdl:TransitionRestrictions/xpdl:TransitionRestriction/xpdl:Split/xpdl:TransitionRefs/xpdl:TransitionRef" />
+ <xsd:field xpath="@Id" />
+ </xsd:keyref>
+ <!-- check that the default start activity id exists -->
+ <!-- check that the from and to specified in a transition exists -->
+ <!-- check that the id specified in a transitionref exists -->
+ </xsd:element>
+ <xsd:element name="ActivitySets">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:ActivitySet" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ActualParameters">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="ActualParameter" type="xpdl:ExpressionType" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Application">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Description" minOccurs="0" />
+ <xsd:element name="Type" type="xpdl:ApplicationType" minOccurs="0" />
+ <xsd:choice>
+ <xsd:element ref="xpdl:FormalParameters" />
+ <xsd:element ref="xpdl:ExternalReference" minOccurs="0" />
+ </xsd:choice>
+ <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:complexType name="ApplicationType">
+ <xsd:choice>
+ <xsd:element name="Ejb">
+ <xsd:annotation>
+ <xsd:documentation> Call EJB component -- There can be max one formal parameter that is OUT, if it exists it has to be the last formal parameter. no INOUT
+ formal parameters</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="JndiName">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="HomeClass">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Method">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Pojo">
+ <xsd:annotation>
+ <xsd:documentation> Call method on Java class -- There can be max one formal parameter that is OUT, if it exists it has to be the last formal parameter. no
+ INOUT formal parameters</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="Class">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Method">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Xslt">
+ <xsd:annotation>
+ <xsd:documentation> Execute Tranformation -- Formal Parameters restrictions: one IN and one OUT formal parameters or only one INOUT formal parameter
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="location" type="xsd:anyURI" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Script">
+ <xsd:annotation>
+ <xsd:documentation> Execute Script -- No additional restrictions for formal parameters. The suggestion: every Formal Parameter should be registered in the
+ script scope as a global variable</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="Expression" type="xpdl:ExpressionType" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="WebService">
+ <xsd:annotation>
+ <xsd:documentation> For WSDL 1.2 -- Invoke WebService, all IN Fprmal Parameters will be mapped to input message, all OUT Formal Parameters will be maped from
+ output message</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:WebServiceOperation" />
+ <xsd:element ref="xpdl:WebServiceFaultCatch" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="InputMsgName" type="xsd:string" use="required">
+ <xsd:annotation>
+ <xsd:documentation>The name of inputMessage as defined in the WSDL which will help in uniquely identifying the operation to be invoked
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="OutputMsgName" type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>The name of inputMessage as defined in the WSDL which will help in uniquely identifying the operation to be invoked
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="BusinessRule">
+ <xsd:annotation>
+ <xsd:documentation>Invoke business rule</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="RuleName">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Location">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:anyURI">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Form">
+ <xsd:annotation>
+ <xsd:documentation>Placeholder for all form related additional information.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="FormLayout" minOccurs="0">
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="xsd:anyType">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:choice>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ <xsd:element name="Applications">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Application" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ArrayType">
+ <xsd:complexType>
+ <xsd:group ref="xpdl:DataTypes" />
+ <xsd:attribute name="LowerIndex" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="UpperIndex" type="xsd:NMTOKEN" use="required" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Artifact">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Not further defined here.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence minOccurs="0">
+ <xsd:element ref="xpdl:Object" minOccurs="0" />
+ <xsd:element ref="xpdl:Group" minOccurs="0" />
+ <xsd:element ref="xpdl:DataObject" minOccurs="0" />
+ <xsd:element ref="xpdl:NodeGraphicsInfos" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:attribute name="ArtifactType" use="required">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="DataObject" />
+ <xsd:enumeration value="Group" />
+ <xsd:enumeration value="Annotation" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="TextAnnotation" type="xsd:string" use="optional" />
+ <xsd:attribute name="Group" type="xsd:string" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Artifacts">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence maxOccurs="unbounded">
+ <xsd:element ref="xpdl:Artifact" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ArtifactInput">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="ArtifactId" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="RequiredForStart" type="xsd:boolean" use="optional" default="true" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Assignment">
+ <xsd:annotation>
+ <xsd:documentation>BPMN and XPDL</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="Target" type="xpdl:ExpressionType">
+ <xsd:annotation>
+ <xsd:documentation> lvalue expression of the assignment, in XPDL may be the name of a DataField, in BPMN name of a Property, in XPATH a reference
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element name="Expression" type="xpdl:ExpressionType">
+ <xsd:annotation>
+ <xsd:documentation>rvalue expression of the assignment</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="AssignTime" use="optional" default="Start">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="Start" />
+ <xsd:enumeration value="End" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Assignments">
+ <xsd:annotation>
+ <xsd:documentation>BPMN and XPDL</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Assignment" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Association">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence minOccurs="0">
+ <xsd:element ref="xpdl:Object" />
+ <xsd:element ref="xpdl:ConnectorGraphicsInfos" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="Source" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="Target" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:attribute name="AssociationDirection" use="optional" default="None">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="None" />
+ <xsd:enumeration value="To" />
+ <xsd:enumeration value="From" />
+ <xsd:enumeration value="Both" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Associations">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence maxOccurs="unbounded">
+ <xsd:element ref="xpdl:Association" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Author">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="BasicType">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Length" minOccurs="0" />
+ <xsd:element ref="xpdl:Precision" minOccurs="0" />
+ <xsd:element ref="xpdl:Scale" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Type" use="required">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="STRING" />
+ <xsd:enumeration value="FLOAT" />
+ <xsd:enumeration value="INTEGER" />
+ <xsd:enumeration value="REFERENCE" />
+ <xsd:enumeration value="DATETIME" />
+ <xsd:enumeration value="DATE" />
+ <xsd:enumeration value="TIME" />
+ <xsd:enumeration value="BOOLEAN" />
+ <xsd:enumeration value="PERFORMER" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="BlockActivity">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="ActivitySetId" type="xpdl:IdRef" use="required">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Corresponds to embedded subprocess. Pointer to ActivitySet/@Id in XPDL.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="StartActivityId" type="xpdl:IdRef" use="optional" />
+ <xsd:attribute name="View" use="optional" default="COLLAPSED">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Determines whether the subprocess is rendered as Collapsed or Expanded in diagram. Default is Collapsed.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="COLLAPSED" />
+ <xsd:enumeration value="EXPANDED" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Category">
+ <xsd:annotation>
+ <xsd:documentation> BPMN (and XPDL??Allows arbitrary grouping of various types of elements, for reporting.)</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Categories">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Category" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Codepage">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Condition">
+ <xsd:complexType mixed="true">
+ <xsd:choice minOccurs="0">
+ <xsd:element name="Expression" type="xpdl:ExpressionType" minOccurs="0" />
+ </xsd:choice>
+ <xsd:attribute name="Type">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="CONDITION" />
+ <xsd:enumeration value="OTHERWISE" />
+ <xsd:enumeration value="EXCEPTION" />
+ <xsd:enumeration value="DEFAULTEXCEPTION" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ConformanceClass">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="GraphConformance" use="optional" default="NON_BLOCKED">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="FULL_BLOCKED" />
+ <xsd:enumeration value="LOOP_BLOCKED" />
+ <xsd:enumeration value="NON_BLOCKED" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="BPMNModelPortabilityConformance" use="optional" default="NONE">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="NONE" />
+ <xsd:enumeration value="SIMPLE" />
+ <xsd:enumeration value="STANDARD" />
+ <xsd:enumeration value="COMPLETE" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ConnectorGraphicsInfo">
+ <xsd:annotation>
+ <xsd:documentation>BPMN and XPDL</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence minOccurs="0">
+ <xsd:element ref="xpdl:Coordinates" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="ToolId" type="xsd:NMTOKEN" use="optional" />
+ <xsd:attribute name="IsVisible" type="xsd:boolean" use="optional" default="true" />
+ <xsd:attribute name="PageId" type="xpdl:IdRef" use="optional" />
+ <xsd:attribute name="Style" type="xsd:string" use="optional" />
+ <xsd:attribute name="BorderColor" type="xsd:string" use="optional" />
+ <xsd:attribute name="FillColor" type="xsd:string" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ConnectorGraphicsInfos">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:ConnectorGraphicsInfo" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Coordinates">
+ <xsd:annotation>
+ <xsd:documentation>BPMN and XPDL</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="XCoordinate" type="xsd:double" use="optional" />
+ <xsd:attribute name="YCoordinate" type="xsd:double" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Cost">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="CostStructure">
+ <xsd:annotation>
+ <xsd:documentation> Activities incur costs in a number of way, the use up resources which may be people, machines, services, computers, office space, etc.
+ Activities also use up fixed costs which may be assigned on an activity by activity basis, thus allowing for the assignment of overhead. Fixed costs are
+ assigned in bulk, that is to say there is one fixed cost per activity. However resource costs are assigned on a resource by resource basis, each one having a
+ cost and an associated time unit.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:choice>
+ <xsd:element ref="xpdl:ResourceCosts" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:element name="FixedCost" type="xsd:integer" />
+ </xsd:choice>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="CostUnit">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Countrykey">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Created">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="DataField">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:DataType" />
+ <xsd:element name="InitialValue" type="xpdl:ExpressionType" minOccurs="0" />
+ <xsd:element ref="xpdl:Length" minOccurs="0" />
+ <xsd:element ref="xpdl:Description" minOccurs="0" />
+ <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:attribute name="ReadOnly" type="xsd:boolean" use="optional" default="false" />
+ <xsd:attribute name="IsArray" type="xsd:boolean" use="optional" default="false" />
+ <xsd:attribute name="Correlation" type="xsd:boolean" use="optional" default="false">
+ <xsd:annotation>
+ <xsd:documentation>Used in BPMN to support mapping to BPEL</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="DataFields">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:DataField" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="DataMappings">
+ <xsd:annotation>
+ <xsd:documentation>XPDL and BPMN:Maps fields or properties between calling and called processes or subprocesses</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:DataMapping" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="DataMapping">
+ <xsd:annotation>
+ <xsd:documentation>XPDL and BPMN:Maps fields between calling and called processes or subprocesses</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="Actual" type="xpdl:ExpressionType" />
+ <xsd:element name="TestValue" type="xpdl:ExpressionType" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Formal" type="xsd:string" use="required" />
+ <xsd:attribute name="Direction" default="IN">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="IN" />
+ <xsd:enumeration value="OUT" />
+ <xsd:enumeration value="INOUT" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="DataObject">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="DataField" minOccurs="0" maxOccurs="unbounded">
+ <xsd:complexType>
+ <xsd:attribute name="Id" type="xpdl:Id" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:attribute name="State" type="xsd:string" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="DataType">
+ <xsd:complexType>
+ <xsd:group ref="xpdl:DataTypes" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:group name="DataTypes">
+ <xsd:choice>
+ <xsd:element ref="xpdl:BasicType" />
+ <xsd:element ref="xpdl:DeclaredType" />
+ <xsd:element ref="xpdl:SchemaType" />
+ <xsd:element ref="xpdl:ExternalReference" />
+ <xsd:element ref="xpdl:RecordType" />
+ <xsd:element ref="xpdl:UnionType" />
+ <xsd:element ref="xpdl:EnumerationType" />
+ <xsd:element ref="xpdl:ArrayType" />
+ <xsd:element ref="xpdl:ListType" />
+ </xsd:choice>
+ </xsd:group>
+ <xsd:element name="Deadline">
+ <xsd:annotation>
+ <xsd:documentation>BPMN provides a timer event to support this type of functionality and it is the preferred method for doing this.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="DeadlineDuration" type="xpdl:ExpressionType" minOccurs="0" />
+ <xsd:element name="ExceptionName" minOccurs="0">
+ <xsd:annotation>
+ <xsd:documentation>This name should match that specified in Transition/Condition/Expression</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Execution">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="ASYNCHR" />
+ <xsd:enumeration value="SYNCHR" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="DeclaredType">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xsd:IDREF" use="required" />
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Description">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Documentation">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Duration">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="EndEvent">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:choice>
+ <xsd:element ref="xpdl:TriggerResultMessage" minOccurs="0" />
+ <xsd:element ref="xpdl:ResultError" minOccurs="0" />
+ <xsd:element ref="xpdl:TriggerResultCompensation" minOccurs="0" />
+ <xsd:element ref="xpdl:TriggerResultSignal" minOccurs="0" />
+ <xsd:element ref="xpdl:ResultMultiple" minOccurs="0" />
+ </xsd:choice>
+ <xsd:attribute name="Result" use="optional" default="None">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="None" />
+ <xsd:enumeration value="Message" />
+ <xsd:enumeration value="Error" />
+ <xsd:enumeration value="Cancel" />
+ <xsd:enumeration value="Compensation" />
+ <xsd:enumeration value="Signal" />
+ <xsd:enumeration value="Terminate" />
+ <xsd:enumeration value="Multiple" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="Implementation" use="optional" default="WebService">
+ <xsd:annotation>
+ <xsd:documentation> Required if the Trigger or Result is Message</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="WebService" />
+ <xsd:enumeration value="Other" />
+ <xsd:enumeration value="Unspecified" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="EndPoint">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:ExternalReference" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="EndPointType" use="optional" default="WSDL">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="WSDL" />
+ <xsd:enumeration value="Service" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="EnumerationType">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:EnumerationValue" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="EnumerationValue">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Name" type="xsd:NMTOKEN" use="required" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Event">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:choice>
+ <xsd:element ref="xpdl:StartEvent" minOccurs="0" />
+ <xsd:element ref="xpdl:IntermediateEvent" minOccurs="0" />
+ <xsd:element ref="xpdl:EndEvent" minOccurs="0" />
+ </xsd:choice>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:complexType name="ExpressionType" mixed="true">
+ <xsd:choice minOccurs="0" maxOccurs="unbounded">
+ <xsd:any processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:choice>
+ <xsd:attribute name="ScriptType" type="xsd:string" use="optional" />
+ <xsd:attribute name="ScriptVersion" type="xsd:string" use="optional" />
+ <xsd:attribute name="ScriptGrammar" type="xsd:anyURI" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ <xsd:element name="ExtendedAttribute">
+ <xsd:complexType mixed="true">
+ <xsd:choice minOccurs="0" maxOccurs="unbounded">
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:choice>
+ <xsd:attribute name="Name" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="Value" type="xsd:string" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ExtendedAttributes">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:ExtendedAttribute" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ExternalPackage">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="href" type="xsd:string" />
+ <xsd:attribute name="Id" type="xsd:NMTOKEN" />
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ExternalPackages">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:ExternalPackage" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ExternalReference">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="xref" type="xsd:NMTOKEN" use="optional" />
+ <xsd:attribute name="location" type="xsd:anyURI" use="required" />
+ <xsd:attribute name="namespace" type="xsd:anyURI" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="FormalParameter">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:DataType" />
+ <xsd:element name="InitialValue" type="xpdl:ExpressionType" minOccurs="0" />
+ <xsd:element ref="xpdl:Description" minOccurs="0" />
+ <xsd:element ref="xpdl:Length" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="Mode" default="IN">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="IN" />
+ <xsd:enumeration value="OUT" />
+ <xsd:enumeration value="INOUT" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:attribute name="ReadOnly" type="xsd:boolean" use="optional" default="false" />
+ <xsd:attribute name="Required" type="xsd:boolean" use="optional" default="false" />
+ <xsd:attribute name="IsArray" type="xsd:boolean" use="optional" default="false" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="FormalParameters">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:choice minOccurs="0">
+ <xsd:element ref="xpdl:FormalParameter" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:choice>
+ <xsd:choice minOccurs="0">
+ <xsd:sequence>
+ <xsd:element name="Extensions" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ </xsd:choice>
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Group">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Category" minOccurs="0" />
+ <xsd:element name="Object" minOccurs="0" maxOccurs="unbounded">
+ <xsd:complexType>
+ <xsd:attribute name="Id" type="xpdl:Id" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:any namespace="##other" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Icon">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:attribute name="XCOORD" type="xsd:integer" use="optional" />
+ <xsd:attribute name="YCOORD" type="xsd:integer" use="optional" />
+ <xsd:attribute name="WIDTH" type="xsd:integer" use="optional" />
+ <xsd:attribute name="HEIGHT" type="xsd:integer" use="optional" />
+ <xsd:attribute name="SHAPE" use="optional" default="RoundRectangle">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="RoundRectangle" />
+ <xsd:enumeration value="Rectangle" />
+ <xsd:enumeration value="Ellipse" />
+ <xsd:enumeration value="Diamond" />
+ <xsd:enumeration value="Ellipse" />
+ <xsd:enumeration value="UpTriangle" />
+ <xsd:enumeration value="DownTriangle" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Implementation">
+ <xsd:complexType>
+ <xsd:choice minOccurs="0">
+ <xsd:element ref="xpdl:No" minOccurs="0">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: corresponds to a task with unspecified TaskType</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element ref="xpdl:Task" minOccurs="0">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: corresponds to a task with specified TaskType</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element ref="xpdl:SubFlow" minOccurs="0">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: corresponds to Reusable subprocess. May run in different pool or same pool.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element ref="xpdl:Reference" minOccurs="0" />
+ </xsd:choice>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Input">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="ArtifactId" type="xsd:NMTOKEN" use="required" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="InputSet">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Input" maxOccurs="unbounded" />
+ <xsd:element ref="xpdl:ArtifactInput" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:element ref="xpdl:PropertyInput" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="InputSets">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:InputSet" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="IntermediateEvent">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:choice minOccurs="0">
+ <xsd:element ref="xpdl:TriggerResultMessage" minOccurs="0" />
+ <xsd:element ref="xpdl:TriggerTimer" minOccurs="0" />
+ <xsd:element ref="xpdl:ResultError" minOccurs="0" />
+ <xsd:element ref="xpdl:TriggerResultCompensation" minOccurs="0">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Must be present if if Trigger or ResultType is Compensation.[This event can be attached or throwing. Thus name of element
+ should be TriggerResultCompensation.]</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element ref="xpdl:TriggerConditional" minOccurs="0" />
+ <xsd:element ref="xpdl:TriggerResultLink" minOccurs="0">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Link event connects source and target nodes of the same process or subprocess. Equivalent to a sequence flow between source
+ and target nodes.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element ref="xpdl:TriggerResultCancel" minOccurs="0" />
+ <xsd:element ref="xpdl:TriggerResultSignal" minOccurs="0" />
+ <xsd:element ref="xpdl:TriggerIntermediateMultiple" minOccurs="0">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: if the TriggerType is Multiple then this must be present. Only valid for attached event. [EventDetail elements are incorrect.
+ They should be message, timer, error, conditional, signal, cancel.]</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ </xsd:choice>
+ <xsd:attribute name="Trigger" use="required">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="None" />
+ <xsd:enumeration value="Message" />
+ <xsd:enumeration value="Timer" />
+ <xsd:enumeration value="Error" />
+ <xsd:enumeration value="Cancel" />
+ <xsd:enumeration value="Conditional" />
+ <xsd:enumeration value="Link" />
+ <xsd:enumeration value="Signal" />
+ <xsd:enumeration value="Compensation" />
+ <xsd:enumeration value="Multiple" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="Implementation" use="optional" default="WebService">
+ <xsd:annotation>
+ <xsd:documentation>Required if the Trigger is Message</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="WebService" />
+ <xsd:enumeration value="Other" />
+ <xsd:enumeration value="Unspecified" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="Target" type="xpdl:Id" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Presence of attribute indicates attached intermediate event; attribute value points to the BPMN activity (task or subprocess)
+ the event is attached to. Absence of the attribute indicates intermediate event in sequence flow. Pointer to Activity/@Id, where activity type must be a
+ task or subprocess.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="IORules">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="Expression" type="xpdl:ExpressionType" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Join">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Type">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="Exclusive" />
+ <xsd:enumeration value="Inclusive" />
+ <xsd:enumeration value="Complex" />
+ <xsd:enumeration value="Parallel" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="ExclusiveType" use="optional" default="Data">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="Data" />
+ <xsd:enumeration value="Event" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="IncomingCondtion" type="xsd:string" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Lane">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence minOccurs="0">
+ <xsd:element ref="xpdl:Object" minOccurs="0" />
+ <xsd:element ref="xpdl:NodeGraphicsInfos" minOccurs="0" />
+ <xsd:element ref="xpdl:Performers" minOccurs="0" />
+ <xsd:element name="NestedLane" minOccurs="0" maxOccurs="unbounded">
+ <xsd:complexType>
+ <xsd:attribute name="LaneId" type="xsd:NMTOKEN" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Lanes">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Lane" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="LayoutInfo">
+ <xsd:complexType>
+ <xsd:attribute name="PixelsPerMillimeter" type="xsd:float" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>Co-ordinates / Sizes are in pixels - this attribute specifies the number of pixels per millimeter used by application.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Length">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Limit">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ListType">
+ <xsd:complexType>
+ <xsd:group ref="xpdl:DataTypes" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Loop">
+ <xsd:annotation>
+ <xsd:documentation>BPMN (and possibly XPDL)</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:choice>
+ <xsd:element ref="xpdl:LoopStandard" />
+ <xsd:element ref="xpdl:LoopMultiInstance" />
+ </xsd:choice>
+ <xsd:attribute name="LoopType" use="required">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="Standard" />
+ <xsd:enumeration value="MultiInstance" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="LoopMultiInstance">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="MI_Condition" type="xpdl:ExpressionType" minOccurs="0" />
+ <xsd:element name="ComplexMI_FlowCondition" type="xpdl:ExpressionType" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="MI_Condition" type="xsd:string" use="optional" />
+ <xsd:attribute name="LoopCounter" type="xsd:integer">
+ <xsd:annotation>
+ <xsd:documentation> This is updated at run time to count the number of executions of the loop and is available as a property to be used in expressions. Does
+ this belong in the XPDL?</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="MI_Ordering" use="required">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="Sequential" />
+ <xsd:enumeration value="Parallel" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="MI_FlowCondition" use="optional" default="All">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="None" />
+ <xsd:enumeration value="One" />
+ <xsd:enumeration value="All" />
+ <xsd:enumeration value="Complex" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="ComplexMI_FlowCondition" type="xsd:string" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="LoopStandard">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="LoopCondition" type="xpdl:ExpressionType" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="LoopCondition" type="xsd:string" use="optional" />
+ <xsd:attribute name="LoopCounter" type="xsd:integer">
+ <xsd:annotation>
+ <xsd:documentation> This is updated at run time to count the number of executions of the loop and is available as a property to be used in expressions. Does
+ this belong in the XPDL?</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="LoopMaximum" type="xsd:integer" use="optional" />
+ <xsd:attribute name="TestTime" use="required">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="Before" />
+ <xsd:enumeration value="After" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Member">
+ <xsd:complexType>
+ <xsd:group ref="xpdl:DataTypes" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:complexType name="MessageType">
+ <xsd:annotation>
+ <xsd:documentation>Formal Parameters defined by WSDL. Must constraint the parameters to either all in or all out, because Message is in a single direction
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence minOccurs="0">
+ <xsd:choice minOccurs="0">
+ <xsd:element ref="xpdl:ActualParameters" />
+ <xsd:element ref="xpdl:DataMappings" />
+ </xsd:choice>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:attribute name="From" type="xsd:NMTOKEN" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>This must be the name of a Participant</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="To" type="xsd:NMTOKEN" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>This must be the name of a participant</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="FaultName" type="xsd:NMTOKEN" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ <xsd:element name="MessageFlow">
+ <xsd:annotation>
+ <xsd:documentation>:BPMN:</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence minOccurs="0">
+ <xsd:element name="Message" type="xpdl:MessageType" minOccurs="0" />
+ <xsd:element ref="xpdl:Object" minOccurs="0" />
+ <xsd:element ref="xpdl:ConnectorGraphicsInfos" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:attribute name="Source" type="xpdl:IdRef" use="required" />
+ <xsd:attribute name="Target" type="xpdl:IdRef" use="required" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="MessageFlows">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence minOccurs="0" maxOccurs="unbounded">
+ <xsd:element ref="xpdl:MessageFlow" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ModificationDate">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="No">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="NodeGraphicsInfo">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Coordinates" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="ToolId" type="xsd:string" use="optional" />
+ <xsd:attribute name="IsVisible" type="xsd:boolean" use="optional" default="true" />
+ <xsd:attribute name="PageId" type="xpdl:IdRef" use="optional" />
+ <xsd:attribute name="LaneId" type="xsd:NMTOKEN" use="optional" />
+ <xsd:attribute name="Height" type="xsd:double" use="optional" />
+ <xsd:attribute name="Width" type="xsd:double" use="optional" />
+ <xsd:attribute name="BorderColor" type="xsd:string" use="optional" />
+ <xsd:attribute name="FillColor" type="xsd:string" use="optional" />
+ <xsd:attribute name="Shape" type="xsd:string" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="NodeGraphicsInfos">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:NodeGraphicsInfo" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Object">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: This is used to identify the Activity in an EndEvent Compensation???Also used to associate categories and ocumentation with a
+ variety of elements</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence minOccurs="0">
+ <xsd:element ref="xpdl:Categories" minOccurs="0" />
+ <xsd:element ref="xpdl:Documentation" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required">
+ <xsd:annotation>
+ <xsd:documentation>This identifies any Object in the BPMN diagram.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Output">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="ArtifactId" type="xsd:NMTOKEN" use="required" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="OutputSet">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Output" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="OutputSets">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:OutputSet" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Package" type="xpdl:PackageType">
+ <xsd:key name="ProcessIds.Package">
+ <xsd:selector xpath=".//xpdl:WorkflowProcess | .//xpdl:ActivitySet" />
+ <xsd:field xpath="@Id" />
+ </xsd:key>
+ <xsd:keyref name="PoolProcessIdRef.Package" refer="xpdl:ProcessIds.Package">
+ <xsd:selector xpath=".//xpdl:Pool" />
+ <xsd:field xpath="@Process" />
+ </xsd:keyref>
+ <xsd:key name="ProcessIdsTopLevel.Package">
+ <xsd:selector xpath=".//xpdl:WorkflowProcess" />
+ <xsd:field xpath="@Id" />
+ </xsd:key>
+ <xsd:keyref name="SubFlowIdRef.Package" refer="xpdl:ProcessIdsTopLevel.Package">
+ <xsd:selector xpath=".//xpdl:SubFlow" />
+ <xsd:field xpath="@Id" />
+ </xsd:keyref>
+ <xsd:key name="ActivitySetIds.Package">
+ <xsd:selector xpath=".//xpdl:ActivitySet" />
+ <xsd:field xpath="@Id" />
+ </xsd:key>
+ <xsd:keyref name="SubFlowStartActivitySetIdRef.Package" refer="xpdl:ActivitySetIds.Package">
+ <xsd:selector xpath=".//xpdl:SubFlow" />
+ <xsd:field xpath="@StartActivitySetId" />
+ </xsd:keyref>
+ <xsd:key name="ActivityIds.Package">
+ <xsd:selector xpath=".//xpdl:Activity" />
+ <xsd:field xpath="@Id" />
+ </xsd:key>
+ <xsd:keyref name="SubFlowStartActivityIdRef.Package" refer="xpdl:ActivityIds.Package">
+ <xsd:selector xpath=".//xpdl:SubFlow" />
+ <xsd:field xpath="@StartActivityId" />
+ </xsd:keyref>
+ <xsd:keyref name="TaskReferenceTaskRef.Package" refer="xpdl:ActivityIds.Package">
+ <xsd:selector xpath=".//xpdl:TaskReference" />
+ <xsd:field xpath="@TaskRef" />
+ </xsd:keyref>
+ <xsd:key name="LaneIds.Package">
+ <xsd:selector xpath=".//xpdl:Lane" />
+ <xsd:field xpath="@Id" />
+ </xsd:key>
+ <xsd:keyref name="NodeGraphicsInfoLaneIdRef.Package" refer="xpdl:LaneIds.Package">
+ <xsd:selector xpath=".//xpdl:NodeGraphicsInfo" />
+ <xsd:field xpath="@LaneId" />
+ </xsd:keyref>
+ <xsd:key name="PageIds.Package">
+ <xsd:selector xpath=".//xpdl:Page" />
+ <xsd:field xpath="@Id" />
+ </xsd:key>
+ <xsd:keyref name="GraphicsInfoPageIdRef.Package" refer="xpdl:PageIds.Package">
+ <xsd:selector xpath=".//xpdl:NodeGraphicsInfo | .//xpdl:ConnectorGraphicsInfo" />
+ <xsd:field xpath="@PageId" />
+ </xsd:keyref>
+ <xsd:key name="PoolAndActivityIds.Package">
+ <xsd:selector xpath=".//xpdl:Pool | .//xpdl:Activity" />
+ <xsd:field xpath="@Id" />
+ </xsd:key>
+ <xsd:keyref name="MessageFlowSourceRef.Package" refer="xpdl:PoolAndActivityIds.Package">
+ <xsd:selector xpath=".//xpdl:MessageFlow" />
+ <xsd:field xpath="@Source" />
+ </xsd:keyref>
+ <xsd:keyref name="MessageFlowTargetRef.Package" refer="xpdl:PoolAndActivityIds.Package">
+ <xsd:selector xpath=".//xpdl:MessageFlow" />
+ <xsd:field xpath="@Target" />
+ </xsd:keyref>
+ <!-- checks that process id referred to by pool exists -->
+ <!-- checks that process id referred to by subflow exists (must be top-level, not an activityset) -->
+ <!-- checks that start activityset referred to by subflow exists (note: incomplete test, does not constrain to process specified by subflow) -->
+ <!-- checks that start activity referred to by subflow exists (note: incomplete test, does not constrain to process specified by subflow) -->
+ <!-- checks that activity referred to by taskreference exists (note: may be incomplete test, does not constrain to same process that contains the task) -->
+ <!-- checks that lane id referred to by nodegraphicsinfo exists -->
+ <!-- checks that page id referred to by grahicsinfo exists -->
+ <!-- checks that source and target referred to by messageflow exists (note: incomplete test, does check that source/target are, or are in, separate pools) -->
+ </xsd:element>
+ <xsd:complexType name="PackageType">
+ <xsd:sequence>
+ <xsd:element ref="xpdl:PackageHeader" />
+ <xsd:element ref="xpdl:RedefinableHeader" minOccurs="0" />
+ <xsd:element ref="xpdl:ConformanceClass" minOccurs="0" />
+ <xsd:element ref="xpdl:Script" minOccurs="0" />
+ <xsd:element ref="xpdl:ExternalPackages" minOccurs="0" />
+ <xsd:element ref="xpdl:TypeDeclarations" minOccurs="0" />
+ <xsd:element ref="xpdl:Participants" minOccurs="0" />
+ <xsd:element ref="xpdl:Applications" minOccurs="0" />
+ <xsd:element ref="xpdl:DataFields" minOccurs="0" />
+ <xsd:element ref="xpdl:PartnerLinkTypes" minOccurs="0" />
+ <xsd:element ref="xpdl:Pages" minOccurs="0" />
+ <xsd:element ref="xpdl:Pools" minOccurs="0" />
+ <xsd:element ref="xpdl:MessageFlows" minOccurs="0" />
+ <xsd:element ref="xpdl:Associations" minOccurs="0" />
+ <xsd:element ref="xpdl:Artifacts" minOccurs="0" />
+ <xsd:element ref="xpdl:WorkflowProcesses" minOccurs="0" />
+ <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xpdl:Id" use="required">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Corresponds to BPD identifier. Target of @DiagramRef in Subflow.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:attribute name="Language" type="xsd:string" use="optional" />
+ <xsd:attribute name="QueryLanguage" type="xsd:string" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ <xsd:element name="PackageHeader">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:XPDLVersion" />
+ <xsd:element ref="xpdl:Vendor" />
+ <xsd:element ref="xpdl:Created" />
+ <xsd:element ref="xpdl:ModificationDate" minOccurs="0" />
+ <xsd:element ref="xpdl:Description" minOccurs="0" />
+ <xsd:element ref="xpdl:Documentation" minOccurs="0" />
+ <xsd:element ref="xpdl:PriorityUnit" minOccurs="0" />
+ <xsd:element ref="xpdl:CostUnit" minOccurs="0" />
+ <xsd:element ref="xpdl:VendorExtensions" minOccurs="0" />
+ <xsd:element ref="xpdl:LayoutInfo" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Page">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:attribute name="Id" type="xpdl:Id" use="required" />
+ <xsd:attribute name="Height" type="xsd:double" use="optional" />
+ <xsd:attribute name="Width" type="xsd:double" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Pages">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Page" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Participant">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:ParticipantType" />
+ <xsd:element ref="xpdl:Description" minOccurs="0" />
+ <xsd:element ref="xpdl:ExternalReference" minOccurs="0" />
+ <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ParticipantType">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Type" use="required">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="RESOURCE_SET" />
+ <xsd:enumeration value="RESOURCE" />
+ <xsd:enumeration value="ROLE" />
+ <xsd:enumeration value="ORGANIZATIONAL_UNIT" />
+ <xsd:enumeration value="HUMAN" />
+ <xsd:enumeration value="SYSTEM" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Participants">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Participant" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="PartnerLink">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="MyRole" minOccurs="0">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="RoleName" type="xsd:string" use="required" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="PartnerRole" minOccurs="0">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:EndPoint" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="RoleName" type="xsd:string" use="required" />
+ <xsd:attribute name="ServiceName" type="xsd:string" use="optional" />
+ <xsd:attribute name="PortName" type="xsd:string" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" />
+ <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="PartnerLinkTypeId" type="xsd:NMTOKEN" use="required" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="PartnerLinks">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:PartnerLink" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="PartnerLinkType">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="Role" maxOccurs="2">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="portType" type="xsd:string" use="required" />
+ <xsd:attribute name="Name" type="xsd:string" use="required" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="name" type="xsd:string" use="required" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="PartnerLinkTypes">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:PartnerLinkType" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Performer">
+ <xsd:annotation>
+ <xsd:documentation>A String or Expression designating the Performer</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Performers">
+ <xsd:annotation>
+ <xsd:documentation>BPMN and XPDL</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Performer" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Pool">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Lanes" minOccurs="0" />
+ <xsd:element ref="xpdl:Object" minOccurs="0" />
+ <xsd:element ref="xpdl:NodeGraphicsInfos" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xpdl:Id" use="required">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="Name" type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Pool label in diagram</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="Orientation" use="optional" default="HORIZONTAL">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="HORIZONTAL" />
+ <xsd:enumeration value="VERTICAL" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="Process" type="xpdl:IdRef" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Pointer to WorkflowProcess/@Id; presence indicates this pool is part of an internal (private) process.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="Participant" type="xsd:NMTOKEN" use="optional" />
+ <xsd:attribute name="BoundaryVisible" type="xsd:boolean" use="required" />
+ <xsd:attribute name="MainPool" type="xsd:boolean" use="optional" default="false" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Pools">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Pool" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Precision">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:short">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Priority">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="PriorityUnit">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ProcessHeader">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Created" minOccurs="0" />
+ <xsd:element ref="xpdl:Description" minOccurs="0" />
+ <xsd:element ref="xpdl:Priority" minOccurs="0" />
+ <xsd:element ref="xpdl:Limit" minOccurs="0" />
+ <xsd:element ref="xpdl:ValidFrom" minOccurs="0" />
+ <xsd:element ref="xpdl:ValidTo" minOccurs="0" />
+ <xsd:element ref="xpdl:TimeEstimation" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="DurationUnit">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="Y" />
+ <xsd:enumeration value="M" />
+ <xsd:enumeration value="D" />
+ <xsd:enumeration value="h" />
+ <xsd:enumeration value="m" />
+ <xsd:enumeration value="s" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:complexType name="ProcessType">
+ <xsd:sequence>
+ <xsd:element ref="xpdl:ProcessHeader" />
+ <xsd:element ref="xpdl:RedefinableHeader" minOccurs="0" />
+ <xsd:element ref="xpdl:FormalParameters" minOccurs="0" />
+ <xsd:element ref="xpdl:InputSets" minOccurs="0" />
+ <xsd:element ref="xpdl:OutputSets" minOccurs="0" />
+ <xsd:choice minOccurs="0">
+ <xsd:annotation>
+ <xsd:documentation>changes xpdl 1.0 order</xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence minOccurs="0">
+ <xsd:element ref="xpdl:Participants" minOccurs="0" />
+ <xsd:element ref="xpdl:Applications" minOccurs="0" />
+ <xsd:element ref="xpdl:DataFields" minOccurs="0" />
+ </xsd:sequence>
+ </xsd:choice>
+ <xsd:element ref="xpdl:ActivitySets" minOccurs="0" />
+ <xsd:element ref="xpdl:Activities" minOccurs="0" />
+ <xsd:element ref="xpdl:Transitions" minOccurs="0" />
+ <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0" />
+ <xsd:element ref="xpdl:Assignments" minOccurs="0" />
+ <xsd:element ref="xpdl:PartnerLinks" minOccurs="0" />
+ <xsd:element ref="xpdl:Object" minOccurs="0" />
+ <xsd:choice minOccurs="0">
+ <xsd:sequence>
+ <xsd:element name="Extensions" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ </xsd:choice>
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xpdl:Id" use="required">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: unique identifier for the process, referenced by Pool</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="Name" type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: label of WorkflowProcess in diagram, should be same as for Pool</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="AccessLevel" use="optional" default="PUBLIC">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="PUBLIC" />
+ <xsd:enumeration value="PRIVATE" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="ProcessType" use="optional" default="None">
+ <xsd:annotation>
+ <xsd:documentation>BPMN:</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="None" />
+ <xsd:enumeration value="Private" />
+ <xsd:enumeration value="Abstract" />
+ <xsd:enumeration value="Collaboration" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="Status" use="optional" default="None">
+ <xsd:annotation>
+ <xsd:documentation> BPMN: Status values are assigned during execution. Status can be treated as a property and used in expressions local to a Process. It is
+ unclear that status belongs in the XPDL document.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="None" />
+ <xsd:enumeration value="Ready" />
+ <xsd:enumeration value="Active" />
+ <xsd:enumeration value="Cancelled" />
+ <xsd:enumeration value="Aborting" />
+ <xsd:enumeration value="Aborted" />
+ <xsd:enumeration value="Completing" />
+ <xsd:enumeration value="Completed" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="SuppressJoinFailure" type="xsd:boolean" use="optional" default="false" />
+ <xsd:attribute name="EnableInstanceCompensation" type="xsd:boolean" use="optional" default="false" />
+ <xsd:attribute name="AdHoc" type="xsd:boolean" use="optional" default="false">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: for Embedded subprocess</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="AdHocOrdering" use="optional" default="Parallel">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="Sequential" />
+ <xsd:enumeration value="Parallel" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="AdHocCompletionCondition" type="xsd:string" use="optional" />
+ <xsd:attribute name="DefaultStartActivitySetId" type="xpdl:IdRef" use="optional" />
+ <xsd:attribute name="DefaultStartActivityId" type="xpdl:IdRef" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ <xsd:element name="PropertyInput">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="PropertyId" type="xsd:NMTOKEN" use="required" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="RecordType">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Member" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="RedefinableHeader">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Author" minOccurs="0" />
+ <xsd:element ref="xpdl:Version" minOccurs="0" />
+ <xsd:element ref="xpdl:Codepage" minOccurs="0" />
+ <xsd:element ref="xpdl:Countrykey" minOccurs="0" />
+ <xsd:element ref="xpdl:Responsibles" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="PublicationStatus">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="UNDER_REVISION" />
+ <xsd:enumeration value="RELEASED" />
+ <xsd:enumeration value="UNDER_TEST" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Reference">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="ActivityId" type="xpdl:IdRef" use="required">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Reference to a BPMN task or subprocess definition elsewhere; should not be used for gateway or event. Pointer to Activity/@Id in
+ XPDL.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ResourceCosts">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="ResourceCostName">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:string">
+ <xsd:maxLength value="100" />
+ <xsd:minLength value="0" />
+ <xsd:whiteSpace value="preserve" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:element>
+ <xsd:element name="ResourceCost">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:decimal">
+ <xsd:fractionDigits value="2" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:element>
+ <xsd:element name="CostUnitOfTime">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="second" />
+ <xsd:enumeration value="minute" />
+ <xsd:enumeration value="hour" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:element>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Responsible">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Responsibles">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Responsible" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TriggerResultCompensation">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Must be present if if Trigger or ResultType is Compensation.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="ActivityId" type="xsd:NMTOKEN" use="optional">
+ <xsd:annotation>
+ <xsd:documentation> This supplies the Id of the Activity to be Compensated. Used only for intermediate events or end events in the seuence flow. Events
+ attached to the boundary of an activity already know the Id.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ResultError">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Must be present if Trigger or ResultType is error.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="ErrorCode" type="xsd:string" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ResultMultiple">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Must be present if ResultType is Multiple.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:annotation>
+ <xsd:documentation>at least two results must be present</xsd:documentation>
+ </xsd:annotation>
+ <xsd:element ref="xpdl:TriggerResultMessage" minOccurs="0" />
+ <xsd:element ref="xpdl:TriggerResultLink" minOccurs="0" />
+ <xsd:element ref="xpdl:TriggerResultCompensation" minOccurs="0" />
+ <xsd:element ref="xpdl:ResultError" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Route">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="GatewayType" use="optional" default="Exclusive">
+ <xsd:annotation>
+ <xsd:documentation> Used when needed for BPMN Gateways. Gate and sequence information is associated with the Transition Element.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="Exclusive" />
+ <xsd:enumeration value="Inclusive" />
+ <xsd:enumeration value="Complex" />
+ <xsd:enumeration value="AND" />
+ <xsd:enumeration value="Parallel" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="ExclusiveType" use="optional" default="Data">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="Data" />
+ <xsd:enumeration value="Event" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="Instantiate" type="xsd:boolean" use="optional" default="false" />
+ <xsd:attribute name="MarkerVisible" type="xsd:boolean" use="optional" default="false">
+ <xsd:annotation>
+ <xsd:documentation>Applicable only to XOR Gateways</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="IncomingCondition" type="xsd:string" use="optional" />
+ <xsd:attribute name="OutgoingCondition" type="xsd:string" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Rule">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="Expression" type="xpdl:ExpressionType" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Scale">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:short">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="SchemaType">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Script">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Type" type="xsd:string" use="required" />
+ <xsd:attribute name="Version" type="xsd:string" use="optional" />
+ <xsd:attribute name="Grammar" type="xsd:anyURI" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="SimulationInformation">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Cost" />
+ <xsd:element ref="xpdl:TimeEstimation" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Instantiation">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="ONCE" />
+ <xsd:enumeration value="MULTIPLE" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Split">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:TransitionRefs" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Type">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="Exclusive" />
+ <xsd:enumeration value="Inclusive" />
+ <xsd:enumeration value="Complex" />
+ <xsd:enumeration value="Parallel" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="ExclusiveType" use="optional" default="Data">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="Data" />
+ <xsd:enumeration value="Event" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="OutgoingCondition" type="xsd:string" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="StartEvent">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:choice minOccurs="0">
+ <xsd:element ref="xpdl:TriggerResultMessage" minOccurs="0" />
+ <xsd:element ref="xpdl:TriggerTimer" minOccurs="0" />
+ <xsd:element ref="xpdl:TriggerConditional" minOccurs="0" />
+ <xsd:element ref="xpdl:TriggerResultSignal" minOccurs="0" />
+ <xsd:element ref="xpdl:TriggerMultiple" minOccurs="0" />
+ </xsd:choice>
+ <xsd:attribute name="Trigger" use="required">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Trigger or Result type for the event</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="None" />
+ <xsd:enumeration value="Message" />
+ <xsd:enumeration value="Timer" />
+ <xsd:enumeration value="Conditional" />
+ <xsd:enumeration value="Signal" />
+ <xsd:enumeration value="Multiple" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="Implementation" use="optional" default="WebService">
+ <xsd:annotation>
+ <xsd:documentation>Required if the Trigger is Message</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="WebService" />
+ <xsd:enumeration value="Other" />
+ <xsd:enumeration value="Unspecified" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="SubFlow">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:choice minOccurs="0">
+ <xsd:element ref="xpdl:ActualParameters" />
+ <xsd:element ref="xpdl:DataMappings" />
+ </xsd:choice>
+ <xsd:element ref="xpdl:EndPoint" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xpdl:IdRef" use="required">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Corresponds to BPMN attribute ProcessRef, pointer to WorkflowProcess/@Id in BPD referenced by PackageRef. [Suggest name change
+ to ProcessRef; this is IDREF not ID].</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:attribute name="Execution" use="optional" default="SYNCHR">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="ASYNCHR" />
+ <xsd:enumeration value="SYNCHR" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="View" use="optional" default="COLLAPSED">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Detrmines rendering of subprocess as Collapsed or Expended. Default is Collapsed.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="COLLAPSED" />
+ <xsd:enumeration value="EXPANDED" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="PackageRef" type="xpdl:IdRef" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Corresponds to BPMN attribute DiagramRef, pointer to a BPD identified by Package/@Id. [Maybe IDREF doesn't work here since ID is
+ in a different document.]</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="InstanceDataField" type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation> Used to store the instance id of the subflow instantiated by the activity. This is then available later on (e.g. for correlation,
+ messaging etc.) especially in the case of asynchronous invocation.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="StartActivitySetId" type="xpdl:IdRef" use="optional" />
+ <xsd:attribute name="StartActivityId" type="xpdl:IdRef" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Task">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:choice minOccurs="0">
+ <xsd:element ref="xpdl:TaskService">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: TaskType = Service. In BPMN generally signifies any automated activity.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element ref="xpdl:TaskReceive">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: TaskType = Receive. Waits for a message, then continues. Equivalent to a "catching" message event. In BPMN, "message"
+ generally signifies any signal from outside the process (pool).</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element ref="xpdl:TaskManual">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: TaskType = Manual. Used for human tasks other than those accessed via workflow.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element ref="xpdl:TaskReference">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: TaskType = Reference. Task properties defined in referenced activity.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element ref="xpdl:TaskScript">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: TaskType = Script. Used for automated tasks executed by scripts on process engine, to distinguish from automated tasks
+ performed externally (Service).</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element ref="xpdl:TaskSend">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Task Type = Send. Equivalent to a "throwing" message event. Sends a message immediately and continues. In BPMN, "message"
+ signifies any signal sent outside the process (pool).</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element ref="xpdl:TaskUser">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Task Type = User. Generally used for human tasks.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element ref="xpdl:TaskApplication" />
+ </xsd:choice>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TaskManual">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Performers" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TaskReceive">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="Message" type="xpdl:MessageType" minOccurs="0">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Implementation-related but required by spec.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element ref="xpdl:WebServiceOperation" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Instantiate" type="xsd:boolean" use="required" />
+ <xsd:attribute name="Implementation" use="optional" default="WebService">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Implementation-related but required by spec.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="WebService" />
+ <xsd:enumeration value="Other" />
+ <xsd:enumeration value="Unspecified" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TaskReference">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="TaskRef" type="xpdl:IdRef" use="required">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Pointer to Activity/@Id that defines the task.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TaskSend">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="Message" type="xpdl:MessageType" minOccurs="0">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Implementation-related but required by spec</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element ref="xpdl:WebServiceOperation" minOccurs="0" />
+ <xsd:element ref="xpdl:WebServiceFaultCatch" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Implementation" use="optional" default="WebService">
+ <xsd:annotation>
+ <xsd:documentation>Required if the Task is Send</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="WebService" />
+ <xsd:enumeration value="Other" />
+ <xsd:enumeration value="Unspecified" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TaskService">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="MessageIn" type="xpdl:MessageType" minOccurs="0">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Implementation-related but required by spec.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element name="MessageOut" type="xpdl:MessageType" minOccurs="0">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Implementation-related but required by spec.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element ref="xpdl:WebServiceOperation" minOccurs="0" />
+ <xsd:element ref="xpdl:WebServiceFaultCatch" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Implementation" use="optional" default="WebService">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: Implementation-related, but required if the Task is Service</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="WebService" />
+ <xsd:enumeration value="Other" />
+ <xsd:enumeration value="Unspecified" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TaskScript">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="Script" type="xpdl:ExpressionType">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TaskUser">
+ <xsd:annotation>
+ <xsd:documentation>BPMN</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Performers" minOccurs="0" />
+ <xsd:element name="MessageIn" type="xpdl:MessageType" minOccurs="0" />
+ <xsd:element name="MessageOut" type="xpdl:MessageType" minOccurs="0" />
+ <xsd:element ref="xpdl:WebServiceOperation" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Implementation" use="optional" default="WebService">
+ <xsd:annotation>
+ <xsd:documentation>Required if the Task is User</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="WebService" />
+ <xsd:enumeration value="Other" />
+ <xsd:enumeration value="Unspecified" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TimeEstimation">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:WaitingTime" minOccurs="0" />
+ <xsd:element ref="xpdl:WorkingTime" minOccurs="0" />
+ <xsd:element ref="xpdl:Duration" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TaskApplication">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:choice minOccurs="0">
+ <xsd:element ref="xpdl:ActualParameters" />
+ <xsd:element ref="xpdl:DataMappings" />
+ </xsd:choice>
+ <xsd:element ref="xpdl:Description" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:attribute name="PackageRef" type="xsd:NMTOKEN" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Transaction">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: If SubProcess is a transaction then this is required.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="TransactionId" type="xsd:string" use="required" />
+ <xsd:attribute name="TransactionProtocol" type="xsd:string" use="required" />
+ <xsd:attribute name="TransactionMethod" use="required">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="Compensate" />
+ <xsd:enumeration value="Store" />
+ <xsd:enumeration value="Image" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Transition">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Condition" minOccurs="0" />
+ <xsd:element ref="xpdl:Description" minOccurs="0" />
+ <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0" />
+ <xsd:element ref="xpdl:Assignments" minOccurs="0" />
+ <xsd:element ref="xpdl:Object" minOccurs="0" />
+ <xsd:element ref="xpdl:ConnectorGraphicsInfos" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xpdl:Id" use="required" />
+ <xsd:attribute name="From" type="xpdl:IdRef" use="required" />
+ <xsd:attribute name="To" type="xpdl:IdRef" use="required" />
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:attribute name="Quantity" type="xsd:int" use="optional" default="1">
+ <xsd:annotation>
+ <xsd:documentation>Used only in BPMN. Specifies number of tokens on outgoing transition.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TransitionRef">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xpdl:IdRef" use="required" />
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TransitionRefs">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:TransitionRef" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TransitionRestriction">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Join" minOccurs="0" />
+ <xsd:element ref="xpdl:Split" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TransitionRestrictions">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:TransitionRestriction" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Transitions">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Transition" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TriggerConditional">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="Expression" type="xpdl:ExpressionType" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="ConditionName" type="xsd:string" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TriggerResultLink">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: if the Trigger or Result Type is Link then this must be present.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="CatchThrow" use="optional" default="CATCH">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="CATCH" />
+ <xsd:enumeration value="THROW" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="Name" type="xsd:NMTOKEN" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>The link can only be used within one process as a shorthand for a long sequence flow .</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TriggerResultMessage">
+ <xsd:annotation>
+ <xsd:documentation> BPMN: If the Trigger or Result Type is Message then this must be present</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="Message" type="xpdl:MessageType" minOccurs="0" />
+ <xsd:element ref="xpdl:WebServiceOperation" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="CatchThrow" use="optional" default="CATCH">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="CATCH" />
+ <xsd:enumeration value="THROW" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TriggerResultCancel" />
+ <xsd:element name="TriggerResultSignal">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="Properties" type="xpdl:ExpressionType" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Name" type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>Text description of the signal</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="CatchThrow" use="optional" default="CATCH">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="CATCH" />
+ <xsd:enumeration value="THROW" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TriggerIntermediateMultiple">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: if the TriggerType is Multiple then this must be present.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:annotation>
+ <xsd:documentation>BPMN: For Multiple, at least two triggers must be present.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:element ref="xpdl:TriggerResultMessage" minOccurs="0" />
+ <xsd:element ref="xpdl:TriggerTimer" minOccurs="0" />
+ <xsd:element ref="xpdl:ResultError" minOccurs="0" />
+ <xsd:element ref="xpdl:TriggerResultCompensation" minOccurs="0" />
+ <xsd:element ref="xpdl:TriggerConditional" minOccurs="0" />
+ <xsd:element ref="xpdl:TriggerResultLink" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TriggerMultiple">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: if the TriggerType is Multiple then this must be present.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:annotation>
+ <xsd:documentation>BPMN: For Multiple, at least two triggers must be present.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:element ref="xpdl:TriggerResultMessage" minOccurs="0" />
+ <xsd:element ref="xpdl:TriggerTimer" minOccurs="0" />
+ <xsd:element ref="xpdl:TriggerConditional" minOccurs="0" />
+ <xsd:element ref="xpdl:TriggerResultLink" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TriggerTimer">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: If the Trigger Type is Timer then this must be present</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:choice>
+ <xsd:element name="TimeDate" type="xpdl:ExpressionType" />
+ <xsd:element name="TimeCycle" type="xpdl:ExpressionType" />
+ </xsd:choice>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TypeDeclaration">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:group ref="xpdl:DataTypes" />
+ <xsd:element ref="xpdl:Description" minOccurs="0" />
+ <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="Id" type="xsd:ID" use="required" />
+ <xsd:attribute name="Name" type="xsd:string" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="TypeDeclarations">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:TypeDeclaration" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="UnionType">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:Member" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ValidFrom">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ValidTo">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Vendor">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="VendorExtension">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="ToolId" type="xsd:string" use="required" />
+ <xsd:attribute name="schemaLocation" type="xsd:anyURI" use="required" />
+ <xsd:attribute name="extensionDescription" type="xsd:anyURI" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="VendorExtensions">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:VendorExtension" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Version">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="WaitingTime">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="WebServiceFaultCatch">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="Message" type="xpdl:MessageType" minOccurs="0" />
+ <xsd:choice>
+ <xsd:element ref="xpdl:BlockActivity" />
+ <xsd:element ref="xpdl:TransitionRef" />
+ </xsd:choice>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="FaultName" type="xsd:NMTOKEN" use="optional" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="WebServiceOperation">
+ <xsd:annotation>
+ <xsd:documentation>BPMN: If the Implementation is a WebService this is required.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:choice>
+ <xsd:element name="Partner">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="PartnerLinkId" type="xsd:NMTOKEN" use="required" />
+ <xsd:attribute name="RoleType" use="required">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="MyRole" />
+ <xsd:enumeration value="PartnerRole" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="Service">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:EndPoint" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="ServiceName" type="xsd:string" use="required" />
+ <xsd:attribute name="PortName" type="xsd:string" use="required" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:choice>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="OperationName" type="xsd:string" use="required" />
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="WorkflowProcess" type="xpdl:ProcessType">
+ <xsd:key name="ActivitySetIds.WorkflowProcess">
+ <xsd:selector xpath="./xpdl:ActivitySets/xpdl:ActivitySet" />
+ <xsd:field xpath="@Id" />
+ </xsd:key>
+ <xsd:key name="ActivityIds.WorkflowProcess">
+ <xsd:selector xpath="./xpdl:Activities/xpdl:Activity | ./xpdl:ActivitySets/xpdl:ActivitySet/xpdl:Activities/xpdl:Activity" />
+ <xsd:field xpath="@Id" />
+ </xsd:key>
+ <xsd:key name="ActivityIdsTopLevel.WorkflowProcess">
+ <xsd:selector xpath="./xpdl:Activities/xpdl:Activity" />
+ <xsd:field xpath="@Id" />
+ </xsd:key>
+ <xsd:key name="TransitionIdsTopLevel.WorkflowProcess">
+ <xsd:selector xpath="./xpdl:Transitions/xpdl:Transition" />
+ <xsd:field xpath="@Id" />
+ </xsd:key>
+ <xsd:keyref name="DefaultStartActivitySetIdRef.WorkflowProcess" refer="xpdl:ActivitySetIds.WorkflowProcess">
+ <xsd:selector xpath="." />
+ <xsd:field xpath="@DefaultStartActivitySetId" />
+ </xsd:keyref>
+ <xsd:keyref name="DefaultStartActivityIdRef.WorkflowProcess" refer="xpdl:ActivityIds.WorkflowProcess">
+ <xsd:selector xpath="." />
+ <xsd:field xpath="@DefaultStartActivityId" />
+ </xsd:keyref>
+ <xsd:keyref name="BlockActivityActivitySetIdRef.WorkflowProcess" refer="xpdl:ActivitySetIds.WorkflowProcess">
+ <xsd:selector xpath=".//xpdl:BlockActivity" />
+ <xsd:field xpath="@ActivitySetId" />
+ </xsd:keyref>
+ <xsd:keyref name="BlockActivityStartActivityIdRef.WorkflowProcess" refer="xpdl:ActivityIds.WorkflowProcess">
+ <xsd:selector xpath=".//xpdl:BlockActivity" />
+ <xsd:field xpath="@StartActivityId" />
+ </xsd:keyref>
+ <xsd:keyref name="TransitionFromRef.WorkflowProcess" refer="xpdl:ActivityIdsTopLevel.WorkflowProcess">
+ <xsd:selector xpath="./xpdl:Transitions/xpdl:Transition" />
+ <xsd:field xpath="@From" />
+ </xsd:keyref>
+ <xsd:keyref name="TransitionToRef.WorkflowProcess" refer="xpdl:ActivityIdsTopLevel.WorkflowProcess">
+ <xsd:selector xpath="./xpdl:Transitions/xpdl:Transition" />
+ <xsd:field xpath="@To" />
+ </xsd:keyref>
+ <xsd:keyref name="TransitionRefIdRef.WorkflowProcess" refer="xpdl:TransitionIdsTopLevel.WorkflowProcess">
+ <xsd:selector xpath="./xpdl:Activities/xpdl:Activity/xpdl:TransitionRestrictions/xpdl:TransitionRestriction/xpdl:Split/xpdl:TransitionRefs/xpdl:TransitionRef" />
+ <xsd:field xpath="@Id" />
+ </xsd:keyref>
+ <!-- constrain to only activities in the top-level, not activitysets -->
+ <!-- constrain to only transitions in the top-level, not activitysets -->
+ <!-- check that specified default start activityset exists -->
+ <!-- check that specified default start activity exists (note: incomplete test, does not constrain to optional activtyset specified by DefaultStartActivitySetId) -->
+ <!-- check that the activityset specified in a blockactivity exists -->
+ <!-- check that the start activity specified in a blockactivity exists (note: incomplete test, does not constrain to activtyset specified by ActivitySetId) -->
+ <!-- check that the from and to specified in a transition exists -->
+ <!-- check that the id specified in a transitionref exists -->
+ </xsd:element>
+ <xsd:element name="WorkflowProcesses">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="xpdl:WorkflowProcess" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="WorkingTime">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="XPDLVersion">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:simpleType name="Id">
+ <xsd:restriction base="xsd:NMTOKEN" />
+ </xsd:simpleType>
+ <xsd:simpleType name="IdRef">
+ <xsd:restriction base="xsd:NMTOKEN" />
+ </xsd:simpleType>
+</xsd:schema>
\ No newline at end of file
Deleted: api/trunk/modules/dialects/xpdl21/src/main/resources/jaxb-bindings.xml
===================================================================
--- api/trunk/modules/dialects/jpdl32/src/main/resources/jaxb-bindings.xml 2008-07-17 09:27:02 UTC (rev 1663)
+++ api/trunk/modules/dialects/xpdl21/src/main/resources/jaxb-bindings.xml 2008-07-17 12:19:40 UTC (rev 1667)
@@ -1,10 +0,0 @@
-<jxb:bindings version='1.0' xmlns:jxb='http://java.sun.com/xml/ns/jaxb' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
- <jxb:bindings schemaLocation="jpdl-3.2.xsd" node="/xsd:schema">
- <jxb:schemaBindings>
- <jxb:package name="org.jboss.bpm.dialect.jpdl32.model" />
- <jxb:nameXmlTransform>
- <jxb:elementName prefix="JPDL32" />
- </jxb:nameXmlTransform>
- </jxb:schemaBindings>
- </jxb:bindings>
-</jxb:bindings>
\ No newline at end of file
Copied: api/trunk/modules/dialects/xpdl21/src/main/resources/jaxb-bindings.xml (from rev 1663, api/trunk/modules/api/src/main/resources/jaxb-bindings.xml)
===================================================================
--- api/trunk/modules/dialects/xpdl21/src/main/resources/jaxb-bindings.xml (rev 0)
+++ api/trunk/modules/dialects/xpdl21/src/main/resources/jaxb-bindings.xml 2008-07-17 12:19:40 UTC (rev 1667)
@@ -0,0 +1,25 @@
+<jxb:bindings version='1.0' xmlns:jxb='http://java.sun.com/xml/ns/jaxb' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xpdl="http://www.wfmc.org/2008/XPDL2.1">
+ <jxb:bindings schemaLocation="bpmnxpdl_31_mods.xsd" node="/xsd:schema">
+ <jxb:schemaBindings>
+ <jxb:package name="org.jboss.bpm.dialect.xpdl21.model" />
+ <jxb:nameXmlTransform>
+ <jxb:elementName prefix="XPDL" />
+ </jxb:nameXmlTransform>
+ </jxb:schemaBindings>
+ <jxb:bindings node="//xsd:element[@name='Artifact']//xsd:attribute[@name='Group']">
+ <jxb:property name="groupAtt" />
+ </jxb:bindings>
+ <jxb:bindings node="//xsd:element[@name='LoopMultiInstance']//xsd:attribute[@name='MI_Condition']">
+ <jxb:property name="miConditionAtt" />
+ </jxb:bindings>
+ <jxb:bindings node="//xsd:element[@name='LoopMultiInstance']//xsd:attribute[@name='ComplexMI_FlowCondition']">
+ <jxb:property name="complexMIFlowConditionAtt" />
+ </jxb:bindings>
+ <jxb:bindings node="//xsd:element[@name='LoopStandard']//xsd:attribute[@name='LoopCondition']">
+ <jxb:property name="loopConditionAtt" />
+ </jxb:bindings>
+ <jxb:bindings node="//xsd:complexType[@name='ProcessType']">
+ <jxb:class name="XPDLWorkflowProcess" />
+ </jxb:bindings>
+ </jxb:bindings>
+</jxb:bindings>
\ No newline at end of file
Deleted: api/trunk/modules/dialects/xpdl21/src/main/resources/jpdl-3.2.xsd
===================================================================
--- api/trunk/modules/dialects/jpdl32/src/main/resources/jpdl-3.2.xsd 2008-07-17 09:27:02 UTC (rev 1663)
+++ api/trunk/modules/dialects/xpdl21/src/main/resources/jpdl-3.2.xsd 2008-07-17 12:19:40 UTC (rev 1667)
@@ -1,499 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<xs:schema xmlns= "urn:jbpm.org:jpdl-3.2"
- targetNamespace="urn:jbpm.org:jpdl-3.2"
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
- elementFormDefault="qualified">
-
- <!-- PROCESS-DEFINITION -->
- <!-- ################## -->
- <xs:element name="process-definition">
- <xs:complexType>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="description" />
- <xs:element ref="swimlane" />
- <xs:element ref="start-state" />
- <xs:group ref="node-elements"/>
- <xs:group ref="action-elements" />
- <xs:element ref="event" />
- <xs:element ref="exception-handler" />
- <xs:element ref="task" />
- </xs:choice>
- <xs:attribute name="name" type="xs:string" use="required" />
- </xs:complexType>
- </xs:element>
-
- <!-- SWIMLANE -->
- <!-- ######## -->
- <xs:element name="swimlane">
- <xs:complexType>
- <xs:sequence minOccurs="0" maxOccurs="1">
- <xs:element ref="assignment"/>
- </xs:sequence>
- <xs:attribute name="name" type="xs:string" use="required" />
- </xs:complexType>
- </xs:element>
-
- <!-- NODES -->
- <!-- ##### -->
- <xs:element name="start-state">
- <xs:complexType>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="description" />
- <xs:element ref="task"/>
- <xs:element ref="transition"/>
- <xs:element ref="event"/>
- <xs:element ref="exception-handler"/>
- </xs:choice>
- <xs:attribute name="name" type="xs:string"/>
- </xs:complexType>
- </xs:element>
-
- <xs:element name="end-state">
- <xs:complexType>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="description" />
- <xs:element ref="event"/>
- <xs:element ref="exception-handler"/>
- </xs:choice>
- <xs:attribute name="name" type="xs:string" use="required"/>
- <xs:attribute name="end-complete-process" type="booleanType" use="optional" default="false"/>
- </xs:complexType>
- </xs:element>
-
- <xs:element name="decision">
- <xs:complexType>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="description" />
- <xs:element name="handler" type="delegation" />
- <xs:element ref="event"/>
- <xs:element ref="exception-handler"/>
- <xs:element ref="transition"/>
- </xs:choice>
- <xs:attribute name="name" type="xs:string" use="required"/>
- <xs:attribute name="expression" type="xs:string" />
- <xs:attribute name="async" type="xs:string" default="false" />
- </xs:complexType>
- </xs:element>
-
- <xs:element name="fork">
- <xs:complexType>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="script" />
- <xs:group ref="node-content-elements" />
- </xs:choice>
- <xs:attribute name="name" type="xs:string" use="required"/>
- <xs:attribute name="async" type="xs:string" default="false" />
- </xs:complexType>
- </xs:element>
-
- <xs:element name="join">
- <xs:complexType>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:group ref="node-content-elements" />
- </xs:choice>
- <xs:attribute name="name" type="xs:string" use="required"/>
- <xs:attribute name="async" type="xs:string" default="false" />
- </xs:complexType>
- </xs:element>
-
- <xs:element name="node">
- <xs:complexType>
- <xs:sequence>
- <xs:choice minOccurs="0" maxOccurs="1">
- <xs:group ref="action-elements" />
- </xs:choice>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:group ref="node-content-elements" />
- </xs:choice>
- </xs:sequence>
- <xs:attribute name="name" type="xs:string" use="required"/>
- <xs:attribute name="async" type="xs:string" default="false" />
- </xs:complexType>
- </xs:element>
-
- <xs:element name="process-state">
- <xs:complexType>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="sub-process">
- <xs:complexType>
- <xs:attribute name="name" type="xs:string"
- use="required" />
- <xs:attribute name="version" type="xs:integer" />
- <xs:attribute name="binding" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element ref="variable" />
- <xs:group ref="node-content-elements" />
- </xs:choice>
- <xs:attribute name="name" type="xs:string" use="required" />
- <xs:attribute name="async" type="xs:string" default="false" />
- <xs:attribute name="binding" type="bindingType"></xs:attribute>
- </xs:complexType>
- </xs:element>
-
- <xs:element name="state">
- <xs:complexType>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:group ref="node-content-elements"/>
- </xs:choice>
- <xs:attribute name="name" type="xs:string" use="required"/>
- <xs:attribute name="async" type="xs:string" default="false" />
- </xs:complexType>
- </xs:element>
-
- <xs:element name="super-state">
- <xs:complexType>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:group ref="node-elements"/>
- <xs:group ref="node-content-elements"/>
- </xs:choice>
- <xs:attribute name="name" type="xs:string" use="required"/>
- <xs:attribute name="async" type="xs:string" default="false" />
- </xs:complexType>
- </xs:element>
-
- <xs:element name="task-node">
- <xs:complexType>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="task" />
- <xs:group ref="node-content-elements" />
- </xs:choice>
- <xs:attribute name="name" type="xs:string" use="required"/>
- <xs:attribute name="create-tasks" type="booleanType" default="true" />
- <xs:attribute name="end-tasks" type="booleanType" default="false" />
- <xs:attribute name="signal" default="last">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="unsynchronized"/>
- <xs:enumeration value="never"/>
- <xs:enumeration value="first"/>
- <xs:enumeration value="first-wait"/>
- <xs:enumeration value="last"/>
- <xs:enumeration value="last-wait"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:attribute name="async" type="xs:string" default="false" />
- </xs:complexType>
- </xs:element>
-
- <xs:element name="mail-node">
- <xs:complexType>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="subject" />
- <xs:element ref="text" />
- <xs:group ref="node-content-elements"/>
- </xs:choice>
- <xs:attribute name="name" type="xs:string" use="required"/>
- <xs:attribute name="async" type="xs:string" default="false" />
- <xs:attribute name="template" type="xs:string"/>
- <xs:attribute name="actors" type="xs:string"/>
- <xs:attribute name="to" type="xs:string"/>
- <xs:attribute name="subject" type="xs:string"/>
- <xs:attribute name="text" type="xs:string"/>
- </xs:complexType>
- </xs:element>
-
-
- <!-- TRANSITION -->
- <!-- ########## -->
- <xs:element name="transition">
- <xs:complexType>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="description" />
- <xs:element name="condition">
- <xs:complexType mixed="true">
- <xs:sequence minOccurs="0" maxOccurs="unbounded">
- <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attribute name="expression" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:group ref="action-elements"/>
- <xs:element ref="exception-handler" />
- </xs:choice>
- <xs:attribute name="to" type="xs:string" use="required" />
- <xs:attribute name="name" type="xs:string" />
- </xs:complexType>
- </xs:element>
-
- <!-- ACTIONS -->
- <!-- ####### -->
- <xs:element name="action">
- <xs:complexType mixed="true">
- <xs:sequence>
- <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attribute name="class" type="xs:string" />
- <xs:attribute name="config-type" default="field" type="xs:string" />
- <xs:attribute name="name" type="xs:string" />
- <xs:attribute name="ref-name" type="xs:string" />
- <xs:attribute name="accept-propagated-events" type="booleanType" default="true" />
- <xs:attribute name="expression" type="xs:string" />
- <xs:attribute name="async" type="xs:string" />
- </xs:complexType>
- </xs:element>
-
- <xs:element name="cancel-timer">
- <xs:complexType>
- <xs:attribute name="name" type="xs:string" use="required" />
- </xs:complexType>
- </xs:element>
-
- <xs:element name="create-timer">
- <xs:complexType>
- <xs:choice minOccurs="0">
- <xs:element ref="action"/>
- <xs:element ref="script"/>
- </xs:choice>
- <xs:attribute name="duedate" type="xs:string" use="required" />
- <xs:attribute name="name" type="xs:string" />
- <xs:attribute name="repeat" type="xs:string" />
- <xs:attribute name="transition" type="xs:string" />
- </xs:complexType>
- </xs:element>
-
- <xs:element name="script">
- <xs:complexType mixed="true">
- <xs:sequence>
- <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attribute name="name" type="xs:string" />
- <xs:attribute name="accept-propagated-events" type="booleanType" default="true" />
- </xs:complexType>
- </xs:element>
-
- <xs:element name="mail">
- <xs:complexType>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="subject" />
- <xs:element ref="text" />
- </xs:choice>
- <xs:attribute name="name" type="xs:string" use="required"/>
- <xs:attribute name="async" type="xs:string" default="false" />
- <xs:attribute name="template" type="xs:string"/>
- <xs:attribute name="actors" type="xs:string"/>
- <xs:attribute name="to" type="xs:string"/>
- <xs:attribute name="subject" type="xs:string"/>
- <xs:attribute name="text" type="xs:string"/>
- </xs:complexType>
- </xs:element>
-
- <!-- EVENT -->
- <!-- ##### -->
- <xs:element name="event">
- <xs:complexType>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:group ref="action-elements"/>
- </xs:choice>
- <xs:attribute name="type" use="required">
- <xs:simpleType>
- <xs:union>
- <xs:simpleType>
- <xs:restriction base="xs:string"/>
- </xs:simpleType>
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="node-enter"/>
- <xs:enumeration value="node-leave"/>
- <xs:enumeration value="process-start"/>
- <xs:enumeration value="process-end"/>
- <xs:enumeration value="task-create"/>
- <xs:enumeration value="task-assign"/>
- <xs:enumeration value="task-start"/>
- <xs:enumeration value="task-end"/>
- <xs:enumeration value="before-signal"/>
- <xs:enumeration value="after-signal"/>
- <xs:enumeration value="superstate-enter"/>
- <xs:enumeration value="superstate-leave"/>
- <xs:enumeration value="timer-create"/>
- <xs:enumeration value="subprocess-created"/>
- <xs:enumeration value="subprocess-end"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:union>
- </xs:simpleType>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
-
- <!-- EXCEPTION-HANDLER -->
- <!-- ################# -->
- <xs:element name="exception-handler">
- <xs:complexType>
- <xs:choice minOccurs="1" maxOccurs="unbounded">
- <xs:element ref="action"/>
- <xs:element ref="script"/>
- </xs:choice>
- <xs:attribute name="exception-class" type="xs:string"/>
- </xs:complexType>
- </xs:element>
-
- <!-- TASK -->
- <!-- #### -->
- <xs:element name="task">
- <xs:complexType>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="description" />
- <xs:element ref="assignment"/>
- <xs:element ref="controller"/>
- <xs:element ref="event"/>
- <xs:element ref="timer"/>
- <xs:element name="reminder">
- <xs:complexType>
- <xs:attribute name="duedate" type="xs:string" use="required" />
- <xs:attribute name="repeat" type="xs:string" />
- </xs:complexType>
- </xs:element>
- </xs:choice>
- <xs:attribute name="name" type="xs:string" />
- <xs:attribute name="blocking" type="booleanType" default="false"/>
- <xs:attribute name="signalling" type="booleanType" default="true"/>
- <xs:attribute name="description" type="xs:string" />
- <xs:attribute name="duedate" type="xs:string" />
- <xs:attribute name="swimlane" type="xs:string" />
- <xs:attribute name="priority" type="priorityType" default="normal" />
- <xs:attribute name="notify" type="booleanType" default="false"/>
- </xs:complexType>
- </xs:element>
-
- <xs:element name="controller" type="delegation" />
-
- <xs:element name="assignment">
- <xs:complexType>
- <xs:complexContent>
- <xs:extension base="delegation">
- <xs:attribute name="expression" type="xs:string" />
- <xs:attribute name="actor-id" type="xs:string" />
- <xs:attribute name="pooled-actors" type="xs:string" />
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
-
- <!-- TIMER -->
- <!-- ##### -->
- <xs:element name="timer">
- <xs:complexType>
- <xs:choice minOccurs="0" maxOccurs="1">
- <xs:group ref="action-elements" />
- </xs:choice>
- <xs:attribute name="duedate" type="xs:string" use="required" />
- <xs:attribute name="name" type="xs:string" />
- <xs:attribute name="repeat" type="xs:string" />
- <xs:attribute name="transition" type="xs:string" />
- </xs:complexType>
- </xs:element>
-
- <xs:element name="variable">
- <xs:complexType>
- <xs:sequence>
- <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attribute name="name" type="xs:string" use="required"/>
- <xs:attribute name="access" type="xs:string" default="read,write"/>
- <xs:attribute name="mapped-name" type="xs:string" />
- </xs:complexType>
- </xs:element>
-
- <!-- MAIL -->
- <!-- #### -->
- <xs:element name="to" type="xs:string"/>
- <xs:element name="recipients" type="xs:string"/>
- <xs:element name="subject" type="xs:string"/>
- <xs:element name="text" type="xs:string"/>
- <xs:element name="template" type="xs:string"/>
-
- <!-- TYPES AND GROUPS -->
- <!-- ################ -->
-
- <xs:element name="description" type="xs:string" />
-
- <xs:complexType name="delegation" mixed="true">
- <xs:sequence>
- <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attribute name="class" type="xs:string" />
- <xs:attribute name="config-type" default="field" type="xs:string" />
- </xs:complexType>
-
- <xs:simpleType name="configType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="field"/>
- <xs:enumeration value="bean"/>
- <xs:enumeration value="constructor"/>
- <xs:enumeration value="configuration-property"/>
- </xs:restriction>
- </xs:simpleType>
-
- <xs:simpleType name="booleanType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="yes"/>
- <xs:enumeration value="no"/>
- <xs:enumeration value="true"/>
- <xs:enumeration value="false"/>
- <xs:enumeration value="on"/>
- <xs:enumeration value="off"/>
- </xs:restriction>
- </xs:simpleType>
-
- <xs:simpleType name="priorityType">
- <xs:union>
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="highest"/>
- <xs:enumeration value="high"/>
- <xs:enumeration value="normal"/>
- <xs:enumeration value="low"/>
- <xs:enumeration value="lowest"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType>
- <xs:restriction base="xs:int"/>
- </xs:simpleType>
- </xs:union>
- </xs:simpleType>
-
- <xs:group name="node-elements">
- <xs:choice>
- <xs:element ref="node"/>
- <xs:element ref="state"/>
- <xs:element ref="task-node"/>
- <xs:element ref="super-state"/>
- <xs:element ref="process-state"/>
- <xs:element ref="fork"/>
- <xs:element ref="join"/>
- <xs:element ref="decision"/>
- <xs:element ref="end-state"/>
- <xs:element ref="mail-node"/>
- </xs:choice>
- </xs:group>
-
- <xs:group name="action-elements">
- <xs:choice>
- <xs:element ref="action"/>
- <xs:element ref="script"/>
- <xs:element ref="create-timer"/>
- <xs:element ref="cancel-timer"/>
- <xs:element ref="mail"/>
- </xs:choice>
- </xs:group>
-
- <xs:group name="node-content-elements">
- <xs:choice>
- <xs:element ref="description" />
- <xs:element ref="event"/>
- <xs:element ref="exception-handler"/>
- <xs:element ref="timer"/>
- <xs:element ref="transition"/>
- </xs:choice>
- </xs:group>
-
- <xs:simpleType name="bindingType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="late"></xs:enumeration>
- <xs:enumeration value="early"></xs:enumeration>
- </xs:restriction>
- </xs:simpleType>
-</xs:schema>
Modified: api/trunk/pom.xml
===================================================================
--- api/trunk/pom.xml 2008-07-17 09:54:14 UTC (rev 1666)
+++ api/trunk/pom.xml 2008-07-17 12:19:40 UTC (rev 1667)
@@ -35,6 +35,7 @@
<module>modules/impl</module>
<module>modules/dialects/api10</module>
<module>modules/dialects/jpdl32</module>
+ <module>modules/dialects/xpdl21</module>
<module>modules/testsuite</module>
</modules>
15 years, 11 months
JBoss JBPM SVN: r1666 - in jbpm3/trunk: modules/jpdl/core and 8 other directories.
by do-not-reply@jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-07-17 05:54:14 -0400 (Thu, 17 Jul 2008)
New Revision: 1666
Added:
jbpm3/trunk/modules/jpdl/core/src/test/resources/samples/context/basic-context-jpdl32.xml
jbpm3/trunk/modules/jpdl/core/src/test/resources/samples/engine/basic-engine-jpdl32.xml
jbpm3/trunk/modules/jpdl/core/src/test/resources/samples/parallelsplit/
jbpm3/trunk/modules/jpdl/core/src/test/resources/samples/parallelsplit/parallel-split-jpdl32.xml
jbpm3/trunk/modules/jpdl/core/src/test/resources/samples/sequence/basic-sequence-jpdl32.xml
jbpm3/trunk/modules/jpdl/core/src/test/resources/samples/task/basic-task-jpdl32.xml
Removed:
jbpm3/trunk/modules/jpdl/core/src/main/java/org/jbpm/integration/
jbpm3/trunk/modules/jpdl/core/src/test/resources/samples/context/basic-context-jbpm32.xml
jbpm3/trunk/modules/jpdl/core/src/test/resources/samples/engine/basic-engine-jbpm32.xml
jbpm3/trunk/modules/jpdl/core/src/test/resources/samples/sequence/basic-sequence-jbpm32.xml
jbpm3/trunk/modules/jpdl/core/src/test/resources/samples/task/basic-task-jbpm32.xml
Modified:
jbpm3/trunk/modules/jpdl/core/pom.xml
jbpm3/trunk/modules/jpdl/core/src/main/resources/jbpm-beans.xml
jbpm3/trunk/pom.xml
Log:
Use API provided jpdl32 handler
Modified: jbpm3/trunk/modules/jpdl/core/pom.xml
===================================================================
--- jbpm3/trunk/modules/jpdl/core/pom.xml 2008-07-17 09:53:58 UTC (rev 1665)
+++ jbpm3/trunk/modules/jpdl/core/pom.xml 2008-07-17 09:54:14 UTC (rev 1666)
@@ -30,15 +30,9 @@
<dependency>
<groupId>org.jboss.jbpm</groupId>
<artifactId>jbpm-api</artifactId>
- <scope>compile</scope>
</dependency>
<dependency>
<groupId>org.jboss.jbpm</groupId>
- <artifactId>jbpm-api-impl</artifactId>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.jbpm</groupId>
<artifactId>jbpm-api-testsuite</artifactId>
<type>zip</type>
</dependency>
@@ -116,6 +110,18 @@
<artifactId>slf4j-log4j12</artifactId>
<scope>test</scope>
</dependency>
+
+ <!-- Runtime Dependencies -->
+ <dependency>
+ <groupId>org.jboss.jbpm</groupId>
+ <artifactId>jbpm-api-impl</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.jbpm</groupId>
+ <artifactId>jbpm-api-dialect-jpdl32</artifactId>
+ <scope>runtime</scope>
+ </dependency>
</dependencies>
<!-- Plugins -->
@@ -219,7 +225,7 @@
<systemProperties>
<property>
<name>jbpm.dialect</name>
- <value>jbpm32</value>
+ <value>jpdl32</value>
</property>
<property>
<name>log4j.output.dir</name>
Modified: jbpm3/trunk/modules/jpdl/core/src/main/resources/jbpm-beans.xml
===================================================================
--- jbpm3/trunk/modules/jpdl/core/src/main/resources/jbpm-beans.xml 2008-07-17 09:53:58 UTC (rev 1665)
+++ jbpm3/trunk/modules/jpdl/core/src/main/resources/jbpm-beans.xml 2008-07-17 09:54:14 UTC (rev 1666)
@@ -14,9 +14,15 @@
<bean name="jBPMProcessBuilderFactory" class="org.jboss.bpm.model.internal.ProcessBuilderFactoryImpl"/>
<!-- The ProcessManager -->
- <bean name="jBPMProcessManager" class="org.jbpm.integration.client.ProcessManagerImpl">
+ <bean name="jBPMProcessManager" class="org.jboss.bpm.client.internal.ProcessManagerImpl">
<property name="processEngine"><inject bean="jBPMProcessEngine" state="Instantiated"/></property>
+ <property name="dialectHandlers">
+ <map keyClass="java.lang.String" valueClass="org.jboss.bpm.client.DialectHandler">
+ <entry><key>jpdl32</key><value><inject bean="jBPMDialectHandlerJPDL32"/></value></entry>
+ </map>
+ </property>
</bean>
+ <bean name="jBPMDialectHandlerJPDL32" class="org.jboss.bpm.dialect.jpdl32.DialectHandlerImpl"/>
<!-- The ExecutionManager -->
<bean name="jBPMExecutionManager" class="org.jboss.bpm.client.internal.ExecutionManagerImpl">
Deleted: jbpm3/trunk/modules/jpdl/core/src/test/resources/samples/context/basic-context-jbpm32.xml
===================================================================
--- jbpm3/trunk/modules/jpdl/core/src/test/resources/samples/context/basic-context-jbpm32.xml 2008-07-17 09:53:58 UTC (rev 1665)
+++ jbpm3/trunk/modules/jpdl/core/src/test/resources/samples/context/basic-context-jbpm32.xml 2008-07-17 09:54:14 UTC (rev 1666)
@@ -1,12 +0,0 @@
-<process-definition xmlns='urn:jbpm.org:jpdl-3.2' name='basic-context'>
- <start-state>
- <transition to='stateA' />
- </start-state>
- <state name='stateA'>
- <event type='node-enter'>
- <action class='org.jboss.bpm.samples.context.TaskA' />
- </event>
- <transition to='end' />
- </state>
- <end-state name='end' />
-</process-definition>
\ No newline at end of file
Copied: jbpm3/trunk/modules/jpdl/core/src/test/resources/samples/context/basic-context-jpdl32.xml (from rev 1663, jbpm3/trunk/modules/jpdl/core/src/test/resources/samples/context/basic-context-jbpm32.xml)
===================================================================
--- jbpm3/trunk/modules/jpdl/core/src/test/resources/samples/context/basic-context-jpdl32.xml (rev 0)
+++ jbpm3/trunk/modules/jpdl/core/src/test/resources/samples/context/basic-context-jpdl32.xml 2008-07-17 09:54:14 UTC (rev 1666)
@@ -0,0 +1,12 @@
+<process-definition xmlns='urn:jbpm.org:jpdl-3.2' name='basic-context'>
+ <start-state>
+ <transition to='stateA' />
+ </start-state>
+ <state name='stateA'>
+ <event type='node-enter'>
+ <action class='org.jboss.bpm.samples.context.TaskA' />
+ </event>
+ <transition to='end' />
+ </state>
+ <end-state name='end' />
+</process-definition>
\ No newline at end of file
Deleted: jbpm3/trunk/modules/jpdl/core/src/test/resources/samples/engine/basic-engine-jbpm32.xml
===================================================================
--- jbpm3/trunk/modules/jpdl/core/src/test/resources/samples/engine/basic-engine-jbpm32.xml 2008-07-17 09:53:58 UTC (rev 1665)
+++ jbpm3/trunk/modules/jpdl/core/src/test/resources/samples/engine/basic-engine-jbpm32.xml 2008-07-17 09:54:14 UTC (rev 1666)
@@ -1,9 +0,0 @@
-<process-definition xmlns='urn:jbpm.org:jpdl-3.2' name='basic-engine'>
- <start-state>
- <transition to='stateA' />
- </start-state>
- <state name='stateA'>
- <transition to='end' />
- </state>
- <end-state name='end' />
-</process-definition>
\ No newline at end of file
Copied: jbpm3/trunk/modules/jpdl/core/src/test/resources/samples/engine/basic-engine-jpdl32.xml (from rev 1663, jbpm3/trunk/modules/jpdl/core/src/test/resources/samples/engine/basic-engine-jbpm32.xml)
===================================================================
--- jbpm3/trunk/modules/jpdl/core/src/test/resources/samples/engine/basic-engine-jpdl32.xml (rev 0)
+++ jbpm3/trunk/modules/jpdl/core/src/test/resources/samples/engine/basic-engine-jpdl32.xml 2008-07-17 09:54:14 UTC (rev 1666)
@@ -0,0 +1,9 @@
+<process-definition xmlns='urn:jbpm.org:jpdl-3.2' name='basic-engine'>
+ <start-state>
+ <transition to='stateA' />
+ </start-state>
+ <state name='stateA'>
+ <transition to='end' />
+ </state>
+ <end-state name='end' />
+</process-definition>
\ No newline at end of file
Added: jbpm3/trunk/modules/jpdl/core/src/test/resources/samples/parallelsplit/parallel-split-jpdl32.xml
===================================================================
--- jbpm3/trunk/modules/jpdl/core/src/test/resources/samples/parallelsplit/parallel-split-jpdl32.xml (rev 0)
+++ jbpm3/trunk/modules/jpdl/core/src/test/resources/samples/parallelsplit/parallel-split-jpdl32.xml 2008-07-17 09:54:14 UTC (rev 1666)
@@ -0,0 +1,11 @@
+<process-definition xmlns='urn:jbpm.org:jpdl-3.2' name='testParallelSplit'>
+ <start-state>
+ <transition to='gateway' />
+ </start-state>
+ <fork name='gateway'>
+ <transition to='endA' />
+ <transition to='endB' />
+ </fork>
+ <end-state name='endA' />
+ <end-state name='endB' />
+</process-definition>
Property changes on: jbpm3/trunk/modules/jpdl/core/src/test/resources/samples/parallelsplit/parallel-split-jpdl32.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Deleted: jbpm3/trunk/modules/jpdl/core/src/test/resources/samples/sequence/basic-sequence-jbpm32.xml
===================================================================
--- jbpm3/trunk/modules/jpdl/core/src/test/resources/samples/sequence/basic-sequence-jbpm32.xml 2008-07-17 09:53:58 UTC (rev 1665)
+++ jbpm3/trunk/modules/jpdl/core/src/test/resources/samples/sequence/basic-sequence-jbpm32.xml 2008-07-17 09:54:14 UTC (rev 1666)
@@ -1,9 +0,0 @@
-<process-definition xmlns='urn:jbpm.org:jpdl-3.2' name='testBasicSequence'>
- <start-state>
- <transition to='stateA' />
- </start-state>
- <state name='stateA'>
- <transition to='end' />
- </state>
- <end-state name='end' />
-</process-definition>
\ No newline at end of file
Copied: jbpm3/trunk/modules/jpdl/core/src/test/resources/samples/sequence/basic-sequence-jpdl32.xml (from rev 1663, jbpm3/trunk/modules/jpdl/core/src/test/resources/samples/sequence/basic-sequence-jbpm32.xml)
===================================================================
--- jbpm3/trunk/modules/jpdl/core/src/test/resources/samples/sequence/basic-sequence-jpdl32.xml (rev 0)
+++ jbpm3/trunk/modules/jpdl/core/src/test/resources/samples/sequence/basic-sequence-jpdl32.xml 2008-07-17 09:54:14 UTC (rev 1666)
@@ -0,0 +1,9 @@
+<process-definition xmlns='urn:jbpm.org:jpdl-3.2' name='testBasicSequence'>
+ <start-state>
+ <transition to='stateA' />
+ </start-state>
+ <state name='stateA'>
+ <transition to='end' />
+ </state>
+ <end-state name='end' />
+</process-definition>
\ No newline at end of file
Deleted: jbpm3/trunk/modules/jpdl/core/src/test/resources/samples/task/basic-task-jbpm32.xml
===================================================================
--- jbpm3/trunk/modules/jpdl/core/src/test/resources/samples/task/basic-task-jbpm32.xml 2008-07-17 09:53:58 UTC (rev 1665)
+++ jbpm3/trunk/modules/jpdl/core/src/test/resources/samples/task/basic-task-jbpm32.xml 2008-07-17 09:54:14 UTC (rev 1666)
@@ -1,12 +0,0 @@
-<process-definition xmlns='urn:jbpm.org:jpdl-3.2' name='testBasicTask'>
- <start-state>
- <transition to='stateA' />
- </start-state>
- <state name='stateA'>
- <event type='node-enter'>
- <action class='org.jboss.bpm.samples.task.TaskA' />
- </event>
- <transition to='end' />
- </state>
- <end-state name='end' />
-</process-definition>
\ No newline at end of file
Copied: jbpm3/trunk/modules/jpdl/core/src/test/resources/samples/task/basic-task-jpdl32.xml (from rev 1663, jbpm3/trunk/modules/jpdl/core/src/test/resources/samples/task/basic-task-jbpm32.xml)
===================================================================
--- jbpm3/trunk/modules/jpdl/core/src/test/resources/samples/task/basic-task-jpdl32.xml (rev 0)
+++ jbpm3/trunk/modules/jpdl/core/src/test/resources/samples/task/basic-task-jpdl32.xml 2008-07-17 09:54:14 UTC (rev 1666)
@@ -0,0 +1,12 @@
+<process-definition xmlns='urn:jbpm.org:jpdl-3.2' name='testBasicTask'>
+ <start-state>
+ <transition to='stateA' />
+ </start-state>
+ <state name='stateA'>
+ <event type='node-enter'>
+ <action class='org.jboss.bpm.samples.task.TaskA' />
+ </event>
+ <transition to='end' />
+ </state>
+ <end-state name='end' />
+</process-definition>
\ No newline at end of file
Modified: jbpm3/trunk/pom.xml
===================================================================
--- jbpm3/trunk/pom.xml 2008-07-17 09:53:58 UTC (rev 1665)
+++ jbpm3/trunk/pom.xml 2008-07-17 09:54:14 UTC (rev 1666)
@@ -95,6 +95,11 @@
</dependency>
<dependency>
<groupId>org.jboss.jbpm</groupId>
+ <artifactId>jbpm-api-dialect-jpdl32</artifactId>
+ <version>${jboss.jbpm.api.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.jbpm</groupId>
<artifactId>jbpm-api-testsuite</artifactId>
<version>${jboss.jbpm.api.version}</version>
<type>zip</type>
15 years, 11 months