/**
 * AesRemoveAttachmentDataType.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis 1.4 Dec 20, 2006 (01:34:32 EST) WSDL2Java emitter.
 */

package org.activebpel.rt.axis.bpel.admin.types;

public class AesRemoveAttachmentDataType  implements java.io.Serializable {
    private long pid;

    private java.lang.String variablePath;

    private org.activebpel.rt.axis.bpel.admin.types.AesAttachmentItemNumberList itemNumbers;

    public AesRemoveAttachmentDataType() {
    }

    public AesRemoveAttachmentDataType(
           long pid,
           java.lang.String variablePath,
           org.activebpel.rt.axis.bpel.admin.types.AesAttachmentItemNumberList itemNumbers) {
           this.pid = pid;
           this.variablePath = variablePath;
           this.itemNumbers = itemNumbers;
    }


    /**
     * Gets the pid value for this AesRemoveAttachmentDataType.
     * 
     * @return pid
     */
    public long getPid() {
        return pid;
    }


    /**
     * Sets the pid value for this AesRemoveAttachmentDataType.
     * 
     * @param pid
     */
    public void setPid(long pid) {
        this.pid = pid;
    }


    /**
     * Gets the variablePath value for this AesRemoveAttachmentDataType.
     * 
     * @return variablePath
     */
    public java.lang.String getVariablePath() {
        return variablePath;
    }


    /**
     * Sets the variablePath value for this AesRemoveAttachmentDataType.
     * 
     * @param variablePath
     */
    public void setVariablePath(java.lang.String variablePath) {
        this.variablePath = variablePath;
    }


    /**
     * Gets the itemNumbers value for this AesRemoveAttachmentDataType.
     * 
     * @return itemNumbers
     */
    public org.activebpel.rt.axis.bpel.admin.types.AesAttachmentItemNumberList getItemNumbers() {
        return itemNumbers;
    }


    /**
     * Sets the itemNumbers value for this AesRemoveAttachmentDataType.
     * 
     * @param itemNumbers
     */
    public void setItemNumbers(org.activebpel.rt.axis.bpel.admin.types.AesAttachmentItemNumberList itemNumbers) {
        this.itemNumbers = itemNumbers;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof AesRemoveAttachmentDataType)) return false;
        AesRemoveAttachmentDataType other = (AesRemoveAttachmentDataType) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            this.pid == other.getPid() &&
            ((this.variablePath==null && other.getVariablePath()==null) || 
             (this.variablePath!=null &&
              this.variablePath.equals(other.getVariablePath()))) &&
            ((this.itemNumbers==null && other.getItemNumbers()==null) || 
             (this.itemNumbers!=null &&
              this.itemNumbers.equals(other.getItemNumbers())));
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        _hashCode += new Long(getPid()).hashCode();
        if (getVariablePath() != null) {
            _hashCode += getVariablePath().hashCode();
        }
        if (getItemNumbers() != null) {
            _hashCode += getItemNumbers().hashCode();
        }
        __hashCodeCalc = false;
        return _hashCode;
    }

}
