Class Union
- java.lang.Object
-
- org.apache.cxf.binding.corba.wsdl.CorbaTypeImpl
-
- org.apache.cxf.binding.corba.wsdl.CorbaType
-
- org.apache.cxf.binding.corba.wsdl.NamedType
-
- 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
Fields Modifier and Type Field Description protected QNamediscriminatorprotected Booleannillableprotected 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
qname
-
-
Constructor Summary
Constructors Constructor Description Union()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QNamegetDiscriminator()Gets the value of the discriminator property.List<Unionbranch>getUnionbranch()Gets the value of the unionbranch property.booleanisNillable()Gets the value of the nillable property.booleanisSetDiscriminator()booleanisSetNillable()booleanisSetUnionbranch()voidsetDiscriminator(QName value)Sets the value of the discriminator property.voidsetNillable(boolean value)Sets the value of the nillable property.voidunsetNillable()voidunsetUnionbranch()-
Methods inherited from class org.apache.cxf.binding.corba.wsdl.NamedType
getRepositoryID, isSetRepositoryID, setRepositoryID
-
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 org.apache.cxf.binding.corba.wsdl.CorbaTypeImpl
getQName, isSetQName, setQName
-
-
-
-
Field Detail
-
unionbranch
protected List<Unionbranch> unionbranch
-
discriminator
protected QName discriminator
-
nillable
protected Boolean nillable
-
-
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
setmethod 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 isQName
-
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 isBoolean
-
isSetNillable
public boolean isSetNillable()
-
unsetNillable
public void unsetNillable()
-
-