Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  //
  // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.10-b140310.1920 
  // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
  // Any modifications to this file will be lost upon recompilation of the source schema. 
  // Generated on: 2014.10.07 at 03:51:15 PM EDT 
  //
  
  
  package org.apache.cxf.binding.corba.wsdl;
 
 import java.util.List;

Java class for unionbranch complex type.

The following schema fragment specifies the expected content contained within this class.

 <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>
 
 
 @XmlType(name = "unionbranch", propOrder = {
     "_case"
 })
 public class Unionbranch {
 
     @XmlElement(name = "case")
     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.

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 case property.

For example, to add a new item, do as follows:

    getCase().add(newItem);
 

Objects of the following type(s) are allowed in the list

 
     public List<CaseTypegetCase() {
         if ( == null) {
              = new ArrayList<CaseType>();
         }
         return this.;
     }
 
     public boolean isSetCase() {
         return ((this.!= null)&&(!this..isEmpty()));
     }
 
     public void unsetCase() {
         this. = null;
     }

    
Gets the value of the name property.

Returns:
possible object is
    public String getName() {
        return ;
    }

    
Sets the value of the name property.

Parameters:
value allowed object is
    public void setName(String value) {
        this. = value;
    }
    public boolean isSetName() {
        return (this.!= null);
    }

    
Gets the value of the idltype property.

Returns:
possible object is
    public QName getIdltype() {
        return ;
    }

    
Sets the value of the idltype property.

Parameters:
value allowed object is
    public void setIdltype(QName value) {
        this. = value;
    }
    public boolean isSetIdltype() {
        return (this.!= null);
    }

    
Gets the value of the default property.

Returns:
possible object is
    public boolean isDefault() {
        return ;
    }

    
Sets the value of the default property.

Parameters:
value allowed object is
    public void setDefault(boolean value) {
        this. = value;
    }
    public boolean isSetDefault() {
        return (this.!= null);
    }
    public void unsetDefault() {
        this. = null;
    }

    
Gets the value of the qualified property.

Returns:
possible object is
    public boolean isQualified() {
        return ;
    }

    
Sets the value of the qualified property.

Parameters:
value allowed object is
    public void setQualified(boolean value) {
        this. = value;
    }
    public boolean isSetQualified() {
        return (this.!= null);
    }
    public void unsetQualified() {
        this. = null;
    }
New to GrepCode? Check out our FAQ X