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 javax.xml.bind.annotation.XmlAccessType;
\r
13 import javax.xml.bind.annotation.XmlAccessorType;
\r
14 import javax.xml.bind.annotation.XmlAttribute;
\r
15 import javax.xml.bind.annotation.XmlSchemaType;
\r
16 import javax.xml.bind.annotation.XmlSeeAlso;
\r
17 import javax.xml.bind.annotation.XmlType;
\r
18 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
\r
19 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
\r
23 * <p>Java class for simpleType complex type.
\r
25 * <p>The following schema fragment specifies the expected content contained within this class.
\r
28 * <complexType name="simpleType">
\r
29 * <complexContent>
\r
30 * <extension base="{http://www.w3.org/2001/XMLSchema}annotated">
\r
31 * <group ref="{http://www.w3.org/2001/XMLSchema}simpleDerivation"/>
\r
32 * <attribute name="final" type="{http://www.w3.org/2001/XMLSchema}simpleDerivationSet" />
\r
33 * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NCName" />
\r
34 * <anyAttribute processContents='lax' namespace='##other'/>
\r
36 * </complexContent>
\r
42 @XmlAccessorType(XmlAccessType.FIELD)
\r
43 @XmlType(name = "simpleType", propOrder = {
\r
49 TopLevelSimpleType.class,
\r
50 LocalSimpleType.class
\r
52 public abstract class SimpleType
\r
56 protected Restriction restriction;
\r
57 protected org.w3._2001.xmlschema.List list;
\r
58 protected Union union;
\r
59 @XmlAttribute(name = "final")
\r
60 @XmlSchemaType(name = "simpleDerivationSet")
\r
61 protected java.util.List<String> _final;
\r
62 @XmlAttribute(name = "name")
\r
63 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
\r
64 @XmlSchemaType(name = "NCName")
\r
65 protected String name;
\r
68 * Gets the value of the restriction property.
\r
71 * possible object is
\r
72 * {@link Restriction }
\r
75 public Restriction getRestriction() {
\r
80 * Sets the value of the restriction property.
\r
84 * {@link Restriction }
\r
87 public void setRestriction(Restriction value) {
\r
88 this.restriction = value;
\r
92 * Gets the value of the list property.
\r
95 * possible object is
\r
96 * {@link org.w3._2001.xmlschema.List }
\r
99 public org.w3._2001.xmlschema.List getList() {
\r
104 * Sets the value of the list property.
\r
107 * allowed object is
\r
108 * {@link org.w3._2001.xmlschema.List }
\r
111 public void setList(org.w3._2001.xmlschema.List value) {
\r
116 * Gets the value of the union property.
\r
119 * possible object is
\r
123 public Union getUnion() {
\r
128 * Sets the value of the union property.
\r
131 * allowed object is
\r
135 public void setUnion(Union value) {
\r
136 this.union = value;
\r
140 * Gets the value of the final property.
\r
143 * This accessor method returns a reference to the live list,
\r
144 * not a snapshot. Therefore any modification you make to the
\r
145 * returned list will be present inside the JAXB object.
\r
146 * This is why there is not a <CODE>set</CODE> method for the final property.
\r
149 * For example, to add a new item, do as follows:
\r
151 * getFinal().add(newItem);
\r
156 * Objects of the following type(s) are allowed in the list
\r
161 public java.util.List<String> getFinal() {
\r
162 if (_final == null) {
\r
163 _final = new ArrayList<String>();
\r
165 return this._final;
\r
169 * Gets the value of the name property.
\r
172 * possible object is
\r
176 public String getName() {
\r
181 * Sets the value of the name property.
\r
184 * allowed object is
\r
188 public void setName(String value) {
\r