From b9627b858a77bb71cccdefeddab9e2f1a4051b9c Mon Sep 17 00:00:00 2001
From: Constantin Jucovschi <jucovschi@gmail.com>
Date: Fri, 25 Apr 2014 12:25:08 +0200
Subject: [PATCH] adding schema

---
 .../sally/comm/core/Heartbeatrequest.java     |  39 +++++
 .../sally/comm/core/Heartbeatresponse.java    |  39 +++++
 .../kwarc/sally/comm/core/ObjectFactory.java  |  71 ++++++++
 .../sally/comm/core/Registerdocument.java     | 162 ++++++++++++++++++
 .../comm/core/Registerdocumentresponse.java   |  71 ++++++++
 .../kwarc/sally/comm/core/package-info.java   |   9 +
 .../kwarc/sally/comm/theo/ObjectFactory.java  |  47 +++++
 .../kwarc/sally/comm/theo/Opentheowindow.java | 137 +++++++++++++++
 .../kwarc/sally/comm/theo/package-info.java   |   9 +
 schema/core.xsd                               |  37 ++++
 schema/theo.xsd                               |  15 ++
 11 files changed, 636 insertions(+)
 create mode 100644 java/info/kwarc/sally/comm/core/Heartbeatrequest.java
 create mode 100644 java/info/kwarc/sally/comm/core/Heartbeatresponse.java
 create mode 100644 java/info/kwarc/sally/comm/core/ObjectFactory.java
 create mode 100644 java/info/kwarc/sally/comm/core/Registerdocument.java
 create mode 100644 java/info/kwarc/sally/comm/core/Registerdocumentresponse.java
 create mode 100644 java/info/kwarc/sally/comm/core/package-info.java
 create mode 100644 java/info/kwarc/sally/comm/theo/ObjectFactory.java
 create mode 100644 java/info/kwarc/sally/comm/theo/Opentheowindow.java
 create mode 100644 java/info/kwarc/sally/comm/theo/package-info.java
 create mode 100644 schema/core.xsd
 create mode 100644 schema/theo.xsd

diff --git a/java/info/kwarc/sally/comm/core/Heartbeatrequest.java b/java/info/kwarc/sally/comm/core/Heartbeatrequest.java
new file mode 100644
index 0000000..7d0edcb
--- /dev/null
+++ b/java/info/kwarc/sally/comm/core/Heartbeatrequest.java
@@ -0,0 +1,39 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 
+// 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: 2014.04.23 at 02:05:16 PM CEST 
+//
+
+
+package info.kwarc.sally.comm.core;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+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>
+ * &lt;complexType>
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "")
+@XmlRootElement(name = "heartbeatrequest")
+public class Heartbeatrequest {
+
+
+}
diff --git a/java/info/kwarc/sally/comm/core/Heartbeatresponse.java b/java/info/kwarc/sally/comm/core/Heartbeatresponse.java
new file mode 100644
index 0000000..1abd0a2
--- /dev/null
+++ b/java/info/kwarc/sally/comm/core/Heartbeatresponse.java
@@ -0,0 +1,39 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 
+// 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: 2014.04.23 at 02:05:16 PM CEST 
+//
+
+
+package info.kwarc.sally.comm.core;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+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>
+ * &lt;complexType>
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "")
+@XmlRootElement(name = "heartbeatresponse")
+public class Heartbeatresponse {
+
+
+}
diff --git a/java/info/kwarc/sally/comm/core/ObjectFactory.java b/java/info/kwarc/sally/comm/core/ObjectFactory.java
new file mode 100644
index 0000000..cb668ad
--- /dev/null
+++ b/java/info/kwarc/sally/comm/core/ObjectFactory.java
@@ -0,0 +1,71 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 
+// 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: 2014.04.23 at 02:05:16 PM CEST 
+//
+
+
+package info.kwarc.sally.comm.core;
+
+import javax.xml.bind.annotation.XmlRegistry;
+
+
+/**
+ * This object contains factory methods for each 
+ * Java content interface and Java element interface 
+ * generated in the info.kwarc.sally.comm.core 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 {
+
+
+    /**
+     * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: info.kwarc.sally.comm.core
+     * 
+     */
+    public ObjectFactory() {
+    }
+
+    /**
+     * Create an instance of {@link Registerdocument }
+     * 
+     */
+    public Registerdocument createRegisterdocument() {
+        return new Registerdocument();
+    }
+
+    /**
+     * Create an instance of {@link Registerdocumentresponse }
+     * 
+     */
+    public Registerdocumentresponse createRegisterdocumentresponse() {
+        return new Registerdocumentresponse();
+    }
+
+    /**
+     * Create an instance of {@link Heartbeatrequest }
+     * 
+     */
+    public Heartbeatrequest createHeartbeatrequest() {
+        return new Heartbeatrequest();
+    }
+
+    /**
+     * Create an instance of {@link Heartbeatresponse }
+     * 
+     */
+    public Heartbeatresponse createHeartbeatresponse() {
+        return new Heartbeatresponse();
+    }
+
+}
diff --git a/java/info/kwarc/sally/comm/core/Registerdocument.java b/java/info/kwarc/sally/comm/core/Registerdocument.java
new file mode 100644
index 0000000..49fcd68
--- /dev/null
+++ b/java/info/kwarc/sally/comm/core/Registerdocument.java
@@ -0,0 +1,162 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 
+// 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: 2014.04.23 at 02:05:16 PM CEST 
+//
+
+
+package info.kwarc.sally.comm.core;
+
+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>
+ * &lt;complexType>
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;element name="documentqueue" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         &lt;element name="interfaces" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
+ *         &lt;element name="environmentid" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         &lt;element name="userid" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *       &lt;/sequence>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+    "documentqueue",
+    "interfaces",
+    "environmentid",
+    "userid"
+})
+@XmlRootElement(name = "registerdocument")
+public class Registerdocument {
+
+    @XmlElement(required = true)
+    protected String documentqueue;
+    @XmlElement(required = true)
+    protected List<String> interfaces;
+    @XmlElement(required = true)
+    protected String environmentid;
+    @XmlElement(required = true)
+    protected String userid;
+
+    /**
+     * Gets the value of the documentqueue property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getDocumentqueue() {
+        return documentqueue;
+    }
+
+    /**
+     * Sets the value of the documentqueue property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setDocumentqueue(String value) {
+        this.documentqueue = value;
+    }
+
+    /**
+     * Gets the value of the interfaces 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 interfaces property.
+     * 
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getInterfaces().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link String }
+     * 
+     * 
+     */
+    public List<String> getInterfaces() {
+        if (interfaces == null) {
+            interfaces = new ArrayList<String>();
+        }
+        return this.interfaces;
+    }
+
+    /**
+     * Gets the value of the environmentid property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getEnvironmentid() {
+        return environmentid;
+    }
+
+    /**
+     * Sets the value of the environmentid property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setEnvironmentid(String value) {
+        this.environmentid = value;
+    }
+
+    /**
+     * Gets the value of the userid property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getUserid() {
+        return userid;
+    }
+
+    /**
+     * Sets the value of the userid property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setUserid(String value) {
+        this.userid = value;
+    }
+
+}
diff --git a/java/info/kwarc/sally/comm/core/Registerdocumentresponse.java b/java/info/kwarc/sally/comm/core/Registerdocumentresponse.java
new file mode 100644
index 0000000..6d75813
--- /dev/null
+++ b/java/info/kwarc/sally/comm/core/Registerdocumentresponse.java
@@ -0,0 +1,71 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 
+// 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: 2014.04.23 at 02:05:16 PM CEST 
+//
+
+
+package info.kwarc.sally.comm.core;
+
+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>
+ * &lt;complexType>
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;element name="sallyqueue" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *       &lt;/sequence>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+    "sallyqueue"
+})
+@XmlRootElement(name = "registerdocumentresponse")
+public class Registerdocumentresponse {
+
+    @XmlElement(required = true)
+    protected String sallyqueue;
+
+    /**
+     * Gets the value of the sallyqueue property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getSallyqueue() {
+        return sallyqueue;
+    }
+
+    /**
+     * Sets the value of the sallyqueue property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setSallyqueue(String value) {
+        this.sallyqueue = value;
+    }
+
+}
diff --git a/java/info/kwarc/sally/comm/core/package-info.java b/java/info/kwarc/sally/comm/core/package-info.java
new file mode 100644
index 0000000..475a5c5
--- /dev/null
+++ b/java/info/kwarc/sally/comm/core/package-info.java
@@ -0,0 +1,9 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 
+// 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: 2014.04.23 at 02:05:16 PM CEST 
+//
+
+@javax.xml.bind.annotation.XmlSchema(namespace = "http://kwarc.info/sally/comm/core", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package info.kwarc.sally.comm.core;
diff --git a/java/info/kwarc/sally/comm/theo/ObjectFactory.java b/java/info/kwarc/sally/comm/theo/ObjectFactory.java
new file mode 100644
index 0000000..cadf212
--- /dev/null
+++ b/java/info/kwarc/sally/comm/theo/ObjectFactory.java
@@ -0,0 +1,47 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 
+// 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: 2014.04.10 at 09:56:16 AM CEST 
+//
+
+
+package info.kwarc.sally.comm.theo;
+
+import javax.xml.bind.annotation.XmlRegistry;
+
+
+/**
+ * This object contains factory methods for each 
+ * Java content interface and Java element interface 
+ * generated in the info.kwarc.sally.comm.theo 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 {
+
+
+    /**
+     * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: info.kwarc.sally.comm.theo
+     * 
+     */
+    public ObjectFactory() {
+    }
+
+    /**
+     * Create an instance of {@link Opentheowindow }
+     * 
+     */
+    public Opentheowindow createOpentheowindow() {
+        return new Opentheowindow();
+    }
+
+}
diff --git a/java/info/kwarc/sally/comm/theo/Opentheowindow.java b/java/info/kwarc/sally/comm/theo/Opentheowindow.java
new file mode 100644
index 0000000..9c2115e
--- /dev/null
+++ b/java/info/kwarc/sally/comm/theo/Opentheowindow.java
@@ -0,0 +1,137 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 
+// 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: 2014.04.10 at 09:56:16 AM CEST 
+//
+
+
+package info.kwarc.sally.comm.theo;
+
+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>
+ * &lt;complexType>
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;element name="url" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         &lt;element name="title" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         &lt;element name="posx" type="{http://www.w3.org/2001/XMLSchema}int"/>
+ *         &lt;element name="posy" type="{http://www.w3.org/2001/XMLSchema}int"/>
+ *       &lt;/sequence>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+    "url",
+    "title",
+    "posx",
+    "posy"
+})
+@XmlRootElement(name = "opentheowindow")
+public class Opentheowindow {
+
+    @XmlElement(required = true)
+    protected String url;
+    @XmlElement(required = true)
+    protected String title;
+    protected int posx;
+    protected int posy;
+
+    /**
+     * Gets the value of the url property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getUrl() {
+        return url;
+    }
+
+    /**
+     * Sets the value of the url property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setUrl(String value) {
+        this.url = value;
+    }
+
+    /**
+     * 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 posx property.
+     * 
+     */
+    public int getPosx() {
+        return posx;
+    }
+
+    /**
+     * Sets the value of the posx property.
+     * 
+     */
+    public void setPosx(int value) {
+        this.posx = value;
+    }
+
+    /**
+     * Gets the value of the posy property.
+     * 
+     */
+    public int getPosy() {
+        return posy;
+    }
+
+    /**
+     * Sets the value of the posy property.
+     * 
+     */
+    public void setPosy(int value) {
+        this.posy = value;
+    }
+
+}
diff --git a/java/info/kwarc/sally/comm/theo/package-info.java b/java/info/kwarc/sally/comm/theo/package-info.java
new file mode 100644
index 0000000..03163a0
--- /dev/null
+++ b/java/info/kwarc/sally/comm/theo/package-info.java
@@ -0,0 +1,9 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 
+// 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: 2014.04.10 at 09:56:16 AM CEST 
+//
+
+@javax.xml.bind.annotation.XmlSchema(namespace = "http://kwarc.info/sally/comm/theo", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package info.kwarc.sally.comm.theo;
diff --git a/schema/core.xsd b/schema/core.xsd
new file mode 100644
index 0000000..4734e25
--- /dev/null
+++ b/schema/core.xsd
@@ -0,0 +1,37 @@
+<?xml version="1.0"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+	targetNamespace="http://kwarc.info/sally/comm/core" elementFormDefault="qualified">
+
+	<xs:element name="registerdocument">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element name="documentqueue" type="xs:string" />
+				<xs:element name="interfaces" type="xs:string" maxOccurs="unbounded"
+					minOccurs="1"></xs:element>
+				<xs:element name="environmentid" type="xs:string" />
+				<xs:element name="userid" type="xs:string" />
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+
+
+	<xs:element name="registerdocumentresponse">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element name="sallyqueue" type="xs:string" />
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+
+	<xs:element name="heartbeatrequest">
+		<xs:complexType>
+		</xs:complexType>
+	</xs:element>
+
+	<xs:element name="heartbeatresponse">
+		<xs:complexType>
+		</xs:complexType>
+	</xs:element>
+
+
+</xs:schema>
\ No newline at end of file
diff --git a/schema/theo.xsd b/schema/theo.xsd
new file mode 100644
index 0000000..adc5253
--- /dev/null
+++ b/schema/theo.xsd
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://kwarc.info/sally/comm/theo" elementFormDefault="qualified">
+
+    <xs:element name="opentheowindow">
+    	<xs:complexType>
+        	<xs:sequence>
+				<xs:element name="url" type="xs:string" />
+				<xs:element name="title" type="xs:string" />
+				<xs:element name="posx" type="xs:int" />
+				<xs:element name="posy" type="xs:int" />
+    	    </xs:sequence>
+ 	   </xs:complexType>
+    </xs:element>
+
+</xs:schema>
\ No newline at end of file
-- 
GitLab