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, vhudson-jaxb-ri-2.1-792 
  // 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: 2009.09.10 at 10:11:39 AM CEST 
  //
  
  
  package org.ow2.easywsdl.wsdl.org.xmlsoap.schemas.wsdl;
 
 import java.util.List;

Java class for tBindingOperation complex type.

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

 <complexType name="tBindingOperation">
   <complexContent>
     <extension base="{http://schemas.xmlsoap.org/wsdl/}tExtensibleDocumented">
       <sequence>
         <element name="input" type="{http://schemas.xmlsoap.org/wsdl/}tBindingOperationMessage" minOccurs="0"/>
         <element name="output" type="{http://schemas.xmlsoap.org/wsdl/}tBindingOperationMessage" minOccurs="0"/>
         <element name="fault" type="{http://schemas.xmlsoap.org/wsdl/}tBindingOperationFault" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
     </extension>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "tBindingOperation", propOrder = {
     "input",
     "output",
     "fault"
 })
 public class TBindingOperation
     extends TExtensibleDocumented
     implements EqualsHashCodeToString
 {
 
     protected TBindingOperationMessage input;
     protected TBindingOperationMessage output;
     protected List<TBindingOperationFaultfault;
     @XmlAttribute(required = true)
     @XmlSchemaType(name = "NCName")
     protected String name;

    
Gets the value of the input property.

Returns:
possible object is
 
     public TBindingOperationMessage getInput() {
         return ;
     }

    
Sets the value of the input property.

Parameters:
value allowed object is
 
     public void setInput(TBindingOperationMessage value) {
         this. = value;
     }

    
Gets the value of the output property.

Returns:
possible object is
        return ;
    }

    
Sets the value of the output property.

Parameters:
value allowed object is
    public void setOutput(TBindingOperationMessage value) {
        this. = value;
    }

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

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

    getFault().add(newItem);
 

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

    public List<TBindingOperationFaultgetFault() {
        if ( == null) {
             = new ArrayList<TBindingOperationFault>();
        }
        return this.;
    }

    
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 void toString(ToStringBuilder toStringBuilder) {
        super.toString(toStringBuilder);
        {
            TBindingOperationMessage theInput;
            theInput = this.getInput();
            toStringBuilder.append("input"theInput);
        }
        {
            TBindingOperationMessage theOutput;
            theOutput = this.getOutput();
            toStringBuilder.append("output"theOutput);
        }
        {
            List<TBindingOperationFaulttheFault;
            theFault = this.getFault();
            toStringBuilder.append("fault"theFault);
        }
        {
            String theName;
            theName = this.getName();
            toStringBuilder.append("name"theName);
        }
    }
    public String toString() {
        final ToStringBuilder toStringBuilder = new JAXBToStringBuilder(this);
        toString(toStringBuilder);
        return toStringBuilder.toString();
    }
    public void equals(Object objectEqualsBuilder equalsBuilder) {
        if (!(object instanceof TBindingOperation)) {
            equalsBuilder.appendSuper(false);
            return ;
        }
        if (this == object) {
            return ;
        }
        super.equals(objectequalsBuilder);
        final TBindingOperation that = ((TBindingOperationobject);
        equalsBuilder.append(this.getInput(), that.getInput());
        equalsBuilder.append(this.getOutput(), that.getOutput());
        equalsBuilder.append(this.getFault(), that.getFault());
        equalsBuilder.append(this.getName(), that.getName());
    }
    public boolean equals(Object object) {
        if (!(object instanceof TBindingOperation)) {
            return false;
        }
        if (this == object) {
            return true;
        }
        final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
        equals(objectequalsBuilder);
        return equalsBuilder.isEquals();
    }
    public void hashCode(HashCodeBuilder hashCodeBuilder) {
        super.hashCode(hashCodeBuilder);
        hashCodeBuilder.append(this.getInput());
        hashCodeBuilder.append(this.getOutput());
        hashCodeBuilder.append(this.getFault());
        hashCodeBuilder.append(this.getName());
    }
    public int hashCode() {
        final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
        hashCode(hashCodeBuilder);
        return hashCodeBuilder.toHashCode();
    }
New to GrepCode? Check out our FAQ X