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: 2015.02.11 at 07:40:19 PM EST 
  //
  
  
  package org.apache.cxf.binding.corba.wsdl;
 
 import java.util.List;
CORBA Operation Type

Java class for operationType complex type.

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

 <complexType name="operationType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="param" type="{http://cxf.apache.org/bindings/corba}paramType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="return" type="{http://cxf.apache.org/bindings/corba}argType" minOccurs="0"/>
         <element name="raises" type="{http://cxf.apache.org/bindings/corba}raisesType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "operationType", propOrder = {
     "param",
     "_return",
     "raises"
 })
 public class OperationType {
 
     protected List<ParamTypeparam;
     @XmlElement(name = "return")
     protected ArgType _return;
     protected List<RaisesTyperaises;
     @XmlAttribute(name = "name", required = true)
     protected String name;

    
Gets the value of the param 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 param property.

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

    getParam().add(newItem);
 

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

 
     public List<ParamTypegetParam() {
         if ( == null) {
              = new ArrayList<ParamType>();
         }
         return this.;
     }
 
     public boolean isSetParam() {
         return ((this.!= null)&&(!this..isEmpty()));
     }
 
     public void unsetParam() {
         this. = null;
     }

    
Gets the value of the return property.

Returns:
possible object is
    public ArgType getReturn() {
        return ;
    }

    
Sets the value of the return property.

Parameters:
value allowed object is
    public void setReturn(ArgType value) {
        this. = value;
    }
    public boolean isSetReturn() {
        return (this.!= null);
    }

    
Gets the value of the raises 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 raises property.

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

    getRaises().add(newItem);
 

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

    public List<RaisesTypegetRaises() {
        if ( == null) {
             = new ArrayList<RaisesType>();
        }
        return this.;
    }
    public boolean isSetRaises() {
        return ((this.!= null)&&(!this..isEmpty()));
    }
    public void unsetRaises() {
        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);
    }
New to GrepCode? Check out our FAQ X