public class Union extends Annotated
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<extension base="{http://www.w3.org/2001/XMLSchema}annotated">
<sequence>
<element name="simpleType" type="{http://www.w3.org/2001/XMLSchema}localSimpleType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="memberTypes">
<simpleType>
<list itemType="{http://www.w3.org/2001/XMLSchema}QName" />
</simpleType>
</attribute>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<QName> |
memberTypes |
protected List<LocalSimpleType> |
simpleTypes |
annotation, id| Constructor and Description |
|---|
Union() |
| Modifier and Type | Method and Description |
|---|---|
List<QName> |
getMemberTypes()
Gets the value of the memberTypes property.
|
List<LocalSimpleType> |
getSimpleTypes()
Gets the value of the simpleTypes property.
|
getAnnotation, getId, setAnnotation, setIdgetOtherAttributesprotected List<LocalSimpleType> simpleTypes
public List<LocalSimpleType> getSimpleTypes()
This accessor method returns a reference to the live list, not a snapshot.
Therefore any modification you make to the returned list will be present
inside the JAXB object. This is why there is not a set method
for the simpleTypes property.
For example, to add a new item, do as follows:
getSimpleTypes().add(newItem);
Objects of the following type(s) are allowed in the list
LocalSimpleType
public List<QName> getMemberTypes()
This accessor method returns a reference to the live list, not a snapshot.
Therefore any modification you make to the returned list will be present
inside the JAXB object. This is why there is not a set method
for the memberTypes property.
For example, to add a new item, do as follows:
getMemberTypes().add(newItem);
Objects of the following type(s) are allowed in the list QName
Copyright © 2019. All rights reserved.