]> gerrit.simantics Code Review - simantics/interop.git/blob - org.simantics.xml.sax/src/org/w3/_2001/xmlschema/Redefine.java
XML Schema converter
[simantics/interop.git] / org.simantics.xml.sax / src / org / w3 / _2001 / xmlschema / Redefine.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}annotation"/>\r
37  *         &lt;group ref="{http://www.w3.org/2001/XMLSchema}redefinable"/>\r
38  *       &lt;/choice>\r
39  *       &lt;attribute name="schemaLocation" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />\r
40  *       &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />\r
41  *       &lt;anyAttribute processContents='lax' namespace='##other'/>\r
42  *     &lt;/extension>\r
43  *   &lt;/complexContent>\r
44  * &lt;/complexType>\r
45  * </pre>\r
46  * \r
47  * \r
48  */\r
49 @XmlAccessorType(XmlAccessType.FIELD)\r
50 @XmlType(name = "", propOrder = {\r
51     "annotationOrSimpleTypeOrComplexType"\r
52 })\r
53 @XmlRootElement(name = "redefine")\r
54 public class Redefine\r
55     extends OpenAttrs\r
56 {\r
57 \r
58     @XmlElements({\r
59         @XmlElement(name = "annotation", type = Annotation.class),\r
60         @XmlElement(name = "simpleType", type = TopLevelSimpleType.class),\r
61         @XmlElement(name = "complexType", type = TopLevelComplexType.class),\r
62         @XmlElement(name = "group", type = NamedGroup.class),\r
63         @XmlElement(name = "attributeGroup", type = NamedAttributeGroup.class)\r
64     })\r
65     protected List<OpenAttrs> annotationOrSimpleTypeOrComplexType;\r
66     @XmlAttribute(name = "schemaLocation", required = true)\r
67     @XmlSchemaType(name = "anyURI")\r
68     protected String schemaLocation;\r
69     @XmlAttribute(name = "id")\r
70     @XmlJavaTypeAdapter(CollapsedStringAdapter.class)\r
71     @XmlID\r
72     @XmlSchemaType(name = "ID")\r
73     protected String id;\r
74 \r
75     /**\r
76      * Gets the value of the annotationOrSimpleTypeOrComplexType property.\r
77      * \r
78      * <p>\r
79      * This accessor method returns a reference to the live list,\r
80      * not a snapshot. Therefore any modification you make to the\r
81      * returned list will be present inside the JAXB object.\r
82      * This is why there is not a <CODE>set</CODE> method for the annotationOrSimpleTypeOrComplexType property.\r
83      * \r
84      * <p>\r
85      * For example, to add a new item, do as follows:\r
86      * <pre>\r
87      *    getAnnotationOrSimpleTypeOrComplexType().add(newItem);\r
88      * </pre>\r
89      * \r
90      * \r
91      * <p>\r
92      * Objects of the following type(s) are allowed in the list\r
93      * {@link Annotation }\r
94      * {@link TopLevelSimpleType }\r
95      * {@link TopLevelComplexType }\r
96      * {@link NamedGroup }\r
97      * {@link NamedAttributeGroup }\r
98      * \r
99      * \r
100      */\r
101     public List<OpenAttrs> getAnnotationOrSimpleTypeOrComplexType() {\r
102         if (annotationOrSimpleTypeOrComplexType == null) {\r
103             annotationOrSimpleTypeOrComplexType = new ArrayList<OpenAttrs>();\r
104         }\r
105         return this.annotationOrSimpleTypeOrComplexType;\r
106     }\r
107 \r
108     /**\r
109      * Gets the value of the schemaLocation property.\r
110      * \r
111      * @return\r
112      *     possible object is\r
113      *     {@link String }\r
114      *     \r
115      */\r
116     public String getSchemaLocation() {\r
117         return schemaLocation;\r
118     }\r
119 \r
120     /**\r
121      * Sets the value of the schemaLocation property.\r
122      * \r
123      * @param value\r
124      *     allowed object is\r
125      *     {@link String }\r
126      *     \r
127      */\r
128     public void setSchemaLocation(String value) {\r
129         this.schemaLocation = value;\r
130     }\r
131 \r
132     /**\r
133      * Gets the value of the id property.\r
134      * \r
135      * @return\r
136      *     possible object is\r
137      *     {@link String }\r
138      *     \r
139      */\r
140     public String getId() {\r
141         return id;\r
142     }\r
143 \r
144     /**\r
145      * Sets the value of the id property.\r
146      * \r
147      * @param value\r
148      *     allowed object is\r
149      *     {@link String }\r
150      *     \r
151      */\r
152     public void setId(String value) {\r
153         this.id = value;\r
154     }\r
155 \r
156 }\r