org.plasma.xml.schema
Class Union

java.lang.Object
  extended by org.plasma.xml.schema.OpenAttrs
      extended by org.plasma.xml.schema.Annotated
          extended by org.plasma.xml.schema.Union

public class Union
extends Annotated

memberTypes attribute must be non-empty or there must be at least one simpleType child

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>
 


Field Summary
protected  List<QName> memberTypes
           
protected  List<LocalSimpleType> simpleTypes
           
 
Fields inherited from class org.plasma.xml.schema.Annotated
annotation, id
 
Constructor Summary
Union()
           
 
Method Summary
 List<QName> getMemberTypes()
          Gets the value of the memberTypes property.
 List<LocalSimpleType> getSimpleTypes()
          Gets the value of the simpleTypes property.
 
Methods inherited from class org.plasma.xml.schema.Annotated
getAnnotation, getId, setAnnotation, setId
 
Methods inherited from class org.plasma.xml.schema.OpenAttrs
getOtherAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

simpleTypes

protected List<LocalSimpleType> simpleTypes

memberTypes

protected List<QName> memberTypes
Constructor Detail

Union

public Union()
Method Detail

getSimpleTypes

public List<LocalSimpleType> getSimpleTypes()
Gets the value of the simpleTypes property.

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


getMemberTypes

public List<QName> getMemberTypes()
Gets the value of the memberTypes property.

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 © 2013. All rights reserved.