]> gerrit.simantics Code Review - simantics/interop.git/blob - 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
1 //\r
2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 \r
3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> \r
4 // Any modifications to this file will be lost upon recompilation of the source schema. \r
5 // Generated on: 2015.06.17 at 02:58:58 PM EEST \r
6 //\r
7 \r
8 \r
9 package org.w3._2001.xmlschema;\r
10 \r
11 import java.util.ArrayList;\r
12 import java.util.List;\r
13 import javax.xml.bind.annotation.XmlAccessType;\r
14 import javax.xml.bind.annotation.XmlAccessorType;\r
15 import javax.xml.bind.annotation.XmlAttribute;\r
16 import javax.xml.bind.annotation.XmlElement;\r
17 import javax.xml.bind.annotation.XmlElements;\r
18 import javax.xml.bind.annotation.XmlID;\r
19 import javax.xml.bind.annotation.XmlRootElement;\r
20 import javax.xml.bind.annotation.XmlSchemaType;\r
21 import javax.xml.bind.annotation.XmlType;\r
22 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;\r
23 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;\r
24 \r
25 \r
26 /**\r
27  * <p>Java class for anonymous complex type.\r
28  * \r
29  * <p>The following schema fragment specifies the expected content contained within this class.\r
30  * \r
31  * <pre>\r
32  * &lt;complexType>\r
33  *   &lt;complexContent>\r
34  *     &lt;extension base="{http://www.w3.org/2001/XMLSchema}openAttrs">\r
35  *       &lt;choice maxOccurs="unbounded" minOccurs="0">\r
36  *         &lt;element ref="{http://www.w3.org/2001/XMLSchema}appinfo"/>\r
37  *         &lt;element ref="{http://www.w3.org/2001/XMLSchema}documentation"/>\r
38  *       &lt;/choice>\r
39  *       &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />\r
40  *       &lt;anyAttribute processContents='lax' namespace='##other'/>\r
41  *     &lt;/extension>\r
42  *   &lt;/complexContent>\r
43  * &lt;/complexType>\r
44  * </pre>\r
45  * \r
46  * \r
47  */\r
48 @XmlAccessorType(XmlAccessType.FIELD)\r
49 @XmlType(name = "", propOrder = {\r
50     "appinfoOrDocumentation"\r
51 })\r
52 @XmlRootElement(name = "annotation")\r
53 public class Annotation\r
54     extends OpenAttrs\r
55 {\r
56 \r
57     @XmlElements({\r
58         @XmlElement(name = "appinfo", type = Appinfo.class),\r
59         @XmlElement(name = "documentation", type = Documentation.class)\r
60     })\r
61     protected List<Object> appinfoOrDocumentation;\r
62     @XmlAttribute(name = "id")\r
63     @XmlJavaTypeAdapter(CollapsedStringAdapter.class)\r
64     @XmlID\r
65     @XmlSchemaType(name = "ID")\r
66     protected String id;\r
67 \r
68     /**\r
69      * Gets the value of the appinfoOrDocumentation property.\r
70      * \r
71      * <p>\r
72      * This accessor method returns a reference to the live list,\r
73      * not a snapshot. Therefore any modification you make to the\r
74      * returned list will be present inside the JAXB object.\r
75      * This is why there is not a <CODE>set</CODE> method for the appinfoOrDocumentation property.\r
76      * \r
77      * <p>\r
78      * For example, to add a new item, do as follows:\r
79      * <pre>\r
80      *    getAppinfoOrDocumentation().add(newItem);\r
81      * </pre>\r
82      * \r
83      * \r
84      * <p>\r
85      * Objects of the following type(s) are allowed in the list\r
86      * {@link Appinfo }\r
87      * {@link Documentation }\r
88      * \r
89      * \r
90      */\r
91     public List<Object> getAppinfoOrDocumentation() {\r
92         if (appinfoOrDocumentation == null) {\r
93             appinfoOrDocumentation = new ArrayList<Object>();\r
94         }\r
95         return this.appinfoOrDocumentation;\r
96     }\r
97 \r
98     /**\r
99      * Gets the value of the id property.\r
100      * \r
101      * @return\r
102      *     possible object is\r
103      *     {@link String }\r
104      *     \r
105      */\r
106     public String getId() {\r
107         return id;\r
108     }\r
109 \r
110     /**\r
111      * Sets the value of the id property.\r
112      * \r
113      * @param value\r
114      *     allowed object is\r
115      *     {@link String }\r
116      *     \r
117      */\r
118     public void setId(String value) {\r
119         this.id = value;\r
120     }\r
121 \r
122 }\r