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.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
27 * <p>Java class for restrictionType complex type.
\r
29 * <p>The following schema fragment specifies the expected content contained within this class.
\r
32 * <complexType name="restrictionType">
\r
33 * <complexContent>
\r
34 * <extension base="{http://www.w3.org/2001/XMLSchema}annotated">
\r
36 * <choice minOccurs="0">
\r
37 * <group ref="{http://www.w3.org/2001/XMLSchema}typeDefParticle"/>
\r
38 * <group ref="{http://www.w3.org/2001/XMLSchema}simpleRestrictionModel"/>
\r
40 * <group ref="{http://www.w3.org/2001/XMLSchema}attrDecls"/>
\r
42 * <attribute name="base" use="required" type="{http://www.w3.org/2001/XMLSchema}QName" />
\r
43 * <anyAttribute processContents='lax' namespace='##other'/>
\r
45 * </complexContent>
\r
51 @XmlAccessorType(XmlAccessType.FIELD)
\r
52 @XmlType(name = "restrictionType", propOrder = {
\r
59 "attributeOrAttributeGroup",
\r
63 ComplexRestrictionType.class,
\r
64 SimpleRestrictionType.class
\r
66 public class RestrictionType
\r
70 protected GroupRef group;
\r
72 protected ExplicitGroup choice;
\r
73 protected ExplicitGroup sequence;
\r
74 protected LocalSimpleType simpleType;
\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
89 protected List<Object> facets;
\r
91 @XmlElement(name = "attribute", type = Attribute.class),
\r
92 @XmlElement(name = "attributeGroup", type = AttributeGroupRef.class)
\r
94 protected List<Annotated> attributeOrAttributeGroup;
\r
95 protected Wildcard anyAttribute;
\r
96 @XmlAttribute(name = "base", required = true)
\r
97 protected QName base;
\r
100 * Gets the value of the group property.
\r
103 * possible object is
\r
104 * {@link GroupRef }
\r
107 public GroupRef getGroup() {
\r
112 * Sets the value of the group property.
\r
115 * allowed object is
\r
116 * {@link GroupRef }
\r
119 public void setGroup(GroupRef value) {
\r
120 this.group = value;
\r
124 * Gets the value of the all property.
\r
127 * possible object is
\r
131 public All getAll() {
\r
136 * Sets the value of the all property.
\r
139 * allowed object is
\r
143 public void setAll(All value) {
\r
148 * Gets the value of the choice property.
\r
151 * possible object is
\r
152 * {@link ExplicitGroup }
\r
155 public ExplicitGroup getChoice() {
\r
160 * Sets the value of the choice property.
\r
163 * allowed object is
\r
164 * {@link ExplicitGroup }
\r
167 public void setChoice(ExplicitGroup value) {
\r
168 this.choice = value;
\r
172 * Gets the value of the sequence property.
\r
175 * possible object is
\r
176 * {@link ExplicitGroup }
\r
179 public ExplicitGroup getSequence() {
\r
184 * Sets the value of the sequence property.
\r
187 * allowed object is
\r
188 * {@link ExplicitGroup }
\r
191 public void setSequence(ExplicitGroup value) {
\r
192 this.sequence = value;
\r
196 * Gets the value of the simpleType property.
\r
199 * possible object is
\r
200 * {@link LocalSimpleType }
\r
203 public LocalSimpleType getSimpleType() {
\r
208 * Sets the value of the simpleType property.
\r
211 * allowed object is
\r
212 * {@link LocalSimpleType }
\r
215 public void setSimpleType(LocalSimpleType value) {
\r
216 this.simpleType = value;
\r
220 * Gets the value of the facets property.
\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
229 * For example, to add a new item, do as follows:
\r
231 * getFacets().add(newItem);
\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
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
252 public List<Object> getFacets() {
\r
253 if (facets == null) {
\r
254 facets = new ArrayList<Object>();
\r
256 return this.facets;
\r
260 * Gets the value of the attributeOrAttributeGroup property.
\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
269 * For example, to add a new item, do as follows:
\r
271 * getAttributeOrAttributeGroup().add(newItem);
\r
276 * Objects of the following type(s) are allowed in the list
\r
277 * {@link Attribute }
\r
278 * {@link AttributeGroupRef }
\r
282 public List<Annotated> getAttributeOrAttributeGroup() {
\r
283 if (attributeOrAttributeGroup == null) {
\r
284 attributeOrAttributeGroup = new ArrayList<Annotated>();
\r
286 return this.attributeOrAttributeGroup;
\r
290 * Gets the value of the anyAttribute property.
\r
293 * possible object is
\r
294 * {@link Wildcard }
\r
297 public Wildcard getAnyAttribute() {
\r
298 return anyAttribute;
\r
302 * Sets the value of the anyAttribute property.
\r
305 * allowed object is
\r
306 * {@link Wildcard }
\r
309 public void setAnyAttribute(Wildcard value) {
\r
310 this.anyAttribute = value;
\r
314 * Gets the value of the base property.
\r
317 * possible object is
\r
321 public QName getBase() {
\r
326 * Sets the value of the base property.
\r
329 * allowed object is
\r
333 public void setBase(QName value) {
\r