All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.cxf.binding.corba.wsdl.Union Maven / Gradle / Ivy

There is a newer version: 3.0.0-milestone2
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2012.04.12 at 01:36:17 PM EDT 
//


package org.apache.cxf.binding.corba.wsdl;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.namespace.QName;


/**
 * 

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>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "union", propOrder = { "unionbranch" }) public class Union extends NamedType { @XmlElement(required = true) protected List unionbranch; @XmlAttribute(name = "discriminator", required = true) protected QName discriminator; @XmlAttribute(name = "nillable") protected Boolean nillable; /** * 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 * {@link Unionbranch } * * */ public List getUnionbranch() { if (unionbranch == null) { unionbranch = new ArrayList(); } return this.unionbranch; } public boolean isSetUnionbranch() { return ((this.unionbranch!= null)&&(!this.unionbranch.isEmpty())); } public void unsetUnionbranch() { this.unionbranch = null; } /** * Gets the value of the discriminator property. * * @return * possible object is * {@link QName } * */ public QName getDiscriminator() { return discriminator; } /** * Sets the value of the discriminator property. * * @param value * allowed object is * {@link QName } * */ public void setDiscriminator(QName value) { this.discriminator = value; } public boolean isSetDiscriminator() { return (this.discriminator!= null); } /** * Gets the value of the nillable property. * * @return * possible object is * {@link Boolean } * */ public boolean isNillable() { return nillable; } /** * Sets the value of the nillable property. * * @param value * allowed object is * {@link Boolean } * */ public void setNillable(boolean value) { this.nillable = value; } public boolean isSetNillable() { return (this.nillable!= null); } public void unsetNillable() { this.nillable = null; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy