Unionbranch.java

//
// This file was generated by the Eclipse Implementation of JAXB, v4.0.5 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
//


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

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


/**
 * <p>Java class for unionbranch complex type</p>.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.</p>
 * 
 * <pre>{@code
 * <complexType name="unionbranch">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="case" type="{http://cxf.apache.org/bindings/corba}caseType" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="idltype" use="required" type="{http://www.w3.org/2001/XMLSchema}QName" />
 *       <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="qualified" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * }</pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "unionbranch", namespace = "http://cxf.apache.org/bindings/corba", propOrder = {
    "_case"
})
public class Unionbranch {

    @XmlElement(name = "case", namespace = "http://cxf.apache.org/bindings/corba")
    protected List<CaseType> _case;
    @XmlAttribute(name = "name", required = true)
    protected String name;
    @XmlAttribute(name = "idltype", required = true)
    protected QName idltype;
    @XmlAttribute(name = "default")
    protected Boolean _default;
    @XmlAttribute(name = "qualified")
    protected Boolean qualified;

    /**
     * Gets the value of the case property.
     * 
     * <p>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 <CODE>set</CODE> method for the case property.</p>
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * </p>
     * <pre>
     * getCase().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link CaseType }
     * </p>
     * 
     * 
     * @return
     *     The value of the case property.
     */
    public List<CaseType> getCase() {
        if (_case == null) {
            _case = new ArrayList<>();
        }
        return this._case;
    }

    public boolean isSetCase() {
        return ((this._case!= null)&&(!this._case.isEmpty()));
    }

    public void unsetCase() {
        this._case = null;
    }

    /**
     * Gets the value of the name property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getName() {
        return name;
    }

    /**
     * Sets the value of the name property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setName(String value) {
        this.name = value;
    }

    public boolean isSetName() {
        return (this.name!= null);
    }

    /**
     * Gets the value of the idltype property.
     * 
     * @return
     *     possible object is
     *     {@link QName }
     *     
     */
    public QName getIdltype() {
        return idltype;
    }

    /**
     * Sets the value of the idltype property.
     * 
     * @param value
     *     allowed object is
     *     {@link QName }
     *     
     */
    public void setIdltype(QName value) {
        this.idltype = value;
    }

    public boolean isSetIdltype() {
        return (this.idltype!= null);
    }

    /**
     * Gets the value of the default property.
     * 
     * @return
     *     possible object is
     *     {@link Boolean }
     *     
     */
    public boolean isDefault() {
        return _default;
    }

    /**
     * Sets the value of the default property.
     * 
     * @param value
     *     allowed object is
     *     {@link Boolean }
     *     
     */
    public void setDefault(boolean value) {
        this._default = value;
    }

    public boolean isSetDefault() {
        return (this._default!= null);
    }

    public void unsetDefault() {
        this._default = null;
    }

    /**
     * Gets the value of the qualified property.
     * 
     * @return
     *     possible object is
     *     {@link Boolean }
     *     
     */
    public boolean isQualified() {
        return qualified;
    }

    /**
     * Sets the value of the qualified property.
     * 
     * @param value
     *     allowed object is
     *     {@link Boolean }
     *     
     */
    public void setQualified(boolean value) {
        this.qualified = value;
    }

    public boolean isSetQualified() {
        return (this.qualified!= null);
    }

    public void unsetQualified() {
        this.qualified = null;
    }

}