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;
 

Java class for tPort complex type.

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

 <complexType name="tPort">
   <complexContent>
     <extension base="{http://schemas.xmlsoap.org/wsdl/}tExtensibleDocumented">
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
       <attribute name="binding" use="required" type="{http://www.w3.org/2001/XMLSchema}QName" />
     </extension>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "tPort")
 public class TPort
     extends TExtensibleDocumented
     implements EqualsHashCodeToString
 {
 
     @XmlAttribute(required = true)
     @XmlSchemaType(name = "NCName")
     protected String name;
     @XmlAttribute(required = true)
     protected QName binding;

    
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;
     }

    
Gets the value of the binding property.

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

    
Sets the value of the binding property.

Parameters:
value allowed object is
    public void setBinding(QName value) {
        this. = value;
    }
    public void toString(ToStringBuilder toStringBuilder) {
        super.toString(toStringBuilder);
        {
            String theName;
            theName = this.getName();
            toStringBuilder.append("name"theName);
        }
        {
            QName theBinding;
            theBinding = this.getBinding();
            toStringBuilder.append("binding"theBinding);
        }
    }
    public String toString() {
        final ToStringBuilder toStringBuilder = new JAXBToStringBuilder(this);
        toString(toStringBuilder);
        return toStringBuilder.toString();
    }
    public void equals(Object objectEqualsBuilder equalsBuilder) {
        if (!(object instanceof TPort)) {
            equalsBuilder.appendSuper(false);
            return ;
        }
        if (this == object) {
            return ;
        }
        super.equals(objectequalsBuilder);
        final TPort that = ((TPortobject);
        equalsBuilder.append(this.getName(), that.getName());
        equalsBuilder.append(this.getBinding(), that.getBinding());
    }
    public boolean equals(Object object) {
        if (!(object instanceof TPort)) {
            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.getName());
        hashCodeBuilder.append(this.getBinding());
    }
    public int hashCode() {
        final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
        hashCode(hashCodeBuilder);
        return hashCodeBuilder.toHashCode();
    }
New to GrepCode? Check out our FAQ X