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

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

There is a newer version: 0.0.6
Show newest version
/**
 * ArrayOfAddressinfostruct.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 ArrayOfAddressinfostruct  implements java.io.Serializable {
    private com.allegro.webapi.AddressInfoStruct[] item;

    public ArrayOfAddressinfostruct() {
    }

    public ArrayOfAddressinfostruct(
           com.allegro.webapi.AddressInfoStruct[] item) {
           this.item = item;
    }


    /**
     * Gets the item value for this ArrayOfAddressinfostruct.
     * 
     * @return item
     */
    public com.allegro.webapi.AddressInfoStruct[] getItem() {
        return item;
    }


    /**
     * Sets the item value for this ArrayOfAddressinfostruct.
     * 
     * @param item
     */
    public void setItem(com.allegro.webapi.AddressInfoStruct[] item) {
        this.item = item;
    }

    public com.allegro.webapi.AddressInfoStruct getItem(int i) {
        return this.item[i];
    }

    public void setItem(int i, com.allegro.webapi.AddressInfoStruct _value) {
        this.item[i] = _value;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof ArrayOfAddressinfostruct)) return false;
        ArrayOfAddressinfostruct other = (ArrayOfAddressinfostruct) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((this.item==null && other.getItem()==null) || 
             (this.item!=null &&
              java.util.Arrays.equals(this.item, other.getItem())));
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        if (getItem() != null) {
            for (int i=0;
                 i




© 2015 - 2024 Weber Informatics LLC | Privacy Policy