@Contract @Hk2XmlPreGenerate public interface 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 | Method and Description |
---|---|
List<QName> |
getMemberTypes()
Gets the value of the memberTypes property.
|
List<LocalSimpleType> |
getSimpleType()
Gets the value of the simpleType property.
|
getAnnotation, getId, setAnnotation, setId
getOtherAttributes, setOtherAttributes
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
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 © 2009–2023 Oracle Corporation. All rights reserved.