]> gerrit.simantics Code Review - simantics/interop.git/blobdiff - org.simantics.xml.sax/src/org/w3/_2001/xmlschema/Annotation.java
XML Schema converter
[simantics/interop.git] / org.simantics.xml.sax / src / org / w3 / _2001 / xmlschema / Annotation.java
diff --git a/org.simantics.xml.sax/src/org/w3/_2001/xmlschema/Annotation.java b/org.simantics.xml.sax/src/org/w3/_2001/xmlschema/Annotation.java
new file mode 100644 (file)
index 0000000..4756dba
--- /dev/null
@@ -0,0 +1,122 @@
+//\r
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 \r
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> \r
+// Any modifications to this file will be lost upon recompilation of the source schema. \r
+// Generated on: 2015.06.17 at 02:58:58 PM EEST \r
+//\r
+\r
+\r
+package org.w3._2001.xmlschema;\r
+\r
+import java.util.ArrayList;\r
+import java.util.List;\r
+import javax.xml.bind.annotation.XmlAccessType;\r
+import javax.xml.bind.annotation.XmlAccessorType;\r
+import javax.xml.bind.annotation.XmlAttribute;\r
+import javax.xml.bind.annotation.XmlElement;\r
+import javax.xml.bind.annotation.XmlElements;\r
+import javax.xml.bind.annotation.XmlID;\r
+import javax.xml.bind.annotation.XmlRootElement;\r
+import javax.xml.bind.annotation.XmlSchemaType;\r
+import javax.xml.bind.annotation.XmlType;\r
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;\r
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;\r
+\r
+\r
+/**\r
+ * <p>Java class for anonymous complex type.\r
+ * \r
+ * <p>The following schema fragment specifies the expected content contained within this class.\r
+ * \r
+ * <pre>\r
+ * &lt;complexType>\r
+ *   &lt;complexContent>\r
+ *     &lt;extension base="{http://www.w3.org/2001/XMLSchema}openAttrs">\r
+ *       &lt;choice maxOccurs="unbounded" minOccurs="0">\r
+ *         &lt;element ref="{http://www.w3.org/2001/XMLSchema}appinfo"/>\r
+ *         &lt;element ref="{http://www.w3.org/2001/XMLSchema}documentation"/>\r
+ *       &lt;/choice>\r
+ *       &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />\r
+ *       &lt;anyAttribute processContents='lax' namespace='##other'/>\r
+ *     &lt;/extension>\r
+ *   &lt;/complexContent>\r
+ * &lt;/complexType>\r
+ * </pre>\r
+ * \r
+ * \r
+ */\r
+@XmlAccessorType(XmlAccessType.FIELD)\r
+@XmlType(name = "", propOrder = {\r
+    "appinfoOrDocumentation"\r
+})\r
+@XmlRootElement(name = "annotation")\r
+public class Annotation\r
+    extends OpenAttrs\r
+{\r
+\r
+    @XmlElements({\r
+        @XmlElement(name = "appinfo", type = Appinfo.class),\r
+        @XmlElement(name = "documentation", type = Documentation.class)\r
+    })\r
+    protected List<Object> appinfoOrDocumentation;\r
+    @XmlAttribute(name = "id")\r
+    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)\r
+    @XmlID\r
+    @XmlSchemaType(name = "ID")\r
+    protected String id;\r
+\r
+    /**\r
+     * Gets the value of the appinfoOrDocumentation property.\r
+     * \r
+     * <p>\r
+     * This accessor method returns a reference to the live list,\r
+     * not a snapshot. Therefore any modification you make to the\r
+     * returned list will be present inside the JAXB object.\r
+     * This is why there is not a <CODE>set</CODE> method for the appinfoOrDocumentation property.\r
+     * \r
+     * <p>\r
+     * For example, to add a new item, do as follows:\r
+     * <pre>\r
+     *    getAppinfoOrDocumentation().add(newItem);\r
+     * </pre>\r
+     * \r
+     * \r
+     * <p>\r
+     * Objects of the following type(s) are allowed in the list\r
+     * {@link Appinfo }\r
+     * {@link Documentation }\r
+     * \r
+     * \r
+     */\r
+    public List<Object> getAppinfoOrDocumentation() {\r
+        if (appinfoOrDocumentation == null) {\r
+            appinfoOrDocumentation = new ArrayList<Object>();\r
+        }\r
+        return this.appinfoOrDocumentation;\r
+    }\r
+\r
+    /**\r
+     * Gets the value of the id property.\r
+     * \r
+     * @return\r
+     *     possible object is\r
+     *     {@link String }\r
+     *     \r
+     */\r
+    public String getId() {\r
+        return id;\r
+    }\r
+\r
+    /**\r
+     * Sets the value of the id property.\r
+     * \r
+     * @param value\r
+     *     allowed object is\r
+     *     {@link String }\r
+     *     \r
+     */\r
+    public void setId(String value) {\r
+        this.id = value;\r
+    }\r
+\r
+}\r