Class 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>
     
    • 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()