]> gerrit.simantics Code Review - simantics/interop.git/blob - org.simantics.xml.sax/src/org/w3/_2001/xmlschema/RestrictionType.java
XML Schema converter
[simantics/interop.git] / org.simantics.xml.sax / src / org / w3 / _2001 / xmlschema / RestrictionType.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.JAXBElement;\r
14 import javax.xml.bind.annotation.XmlAccessType;\r
15 import javax.xml.bind.annotation.XmlAccessorType;\r
16 import javax.xml.bind.annotation.XmlAttribute;\r
17 import javax.xml.bind.annotation.XmlElement;\r
18 import javax.xml.bind.annotation.XmlElementRef;\r
19 import javax.xml.bind.annotation.XmlElementRefs;\r
20 import javax.xml.bind.annotation.XmlElements;\r
21 import javax.xml.bind.annotation.XmlSeeAlso;\r
22 import javax.xml.bind.annotation.XmlType;\r
23 import javax.xml.namespace.QName;\r
24 \r
25 \r
26 /**\r
27  * <p>Java class for restrictionType 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 name="restrictionType">\r
33  *   &lt;complexContent>\r
34  *     &lt;extension base="{http://www.w3.org/2001/XMLSchema}annotated">\r
35  *       &lt;sequence>\r
36  *         &lt;choice minOccurs="0">\r
37  *           &lt;group ref="{http://www.w3.org/2001/XMLSchema}typeDefParticle"/>\r
38  *           &lt;group ref="{http://www.w3.org/2001/XMLSchema}simpleRestrictionModel"/>\r
39  *         &lt;/choice>\r
40  *         &lt;group ref="{http://www.w3.org/2001/XMLSchema}attrDecls"/>\r
41  *       &lt;/sequence>\r
42  *       &lt;attribute name="base" use="required" type="{http://www.w3.org/2001/XMLSchema}QName" />\r
43  *       &lt;anyAttribute processContents='lax' namespace='##other'/>\r
44  *     &lt;/extension>\r
45  *   &lt;/complexContent>\r
46  * &lt;/complexType>\r
47  * </pre>\r
48  * \r
49  * \r
50  */\r
51 @XmlAccessorType(XmlAccessType.FIELD)\r
52 @XmlType(name = "restrictionType", propOrder = {\r
53     "group",\r
54     "all",\r
55     "choice",\r
56     "sequence",\r
57     "simpleType",\r
58     "facets",\r
59     "attributeOrAttributeGroup",\r
60     "anyAttribute"\r
61 })\r
62 @XmlSeeAlso({\r
63     ComplexRestrictionType.class,\r
64     SimpleRestrictionType.class\r
65 })\r
66 public class RestrictionType\r
67     extends Annotated\r
68 {\r
69 \r
70     protected GroupRef group;\r
71     protected All all;\r
72     protected ExplicitGroup choice;\r
73     protected ExplicitGroup sequence;\r
74     protected LocalSimpleType simpleType;\r
75     @XmlElementRefs({\r
76         @XmlElementRef(name = "enumeration", namespace = "http://www.w3.org/2001/XMLSchema", type = JAXBElement.class, required = false),\r
77         @XmlElementRef(name = "fractionDigits", namespace = "http://www.w3.org/2001/XMLSchema", type = JAXBElement.class, required = false),\r
78         @XmlElementRef(name = "totalDigits", namespace = "http://www.w3.org/2001/XMLSchema", type = TotalDigits.class, required = false),\r
79         @XmlElementRef(name = "minInclusive", namespace = "http://www.w3.org/2001/XMLSchema", type = JAXBElement.class, required = false),\r
80         @XmlElementRef(name = "pattern", namespace = "http://www.w3.org/2001/XMLSchema", type = Pattern.class, required = false),\r
81         @XmlElementRef(name = "whiteSpace", namespace = "http://www.w3.org/2001/XMLSchema", type = WhiteSpace.class, required = false),\r
82         @XmlElementRef(name = "minLength", namespace = "http://www.w3.org/2001/XMLSchema", type = JAXBElement.class, required = false),\r
83         @XmlElementRef(name = "maxLength", namespace = "http://www.w3.org/2001/XMLSchema", type = JAXBElement.class, required = false),\r
84         @XmlElementRef(name = "maxInclusive", namespace = "http://www.w3.org/2001/XMLSchema", type = JAXBElement.class, required = false),\r
85         @XmlElementRef(name = "length", namespace = "http://www.w3.org/2001/XMLSchema", type = JAXBElement.class, required = false),\r
86         @XmlElementRef(name = "maxExclusive", namespace = "http://www.w3.org/2001/XMLSchema", type = JAXBElement.class, required = false),\r
87         @XmlElementRef(name = "minExclusive", namespace = "http://www.w3.org/2001/XMLSchema", type = JAXBElement.class, required = false)\r
88     })\r
89     protected List<Object> facets;\r
90     @XmlElements({\r
91         @XmlElement(name = "attribute", type = Attribute.class),\r
92         @XmlElement(name = "attributeGroup", type = AttributeGroupRef.class)\r
93     })\r
94     protected List<Annotated> attributeOrAttributeGroup;\r
95     protected Wildcard anyAttribute;\r
96     @XmlAttribute(name = "base", required = true)\r
97     protected QName base;\r
98 \r
99     /**\r
100      * Gets the value of the group property.\r
101      * \r
102      * @return\r
103      *     possible object is\r
104      *     {@link GroupRef }\r
105      *     \r
106      */\r
107     public GroupRef getGroup() {\r
108         return group;\r
109     }\r
110 \r
111     /**\r
112      * Sets the value of the group property.\r
113      * \r
114      * @param value\r
115      *     allowed object is\r
116      *     {@link GroupRef }\r
117      *     \r
118      */\r
119     public void setGroup(GroupRef value) {\r
120         this.group = value;\r
121     }\r
122 \r
123     /**\r
124      * Gets the value of the all property.\r
125      * \r
126      * @return\r
127      *     possible object is\r
128      *     {@link All }\r
129      *     \r
130      */\r
131     public All getAll() {\r
132         return all;\r
133     }\r
134 \r
135     /**\r
136      * Sets the value of the all property.\r
137      * \r
138      * @param value\r
139      *     allowed object is\r
140      *     {@link All }\r
141      *     \r
142      */\r
143     public void setAll(All value) {\r
144         this.all = value;\r
145     }\r
146 \r
147     /**\r
148      * Gets the value of the choice property.\r
149      * \r
150      * @return\r
151      *     possible object is\r
152      *     {@link ExplicitGroup }\r
153      *     \r
154      */\r
155     public ExplicitGroup getChoice() {\r
156         return choice;\r
157     }\r
158 \r
159     /**\r
160      * Sets the value of the choice property.\r
161      * \r
162      * @param value\r
163      *     allowed object is\r
164      *     {@link ExplicitGroup }\r
165      *     \r
166      */\r
167     public void setChoice(ExplicitGroup value) {\r
168         this.choice = value;\r
169     }\r
170 \r
171     /**\r
172      * Gets the value of the sequence property.\r
173      * \r
174      * @return\r
175      *     possible object is\r
176      *     {@link ExplicitGroup }\r
177      *     \r
178      */\r
179     public ExplicitGroup getSequence() {\r
180         return sequence;\r
181     }\r
182 \r
183     /**\r
184      * Sets the value of the sequence property.\r
185      * \r
186      * @param value\r
187      *     allowed object is\r
188      *     {@link ExplicitGroup }\r
189      *     \r
190      */\r
191     public void setSequence(ExplicitGroup value) {\r
192         this.sequence = value;\r
193     }\r
194 \r
195     /**\r
196      * Gets the value of the simpleType property.\r
197      * \r
198      * @return\r
199      *     possible object is\r
200      *     {@link LocalSimpleType }\r
201      *     \r
202      */\r
203     public LocalSimpleType getSimpleType() {\r
204         return simpleType;\r
205     }\r
206 \r
207     /**\r
208      * Sets the value of the simpleType property.\r
209      * \r
210      * @param value\r
211      *     allowed object is\r
212      *     {@link LocalSimpleType }\r
213      *     \r
214      */\r
215     public void setSimpleType(LocalSimpleType value) {\r
216         this.simpleType = value;\r
217     }\r
218 \r
219     /**\r
220      * Gets the value of the facets property.\r
221      * \r
222      * <p>\r
223      * This accessor method returns a reference to the live list,\r
224      * not a snapshot. Therefore any modification you make to the\r
225      * returned list will be present inside the JAXB object.\r
226      * This is why there is not a <CODE>set</CODE> method for the facets property.\r
227      * \r
228      * <p>\r
229      * For example, to add a new item, do as follows:\r
230      * <pre>\r
231      *    getFacets().add(newItem);\r
232      * </pre>\r
233      * \r
234      * \r
235      * <p>\r
236      * Objects of the following type(s) are allowed in the list\r
237      * {@link JAXBElement }{@code <}{@link NumFacet }{@code >}\r
238      * {@link JAXBElement }{@code <}{@link NoFixedFacet }{@code >}\r
239      * {@link TotalDigits }\r
240      * {@link JAXBElement }{@code <}{@link Facet }{@code >}\r
241      * {@link JAXBElement }{@code <}{@link NumFacet }{@code >}\r
242      * {@link WhiteSpace }\r
243      * {@link Pattern }\r
244      * {@link JAXBElement }{@code <}{@link NumFacet }{@code >}\r
245      * {@link JAXBElement }{@code <}{@link Facet }{@code >}\r
246      * {@link JAXBElement }{@code <}{@link Facet }{@code >}\r
247      * {@link JAXBElement }{@code <}{@link NumFacet }{@code >}\r
248      * {@link JAXBElement }{@code <}{@link Facet }{@code >}\r
249      * \r
250      * \r
251      */\r
252     public List<Object> getFacets() {\r
253         if (facets == null) {\r
254             facets = new ArrayList<Object>();\r
255         }\r
256         return this.facets;\r
257     }\r
258 \r
259     /**\r
260      * Gets the value of the attributeOrAttributeGroup property.\r
261      * \r
262      * <p>\r
263      * This accessor method returns a reference to the live list,\r
264      * not a snapshot. Therefore any modification you make to the\r
265      * returned list will be present inside the JAXB object.\r
266      * This is why there is not a <CODE>set</CODE> method for the attributeOrAttributeGroup property.\r
267      * \r
268      * <p>\r
269      * For example, to add a new item, do as follows:\r
270      * <pre>\r
271      *    getAttributeOrAttributeGroup().add(newItem);\r
272      * </pre>\r
273      * \r
274      * \r
275      * <p>\r
276      * Objects of the following type(s) are allowed in the list\r
277      * {@link Attribute }\r
278      * {@link AttributeGroupRef }\r
279      * \r
280      * \r
281      */\r
282     public List<Annotated> getAttributeOrAttributeGroup() {\r
283         if (attributeOrAttributeGroup == null) {\r
284             attributeOrAttributeGroup = new ArrayList<Annotated>();\r
285         }\r
286         return this.attributeOrAttributeGroup;\r
287     }\r
288 \r
289     /**\r
290      * Gets the value of the anyAttribute property.\r
291      * \r
292      * @return\r
293      *     possible object is\r
294      *     {@link Wildcard }\r
295      *     \r
296      */\r
297     public Wildcard getAnyAttribute() {\r
298         return anyAttribute;\r
299     }\r
300 \r
301     /**\r
302      * Sets the value of the anyAttribute property.\r
303      * \r
304      * @param value\r
305      *     allowed object is\r
306      *     {@link Wildcard }\r
307      *     \r
308      */\r
309     public void setAnyAttribute(Wildcard value) {\r
310         this.anyAttribute = value;\r
311     }\r
312 \r
313     /**\r
314      * Gets the value of the base property.\r
315      * \r
316      * @return\r
317      *     possible object is\r
318      *     {@link QName }\r
319      *     \r
320      */\r
321     public QName getBase() {\r
322         return base;\r
323     }\r
324 \r
325     /**\r
326      * Sets the value of the base property.\r
327      * \r
328      * @param value\r
329      *     allowed object is\r
330      *     {@link QName }\r
331      *     \r
332      */\r
333     public void setBase(QName value) {\r
334         this.base = value;\r
335     }\r
336 \r
337 }\r