[jbpm-commits] JBoss JBPM SVN: r3015 - jbpm4/trunk/modules/jpdl/src/main/resources/org/jbpm/jpdl.

do-not-reply at jboss.org do-not-reply at jboss.org
Thu Nov 20 10:46:13 EST 2008


Author: tom.baeyens at jboss.com
Date: 2008-11-20 10:46:13 -0500 (Thu, 20 Nov 2008)
New Revision: 3015

Modified:
   jbpm4/trunk/modules/jpdl/src/main/resources/org/jbpm/jpdl/jpdl.xsd
Log:
initial jpdl 4 xsd

Modified: jbpm4/trunk/modules/jpdl/src/main/resources/org/jbpm/jpdl/jpdl.xsd
===================================================================
--- jbpm4/trunk/modules/jpdl/src/main/resources/org/jbpm/jpdl/jpdl.xsd	2008-11-20 14:29:46 UTC (rev 3014)
+++ jbpm4/trunk/modules/jpdl/src/main/resources/org/jbpm/jpdl/jpdl.xsd	2008-11-20 15:46:13 UTC (rev 3015)
@@ -32,155 +32,83 @@
             add value over inline defined objects.
     </documentation>
   </annotation>
-  
-  <!-- ### FUNCTIONAL ACTIVITY TYPES ###################################### -->
-  
-  <group name="delegationGroup">
-    <choice>
-      <element name="object">
-        <annotation><documentation>A java object that will be obtained by using 
-        the constructor through reflection or through a factory method.</documentation></annotation>
-        <complexType>
-          <attribute name="class" type="string" />
-        </complexType>
-      </element>
-      <element name="jndi">
-        <complexType>
-          <attribute name="name" type="string" />
-        </complexType>
-      </element>
-      <element name="expr">
-        <complexType>
-          <attribute name="text" type="string" use="required"/>
-          <attribute name="language" type="string" />
-        </complexType>
-      </element>
-    </choice>
-  </group>
-  
-  <complexType name="invokeType">
-    <sequence>
-      <group ref="tns:delegationGroup">
-        <annotation><documentation>The object on which the method 
-        will be invoked</documentation></annotation>
-      </group>
-      <element name="arg" minOccurs="0" maxOccurs="unbounded">
-        <annotation><documentation>Arguments passed into the method 
-        invocation.</documentation></annotation>
-      </element>
-    </sequence>
-    <attribute name="method" type="string" use="required">
-      <annotation><documentation>The name of the method to invoke.
-      </documentation></annotation>
-    </attribute>
-  </complexType>
 
-  <complexType name="scriptType">
-    <sequence>
-      <element name="expr" type="string">
-        <annotation><documentation>The content of this expression element 
-        is the script text that will be evaluated.  This is mutually 
-        exclusive with the expression attribute.</documentation></annotation>
-      </element>
-    </sequence>
-    <attribute name="expr" type="string">
-      <annotation><documentation>The script text that will be evaluated.  This 
-      is mutually exclusive with the expression element.
-      </documentation></annotation>
-    </attribute>
-    <attribute name="lang" type="string">
-      <annotation><documentation>Identification of the scripting language 
-      to use.</documentation></annotation>
-    </attribute>
-  </complexType>
-
-  <complexType name="emailType">
-    <sequence>
-      <element name="property">
-        <annotation><documentation>Template property value</documentation></annotation>
-        <complexType>
-          <attribute name="name" type="string" />
-          <attribute name="value" type="string" />
-        </complexType>
-      </element>
-    </sequence>
-    <attribute name="to" type="string" />
-    <attribute name="type" type="string">
-      <annotation><documentation>Reference to the email template</documentation></annotation>
-    </attribute>
-  </complexType>
-
-  <element name="timer">
-    <annotation><documentation>A timer that will be bound to the most inner enclosing scope.
-    Timers can give a signal to an activity instance.  The signal will correspond to a transition 
-    or to an event being fired.
-    </documentation></annotation>
+  <!-- ### PROCESS DEFINITION ############################################# -->
+  
+  <element name="process">
+    <annotation><documentation>A jPDL process definition description; This 
+    is the top level element in a jPDL process file.</documentation></annotation>
     <complexType>
-      <choice minOccurs="0" maxOccurs="unbounded">
-        <group ref="tns:eventListenerGroup">
-          <annotation><documentation>An inline list of event listeners 
-          on a timer is a short cut for defining the event separately.
-          </documentation></annotation>
-        </group>
-      </choice>
-      <attribute name="duedate" type="string" use="required" />
-      <attribute name="signal" type="string"  use="required">
-        <annotation><documentation>Refers to the signal that will be used.
-        If inline event listeners are declared, the signal name can not be 
-        the same as an event that is declared in this scope.
+      <sequence minOccurs="0" maxOccurs="unbounded">
+        <group ref="tns:activityGroup" minOccurs="0" maxOccurs="unbounded"/>
+        <!-- 
+        <element ref="tns:on" minOccurs="0" maxOccurs="unbounded">
+          <annotation><documentation>Events on which listeners can be registered.</documentation></annotation>
+        </element>
+        <element ref="tns:timer" minOccurs="0" maxOccurs="unbounded"/>
+         -->
+      </sequence>
+      <attribute name="name" use="required" type="string">
+        <annotation><documentation>The process name.  Multiple processes can 
+        be deployed with the same name, as long as they have a different 
+        version.</documentation></annotation>
+      </attribute>
+      <attribute name="version" type="int">
+        <annotation><documentation>Indicates the sequence number of this 
+        version for all processes with the same name.  By specifying a version
+        automatic deployment can figure out if this process is already deployed 
+        or not.
         </documentation></annotation>
       </attribute>
-      <attribute name="repeat" type="string" />
+      <attribute name="g" type="string">
+        <annotation><documentation>Graphical information used by designer tool.
+        </documentation></annotation>
+      </attribute>
     </complexType>
   </element>
-
-  <!-- ### EVENT LISTENERS ################################################ -->
-
-  <group name="eventListenerGroup">
+  
+  <!-- ### ACTIVITIES ##################################################### -->
+  
+  <group name="activityGroup">
     <choice>
-      <element name="notify">
-        <annotation><documentation>Calls the notify method on an 
-        EventListener.
+      <!-- ~~~ START ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
+      <element name="start">
+        <annotation><documentation>Start event
         </documentation></annotation>
         <complexType>
-          <group ref="tns:delegationGroup" />
-          <attribute name="object" type="string">
-			      <annotation><documentation>The reference to an object that is declared 
-			      in the objects section of this process definition.
-			      </documentation></annotation>
-			    </attribute>
-			    <attribute name="expr" type="string">
-			      <annotation><documentation>The expression that will resolve to 
-			      an Activity implementation.</documentation></annotation>
-			    </attribute>
+          <sequence>
+            <element ref="tns:flow" minOccurs="0" maxOccurs="unbounded" />
+            <element ref="tns:on" minOccurs="0" maxOccurs="unbounded">
+              <annotation><documentation>Events on which listeners can be registered.</documentation></annotation>
+            </element>
+          </sequence>
+          <attributeGroup ref="tns:nodeAttributes" />
         </complexType>
       </element>
-      <element name="invoke" type="tns:invokeType">
-        <annotation><documentation>Invokes a method on a Java object
-        through reflection.  The return value can be captured in a 
-        process variable.
+
+      <!-- ~~~ END ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
+      <element name="end">
+        <annotation><documentation>End event.
         </documentation></annotation>
+        <complexType>
+          <sequence>
+            <element ref="tns:on" minOccurs="0" maxOccurs="unbounded">
+              <annotation><documentation>Events on which listeners can be registered.</documentation></annotation>
+            </element>
+          </sequence>
+          <attributeGroup ref="tns:nodeAttributes" />
+          <attribute name="ends" default="process-instance">
+            <simpleType>
+              <restriction base="string">
+                <enumeration value="execution"/>
+                <enumeration value="process-instance"/>
+              </restriction>
+            </simpleType>
+          </attribute>
+        </complexType>
       </element>
-      <element name="script" type="tns:scriptType">
-        <annotation><documentation>Evaluates a piece of text as a script
-        </documentation></annotation>
-      </element>
-      <element name="email" type="tns:emailType">
-        <annotation><documentation>Sends an email
-        </documentation></annotation>
-      </element>
-      <element ref="tns:timer">
-        <annotation><documentation>Creates a timer.
-        </documentation></annotation>
-      </element>
-    </choice>
-  </group>
-
-  <!-- ### ACTIVITIES ##################################################### -->
-
-  <group name="activityGroup">
-    <choice>
-      <!-- ~~~ CONTROL FLOW ACTIVITIES ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
+      
+      <!-- ~~~ STATE ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
       <element name="state">
         <annotation><documentation>A wait state.  When an execution arrives in this 
         activity, the execution will wait until an external trigger is received 
@@ -188,24 +116,26 @@
         </documentation></annotation>
         <complexType>
           <sequence>
-            <element ref="tns:transition" minOccurs="0" maxOccurs="unbounded" />
+            <element ref="tns:flow" minOccurs="0" maxOccurs="unbounded" />
             <element ref="tns:on" minOccurs="0" maxOccurs="unbounded">
               <annotation><documentation>Events on which listeners can be registered.</documentation></annotation>
             </element>
+            <!-- 
             <element ref="tns:timer" minOccurs="0" maxOccurs="unbounded"/>
+            -->
           </sequence>
           <attributeGroup ref="tns:nodeAttributes" />
         </complexType>
       </element>
 
-      <element name="decision">
-        <annotation><documentation>Selects one path out of many alternatives.  
-        When an execution comes in, exactly one outgoing transition is 
-        taken.
+      <!-- ~~~ EXCLUSIVE ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
+      <element name="exclusive">
+        <annotation><documentation>Exclusive gayteway: selects one path out of many alternatives.  
+        When an execution comes in, exactly one outgoing flow is taken.
         </documentation></annotation>
         <complexType>
           <sequence>
-            <element ref="tns:transition" minOccurs="0" maxOccurs="unbounded" />
+            <element ref="tns:flow" minOccurs="0" maxOccurs="unbounded" />
             <element ref="tns:on" minOccurs="0" maxOccurs="unbounded">
               <annotation><documentation>Events on which listeners can be registered.</documentation></annotation>
             </element>
@@ -214,13 +144,14 @@
         </complexType>
       </element>
     
+      <!-- 
       <element name="fork">
         <annotation><documentation>Spawns multiple concurrent paths of 
         execution.
         </documentation></annotation>
         <complexType>
           <sequence>
-            <element ref="tns:transition" minOccurs="0" maxOccurs="unbounded" />
+            <element ref="tns:flow" minOccurs="0" maxOccurs="unbounded" />
             <element ref="tns:on" minOccurs="0" maxOccurs="unbounded">
               <annotation><documentation>Events on which listeners can be registered.</documentation></annotation>
             </element>
@@ -235,7 +166,7 @@
         </documentation></annotation>
         <complexType>
           <sequence>
-            <element ref="tns:transition" minOccurs="0" maxOccurs="unbounded" />
+            <element ref="tns:flow" minOccurs="0" maxOccurs="unbounded" />
             <element ref="tns:on" minOccurs="0" maxOccurs="unbounded">
               <annotation><documentation>Events on which listeners can be registered.</documentation></annotation>
             </element>
@@ -248,15 +179,15 @@
         <annotation><documentation>Waits while a sub process instance is 
         being executed and continues when the sub process instance ends.
         </documentation></annotation>
-        <!-- take into account the following situation:
+        < ! - - take into account the following situation:
         Unlike in jBPM 3, a process-state should not signal the newly created 
         process instance.  The signal in jBPM 3 is probably historically there 
         because in the beginning there was no initial attribute on the process
         definition.
-        -->
+        - - >
         <complexType>
           <sequence>
-            <element ref="tns:transition" minOccurs="0" maxOccurs="unbounded" />
+            <element ref="tns:flow" minOccurs="0" maxOccurs="unbounded" />
             <element ref="tns:on" minOccurs="0" maxOccurs="unbounded">
               <annotation><documentation>Events on which listeners can be registered.</documentation></annotation>
             </element>
@@ -272,7 +203,7 @@
         <complexType>
           <sequence>
             <group ref="tns:activityGroup" minOccurs="0" maxOccurs="unbounded" />
-            <element ref="tns:transition" minOccurs="0" maxOccurs="unbounded" />
+            <element ref="tns:flow" minOccurs="0" maxOccurs="unbounded" />
             <element ref="tns:on" minOccurs="0" maxOccurs="unbounded">
               <annotation><documentation>Events on which listeners can be registered.</documentation></annotation>
             </element>
@@ -282,36 +213,13 @@
         </complexType>
       </element>
     
-      <element name="end-state">
-        <annotation><documentation>Ends the process instance.
-        </documentation></annotation>
-        <complexType>
-          <sequence>
-            <element ref="tns:transition" minOccurs="0" maxOccurs="unbounded" />
-            <element ref="tns:on" minOccurs="0" maxOccurs="unbounded">
-              <annotation><documentation>Events on which listeners can be registered.</documentation></annotation>
-            </element>
-          </sequence>
-          <attributeGroup ref="tns:nodeAttributes" />
-          <attribute name="ends" default="process-instance">
-            <simpleType>
-              <restriction base="string">
-                <enumeration value="execution"/>
-                <enumeration value="process-instance"/>
-              </restriction>
-            </simpleType>
-          </attribute>
-        </complexType>
-      </element>
-      
-      <!-- ~~~ FUNCTIONAL ACTIVITIES ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
       <element name="activity">
         <annotation><documentation>Executes an activity implementation.
         </documentation></annotation>
         <complexType>
           <sequence>
             <group ref="tns:delegationGroup"/>
-            <element ref="tns:transition" minOccurs="0" maxOccurs="unbounded" />
+            <element ref="tns:flow" minOccurs="0" maxOccurs="unbounded" />
             <element ref="tns:on" minOccurs="0" maxOccurs="unbounded">
               <annotation><documentation>Events on which listeners can be registered.</documentation></annotation>
             </element>
@@ -327,7 +235,7 @@
           <complexContent>
             <extension base="tns:invokeType">
               <sequence>
-                <element ref="tns:transition" minOccurs="0" maxOccurs="unbounded" />
+                <element ref="tns:flow" minOccurs="0" maxOccurs="unbounded" />
                 <element ref="tns:on" minOccurs="0" maxOccurs="unbounded">
                   <annotation><documentation>Events on which listeners can be registered.</documentation></annotation>
                 </element>
@@ -345,7 +253,7 @@
           <complexContent>
             <extension base="tns:scriptType">
               <sequence>
-                <element ref="tns:transition" minOccurs="0" maxOccurs="unbounded" />
+                <element ref="tns:flow" minOccurs="0" maxOccurs="unbounded" />
                 <element ref="tns:on" minOccurs="0" maxOccurs="unbounded">
                   <annotation><documentation>Events on which listeners can be registered.</documentation></annotation>
                 </element>
@@ -363,7 +271,7 @@
           <complexContent>
             <extension base="tns:emailType">
               <sequence>
-                <element ref="tns:transition" minOccurs="0" maxOccurs="unbounded" />
+                <element ref="tns:flow" minOccurs="0" maxOccurs="unbounded" />
                 <element ref="tns:on" minOccurs="0" maxOccurs="unbounded">
                   <annotation><documentation>Events on which listeners can be registered.</documentation></annotation>
                 </element>
@@ -381,10 +289,10 @@
           <complexContent>
             <extension base="tns:taskType">
               <sequence>
-                <element ref="tns:transition" minOccurs="0" maxOccurs="unbounded" />
+                <element ref="tns:flow" minOccurs="0" maxOccurs="unbounded" />
                 <element ref="tns:on" minOccurs="0" maxOccurs="unbounded">
-		              <annotation><documentation>Events on which listeners can be registered.</documentation></annotation>
-		            </element>
+                  <annotation><documentation>Events on which listeners can be registered.</documentation></annotation>
+                </element>
                 <element ref="tns:timer" minOccurs="0" maxOccurs="unbounded"/>
               </sequence>
               <attributeGroup ref="tns:nodeAttributes" />
@@ -392,11 +300,206 @@
           </complexContent>
         </complexType>
       </element>
+      -->
     </choice>
   </group>
 
-  <!-- ### TASK STUFF ##################################################### -->
+  <attributeGroup name="nodeAttributes">
+    <attribute name="name" type="string">
+      <annotation><documentation>The id of this activity.  The name should be unique
+      in the complete scope of the process.</documentation></annotation>
+    </attribute>
+    <attribute name="g" type="string">
+      <annotation><documentation>Graphical information used by process designer tool.
+      </documentation></annotation>
+    </attribute>
+  </attributeGroup>
   
+  <complexType name="flowType">
+    <annotation><documentation>The outgoing flows.  The first in the list 
+      will be the default outgoing flow.
+    </documentation></annotation>
+    <!-- 
+    <sequence>
+      <group ref="tns:eventListenerGroup" />
+    </sequence>
+    -->
+    <attribute name="name" type="string">
+      <annotation><documentation>Name of this outgoing flow</documentation></annotation>
+    </attribute>
+    <attribute name="to" type="string">
+      <annotation><documentation>Name of the destination node of this flow. 
+      </documentation></annotation>
+    </attribute>
+    <attribute name="g" type="string">
+      <annotation><documentation>Graphical information used by process designer tool.
+      </documentation></annotation>
+    </attribute>
+  </complexType>
+  
+  <element name="flow" type="tns:flowType">
+    <annotation><documentation>A flow from one node to another.</documentation></annotation>
+  </element>
+  
+  <element name="on">
+    <annotation><documentation>Events on which listeners can be registered.</documentation></annotation>
+    <complexType>
+      <!-- 
+      <sequence>
+        <group ref="tns:eventListenerGroup" minOccurs="0" maxOccurs="unbounded">
+          <annotation><documentation>A list of event listeners that will 
+          be notified when the event is fired</documentation></annotation>
+        </group>
+      </sequence>
+      -->
+      <attribute name="event" type="string">
+        <annotation><documentation>The event identification
+        </documentation></annotation>
+      </attribute>
+    </complexType>
+  </element>
+  
+  <!-- 
+
+  <group name="eventListenerGroup">
+    <choice>
+      <element name="notify">
+        <annotation><documentation>Calls the notify method on an 
+        EventListener.
+        </documentation></annotation>
+        <complexType>
+          <group ref="tns:delegationGroup" />
+          <attribute name="object" type="string">
+            <annotation><documentation>The reference to an object that is declared 
+            in the objects section of this process definition.
+            </documentation></annotation>
+          </attribute>
+          <attribute name="expr" type="string">
+            <annotation><documentation>The expression that will resolve to 
+            an Activity implementation.</documentation></annotation>
+          </attribute>
+        </complexType>
+      </element>
+      <element name="invoke" type="tns:invokeType">
+        <annotation><documentation>Invokes a method on a Java object
+        through reflection.  The return value can be captured in a 
+        process variable.
+        </documentation></annotation>
+      </element>
+      <element name="script" type="tns:scriptType">
+        <annotation><documentation>Evaluates a piece of text as a script
+        </documentation></annotation>
+      </element>
+      <element name="email" type="tns:emailType">
+        <annotation><documentation>Sends an email
+        </documentation></annotation>
+      </element>
+      <element ref="tns:timer">
+        <annotation><documentation>Creates a timer.
+        </documentation></annotation>
+      </element>
+    </choice>
+  </group>
+
+  <group name="delegationGroup">
+    <choice>
+      <element name="object">
+        <annotation><documentation>A java object that will be obtained by using 
+        the constructor through reflection or through a factory method.</documentation></annotation>
+        <complexType>
+          <attribute name="class" type="string" />
+        </complexType>
+      </element>
+      <element name="jndi">
+        <complexType>
+          <attribute name="name" type="string" />
+        </complexType>
+      </element>
+      <element name="expr">
+        <complexType>
+          <attribute name="text" type="string" use="required"/>
+          <attribute name="language" type="string" />
+        </complexType>
+      </element>
+    </choice>
+  </group>
+  
+  <complexType name="invokeType">
+    <sequence>
+      <group ref="tns:delegationGroup">
+        <annotation><documentation>The object on which the method 
+        will be invoked</documentation></annotation>
+      </group>
+      <element name="arg" minOccurs="0" maxOccurs="unbounded">
+        <annotation><documentation>Arguments passed into the method 
+        invocation.</documentation></annotation>
+      </element>
+    </sequence>
+    <attribute name="method" type="string" use="required">
+      <annotation><documentation>The name of the method to invoke.
+      </documentation></annotation>
+    </attribute>
+  </complexType>
+
+  <complexType name="scriptType">
+    <sequence>
+      <element name="expr" type="string">
+        <annotation><documentation>The content of this expression element 
+        is the script text that will be evaluated.  This is mutually 
+        exclusive with the expression attribute.</documentation></annotation>
+      </element>
+    </sequence>
+    <attribute name="expr" type="string">
+      <annotation><documentation>The script text that will be evaluated.  This 
+      is mutually exclusive with the expression element.
+      </documentation></annotation>
+    </attribute>
+    <attribute name="lang" type="string">
+      <annotation><documentation>Identification of the scripting language 
+      to use.</documentation></annotation>
+    </attribute>
+  </complexType>
+
+  <complexType name="emailType">
+    <sequence>
+      <element name="property">
+        <annotation><documentation>Template property value</documentation></annotation>
+        <complexType>
+          <attribute name="name" type="string" />
+          <attribute name="value" type="string" />
+        </complexType>
+      </element>
+    </sequence>
+    <attribute name="to" type="string" />
+    <attribute name="type" type="string">
+      <annotation><documentation>Reference to the email template</documentation></annotation>
+    </attribute>
+  </complexType>
+
+  <element name="timer">
+    <annotation><documentation>A timer that will be bound to the most inner enclosing scope.
+    Timers can give a signal to an activity instance.  The signal will correspond to a flow 
+    or to an event being fired.
+    </documentation></annotation>
+    <complexType>
+      <choice minOccurs="0" maxOccurs="unbounded">
+        <group ref="tns:eventListenerGroup">
+          <annotation><documentation>An inline list of event listeners 
+          on a timer is a short cut for defining the event separately.
+          </documentation></annotation>
+        </group>
+      </choice>
+      <attribute name="duedate" type="string" use="required" />
+      <attribute name="signal" type="string"  use="required">
+        <annotation><documentation>Refers to the signal that will be used.
+        If inline event listeners are declared, the signal name can not be 
+        the same as an event that is declared in this scope.
+        </documentation></annotation>
+      </attribute>
+      <attribute name="repeat" type="string" />
+    </complexType>
+  </element>
+
   <complexType name="taskType">
     <sequence>
       <element ref="tns:assignment" />
@@ -507,110 +610,6 @@
 	    </attribute>
     </complexType>
   </element>
+  -->  
   
-  <!-- ### PROCESS DEFINITION ############################################# -->
-  
-  <element name="process">
-    <annotation><documentation>A jPDL process definition description; This 
-    is the top level element in a jPDL process file.</documentation></annotation>
-    <complexType>
-      <sequence minOccurs="0" maxOccurs="unbounded">
-        <group ref="tns:activityGroup" minOccurs="0" maxOccurs="unbounded"/>
-        <element ref="tns:on" minOccurs="0" maxOccurs="unbounded">
-          <annotation><documentation>Events on which listeners can be registered.</documentation></annotation>
-        </element>
-        <element ref="tns:timer" minOccurs="0" maxOccurs="unbounded"/>
-      </sequence>
-      <attribute name="name" use="required">
-        <annotation><documentation>The process name.  Multiple processes can 
-        be deployed with the same name, as long as they have a different 
-        version.</documentation></annotation>
-      </attribute>
-      <attribute name="version" type="int">
-        <annotation><documentation>Indicates the sequence number of this 
-        version for all processes with the same name.  By specifying a version
-        automatic deployment can figure out if this process is already deployed 
-        or not.
-        </documentation></annotation>
-      </attribute>
-      <attribute name="initial" type="string">
-        <annotation><documentation>Refers to the name of the initial node.
-        When a new execution is started for a process definition, it is 
-        positioned in the initial node and that initial node is executed.
-        </documentation></annotation>
-      </attribute>
-    </complexType>
-  </element>
-  
-  <attributeGroup name="nodeAttributes">
-    <attribute name="name">
-      <annotation><documentation>The id of this activity.  The name should be unique
-      in the complete scope of the process.</documentation></annotation>
-    </attribute>
-  </attributeGroup>
-  
-  <complexType name="transitionType">
-    <annotation><documentation>The outgoing transitions.  The first in the list 
-      will be the default outgoing transition.
-    </documentation></annotation>
-    <sequence>
-      <group ref="tns:eventListenerGroup" />
-      <element name="graph">
-        <complexType>
-          <attribute name="bendpoints">
-            <annotation><documentation>List of points that indicate the 
-            bendpoints of the transition.  E.g. 
-            bendpoints="[10,200;38,89;5,10]"</documentation></annotation>
-          </attribute>
-        </complexType>
-      </element>
-    </sequence>
-    <attribute name="name">
-      <annotation><documentation>Name of this outgoing transition</documentation></annotation>
-    </attribute>
-    <attribute name="to">
-      <annotation><documentation>Name of the destination node of this transition. 
-      </documentation></annotation>
-    </attribute>
-  </complexType>
-  
-  <element name="transition" type="tns:transitionType">
-    <annotation><documentation>A transition from one node to another.</documentation></annotation>
-  </element>
-  
-  <element name="on">
-    <annotation><documentation>Events on which listeners can be registered.</documentation></annotation>
-    <complexType>
-      <sequence>
-        <group ref="tns:eventListenerGroup" minOccurs="0" maxOccurs="unbounded">
-          <annotation><documentation>A list of event listeners that will 
-          be notified when the event is fired</documentation></annotation>
-        </group>
-      </sequence>
-      <attribute name="event" type="string">
-        <annotation><documentation>The event identification
-        </documentation></annotation>
-      </attribute>
-    </complexType>
-  </element>
-  
-  <element name="graph">
-    <annotation><documentation>Graphical attributes for a node in the process graph
-    </documentation></annotation>
-    <complexType>
-      <attribute name="x">
-        <annotation><documentation>X coordinate of the node</documentation></annotation>
-      </attribute>
-      <attribute name="y">
-        <annotation><documentation>Y coordinate of the node</documentation></annotation>
-      </attribute>
-      <attribute name="w">
-        <annotation><documentation>Width of the node</documentation></annotation>
-      </attribute>
-      <attribute name="h">
-        <annotation><documentation>Height of the node</documentation></annotation>
-      </attribute>
-    </complexType>
-  </element>
-
 </schema>




More information about the jbpm-commits mailing list