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 tImport complex type.

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

 <complexType name="tImport">
   <complexContent>
     <extension base="{http://schemas.xmlsoap.org/wsdl/}tExtensibleAttributesDocumented">
       <attribute name="namespace" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
       <attribute name="location" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
       <anyAttribute processContents='lax' namespace='##other'/>
     </extension>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "tImport")
 public class TImport
     implements EqualsHashCodeToString
 {
 
     @XmlAttribute(required = true)
     @XmlSchemaType(name = "anyURI")
     protected String namespace;
     @XmlAttribute(required = true)
     @XmlSchemaType(name = "anyURI")
     protected String location;

    
Gets the value of the namespace property.

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

    
Sets the value of the namespace property.

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

    
Gets the value of the location property.

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

    
Sets the value of the location property.

Parameters:
value allowed object is
    public void setLocation(String value) {
        this. = value;
    }
    public void toString(ToStringBuilder toStringBuilder) {
        super.toString(toStringBuilder);
        {
            String theNamespace;
            theNamespace = this.getNamespace();
            toStringBuilder.append("namespace"theNamespace);
        }
        {
            String theLocation;
            theLocation = this.getLocation();
            toStringBuilder.append("location"theLocation);
        }
    }
    public String toString() {
        final ToStringBuilder toStringBuilder = new JAXBToStringBuilder(this);
        toString(toStringBuilder);
        return toStringBuilder.toString();
    }
    public void equals(Object objectEqualsBuilder equalsBuilder) {
        if (!(object instanceof TImport)) {
            equalsBuilder.appendSuper(false);
            return ;
        }
        if (this == object) {
            return ;
        }
        super.equals(objectequalsBuilder);
        final TImport that = ((TImportobject);
        equalsBuilder.append(this.getNamespace(), that.getNamespace());
        equalsBuilder.append(this.getLocation(), that.getLocation());
    }
    public boolean equals(Object object) {
        if (!(object instanceof TImport)) {
            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.getNamespace());
        hashCodeBuilder.append(this.getLocation());
    }
    public int hashCode() {
        final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
        hashCode(hashCodeBuilder);
        return hashCodeBuilder.toHashCode();
    }
New to GrepCode? Check out our FAQ X