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>
<anyAttribute processContents='lax' namespace='##other'/>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<javax.xml.namespace.QName> |
memberTypes |
protected java.util.List<LocalSimpleType> |
simpleType |
annotation, id| Constructor and Description |
|---|
Union() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<javax.xml.namespace.QName> |
getMemberTypes()
Gets the value of the memberTypes property.
|
java.util.List<LocalSimpleType> |
getSimpleType()
Gets the value of the simpleType property.
|
getAnnotation, getId, setAnnotation, setIdgetOtherAttributesprotected java.util.List<LocalSimpleType> simpleType
protected java.util.List<javax.xml.namespace.QName> memberTypes
public java.util.List<LocalSimpleType> getSimpleType()
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 simpleType property.
For example, to add a new item, do as follows:
getSimpleType().add(newItem);
Objects of the following type(s) are allowed in the list
LocalSimpleType
public java.util.List<javax.xml.namespace.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 © 2018 SAP SE. All Rights Reserved.