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

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

There is a newer version: 0.0.6
Show newest version
/**
 * MyContactList.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 MyContactList  implements java.io.Serializable {
    private int contactUserId;

    private java.lang.String contactNick;

    private java.lang.String contactFirstName;

    private java.lang.String contactLastName;

    private java.lang.String contactCompany;

    private java.lang.String contactEmail;

    private java.lang.String contactStreet;

    private java.lang.String contactPostcode;

    private java.lang.String contactCity;

    private java.lang.String contactCountry;

    private java.lang.String contactPhone;

    private java.lang.String contactPhone2;

    private java.lang.String contactRating;

    private java.lang.String contactBlocked;

    public MyContactList() {
    }

    public MyContactList(
           int contactUserId,
           java.lang.String contactNick,
           java.lang.String contactFirstName,
           java.lang.String contactLastName,
           java.lang.String contactCompany,
           java.lang.String contactEmail,
           java.lang.String contactStreet,
           java.lang.String contactPostcode,
           java.lang.String contactCity,
           java.lang.String contactCountry,
           java.lang.String contactPhone,
           java.lang.String contactPhone2,
           java.lang.String contactRating,
           java.lang.String contactBlocked) {
           this.contactUserId = contactUserId;
           this.contactNick = contactNick;
           this.contactFirstName = contactFirstName;
           this.contactLastName = contactLastName;
           this.contactCompany = contactCompany;
           this.contactEmail = contactEmail;
           this.contactStreet = contactStreet;
           this.contactPostcode = contactPostcode;
           this.contactCity = contactCity;
           this.contactCountry = contactCountry;
           this.contactPhone = contactPhone;
           this.contactPhone2 = contactPhone2;
           this.contactRating = contactRating;
           this.contactBlocked = contactBlocked;
    }


    /**
     * Gets the contactUserId value for this MyContactList.
     * 
     * @return contactUserId
     */
    public int getContactUserId() {
        return contactUserId;
    }


    /**
     * Sets the contactUserId value for this MyContactList.
     * 
     * @param contactUserId
     */
    public void setContactUserId(int contactUserId) {
        this.contactUserId = contactUserId;
    }


    /**
     * Gets the contactNick value for this MyContactList.
     * 
     * @return contactNick
     */
    public java.lang.String getContactNick() {
        return contactNick;
    }


    /**
     * Sets the contactNick value for this MyContactList.
     * 
     * @param contactNick
     */
    public void setContactNick(java.lang.String contactNick) {
        this.contactNick = contactNick;
    }


    /**
     * Gets the contactFirstName value for this MyContactList.
     * 
     * @return contactFirstName
     */
    public java.lang.String getContactFirstName() {
        return contactFirstName;
    }


    /**
     * Sets the contactFirstName value for this MyContactList.
     * 
     * @param contactFirstName
     */
    public void setContactFirstName(java.lang.String contactFirstName) {
        this.contactFirstName = contactFirstName;
    }


    /**
     * Gets the contactLastName value for this MyContactList.
     * 
     * @return contactLastName
     */
    public java.lang.String getContactLastName() {
        return contactLastName;
    }


    /**
     * Sets the contactLastName value for this MyContactList.
     * 
     * @param contactLastName
     */
    public void setContactLastName(java.lang.String contactLastName) {
        this.contactLastName = contactLastName;
    }


    /**
     * Gets the contactCompany value for this MyContactList.
     * 
     * @return contactCompany
     */
    public java.lang.String getContactCompany() {
        return contactCompany;
    }


    /**
     * Sets the contactCompany value for this MyContactList.
     * 
     * @param contactCompany
     */
    public void setContactCompany(java.lang.String contactCompany) {
        this.contactCompany = contactCompany;
    }


    /**
     * Gets the contactEmail value for this MyContactList.
     * 
     * @return contactEmail
     */
    public java.lang.String getContactEmail() {
        return contactEmail;
    }


    /**
     * Sets the contactEmail value for this MyContactList.
     * 
     * @param contactEmail
     */
    public void setContactEmail(java.lang.String contactEmail) {
        this.contactEmail = contactEmail;
    }


    /**
     * Gets the contactStreet value for this MyContactList.
     * 
     * @return contactStreet
     */
    public java.lang.String getContactStreet() {
        return contactStreet;
    }


    /**
     * Sets the contactStreet value for this MyContactList.
     * 
     * @param contactStreet
     */
    public void setContactStreet(java.lang.String contactStreet) {
        this.contactStreet = contactStreet;
    }


    /**
     * Gets the contactPostcode value for this MyContactList.
     * 
     * @return contactPostcode
     */
    public java.lang.String getContactPostcode() {
        return contactPostcode;
    }


    /**
     * Sets the contactPostcode value for this MyContactList.
     * 
     * @param contactPostcode
     */
    public void setContactPostcode(java.lang.String contactPostcode) {
        this.contactPostcode = contactPostcode;
    }


    /**
     * Gets the contactCity value for this MyContactList.
     * 
     * @return contactCity
     */
    public java.lang.String getContactCity() {
        return contactCity;
    }


    /**
     * Sets the contactCity value for this MyContactList.
     * 
     * @param contactCity
     */
    public void setContactCity(java.lang.String contactCity) {
        this.contactCity = contactCity;
    }


    /**
     * Gets the contactCountry value for this MyContactList.
     * 
     * @return contactCountry
     */
    public java.lang.String getContactCountry() {
        return contactCountry;
    }


    /**
     * Sets the contactCountry value for this MyContactList.
     * 
     * @param contactCountry
     */
    public void setContactCountry(java.lang.String contactCountry) {
        this.contactCountry = contactCountry;
    }


    /**
     * Gets the contactPhone value for this MyContactList.
     * 
     * @return contactPhone
     */
    public java.lang.String getContactPhone() {
        return contactPhone;
    }


    /**
     * Sets the contactPhone value for this MyContactList.
     * 
     * @param contactPhone
     */
    public void setContactPhone(java.lang.String contactPhone) {
        this.contactPhone = contactPhone;
    }


    /**
     * Gets the contactPhone2 value for this MyContactList.
     * 
     * @return contactPhone2
     */
    public java.lang.String getContactPhone2() {
        return contactPhone2;
    }


    /**
     * Sets the contactPhone2 value for this MyContactList.
     * 
     * @param contactPhone2
     */
    public void setContactPhone2(java.lang.String contactPhone2) {
        this.contactPhone2 = contactPhone2;
    }


    /**
     * Gets the contactRating value for this MyContactList.
     * 
     * @return contactRating
     */
    public java.lang.String getContactRating() {
        return contactRating;
    }


    /**
     * Sets the contactRating value for this MyContactList.
     * 
     * @param contactRating
     */
    public void setContactRating(java.lang.String contactRating) {
        this.contactRating = contactRating;
    }


    /**
     * Gets the contactBlocked value for this MyContactList.
     * 
     * @return contactBlocked
     */
    public java.lang.String getContactBlocked() {
        return contactBlocked;
    }


    /**
     * Sets the contactBlocked value for this MyContactList.
     * 
     * @param contactBlocked
     */
    public void setContactBlocked(java.lang.String contactBlocked) {
        this.contactBlocked = contactBlocked;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof MyContactList)) return false;
        MyContactList other = (MyContactList) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            this.contactUserId == other.getContactUserId() &&
            ((this.contactNick==null && other.getContactNick()==null) || 
             (this.contactNick!=null &&
              this.contactNick.equals(other.getContactNick()))) &&
            ((this.contactFirstName==null && other.getContactFirstName()==null) || 
             (this.contactFirstName!=null &&
              this.contactFirstName.equals(other.getContactFirstName()))) &&
            ((this.contactLastName==null && other.getContactLastName()==null) || 
             (this.contactLastName!=null &&
              this.contactLastName.equals(other.getContactLastName()))) &&
            ((this.contactCompany==null && other.getContactCompany()==null) || 
             (this.contactCompany!=null &&
              this.contactCompany.equals(other.getContactCompany()))) &&
            ((this.contactEmail==null && other.getContactEmail()==null) || 
             (this.contactEmail!=null &&
              this.contactEmail.equals(other.getContactEmail()))) &&
            ((this.contactStreet==null && other.getContactStreet()==null) || 
             (this.contactStreet!=null &&
              this.contactStreet.equals(other.getContactStreet()))) &&
            ((this.contactPostcode==null && other.getContactPostcode()==null) || 
             (this.contactPostcode!=null &&
              this.contactPostcode.equals(other.getContactPostcode()))) &&
            ((this.contactCity==null && other.getContactCity()==null) || 
             (this.contactCity!=null &&
              this.contactCity.equals(other.getContactCity()))) &&
            ((this.contactCountry==null && other.getContactCountry()==null) || 
             (this.contactCountry!=null &&
              this.contactCountry.equals(other.getContactCountry()))) &&
            ((this.contactPhone==null && other.getContactPhone()==null) || 
             (this.contactPhone!=null &&
              this.contactPhone.equals(other.getContactPhone()))) &&
            ((this.contactPhone2==null && other.getContactPhone2()==null) || 
             (this.contactPhone2!=null &&
              this.contactPhone2.equals(other.getContactPhone2()))) &&
            ((this.contactRating==null && other.getContactRating()==null) || 
             (this.contactRating!=null &&
              this.contactRating.equals(other.getContactRating()))) &&
            ((this.contactBlocked==null && other.getContactBlocked()==null) || 
             (this.contactBlocked!=null &&
              this.contactBlocked.equals(other.getContactBlocked())));
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        _hashCode += getContactUserId();
        if (getContactNick() != null) {
            _hashCode += getContactNick().hashCode();
        }
        if (getContactFirstName() != null) {
            _hashCode += getContactFirstName().hashCode();
        }
        if (getContactLastName() != null) {
            _hashCode += getContactLastName().hashCode();
        }
        if (getContactCompany() != null) {
            _hashCode += getContactCompany().hashCode();
        }
        if (getContactEmail() != null) {
            _hashCode += getContactEmail().hashCode();
        }
        if (getContactStreet() != null) {
            _hashCode += getContactStreet().hashCode();
        }
        if (getContactPostcode() != null) {
            _hashCode += getContactPostcode().hashCode();
        }
        if (getContactCity() != null) {
            _hashCode += getContactCity().hashCode();
        }
        if (getContactCountry() != null) {
            _hashCode += getContactCountry().hashCode();
        }
        if (getContactPhone() != null) {
            _hashCode += getContactPhone().hashCode();
        }
        if (getContactPhone2() != null) {
            _hashCode += getContactPhone2().hashCode();
        }
        if (getContactRating() != null) {
            _hashCode += getContactRating().hashCode();
        }
        if (getContactBlocked() != null) {
            _hashCode += getContactBlocked().hashCode();
        }
        __hashCodeCalc = false;
        return _hashCode;
    }

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

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "MyContactList"));
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("contactUserId");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "contactUserId"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("contactNick");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "contactNick"));
        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("contactFirstName");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "contactFirstName"));
        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("contactLastName");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "contactLastName"));
        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("contactCompany");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "contactCompany"));
        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("contactEmail");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "contactEmail"));
        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("contactStreet");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "contactStreet"));
        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("contactPostcode");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "contactPostcode"));
        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("contactCity");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "contactCity"));
        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("contactCountry");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "contactCountry"));
        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("contactPhone");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "contactPhone"));
        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("contactPhone2");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "contactPhone2"));
        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("contactRating");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "contactRating"));
        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("contactBlocked");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "contactBlocked"));
        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 - 2025 Weber Informatics LLC | Privacy Policy