]> gerrit.simantics Code Review - simantics/interop.git/blob - org.simantics.xml.sax/src/org/w3/_2001/xmlschema/AttributeGroup.java
XML Schema converter
[simantics/interop.git] / org.simantics.xml.sax / src / org / w3 / _2001 / xmlschema / AttributeGroup.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.XmlSchemaType;\r
19 import javax.xml.bind.annotation.XmlSeeAlso;\r
20 import javax.xml.bind.annotation.XmlType;\r
21 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;\r
22 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;\r
23 import javax.xml.namespace.QName;\r
24 \r
25 \r
26 /**\r
27  * <p>Java class for attributeGroup 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="attributeGroup">\r
33  *   &lt;complexContent>\r
34  *     &lt;extension base="{http://www.w3.org/2001/XMLSchema}annotated">\r
35  *       &lt;group ref="{http://www.w3.org/2001/XMLSchema}attrDecls"/>\r
36  *       &lt;attGroup ref="{http://www.w3.org/2001/XMLSchema}defRef"/>\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 = "attributeGroup", propOrder = {\r
47     "attributeOrAttributeGroup",\r
48     "anyAttribute"\r
49 })\r
50 @XmlSeeAlso({\r
51     NamedAttributeGroup.class,\r
52     AttributeGroupRef.class\r
53 })\r
54 public abstract class AttributeGroup\r
55     extends Annotated\r
56 {\r
57 \r
58     @XmlElements({\r
59         @XmlElement(name = "attribute", type = Attribute.class),\r
60         @XmlElement(name = "attributeGroup", type = AttributeGroupRef.class)\r
61     })\r
62     protected List<Annotated> attributeOrAttributeGroup;\r
63     protected Wildcard anyAttribute;\r
64     @XmlAttribute(name = "name")\r
65     @XmlJavaTypeAdapter(CollapsedStringAdapter.class)\r
66     @XmlSchemaType(name = "NCName")\r
67     protected String name;\r
68     @XmlAttribute(name = "ref")\r
69     protected QName ref;\r
70 \r
71     /**\r
72      * Gets the value of the attributeOrAttributeGroup property.\r
73      * \r
74      * <p>\r
75      * This accessor method returns a reference to the live list,\r
76      * not a snapshot. Therefore any modification you make to the\r
77      * returned list will be present inside the JAXB object.\r
78      * This is why there is not a <CODE>set</CODE> method for the attributeOrAttributeGroup property.\r
79      * \r
80      * <p>\r
81      * For example, to add a new item, do as follows:\r
82      * <pre>\r
83      *    getAttributeOrAttributeGroup().add(newItem);\r
84      * </pre>\r
85      * \r
86      * \r
87      * <p>\r
88      * Objects of the following type(s) are allowed in the list\r
89      * {@link Attribute }\r
90      * {@link AttributeGroupRef }\r
91      * \r
92      * \r
93      */\r
94     public List<Annotated> getAttributeOrAttributeGroup() {\r
95         if (attributeOrAttributeGroup == null) {\r
96             attributeOrAttributeGroup = new ArrayList<Annotated>();\r
97         }\r
98         return this.attributeOrAttributeGroup;\r
99     }\r
100 \r
101     /**\r
102      * Gets the value of the anyAttribute property.\r
103      * \r
104      * @return\r
105      *     possible object is\r
106      *     {@link Wildcard }\r
107      *     \r
108      */\r
109     public Wildcard getAnyAttribute() {\r
110         return anyAttribute;\r
111     }\r
112 \r
113     /**\r
114      * Sets the value of the anyAttribute property.\r
115      * \r
116      * @param value\r
117      *     allowed object is\r
118      *     {@link Wildcard }\r
119      *     \r
120      */\r
121     public void setAnyAttribute(Wildcard value) {\r
122         this.anyAttribute = value;\r
123     }\r
124 \r
125     /**\r
126      * Gets the value of the name property.\r
127      * \r
128      * @return\r
129      *     possible object is\r
130      *     {@link String }\r
131      *     \r
132      */\r
133     public String getName() {\r
134         return name;\r
135     }\r
136 \r
137     /**\r
138      * Sets the value of the name property.\r
139      * \r
140      * @param value\r
141      *     allowed object is\r
142      *     {@link String }\r
143      *     \r
144      */\r
145     public void setName(String value) {\r
146         this.name = value;\r
147     }\r
148 \r
149     /**\r
150      * Gets the value of the ref property.\r
151      * \r
152      * @return\r
153      *     possible object is\r
154      *     {@link QName }\r
155      *     \r
156      */\r
157     public QName getRef() {\r
158         return ref;\r
159     }\r
160 \r
161     /**\r
162      * Sets the value of the ref property.\r
163      * \r
164      * @param value\r
165      *     allowed object is\r
166      *     {@link QName }\r
167      *     \r
168      */\r
169     public void setRef(QName value) {\r
170         this.ref = value;\r
171     }\r
172 \r
173 }\r