]> gerrit.simantics Code Review - simantics/interop.git/blob - org.simantics.xml.sax/src/org/w3/_2001/xmlschema/SimpleType.java
XML Schema converter
[simantics/interop.git] / org.simantics.xml.sax / src / org / w3 / _2001 / xmlschema / SimpleType.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 javax.xml.bind.annotation.XmlAccessType;\r
13 import javax.xml.bind.annotation.XmlAccessorType;\r
14 import javax.xml.bind.annotation.XmlAttribute;\r
15 import javax.xml.bind.annotation.XmlSchemaType;\r
16 import javax.xml.bind.annotation.XmlSeeAlso;\r
17 import javax.xml.bind.annotation.XmlType;\r
18 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;\r
19 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;\r
20 \r
21 \r
22 /**\r
23  * <p>Java class for simpleType complex type.\r
24  * \r
25  * <p>The following schema fragment specifies the expected content contained within this class.\r
26  * \r
27  * <pre>\r
28  * &lt;complexType name="simpleType">\r
29  *   &lt;complexContent>\r
30  *     &lt;extension base="{http://www.w3.org/2001/XMLSchema}annotated">\r
31  *       &lt;group ref="{http://www.w3.org/2001/XMLSchema}simpleDerivation"/>\r
32  *       &lt;attribute name="final" type="{http://www.w3.org/2001/XMLSchema}simpleDerivationSet" />\r
33  *       &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NCName" />\r
34  *       &lt;anyAttribute processContents='lax' namespace='##other'/>\r
35  *     &lt;/extension>\r
36  *   &lt;/complexContent>\r
37  * &lt;/complexType>\r
38  * </pre>\r
39  * \r
40  * \r
41  */\r
42 @XmlAccessorType(XmlAccessType.FIELD)\r
43 @XmlType(name = "simpleType", propOrder = {\r
44     "restriction",\r
45     "list",\r
46     "union"\r
47 })\r
48 @XmlSeeAlso({\r
49     TopLevelSimpleType.class,\r
50     LocalSimpleType.class\r
51 })\r
52 public abstract class SimpleType\r
53     extends Annotated\r
54 {\r
55 \r
56     protected Restriction restriction;\r
57     protected org.w3._2001.xmlschema.List list;\r
58     protected Union union;\r
59     @XmlAttribute(name = "final")\r
60     @XmlSchemaType(name = "simpleDerivationSet")\r
61     protected java.util.List<String> _final;\r
62     @XmlAttribute(name = "name")\r
63     @XmlJavaTypeAdapter(CollapsedStringAdapter.class)\r
64     @XmlSchemaType(name = "NCName")\r
65     protected String name;\r
66 \r
67     /**\r
68      * Gets the value of the restriction property.\r
69      * \r
70      * @return\r
71      *     possible object is\r
72      *     {@link Restriction }\r
73      *     \r
74      */\r
75     public Restriction getRestriction() {\r
76         return restriction;\r
77     }\r
78 \r
79     /**\r
80      * Sets the value of the restriction property.\r
81      * \r
82      * @param value\r
83      *     allowed object is\r
84      *     {@link Restriction }\r
85      *     \r
86      */\r
87     public void setRestriction(Restriction value) {\r
88         this.restriction = value;\r
89     }\r
90 \r
91     /**\r
92      * Gets the value of the list property.\r
93      * \r
94      * @return\r
95      *     possible object is\r
96      *     {@link org.w3._2001.xmlschema.List }\r
97      *     \r
98      */\r
99     public org.w3._2001.xmlschema.List getList() {\r
100         return list;\r
101     }\r
102 \r
103     /**\r
104      * Sets the value of the list property.\r
105      * \r
106      * @param value\r
107      *     allowed object is\r
108      *     {@link org.w3._2001.xmlschema.List }\r
109      *     \r
110      */\r
111     public void setList(org.w3._2001.xmlschema.List value) {\r
112         this.list = value;\r
113     }\r
114 \r
115     /**\r
116      * Gets the value of the union property.\r
117      * \r
118      * @return\r
119      *     possible object is\r
120      *     {@link Union }\r
121      *     \r
122      */\r
123     public Union getUnion() {\r
124         return union;\r
125     }\r
126 \r
127     /**\r
128      * Sets the value of the union property.\r
129      * \r
130      * @param value\r
131      *     allowed object is\r
132      *     {@link Union }\r
133      *     \r
134      */\r
135     public void setUnion(Union value) {\r
136         this.union = value;\r
137     }\r
138 \r
139     /**\r
140      * Gets the value of the final property.\r
141      * \r
142      * <p>\r
143      * This accessor method returns a reference to the live list,\r
144      * not a snapshot. Therefore any modification you make to the\r
145      * returned list will be present inside the JAXB object.\r
146      * This is why there is not a <CODE>set</CODE> method for the final property.\r
147      * \r
148      * <p>\r
149      * For example, to add a new item, do as follows:\r
150      * <pre>\r
151      *    getFinal().add(newItem);\r
152      * </pre>\r
153      * \r
154      * \r
155      * <p>\r
156      * Objects of the following type(s) are allowed in the list\r
157      * {@link String }\r
158      * \r
159      * \r
160      */\r
161     public java.util.List<String> getFinal() {\r
162         if (_final == null) {\r
163             _final = new ArrayList<String>();\r
164         }\r
165         return this._final;\r
166     }\r
167 \r
168     /**\r
169      * Gets the value of the name property.\r
170      * \r
171      * @return\r
172      *     possible object is\r
173      *     {@link String }\r
174      *     \r
175      */\r
176     public String getName() {\r
177         return name;\r
178     }\r
179 \r
180     /**\r
181      * Sets the value of the name property.\r
182      * \r
183      * @param value\r
184      *     allowed object is\r
185      *     {@link String }\r
186      *     \r
187      */\r
188     public void setName(String value) {\r
189         this.name = value;\r
190     }\r
191 \r
192 }\r