]> gerrit.simantics Code Review - simantics/interop.git/blob - org.simantics.xml.sax/src/org/w3/_2001/xmlschema/ExtensionType.java
XML Schema converter
[simantics/interop.git] / org.simantics.xml.sax / src / org / w3 / _2001 / xmlschema / ExtensionType.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.XmlSeeAlso;\r
19 import javax.xml.bind.annotation.XmlType;\r
20 import javax.xml.namespace.QName;\r
21 \r
22 \r
23 /**\r
24  * <p>Java class for extensionType complex type.\r
25  * \r
26  * <p>The following schema fragment specifies the expected content contained within this class.\r
27  * \r
28  * <pre>\r
29  * &lt;complexType name="extensionType">\r
30  *   &lt;complexContent>\r
31  *     &lt;extension base="{http://www.w3.org/2001/XMLSchema}annotated">\r
32  *       &lt;sequence>\r
33  *         &lt;group ref="{http://www.w3.org/2001/XMLSchema}typeDefParticle" minOccurs="0"/>\r
34  *         &lt;group ref="{http://www.w3.org/2001/XMLSchema}attrDecls"/>\r
35  *       &lt;/sequence>\r
36  *       &lt;attribute name="base" use="required" type="{http://www.w3.org/2001/XMLSchema}QName" />\r
37  *       &lt;anyAttribute processContents='lax' namespace='##other'/>\r
38  *     &lt;/extension>\r
39  *   &lt;/complexContent>\r
40  * &lt;/complexType>\r
41  * </pre>\r
42  * \r
43  * \r
44  */\r
45 @XmlAccessorType(XmlAccessType.FIELD)\r
46 @XmlType(name = "extensionType", propOrder = {\r
47     "group",\r
48     "all",\r
49     "choice",\r
50     "sequence",\r
51     "attributeOrAttributeGroup",\r
52     "anyAttribute"\r
53 })\r
54 @XmlSeeAlso({\r
55     SimpleExtensionType.class\r
56 })\r
57 public class ExtensionType\r
58     extends Annotated\r
59 {\r
60 \r
61     protected GroupRef group;\r
62     protected All all;\r
63     protected ExplicitGroup choice;\r
64     protected ExplicitGroup sequence;\r
65     @XmlElements({\r
66         @XmlElement(name = "attribute", type = Attribute.class),\r
67         @XmlElement(name = "attributeGroup", type = AttributeGroupRef.class)\r
68     })\r
69     protected List<Annotated> attributeOrAttributeGroup;\r
70     protected Wildcard anyAttribute;\r
71     @XmlAttribute(name = "base", required = true)\r
72     protected QName base;\r
73 \r
74     /**\r
75      * Gets the value of the group property.\r
76      * \r
77      * @return\r
78      *     possible object is\r
79      *     {@link GroupRef }\r
80      *     \r
81      */\r
82     public GroupRef getGroup() {\r
83         return group;\r
84     }\r
85 \r
86     /**\r
87      * Sets the value of the group property.\r
88      * \r
89      * @param value\r
90      *     allowed object is\r
91      *     {@link GroupRef }\r
92      *     \r
93      */\r
94     public void setGroup(GroupRef value) {\r
95         this.group = value;\r
96     }\r
97 \r
98     /**\r
99      * Gets the value of the all property.\r
100      * \r
101      * @return\r
102      *     possible object is\r
103      *     {@link All }\r
104      *     \r
105      */\r
106     public All getAll() {\r
107         return all;\r
108     }\r
109 \r
110     /**\r
111      * Sets the value of the all property.\r
112      * \r
113      * @param value\r
114      *     allowed object is\r
115      *     {@link All }\r
116      *     \r
117      */\r
118     public void setAll(All value) {\r
119         this.all = value;\r
120     }\r
121 \r
122     /**\r
123      * Gets the value of the choice property.\r
124      * \r
125      * @return\r
126      *     possible object is\r
127      *     {@link ExplicitGroup }\r
128      *     \r
129      */\r
130     public ExplicitGroup getChoice() {\r
131         return choice;\r
132     }\r
133 \r
134     /**\r
135      * Sets the value of the choice property.\r
136      * \r
137      * @param value\r
138      *     allowed object is\r
139      *     {@link ExplicitGroup }\r
140      *     \r
141      */\r
142     public void setChoice(ExplicitGroup value) {\r
143         this.choice = value;\r
144     }\r
145 \r
146     /**\r
147      * Gets the value of the sequence property.\r
148      * \r
149      * @return\r
150      *     possible object is\r
151      *     {@link ExplicitGroup }\r
152      *     \r
153      */\r
154     public ExplicitGroup getSequence() {\r
155         return sequence;\r
156     }\r
157 \r
158     /**\r
159      * Sets the value of the sequence property.\r
160      * \r
161      * @param value\r
162      *     allowed object is\r
163      *     {@link ExplicitGroup }\r
164      *     \r
165      */\r
166     public void setSequence(ExplicitGroup value) {\r
167         this.sequence = value;\r
168     }\r
169 \r
170     /**\r
171      * Gets the value of the attributeOrAttributeGroup property.\r
172      * \r
173      * <p>\r
174      * This accessor method returns a reference to the live list,\r
175      * not a snapshot. Therefore any modification you make to the\r
176      * returned list will be present inside the JAXB object.\r
177      * This is why there is not a <CODE>set</CODE> method for the attributeOrAttributeGroup property.\r
178      * \r
179      * <p>\r
180      * For example, to add a new item, do as follows:\r
181      * <pre>\r
182      *    getAttributeOrAttributeGroup().add(newItem);\r
183      * </pre>\r
184      * \r
185      * \r
186      * <p>\r
187      * Objects of the following type(s) are allowed in the list\r
188      * {@link Attribute }\r
189      * {@link AttributeGroupRef }\r
190      * \r
191      * \r
192      */\r
193     public List<Annotated> getAttributeOrAttributeGroup() {\r
194         if (attributeOrAttributeGroup == null) {\r
195             attributeOrAttributeGroup = new ArrayList<Annotated>();\r
196         }\r
197         return this.attributeOrAttributeGroup;\r
198     }\r
199 \r
200     /**\r
201      * Gets the value of the anyAttribute property.\r
202      * \r
203      * @return\r
204      *     possible object is\r
205      *     {@link Wildcard }\r
206      *     \r
207      */\r
208     public Wildcard getAnyAttribute() {\r
209         return anyAttribute;\r
210     }\r
211 \r
212     /**\r
213      * Sets the value of the anyAttribute property.\r
214      * \r
215      * @param value\r
216      *     allowed object is\r
217      *     {@link Wildcard }\r
218      *     \r
219      */\r
220     public void setAnyAttribute(Wildcard value) {\r
221         this.anyAttribute = value;\r
222     }\r
223 \r
224     /**\r
225      * Gets the value of the base property.\r
226      * \r
227      * @return\r
228      *     possible object is\r
229      *     {@link QName }\r
230      *     \r
231      */\r
232     public QName getBase() {\r
233         return base;\r
234     }\r
235 \r
236     /**\r
237      * Sets the value of the base property.\r
238      * \r
239      * @param value\r
240      *     allowed object is\r
241      *     {@link QName }\r
242      *     \r
243      */\r
244     public void setBase(QName value) {\r
245         this.base = value;\r
246     }\r
247 \r
248 }\r