/**
 * AesSetVariableDataType.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 AesSetVariableDataType  implements java.io.Serializable {
    private long pid;

    private java.lang.String variablePath;

    private java.lang.String variableData;

    public AesSetVariableDataType() {
    }

    public AesSetVariableDataType(
           long pid,
           java.lang.String variablePath,
           java.lang.String variableData) {
           this.pid = pid;
           this.variablePath = variablePath;
           this.variableData = variableData;
    }


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


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


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


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


    /**
     * Gets the variableData value for this AesSetVariableDataType.
     * 
     * @return variableData
     */
    public java.lang.String getVariableData() {
        return variableData;
    }


    /**
     * Sets the variableData value for this AesSetVariableDataType.
     * 
     * @param variableData
     */
    public void setVariableData(java.lang.String variableData) {
        this.variableData = variableData;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof AesSetVariableDataType)) return false;
        AesSetVariableDataType other = (AesSetVariableDataType) 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.variableData==null && other.getVariableData()==null) || 
             (this.variableData!=null &&
              this.variableData.equals(other.getVariableData())));
        __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 (getVariableData() != null) {
            _hashCode += getVariableData().hashCode();
        }
        __hashCodeCalc = false;
        return _hashCode;
    }

}
