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.XmlElementRef;
\r
18 import javax.xml.bind.annotation.XmlElementRefs;
\r
19 import javax.xml.bind.annotation.XmlRootElement;
\r
20 import javax.xml.bind.annotation.XmlType;
\r
21 import javax.xml.namespace.QName;
\r
26 * base attribute and simpleType child are mutually
\r
27 * exclusive, but one or other is required
\r
30 * <p>Java class for anonymous complex type.
\r
32 * <p>The following schema fragment specifies the expected content contained within this class.
\r
36 * <complexContent>
\r
37 * <extension base="{http://www.w3.org/2001/XMLSchema}annotated">
\r
38 * <group ref="{http://www.w3.org/2001/XMLSchema}simpleRestrictionModel"/>
\r
39 * <attribute name="base" type="{http://www.w3.org/2001/XMLSchema}QName" />
\r
40 * <anyAttribute processContents='lax' namespace='##other'/>
\r
42 * </complexContent>
\r
48 @XmlAccessorType(XmlAccessType.FIELD)
\r
49 @XmlType(name = "", propOrder = {
\r
53 @XmlRootElement(name = "restriction")
\r
54 public class Restriction
\r
58 protected LocalSimpleType simpleType;
\r
60 @XmlElementRef(name = "enumeration", namespace = "http://www.w3.org/2001/XMLSchema", type = JAXBElement.class, required = false),
\r
61 @XmlElementRef(name = "fractionDigits", namespace = "http://www.w3.org/2001/XMLSchema", type = JAXBElement.class, required = false),
\r
62 @XmlElementRef(name = "totalDigits", namespace = "http://www.w3.org/2001/XMLSchema", type = TotalDigits.class, required = false),
\r
63 @XmlElementRef(name = "minInclusive", namespace = "http://www.w3.org/2001/XMLSchema", type = JAXBElement.class, required = false),
\r
64 @XmlElementRef(name = "pattern", namespace = "http://www.w3.org/2001/XMLSchema", type = Pattern.class, required = false),
\r
65 @XmlElementRef(name = "whiteSpace", namespace = "http://www.w3.org/2001/XMLSchema", type = WhiteSpace.class, required = false),
\r
66 @XmlElementRef(name = "minLength", namespace = "http://www.w3.org/2001/XMLSchema", type = JAXBElement.class, required = false),
\r
67 @XmlElementRef(name = "maxLength", namespace = "http://www.w3.org/2001/XMLSchema", type = JAXBElement.class, required = false),
\r
68 @XmlElementRef(name = "maxInclusive", namespace = "http://www.w3.org/2001/XMLSchema", type = JAXBElement.class, required = false),
\r
69 @XmlElementRef(name = "length", namespace = "http://www.w3.org/2001/XMLSchema", type = JAXBElement.class, required = false),
\r
70 @XmlElementRef(name = "maxExclusive", namespace = "http://www.w3.org/2001/XMLSchema", type = JAXBElement.class, required = false),
\r
71 @XmlElementRef(name = "minExclusive", namespace = "http://www.w3.org/2001/XMLSchema", type = JAXBElement.class, required = false)
\r
73 protected List<Object> facets;
\r
74 @XmlAttribute(name = "base")
\r
75 protected QName base;
\r
78 * Gets the value of the simpleType property.
\r
81 * possible object is
\r
82 * {@link LocalSimpleType }
\r
85 public LocalSimpleType getSimpleType() {
\r
90 * Sets the value of the simpleType property.
\r
94 * {@link LocalSimpleType }
\r
97 public void setSimpleType(LocalSimpleType value) {
\r
98 this.simpleType = value;
\r
102 * Gets the value of the facets property.
\r
105 * This accessor method returns a reference to the live list,
\r
106 * not a snapshot. Therefore any modification you make to the
\r
107 * returned list will be present inside the JAXB object.
\r
108 * This is why there is not a <CODE>set</CODE> method for the facets property.
\r
111 * For example, to add a new item, do as follows:
\r
113 * getFacets().add(newItem);
\r
118 * Objects of the following type(s) are allowed in the list
\r
119 * {@link JAXBElement }{@code <}{@link NumFacet }{@code >}
\r
120 * {@link JAXBElement }{@code <}{@link NoFixedFacet }{@code >}
\r
121 * {@link TotalDigits }
\r
122 * {@link JAXBElement }{@code <}{@link Facet }{@code >}
\r
123 * {@link JAXBElement }{@code <}{@link NumFacet }{@code >}
\r
124 * {@link WhiteSpace }
\r
126 * {@link JAXBElement }{@code <}{@link NumFacet }{@code >}
\r
127 * {@link JAXBElement }{@code <}{@link Facet }{@code >}
\r
128 * {@link JAXBElement }{@code <}{@link Facet }{@code >}
\r
129 * {@link JAXBElement }{@code <}{@link NumFacet }{@code >}
\r
130 * {@link JAXBElement }{@code <}{@link Facet }{@code >}
\r
134 public List<Object> getFacets() {
\r
135 if (facets == null) {
\r
136 facets = new ArrayList<Object>();
\r
138 return this.facets;
\r
142 * Gets the value of the base property.
\r
145 * possible object is
\r
149 public QName getBase() {
\r
154 * Sets the value of the base property.
\r
157 * allowed object is
\r
161 public void setBase(QName value) {
\r