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
9 package org.w3._2001.xmlschema;
\r
11 import java.math.BigInteger;
\r
12 import java.util.ArrayList;
\r
13 import java.util.List;
\r
14 import javax.xml.bind.JAXBElement;
\r
15 import javax.xml.bind.annotation.XmlAccessType;
\r
16 import javax.xml.bind.annotation.XmlAccessorType;
\r
17 import javax.xml.bind.annotation.XmlAttribute;
\r
18 import javax.xml.bind.annotation.XmlElementRef;
\r
19 import javax.xml.bind.annotation.XmlElementRefs;
\r
20 import javax.xml.bind.annotation.XmlSchemaType;
\r
21 import javax.xml.bind.annotation.XmlSeeAlso;
\r
22 import javax.xml.bind.annotation.XmlType;
\r
23 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
\r
24 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
\r
25 import javax.xml.namespace.QName;
\r
30 * group type for explicit groups, named top-level groups and
\r
33 * <p>Java class for group complex type.
\r
35 * <p>The following schema fragment specifies the expected content contained within this class.
\r
38 * <complexType name="group">
\r
39 * <complexContent>
\r
40 * <extension base="{http://www.w3.org/2001/XMLSchema}annotated">
\r
41 * <group ref="{http://www.w3.org/2001/XMLSchema}particle" maxOccurs="unbounded" minOccurs="0"/>
\r
42 * <attGroup ref="{http://www.w3.org/2001/XMLSchema}occurs"/>
\r
43 * <attGroup ref="{http://www.w3.org/2001/XMLSchema}defRef"/>
\r
44 * <anyAttribute processContents='lax' namespace='##other'/>
\r
46 * </complexContent>
\r
52 @XmlAccessorType(XmlAccessType.FIELD)
\r
53 @XmlType(name = "group", propOrder = {
\r
57 ExplicitGroup.class,
\r
60 public abstract class Group
\r
65 @XmlElementRef(name = "all", namespace = "http://www.w3.org/2001/XMLSchema", type = JAXBElement.class, required = false),
\r
66 @XmlElementRef(name = "any", namespace = "http://www.w3.org/2001/XMLSchema", type = Any.class, required = false),
\r
67 @XmlElementRef(name = "element", namespace = "http://www.w3.org/2001/XMLSchema", type = JAXBElement.class, required = false),
\r
68 @XmlElementRef(name = "group", namespace = "http://www.w3.org/2001/XMLSchema", type = JAXBElement.class, required = false),
\r
69 @XmlElementRef(name = "choice", namespace = "http://www.w3.org/2001/XMLSchema", type = JAXBElement.class, required = false),
\r
70 @XmlElementRef(name = "sequence", namespace = "http://www.w3.org/2001/XMLSchema", type = JAXBElement.class, required = false)
\r
72 protected List<Object> particle;
\r
73 @XmlAttribute(name = "minOccurs")
\r
74 @XmlSchemaType(name = "nonNegativeInteger")
\r
75 protected BigInteger minOccurs;
\r
76 @XmlAttribute(name = "maxOccurs")
\r
77 @XmlSchemaType(name = "allNNI")
\r
78 protected String maxOccurs;
\r
79 @XmlAttribute(name = "name")
\r
80 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
\r
81 @XmlSchemaType(name = "NCName")
\r
82 protected String name;
\r
83 @XmlAttribute(name = "ref")
\r
84 protected QName ref;
\r
87 * Gets the value of the particle property.
\r
90 * This accessor method returns a reference to the live list,
\r
91 * not a snapshot. Therefore any modification you make to the
\r
92 * returned list will be present inside the JAXB object.
\r
93 * This is why there is not a <CODE>set</CODE> method for the particle property.
\r
96 * For example, to add a new item, do as follows:
\r
98 * getParticle().add(newItem);
\r
103 * Objects of the following type(s) are allowed in the list
\r
104 * {@link JAXBElement }{@code <}{@link All }{@code >}
\r
105 * {@link JAXBElement }{@code <}{@link GroupRef }{@code >}
\r
107 * {@link JAXBElement }{@code <}{@link ExplicitGroup }{@code >}
\r
108 * {@link JAXBElement }{@code <}{@link LocalElement }{@code >}
\r
109 * {@link JAXBElement }{@code <}{@link ExplicitGroup }{@code >}
\r
113 public List<Object> getParticle() {
\r
114 if (particle == null) {
\r
115 particle = new ArrayList<Object>();
\r
117 return this.particle;
\r
121 * Gets the value of the minOccurs property.
\r
124 * possible object is
\r
125 * {@link BigInteger }
\r
128 public BigInteger getMinOccurs() {
\r
129 if (minOccurs == null) {
\r
130 return new BigInteger("1");
\r
137 * Sets the value of the minOccurs property.
\r
140 * allowed object is
\r
141 * {@link BigInteger }
\r
144 public void setMinOccurs(BigInteger value) {
\r
145 this.minOccurs = value;
\r
149 * Gets the value of the maxOccurs property.
\r
152 * possible object is
\r
156 public String getMaxOccurs() {
\r
157 if (maxOccurs == null) {
\r
165 * Sets the value of the maxOccurs property.
\r
168 * allowed object is
\r
172 public void setMaxOccurs(String value) {
\r
173 this.maxOccurs = value;
\r
177 * Gets the value of the name property.
\r
180 * possible object is
\r
184 public String getName() {
\r
189 * Sets the value of the name property.
\r
192 * allowed object is
\r
196 public void setName(String value) {
\r
201 * Gets the value of the ref property.
\r
204 * possible object is
\r
208 public QName getRef() {
\r
213 * Sets the value of the ref property.
\r
216 * allowed object is
\r
220 public void setRef(QName value) {
\r