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.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.XmlRootElement;
\r
17 import javax.xml.bind.annotation.XmlType;
\r
18 import javax.xml.namespace.QName;
\r
23 * memberTypes attribute must be non-empty or there must be
\r
24 * at least one simpleType child
\r
27 * <p>Java class for anonymous complex type.
\r
29 * <p>The following schema fragment specifies the expected content contained within this class.
\r
33 * <complexContent>
\r
34 * <extension base="{http://www.w3.org/2001/XMLSchema}annotated">
\r
36 * <element name="simpleType" type="{http://www.w3.org/2001/XMLSchema}localSimpleType" maxOccurs="unbounded" minOccurs="0"/>
\r
38 * <attribute name="memberTypes">
\r
40 * <list itemType="{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 = "", propOrder = {
\r
55 @XmlRootElement(name = "union")
\r
60 protected List<LocalSimpleType> simpleType;
\r
61 @XmlAttribute(name = "memberTypes")
\r
62 protected List<QName> memberTypes;
\r
65 * Gets the value of the simpleType property.
\r
68 * This accessor method returns a reference to the live list,
\r
69 * not a snapshot. Therefore any modification you make to the
\r
70 * returned list will be present inside the JAXB object.
\r
71 * This is why there is not a <CODE>set</CODE> method for the simpleType property.
\r
74 * For example, to add a new item, do as follows:
\r
76 * getSimpleType().add(newItem);
\r
81 * Objects of the following type(s) are allowed in the list
\r
82 * {@link LocalSimpleType }
\r
86 public List<LocalSimpleType> getSimpleType() {
\r
87 if (simpleType == null) {
\r
88 simpleType = new ArrayList<LocalSimpleType>();
\r
90 return this.simpleType;
\r
94 * Gets the value of the memberTypes property.
\r
97 * This accessor method returns a reference to the live list,
\r
98 * not a snapshot. Therefore any modification you make to the
\r
99 * returned list will be present inside the JAXB object.
\r
100 * This is why there is not a <CODE>set</CODE> method for the memberTypes property.
\r
103 * For example, to add a new item, do as follows:
\r
105 * getMemberTypes().add(newItem);
\r
110 * Objects of the following type(s) are allowed in the list
\r
115 public List<QName> getMemberTypes() {
\r
116 if (memberTypes == null) {
\r
117 memberTypes = new ArrayList<QName>();
\r
119 return this.memberTypes;
\r