org.apache.schemas.yoko.bindings.corba
Class Union
java.lang.Object
org.apache.schemas.yoko.bindings.corba.CorbaType
org.apache.yoko.wsdl.CorbaTypeImpl
org.apache.schemas.yoko.bindings.corba.NamedType
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>
Fields inherited from class org.apache.schemas.yoko.bindings.corba.CorbaType |
type |
Constructor Summary |
Union()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
unionbranch
protected java.util.List<Unionbranch> unionbranch
discriminator
protected javax.xml.namespace.QName discriminator
Union
public Union()
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()
-