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

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

There is a newer version: 0.0.6
Show newest version
/**
 * AlcoholDataStruct.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 AlcoholDataStruct  implements java.io.Serializable {
    private java.lang.String alcoholOpeningDate;

    private java.lang.String alcoholExpirationDate;

    private java.lang.String alcoholShopName;

    private java.lang.String alcoholShopAddress;

    private java.lang.String alcoholShopPostcode;

    private java.lang.String alcoholShopCity;

    private java.lang.String alcoholShopCommune;

    private int alcoholShopCountryId;

    private int alcoholShopStateId;

    private java.lang.String alcoholPermitNumber;

    private java.lang.String alcoholPermitAuthority;

    private java.lang.String alcoholPermitInfo;

    public AlcoholDataStruct() {
    }

    public AlcoholDataStruct(
           java.lang.String alcoholOpeningDate,
           java.lang.String alcoholExpirationDate,
           java.lang.String alcoholShopName,
           java.lang.String alcoholShopAddress,
           java.lang.String alcoholShopPostcode,
           java.lang.String alcoholShopCity,
           java.lang.String alcoholShopCommune,
           int alcoholShopCountryId,
           int alcoholShopStateId,
           java.lang.String alcoholPermitNumber,
           java.lang.String alcoholPermitAuthority,
           java.lang.String alcoholPermitInfo) {
           this.alcoholOpeningDate = alcoholOpeningDate;
           this.alcoholExpirationDate = alcoholExpirationDate;
           this.alcoholShopName = alcoholShopName;
           this.alcoholShopAddress = alcoholShopAddress;
           this.alcoholShopPostcode = alcoholShopPostcode;
           this.alcoholShopCity = alcoholShopCity;
           this.alcoholShopCommune = alcoholShopCommune;
           this.alcoholShopCountryId = alcoholShopCountryId;
           this.alcoholShopStateId = alcoholShopStateId;
           this.alcoholPermitNumber = alcoholPermitNumber;
           this.alcoholPermitAuthority = alcoholPermitAuthority;
           this.alcoholPermitInfo = alcoholPermitInfo;
    }


    /**
     * Gets the alcoholOpeningDate value for this AlcoholDataStruct.
     * 
     * @return alcoholOpeningDate
     */
    public java.lang.String getAlcoholOpeningDate() {
        return alcoholOpeningDate;
    }


    /**
     * Sets the alcoholOpeningDate value for this AlcoholDataStruct.
     * 
     * @param alcoholOpeningDate
     */
    public void setAlcoholOpeningDate(java.lang.String alcoholOpeningDate) {
        this.alcoholOpeningDate = alcoholOpeningDate;
    }


    /**
     * Gets the alcoholExpirationDate value for this AlcoholDataStruct.
     * 
     * @return alcoholExpirationDate
     */
    public java.lang.String getAlcoholExpirationDate() {
        return alcoholExpirationDate;
    }


    /**
     * Sets the alcoholExpirationDate value for this AlcoholDataStruct.
     * 
     * @param alcoholExpirationDate
     */
    public void setAlcoholExpirationDate(java.lang.String alcoholExpirationDate) {
        this.alcoholExpirationDate = alcoholExpirationDate;
    }


    /**
     * Gets the alcoholShopName value for this AlcoholDataStruct.
     * 
     * @return alcoholShopName
     */
    public java.lang.String getAlcoholShopName() {
        return alcoholShopName;
    }


    /**
     * Sets the alcoholShopName value for this AlcoholDataStruct.
     * 
     * @param alcoholShopName
     */
    public void setAlcoholShopName(java.lang.String alcoholShopName) {
        this.alcoholShopName = alcoholShopName;
    }


    /**
     * Gets the alcoholShopAddress value for this AlcoholDataStruct.
     * 
     * @return alcoholShopAddress
     */
    public java.lang.String getAlcoholShopAddress() {
        return alcoholShopAddress;
    }


    /**
     * Sets the alcoholShopAddress value for this AlcoholDataStruct.
     * 
     * @param alcoholShopAddress
     */
    public void setAlcoholShopAddress(java.lang.String alcoholShopAddress) {
        this.alcoholShopAddress = alcoholShopAddress;
    }


    /**
     * Gets the alcoholShopPostcode value for this AlcoholDataStruct.
     * 
     * @return alcoholShopPostcode
     */
    public java.lang.String getAlcoholShopPostcode() {
        return alcoholShopPostcode;
    }


    /**
     * Sets the alcoholShopPostcode value for this AlcoholDataStruct.
     * 
     * @param alcoholShopPostcode
     */
    public void setAlcoholShopPostcode(java.lang.String alcoholShopPostcode) {
        this.alcoholShopPostcode = alcoholShopPostcode;
    }


    /**
     * Gets the alcoholShopCity value for this AlcoholDataStruct.
     * 
     * @return alcoholShopCity
     */
    public java.lang.String getAlcoholShopCity() {
        return alcoholShopCity;
    }


    /**
     * Sets the alcoholShopCity value for this AlcoholDataStruct.
     * 
     * @param alcoholShopCity
     */
    public void setAlcoholShopCity(java.lang.String alcoholShopCity) {
        this.alcoholShopCity = alcoholShopCity;
    }


    /**
     * Gets the alcoholShopCommune value for this AlcoholDataStruct.
     * 
     * @return alcoholShopCommune
     */
    public java.lang.String getAlcoholShopCommune() {
        return alcoholShopCommune;
    }


    /**
     * Sets the alcoholShopCommune value for this AlcoholDataStruct.
     * 
     * @param alcoholShopCommune
     */
    public void setAlcoholShopCommune(java.lang.String alcoholShopCommune) {
        this.alcoholShopCommune = alcoholShopCommune;
    }


    /**
     * Gets the alcoholShopCountryId value for this AlcoholDataStruct.
     * 
     * @return alcoholShopCountryId
     */
    public int getAlcoholShopCountryId() {
        return alcoholShopCountryId;
    }


    /**
     * Sets the alcoholShopCountryId value for this AlcoholDataStruct.
     * 
     * @param alcoholShopCountryId
     */
    public void setAlcoholShopCountryId(int alcoholShopCountryId) {
        this.alcoholShopCountryId = alcoholShopCountryId;
    }


    /**
     * Gets the alcoholShopStateId value for this AlcoholDataStruct.
     * 
     * @return alcoholShopStateId
     */
    public int getAlcoholShopStateId() {
        return alcoholShopStateId;
    }


    /**
     * Sets the alcoholShopStateId value for this AlcoholDataStruct.
     * 
     * @param alcoholShopStateId
     */
    public void setAlcoholShopStateId(int alcoholShopStateId) {
        this.alcoholShopStateId = alcoholShopStateId;
    }


    /**
     * Gets the alcoholPermitNumber value for this AlcoholDataStruct.
     * 
     * @return alcoholPermitNumber
     */
    public java.lang.String getAlcoholPermitNumber() {
        return alcoholPermitNumber;
    }


    /**
     * Sets the alcoholPermitNumber value for this AlcoholDataStruct.
     * 
     * @param alcoholPermitNumber
     */
    public void setAlcoholPermitNumber(java.lang.String alcoholPermitNumber) {
        this.alcoholPermitNumber = alcoholPermitNumber;
    }


    /**
     * Gets the alcoholPermitAuthority value for this AlcoholDataStruct.
     * 
     * @return alcoholPermitAuthority
     */
    public java.lang.String getAlcoholPermitAuthority() {
        return alcoholPermitAuthority;
    }


    /**
     * Sets the alcoholPermitAuthority value for this AlcoholDataStruct.
     * 
     * @param alcoholPermitAuthority
     */
    public void setAlcoholPermitAuthority(java.lang.String alcoholPermitAuthority) {
        this.alcoholPermitAuthority = alcoholPermitAuthority;
    }


    /**
     * Gets the alcoholPermitInfo value for this AlcoholDataStruct.
     * 
     * @return alcoholPermitInfo
     */
    public java.lang.String getAlcoholPermitInfo() {
        return alcoholPermitInfo;
    }


    /**
     * Sets the alcoholPermitInfo value for this AlcoholDataStruct.
     * 
     * @param alcoholPermitInfo
     */
    public void setAlcoholPermitInfo(java.lang.String alcoholPermitInfo) {
        this.alcoholPermitInfo = alcoholPermitInfo;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof AlcoholDataStruct)) return false;
        AlcoholDataStruct other = (AlcoholDataStruct) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((this.alcoholOpeningDate==null && other.getAlcoholOpeningDate()==null) || 
             (this.alcoholOpeningDate!=null &&
              this.alcoholOpeningDate.equals(other.getAlcoholOpeningDate()))) &&
            ((this.alcoholExpirationDate==null && other.getAlcoholExpirationDate()==null) || 
             (this.alcoholExpirationDate!=null &&
              this.alcoholExpirationDate.equals(other.getAlcoholExpirationDate()))) &&
            ((this.alcoholShopName==null && other.getAlcoholShopName()==null) || 
             (this.alcoholShopName!=null &&
              this.alcoholShopName.equals(other.getAlcoholShopName()))) &&
            ((this.alcoholShopAddress==null && other.getAlcoholShopAddress()==null) || 
             (this.alcoholShopAddress!=null &&
              this.alcoholShopAddress.equals(other.getAlcoholShopAddress()))) &&
            ((this.alcoholShopPostcode==null && other.getAlcoholShopPostcode()==null) || 
             (this.alcoholShopPostcode!=null &&
              this.alcoholShopPostcode.equals(other.getAlcoholShopPostcode()))) &&
            ((this.alcoholShopCity==null && other.getAlcoholShopCity()==null) || 
             (this.alcoholShopCity!=null &&
              this.alcoholShopCity.equals(other.getAlcoholShopCity()))) &&
            ((this.alcoholShopCommune==null && other.getAlcoholShopCommune()==null) || 
             (this.alcoholShopCommune!=null &&
              this.alcoholShopCommune.equals(other.getAlcoholShopCommune()))) &&
            this.alcoholShopCountryId == other.getAlcoholShopCountryId() &&
            this.alcoholShopStateId == other.getAlcoholShopStateId() &&
            ((this.alcoholPermitNumber==null && other.getAlcoholPermitNumber()==null) || 
             (this.alcoholPermitNumber!=null &&
              this.alcoholPermitNumber.equals(other.getAlcoholPermitNumber()))) &&
            ((this.alcoholPermitAuthority==null && other.getAlcoholPermitAuthority()==null) || 
             (this.alcoholPermitAuthority!=null &&
              this.alcoholPermitAuthority.equals(other.getAlcoholPermitAuthority()))) &&
            ((this.alcoholPermitInfo==null && other.getAlcoholPermitInfo()==null) || 
             (this.alcoholPermitInfo!=null &&
              this.alcoholPermitInfo.equals(other.getAlcoholPermitInfo())));
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        if (getAlcoholOpeningDate() != null) {
            _hashCode += getAlcoholOpeningDate().hashCode();
        }
        if (getAlcoholExpirationDate() != null) {
            _hashCode += getAlcoholExpirationDate().hashCode();
        }
        if (getAlcoholShopName() != null) {
            _hashCode += getAlcoholShopName().hashCode();
        }
        if (getAlcoholShopAddress() != null) {
            _hashCode += getAlcoholShopAddress().hashCode();
        }
        if (getAlcoholShopPostcode() != null) {
            _hashCode += getAlcoholShopPostcode().hashCode();
        }
        if (getAlcoholShopCity() != null) {
            _hashCode += getAlcoholShopCity().hashCode();
        }
        if (getAlcoholShopCommune() != null) {
            _hashCode += getAlcoholShopCommune().hashCode();
        }
        _hashCode += getAlcoholShopCountryId();
        _hashCode += getAlcoholShopStateId();
        if (getAlcoholPermitNumber() != null) {
            _hashCode += getAlcoholPermitNumber().hashCode();
        }
        if (getAlcoholPermitAuthority() != null) {
            _hashCode += getAlcoholPermitAuthority().hashCode();
        }
        if (getAlcoholPermitInfo() != null) {
            _hashCode += getAlcoholPermitInfo().hashCode();
        }
        __hashCodeCalc = false;
        return _hashCode;
    }

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

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "AlcoholDataStruct"));
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("alcoholOpeningDate");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "alcoholOpeningDate"));
        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("alcoholExpirationDate");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "alcoholExpirationDate"));
        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("alcoholShopName");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "alcoholShopName"));
        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("alcoholShopAddress");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "alcoholShopAddress"));
        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("alcoholShopPostcode");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "alcoholShopPostcode"));
        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("alcoholShopCity");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "alcoholShopCity"));
        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("alcoholShopCommune");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "alcoholShopCommune"));
        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("alcoholShopCountryId");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "alcoholShopCountryId"));
        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("alcoholShopStateId");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "alcoholShopStateId"));
        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("alcoholPermitNumber");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "alcoholPermitNumber"));
        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("alcoholPermitAuthority");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "alcoholPermitAuthority"));
        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("alcoholPermitInfo");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "alcoholPermitInfo"));
        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