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>
| Modifier and Type | Field and Description |
|---|---|
protected QName |
discriminator |
protected Boolean |
nillable |
protected List<Unionbranch> |
unionbranch |
repositoryIDqname| Constructor and Description |
|---|
Union() |
| Modifier and Type | Method and Description |
|---|---|
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() |
getRepositoryID, isSetRepositoryID, setRepositoryIDgetName, getType, isQualified, isSetName, isSetQualified, isSetType, setName, setQualified, setType, unsetQualifiedgetQName, isSetQName, setQNameprotected List<Unionbranch> unionbranch
protected QName discriminator
protected Boolean nillable
public List<Unionbranch> getUnionbranch()
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
public boolean isSetUnionbranch()
public void unsetUnionbranch()
public QName getDiscriminator()
QNamepublic void setDiscriminator(QName value)
value - allowed object is
QNamepublic boolean isSetDiscriminator()
public boolean isNillable()
Booleanpublic void setNillable(boolean value)
value - allowed object is
Booleanpublic boolean isSetNillable()
public void unsetNillable()
Apache CXF