All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.allegro.webapi.CompanyInfoStruct Maven / Gradle / Ivy

There is a newer version: 0.0.6
Show newest version
/**
 * CompanyInfoStruct.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
 */

package com.allegro.webapi;

public class CompanyInfoStruct  implements java.io.Serializable {
    private java.lang.String companyFirstName;

    private java.lang.String companyLastName;

    private java.lang.String companyName;

    private java.lang.String companyAddress;

    private java.lang.String companyPostcode;

    private java.lang.String companyCity;

    private java.lang.String companyNip;

    public CompanyInfoStruct() {
    }

    public CompanyInfoStruct(
           java.lang.String companyFirstName,
           java.lang.String companyLastName,
           java.lang.String companyName,
           java.lang.String companyAddress,
           java.lang.String companyPostcode,
           java.lang.String companyCity,
           java.lang.String companyNip) {
           this.companyFirstName = companyFirstName;
           this.companyLastName = companyLastName;
           this.companyName = companyName;
           this.companyAddress = companyAddress;
           this.companyPostcode = companyPostcode;
           this.companyCity = companyCity;
           this.companyNip = companyNip;
    }


    /**
     * Gets the companyFirstName value for this CompanyInfoStruct.
     * 
     * @return companyFirstName
     */
    public java.lang.String getCompanyFirstName() {
        return companyFirstName;
    }


    /**
     * Sets the companyFirstName value for this CompanyInfoStruct.
     * 
     * @param companyFirstName
     */
    public void setCompanyFirstName(java.lang.String companyFirstName) {
        this.companyFirstName = companyFirstName;
    }


    /**
     * Gets the companyLastName value for this CompanyInfoStruct.
     * 
     * @return companyLastName
     */
    public java.lang.String getCompanyLastName() {
        return companyLastName;
    }


    /**
     * Sets the companyLastName value for this CompanyInfoStruct.
     * 
     * @param companyLastName
     */
    public void setCompanyLastName(java.lang.String companyLastName) {
        this.companyLastName = companyLastName;
    }


    /**
     * Gets the companyName value for this CompanyInfoStruct.
     * 
     * @return companyName
     */
    public java.lang.String getCompanyName() {
        return companyName;
    }


    /**
     * Sets the companyName value for this CompanyInfoStruct.
     * 
     * @param companyName
     */
    public void setCompanyName(java.lang.String companyName) {
        this.companyName = companyName;
    }


    /**
     * Gets the companyAddress value for this CompanyInfoStruct.
     * 
     * @return companyAddress
     */
    public java.lang.String getCompanyAddress() {
        return companyAddress;
    }


    /**
     * Sets the companyAddress value for this CompanyInfoStruct.
     * 
     * @param companyAddress
     */
    public void setCompanyAddress(java.lang.String companyAddress) {
        this.companyAddress = companyAddress;
    }


    /**
     * Gets the companyPostcode value for this CompanyInfoStruct.
     * 
     * @return companyPostcode
     */
    public java.lang.String getCompanyPostcode() {
        return companyPostcode;
    }


    /**
     * Sets the companyPostcode value for this CompanyInfoStruct.
     * 
     * @param companyPostcode
     */
    public void setCompanyPostcode(java.lang.String companyPostcode) {
        this.companyPostcode = companyPostcode;
    }


    /**
     * Gets the companyCity value for this CompanyInfoStruct.
     * 
     * @return companyCity
     */
    public java.lang.String getCompanyCity() {
        return companyCity;
    }


    /**
     * Sets the companyCity value for this CompanyInfoStruct.
     * 
     * @param companyCity
     */
    public void setCompanyCity(java.lang.String companyCity) {
        this.companyCity = companyCity;
    }


    /**
     * Gets the companyNip value for this CompanyInfoStruct.
     * 
     * @return companyNip
     */
    public java.lang.String getCompanyNip() {
        return companyNip;
    }


    /**
     * Sets the companyNip value for this CompanyInfoStruct.
     * 
     * @param companyNip
     */
    public void setCompanyNip(java.lang.String companyNip) {
        this.companyNip = companyNip;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof CompanyInfoStruct)) return false;
        CompanyInfoStruct other = (CompanyInfoStruct) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((this.companyFirstName==null && other.getCompanyFirstName()==null) || 
             (this.companyFirstName!=null &&
              this.companyFirstName.equals(other.getCompanyFirstName()))) &&
            ((this.companyLastName==null && other.getCompanyLastName()==null) || 
             (this.companyLastName!=null &&
              this.companyLastName.equals(other.getCompanyLastName()))) &&
            ((this.companyName==null && other.getCompanyName()==null) || 
             (this.companyName!=null &&
              this.companyName.equals(other.getCompanyName()))) &&
            ((this.companyAddress==null && other.getCompanyAddress()==null) || 
             (this.companyAddress!=null &&
              this.companyAddress.equals(other.getCompanyAddress()))) &&
            ((this.companyPostcode==null && other.getCompanyPostcode()==null) || 
             (this.companyPostcode!=null &&
              this.companyPostcode.equals(other.getCompanyPostcode()))) &&
            ((this.companyCity==null && other.getCompanyCity()==null) || 
             (this.companyCity!=null &&
              this.companyCity.equals(other.getCompanyCity()))) &&
            ((this.companyNip==null && other.getCompanyNip()==null) || 
             (this.companyNip!=null &&
              this.companyNip.equals(other.getCompanyNip())));
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        if (getCompanyFirstName() != null) {
            _hashCode += getCompanyFirstName().hashCode();
        }
        if (getCompanyLastName() != null) {
            _hashCode += getCompanyLastName().hashCode();
        }
        if (getCompanyName() != null) {
            _hashCode += getCompanyName().hashCode();
        }
        if (getCompanyAddress() != null) {
            _hashCode += getCompanyAddress().hashCode();
        }
        if (getCompanyPostcode() != null) {
            _hashCode += getCompanyPostcode().hashCode();
        }
        if (getCompanyCity() != null) {
            _hashCode += getCompanyCity().hashCode();
        }
        if (getCompanyNip() != null) {
            _hashCode += getCompanyNip().hashCode();
        }
        __hashCodeCalc = false;
        return _hashCode;
    }

    // Type metadata
    private static org.apache.axis.description.TypeDesc typeDesc =
        new org.apache.axis.description.TypeDesc(CompanyInfoStruct.class, true);

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "CompanyInfoStruct"));
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("companyFirstName");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "companyFirstName"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("companyLastName");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "companyLastName"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("companyName");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "companyName"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("companyAddress");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "companyAddress"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("companyPostcode");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "companyPostcode"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("companyCity");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "companyCity"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("companyNip");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "companyNip"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
    }

    /**
     * Return type metadata object
     */
    public static org.apache.axis.description.TypeDesc getTypeDesc() {
        return typeDesc;
    }

    /**
     * Get Custom Serializer
     */
    public static org.apache.axis.encoding.Serializer getSerializer(
           java.lang.String mechType, 
           java.lang.Class _javaType,  
           javax.xml.namespace.QName _xmlType) {
        return 
          new  org.apache.axis.encoding.ser.BeanSerializer(
            _javaType, _xmlType, typeDesc);
    }

    /**
     * Get Custom Deserializer
     */
    public static org.apache.axis.encoding.Deserializer getDeserializer(
           java.lang.String mechType, 
           java.lang.Class _javaType,  
           javax.xml.namespace.QName _xmlType) {
        return 
          new  org.apache.axis.encoding.ser.BeanDeserializer(
            _javaType, _xmlType, typeDesc);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy