YOKO API

org.apache.schemas.yoko.bindings.corba
Class Union

java.lang.Object
  extended by org.apache.schemas.yoko.bindings.corba.CorbaType
      extended by org.apache.yoko.wsdl.CorbaTypeImpl
          extended by org.apache.schemas.yoko.bindings.corba.NamedType
              extended by org.apache.schemas.yoko.bindings.corba.Union

public class Union
extends NamedType

Java class for union complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="union">
   <complexContent>
     <extension base="{http://schemas.apache.org/yoko/bindings/corba}namedType">
       <sequence>
         <element name="unionbranch" type="{http://schemas.apache.org/yoko/bindings/corba}unionbranch" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="discriminator" use="required" type="{http://www.w3.org/2001/XMLSchema}QName" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  javax.xml.namespace.QName discriminator
           
protected  java.util.List<Unionbranch> unionbranch
           
 
Fields inherited from class org.apache.schemas.yoko.bindings.corba.NamedType
repositoryID
 
Fields inherited from class org.apache.yoko.wsdl.CorbaTypeImpl
name
 
Fields inherited from class org.apache.schemas.yoko.bindings.corba.CorbaType
type
 
Constructor Summary
Union()
           
 
Method Summary
 javax.xml.namespace.QName getDiscriminator()
          Gets the value of the discriminator property.
 java.util.List<Unionbranch> getUnionbranch()
          Gets the value of the unionbranch property.
 boolean isSetDiscriminator()
           
 boolean isSetUnionbranch()
           
 void setDiscriminator(javax.xml.namespace.QName value)
          Sets the value of the discriminator property.
 void unsetUnionbranch()
           
 
Methods inherited from class org.apache.schemas.yoko.bindings.corba.NamedType
getRepositoryID, isSetRepositoryID, setRepositoryID
 
Methods inherited from class org.apache.yoko.wsdl.CorbaTypeImpl
getQName, isSetQName, setQName
 
Methods inherited from class org.apache.schemas.yoko.bindings.corba.CorbaType
getName, getType, isSetName, isSetType, setName, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

unionbranch

protected java.util.List<Unionbranch> unionbranch

discriminator

protected javax.xml.namespace.QName discriminator
Constructor Detail

Union

public Union()
Method Detail

getUnionbranch

public java.util.List<Unionbranch> getUnionbranch()
Gets the value of the unionbranch 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 unionbranch property.

For example, to add a new item, do as follows:

    getUnionbranch().add(newItem);
 

Objects of the following type(s) are allowed in the list Unionbranch


isSetUnionbranch

public boolean isSetUnionbranch()

unsetUnionbranch

public void unsetUnionbranch()

getDiscriminator

public javax.xml.namespace.QName getDiscriminator()
Gets the value of the discriminator property.

Returns:
possible object is QName

setDiscriminator

public void setDiscriminator(javax.xml.namespace.QName value)
Sets the value of the discriminator property.

Parameters:
value - allowed object is QName

isSetDiscriminator

public boolean isSetDiscriminator()

YOKO API

-