Apache CXF API

org.apache.cxf.binding.corba.wsdl
Class Union

java.lang.Object
  extended by org.apache.cxf.binding.corba.wsdl.CorbaType
      extended by org.apache.cxf.binding.corba.wsdl.CorbaTypeImpl
          extended by org.apache.cxf.binding.corba.wsdl.NamedType
              extended by org.apache.cxf.binding.corba.wsdl.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://cxf.apache.org/bindings/corba}namedType">
       <sequence>
         <element name="unionbranch" type="{http://cxf.apache.org/bindings/corba}unionbranch" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="discriminator" use="required" type="{http://www.w3.org/2001/XMLSchema}QName" />
       <attribute name="nillable" type="{http://www.w3.org/2001/XMLSchema}boolean" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  QName discriminator
           
protected  Boolean nillable
           
protected  List<Unionbranch> unionbranch
           
 
Fields inherited from class org.apache.cxf.binding.corba.wsdl.NamedType
repositoryID
 
Fields inherited from class org.apache.cxf.binding.corba.wsdl.CorbaTypeImpl
name
 
Fields inherited from class org.apache.cxf.binding.corba.wsdl.CorbaType
qualified, type
 
Constructor Summary
Union()
           
 
Method Summary
 QName getDiscriminator()
          Gets the value of the discriminator property.
 List<Unionbranch> getUnionbranch()
          Gets the value of the unionbranch property.
 boolean isNillable()
          Gets the value of the nillable property.
 boolean isSetDiscriminator()
           
 boolean isSetNillable()
           
 boolean isSetUnionbranch()
           
 void setDiscriminator(QName value)
          Sets the value of the discriminator property.
 void setNillable(boolean value)
          Sets the value of the nillable property.
 void unsetNillable()
           
 void unsetUnionbranch()
           
 
Methods inherited from class org.apache.cxf.binding.corba.wsdl.NamedType
getRepositoryID, isSetRepositoryID, setRepositoryID
 
Methods inherited from class org.apache.cxf.binding.corba.wsdl.CorbaTypeImpl
getQName, isSetQName, setQName
 
Methods inherited from class org.apache.cxf.binding.corba.wsdl.CorbaType
getName, getType, isQualified, isSetName, isSetQualified, isSetType, setName, setQualified, setType, unsetQualified
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

unionbranch

protected List<Unionbranch> unionbranch

discriminator

protected QName discriminator

nillable

protected Boolean nillable
Constructor Detail

Union

public Union()
Method Detail

getUnionbranch

public 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 QName getDiscriminator()
Gets the value of the discriminator property.

Returns:
possible object is QName

setDiscriminator

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

Parameters:
value - allowed object is QName

isSetDiscriminator

public boolean isSetDiscriminator()

isNillable

public boolean isNillable()
Gets the value of the nillable property.

Returns:
possible object is Boolean

setNillable

public void setNillable(boolean value)
Sets the value of the nillable property.

Parameters:
value - allowed object is Boolean

isSetNillable

public boolean isSetNillable()

unsetNillable

public void unsetNillable()

Apache CXF API

Apache CXF