[savara-commits] savara SVN: r583 - in branches/experimental/2.0.x/bundles/org.savara.activity: src/main/java/org/savara/activity and 1 other directory.

do-not-reply at jboss.org do-not-reply at jboss.org
Fri Jan 14 19:09:18 EST 2011


Author: objectiser
Date: 2011-01-14 19:09:17 -0500 (Fri, 14 Jan 2011)
New Revision: 583

Added:
   branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/InstanceFinished.java
   branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/InstanceStarted.java
   branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/MessageReceived.java
   branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/MessageSent.java
Removed:
   branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/FinishInstance.java
   branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/ReceiveMessage.java
   branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/SendMessage.java
   branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/StartInstance.java
Modified:
   branches/experimental/2.0.x/bundles/org.savara.activity/schema/Activity.xsd
   branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/EndpointActivity.java
   branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/Error.java
   branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/LifecycleActivity.java
   branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/MessageActivity.java
   branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/ObjectFactory.java
   branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/package-info.java
Log:
Made some changes to the activity schema - primarily name changes, also added 'destination' to send event and 'source' to receive message in case the information is known.

Modified: branches/experimental/2.0.x/bundles/org.savara.activity/schema/Activity.xsd
===================================================================
--- branches/experimental/2.0.x/bundles/org.savara.activity/schema/Activity.xsd	2011-01-14 21:37:13 UTC (rev 582)
+++ branches/experimental/2.0.x/bundles/org.savara.activity/schema/Activity.xsd	2011-01-15 00:09:17 UTC (rev 583)
@@ -1,9 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.savara.org/activity" xmlns:tns="http://www.savara.org/activity" elementFormDefault="qualified">
 
-    <complexType name="EndpointActivity">
-		<attribute name="endpointName" type="string"></attribute>
- 		<attribute name="instanceId" type="string"></attribute>
+    <complexType name="EndpointActivity" abstract="true">
+    	<attribute name="endpointName" type="string"></attribute>
+    	<attribute name="instanceId" type="string"></attribute>
+    	<attribute name="timestamp" type="dateTime"></attribute>
     </complexType>
 
     <complexType name="Error">
@@ -15,47 +16,48 @@
     	</complexContent>
     </complexType>
 
-    <complexType name="MessageActivity">
+    <complexType name="MessageActivity" abstract="true">
     	<complexContent>
     		<extension base="tns:EndpointActivity">
     			<attribute name="operationName" type="string"></attribute>
     			<attribute name="faultName" type="string"></attribute>
     			<attribute name="type" type="string"></attribute>
+    			<attribute name="expected" type="boolean" default="true"></attribute>
     		</extension>
     	</complexContent>
     </complexType>
 
-    <complexType name="SendMessage">
+    <complexType name="MessageSent">
     	<complexContent>
     		<extension base="tns:MessageActivity">
-    			<attribute name="expected" type="boolean" default="true"></attribute>
+    			<attribute name="destination" type="string"></attribute>
     		</extension>
     	</complexContent>
     </complexType>
     
-    <complexType name="ReceiveMessage">
+    <complexType name="MessageReceived">
     	<complexContent>
     		<extension base="tns:MessageActivity">
-    			<attribute name="expected" type="boolean" default="true"></attribute>
+    			<attribute name="source" type="string"></attribute>
     		</extension>
     	</complexContent>
     </complexType>
 
-    <complexType name="LifecycleActivity">
+    <complexType name="LifecycleActivity" abstract="true">
     	<complexContent>
     		<extension base="tns:EndpointActivity">
     		</extension>
     	</complexContent>
     </complexType>
 
-    <complexType name="StartInstance">
+    <complexType name="InstanceFinished">
     	<complexContent>
     		<extension base="tns:LifecycleActivity">
     		</extension>
     	</complexContent>
     </complexType>
 
-    <complexType name="FinishInstance">
+    <complexType name="InstanceStarted">
     	<complexContent>
     		<extension base="tns:LifecycleActivity">
     		</extension>

Modified: branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/EndpointActivity.java
===================================================================
--- branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/EndpointActivity.java	2011-01-14 21:37:13 UTC (rev 582)
+++ branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/EndpointActivity.java	2011-01-15 00:09:17 UTC (rev 583)
@@ -2,7 +2,7 @@
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.2-146 
 // 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: 2011.01.14 at 06:04:31 PM GMT 
+// Generated on: 2011.01.15 at 12:05:04 AM GMT 
 //
 
 
@@ -11,8 +11,10 @@
 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;
+import javax.xml.datatype.XMLGregorianCalendar;
 
 
 /**
@@ -26,6 +28,7 @@
  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  *       &lt;attribute name="endpointName" type="{http://www.w3.org/2001/XMLSchema}string" />
  *       &lt;attribute name="instanceId" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       &lt;attribute name="timestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
  *     &lt;/restriction>
  *   &lt;/complexContent>
  * &lt;/complexType>
@@ -40,12 +43,15 @@
     MessageActivity.class,
     Error.class
 })
-public class EndpointActivity {
+public abstract class EndpointActivity {
 
     @XmlAttribute(name = "endpointName")
     protected String endpointName;
     @XmlAttribute(name = "instanceId")
     protected String instanceId;
+    @XmlAttribute(name = "timestamp")
+    @XmlSchemaType(name = "dateTime")
+    protected XMLGregorianCalendar timestamp;
 
     /**
      * Gets the value of the endpointName property.
@@ -95,4 +101,28 @@
         this.instanceId = value;
     }
 
+    /**
+     * Gets the value of the timestamp property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link XMLGregorianCalendar }
+     *     
+     */
+    public XMLGregorianCalendar getTimestamp() {
+        return timestamp;
+    }
+
+    /**
+     * Sets the value of the timestamp property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link XMLGregorianCalendar }
+     *     
+     */
+    public void setTimestamp(XMLGregorianCalendar value) {
+        this.timestamp = value;
+    }
+
 }

Modified: branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/Error.java
===================================================================
--- branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/Error.java	2011-01-14 21:37:13 UTC (rev 582)
+++ branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/Error.java	2011-01-15 00:09:17 UTC (rev 583)
@@ -2,7 +2,7 @@
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.2-146 
 // 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: 2011.01.14 at 06:04:31 PM GMT 
+// Generated on: 2011.01.15 at 12:05:04 AM GMT 
 //
 
 

Deleted: branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/FinishInstance.java
===================================================================
--- branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/FinishInstance.java	2011-01-14 21:37:13 UTC (rev 582)
+++ branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/FinishInstance.java	2011-01-15 00:09:17 UTC (rev 583)
@@ -1,39 +0,0 @@
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.2-146 
-// 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: 2011.01.14 at 06:04:31 PM GMT 
-//
-
-
-package org.savara.activity;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- * <p>Java class for FinishInstance complex type.
- * 
- * <p>The following schema fragment specifies the expected content contained within this class.
- * 
- * <pre>
- * &lt;complexType name="FinishInstance">
- *   &lt;complexContent>
- *     &lt;extension base="{http://www.savara.org/activity}LifecycleActivity">
- *     &lt;/extension>
- *   &lt;/complexContent>
- * &lt;/complexType>
- * </pre>
- * 
- * 
- */
- at XmlAccessorType(XmlAccessType.FIELD)
- at XmlType(name = "FinishInstance")
-public class FinishInstance
-    extends LifecycleActivity
-{
-
-
-}

Added: branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/InstanceFinished.java
===================================================================
--- branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/InstanceFinished.java	                        (rev 0)
+++ branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/InstanceFinished.java	2011-01-15 00:09:17 UTC (rev 583)
@@ -0,0 +1,39 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.2-146 
+// 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: 2011.01.15 at 12:05:04 AM GMT 
+//
+
+
+package org.savara.activity;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for InstanceFinished complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="InstanceFinished">
+ *   &lt;complexContent>
+ *     &lt;extension base="{http://www.savara.org/activity}LifecycleActivity">
+ *     &lt;/extension>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "InstanceFinished")
+public class InstanceFinished
+    extends LifecycleActivity
+{
+
+
+}

Added: branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/InstanceStarted.java
===================================================================
--- branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/InstanceStarted.java	                        (rev 0)
+++ branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/InstanceStarted.java	2011-01-15 00:09:17 UTC (rev 583)
@@ -0,0 +1,39 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.2-146 
+// 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: 2011.01.15 at 12:05:04 AM GMT 
+//
+
+
+package org.savara.activity;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for InstanceStarted complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="InstanceStarted">
+ *   &lt;complexContent>
+ *     &lt;extension base="{http://www.savara.org/activity}LifecycleActivity">
+ *     &lt;/extension>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "InstanceStarted")
+public class InstanceStarted
+    extends LifecycleActivity
+{
+
+
+}

Modified: branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/LifecycleActivity.java
===================================================================
--- branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/LifecycleActivity.java	2011-01-14 21:37:13 UTC (rev 582)
+++ branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/LifecycleActivity.java	2011-01-15 00:09:17 UTC (rev 583)
@@ -2,7 +2,7 @@
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.2-146 
 // 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: 2011.01.14 at 06:04:31 PM GMT 
+// Generated on: 2011.01.15 at 12:05:04 AM GMT 
 //
 
 
@@ -33,10 +33,10 @@
 @XmlAccessorType(XmlAccessType.FIELD)
 @XmlType(name = "LifecycleActivity")
 @XmlSeeAlso({
-    FinishInstance.class,
-    StartInstance.class
+    InstanceStarted.class,
+    InstanceFinished.class
 })
-public class LifecycleActivity
+public abstract class LifecycleActivity
     extends EndpointActivity
 {
 

Modified: branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/MessageActivity.java
===================================================================
--- branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/MessageActivity.java	2011-01-14 21:37:13 UTC (rev 582)
+++ branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/MessageActivity.java	2011-01-15 00:09:17 UTC (rev 583)
@@ -2,7 +2,7 @@
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.2-146 
 // 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: 2011.01.14 at 06:04:31 PM GMT 
+// Generated on: 2011.01.15 at 12:05:04 AM GMT 
 //
 
 
@@ -27,6 +27,7 @@
  *       &lt;attribute name="operationName" type="{http://www.w3.org/2001/XMLSchema}string" />
  *       &lt;attribute name="faultName" type="{http://www.w3.org/2001/XMLSchema}string" />
  *       &lt;attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       &lt;attribute name="expected" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
  *     &lt;/extension>
  *   &lt;/complexContent>
  * &lt;/complexType>
@@ -37,10 +38,10 @@
 @XmlAccessorType(XmlAccessType.FIELD)
 @XmlType(name = "MessageActivity")
 @XmlSeeAlso({
-    SendMessage.class,
-    ReceiveMessage.class
+    MessageReceived.class,
+    MessageSent.class
 })
-public class MessageActivity
+public abstract class MessageActivity
     extends EndpointActivity
 {
 
@@ -50,6 +51,8 @@
     protected String faultName;
     @XmlAttribute(name = "type")
     protected String type;
+    @XmlAttribute(name = "expected")
+    protected Boolean expected;
 
     /**
      * Gets the value of the operationName property.
@@ -123,4 +126,32 @@
         this.type = value;
     }
 
+    /**
+     * Gets the value of the expected property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link Boolean }
+     *     
+     */
+    public boolean isExpected() {
+        if (expected == null) {
+            return true;
+        } else {
+            return expected;
+        }
+    }
+
+    /**
+     * Sets the value of the expected property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link Boolean }
+     *     
+     */
+    public void setExpected(Boolean value) {
+        this.expected = value;
+    }
+
 }

Added: branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/MessageReceived.java
===================================================================
--- branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/MessageReceived.java	                        (rev 0)
+++ branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/MessageReceived.java	2011-01-15 00:09:17 UTC (rev 583)
@@ -0,0 +1,67 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.2-146 
+// 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: 2011.01.15 at 12:05:04 AM GMT 
+//
+
+
+package org.savara.activity;
+
+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 MessageReceived complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="MessageReceived">
+ *   &lt;complexContent>
+ *     &lt;extension base="{http://www.savara.org/activity}MessageActivity">
+ *       &lt;attribute name="source" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     &lt;/extension>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "MessageReceived")
+public class MessageReceived
+    extends MessageActivity
+{
+
+    @XmlAttribute(name = "source")
+    protected String source;
+
+    /**
+     * 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;
+    }
+
+}

Added: branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/MessageSent.java
===================================================================
--- branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/MessageSent.java	                        (rev 0)
+++ branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/MessageSent.java	2011-01-15 00:09:17 UTC (rev 583)
@@ -0,0 +1,67 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.2-146 
+// 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: 2011.01.15 at 12:05:04 AM GMT 
+//
+
+
+package org.savara.activity;
+
+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 MessageSent complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="MessageSent">
+ *   &lt;complexContent>
+ *     &lt;extension base="{http://www.savara.org/activity}MessageActivity">
+ *       &lt;attribute name="destination" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     &lt;/extension>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "MessageSent")
+public class MessageSent
+    extends MessageActivity
+{
+
+    @XmlAttribute(name = "destination")
+    protected String destination;
+
+    /**
+     * Gets the value of the destination property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getDestination() {
+        return destination;
+    }
+
+    /**
+     * Sets the value of the destination property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setDestination(String value) {
+        this.destination = value;
+    }
+
+}

Modified: branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/ObjectFactory.java
===================================================================
--- branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/ObjectFactory.java	2011-01-14 21:37:13 UTC (rev 582)
+++ branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/ObjectFactory.java	2011-01-15 00:09:17 UTC (rev 583)
@@ -2,7 +2,7 @@
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.2-146 
 // 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: 2011.01.14 at 06:04:31 PM GMT 
+// Generated on: 2011.01.15 at 12:05:04 AM GMT 
 //
 
 
@@ -37,67 +37,43 @@
     }
 
     /**
-     * Create an instance of {@link LifecycleActivity }
+     * Create an instance of {@link MessageSent }
      * 
      */
-    public LifecycleActivity createLifecycleActivity() {
-        return new LifecycleActivity();
+    public MessageSent createMessageSent() {
+        return new MessageSent();
     }
 
     /**
-     * Create an instance of {@link FinishInstance }
+     * Create an instance of {@link InstanceStarted }
      * 
      */
-    public FinishInstance createFinishInstance() {
-        return new FinishInstance();
+    public InstanceStarted createInstanceStarted() {
+        return new InstanceStarted();
     }
 
     /**
-     * Create an instance of {@link Error }
+     * Create an instance of {@link InstanceFinished }
      * 
      */
-    public Error createError() {
-        return new Error();
+    public InstanceFinished createInstanceFinished() {
+        return new InstanceFinished();
     }
 
     /**
-     * Create an instance of {@link ReceiveMessage }
+     * Create an instance of {@link MessageReceived }
      * 
      */
-    public ReceiveMessage createReceiveMessage() {
-        return new ReceiveMessage();
+    public MessageReceived createMessageReceived() {
+        return new MessageReceived();
     }
 
     /**
-     * Create an instance of {@link StartInstance }
+     * Create an instance of {@link Error }
      * 
      */
-    public StartInstance createStartInstance() {
-        return new StartInstance();
+    public Error createError() {
+        return new Error();
     }
 
-    /**
-     * Create an instance of {@link EndpointActivity }
-     * 
-     */
-    public EndpointActivity createEndpointActivity() {
-        return new EndpointActivity();
-    }
-
-    /**
-     * Create an instance of {@link SendMessage }
-     * 
-     */
-    public SendMessage createSendMessage() {
-        return new SendMessage();
-    }
-
-    /**
-     * Create an instance of {@link MessageActivity }
-     * 
-     */
-    public MessageActivity createMessageActivity() {
-        return new MessageActivity();
-    }
-
 }

Deleted: branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/ReceiveMessage.java
===================================================================
--- branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/ReceiveMessage.java	2011-01-14 21:37:13 UTC (rev 582)
+++ branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/ReceiveMessage.java	2011-01-15 00:09:17 UTC (rev 583)
@@ -1,71 +0,0 @@
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.2-146 
-// 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: 2011.01.14 at 06:04:31 PM GMT 
-//
-
-
-package org.savara.activity;
-
-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 ReceiveMessage complex type.
- * 
- * <p>The following schema fragment specifies the expected content contained within this class.
- * 
- * <pre>
- * &lt;complexType name="ReceiveMessage">
- *   &lt;complexContent>
- *     &lt;extension base="{http://www.savara.org/activity}MessageActivity">
- *       &lt;attribute name="expected" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
- *     &lt;/extension>
- *   &lt;/complexContent>
- * &lt;/complexType>
- * </pre>
- * 
- * 
- */
- at XmlAccessorType(XmlAccessType.FIELD)
- at XmlType(name = "ReceiveMessage")
-public class ReceiveMessage
-    extends MessageActivity
-{
-
-    @XmlAttribute(name = "expected")
-    protected Boolean expected;
-
-    /**
-     * Gets the value of the expected property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link Boolean }
-     *     
-     */
-    public boolean isExpected() {
-        if (expected == null) {
-            return true;
-        } else {
-            return expected;
-        }
-    }
-
-    /**
-     * Sets the value of the expected property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link Boolean }
-     *     
-     */
-    public void setExpected(Boolean value) {
-        this.expected = value;
-    }
-
-}

Deleted: branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/SendMessage.java
===================================================================
--- branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/SendMessage.java	2011-01-14 21:37:13 UTC (rev 582)
+++ branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/SendMessage.java	2011-01-15 00:09:17 UTC (rev 583)
@@ -1,71 +0,0 @@
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.2-146 
-// 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: 2011.01.14 at 06:04:31 PM GMT 
-//
-
-
-package org.savara.activity;
-
-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 SendMessage complex type.
- * 
- * <p>The following schema fragment specifies the expected content contained within this class.
- * 
- * <pre>
- * &lt;complexType name="SendMessage">
- *   &lt;complexContent>
- *     &lt;extension base="{http://www.savara.org/activity}MessageActivity">
- *       &lt;attribute name="expected" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
- *     &lt;/extension>
- *   &lt;/complexContent>
- * &lt;/complexType>
- * </pre>
- * 
- * 
- */
- at XmlAccessorType(XmlAccessType.FIELD)
- at XmlType(name = "SendMessage")
-public class SendMessage
-    extends MessageActivity
-{
-
-    @XmlAttribute(name = "expected")
-    protected Boolean expected;
-
-    /**
-     * Gets the value of the expected property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link Boolean }
-     *     
-     */
-    public boolean isExpected() {
-        if (expected == null) {
-            return true;
-        } else {
-            return expected;
-        }
-    }
-
-    /**
-     * Sets the value of the expected property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link Boolean }
-     *     
-     */
-    public void setExpected(Boolean value) {
-        this.expected = value;
-    }
-
-}

Deleted: branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/StartInstance.java
===================================================================
--- branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/StartInstance.java	2011-01-14 21:37:13 UTC (rev 582)
+++ branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/StartInstance.java	2011-01-15 00:09:17 UTC (rev 583)
@@ -1,39 +0,0 @@
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.2-146 
-// 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: 2011.01.14 at 06:04:31 PM GMT 
-//
-
-
-package org.savara.activity;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- * <p>Java class for StartInstance complex type.
- * 
- * <p>The following schema fragment specifies the expected content contained within this class.
- * 
- * <pre>
- * &lt;complexType name="StartInstance">
- *   &lt;complexContent>
- *     &lt;extension base="{http://www.savara.org/activity}LifecycleActivity">
- *     &lt;/extension>
- *   &lt;/complexContent>
- * &lt;/complexType>
- * </pre>
- * 
- * 
- */
- at XmlAccessorType(XmlAccessType.FIELD)
- at XmlType(name = "StartInstance")
-public class StartInstance
-    extends LifecycleActivity
-{
-
-
-}

Modified: branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/package-info.java
===================================================================
--- branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/package-info.java	2011-01-14 21:37:13 UTC (rev 582)
+++ branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/package-info.java	2011-01-15 00:09:17 UTC (rev 583)
@@ -2,7 +2,7 @@
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.2-146 
 // 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: 2011.01.14 at 06:04:31 PM GMT 
+// Generated on: 2011.01.15 at 12:05:04 AM GMT 
 //
 
 @javax.xml.bind.annotation.XmlSchema(namespace = "http://www.savara.org/activity")



More information about the savara-commits mailing list