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

    private java.lang.String endpointURL;

    private org.activebpel.rt.axis.bpel.admin.types.AesBreakpointList breakpointList;

    public AesBreakpointRequestType() {
    }

    public AesBreakpointRequestType(
           long cid,
           java.lang.String endpointURL,
           org.activebpel.rt.axis.bpel.admin.types.AesBreakpointList breakpointList) {
           this.cid = cid;
           this.endpointURL = endpointURL;
           this.breakpointList = breakpointList;
    }


    /**
     * Gets the cid value for this AesBreakpointRequestType.
     * 
     * @return cid
     */
    public long getCid() {
        return cid;
    }


    /**
     * Sets the cid value for this AesBreakpointRequestType.
     * 
     * @param cid
     */
    public void setCid(long cid) {
        this.cid = cid;
    }


    /**
     * Gets the endpointURL value for this AesBreakpointRequestType.
     * 
     * @return endpointURL
     */
    public java.lang.String getEndpointURL() {
        return endpointURL;
    }


    /**
     * Sets the endpointURL value for this AesBreakpointRequestType.
     * 
     * @param endpointURL
     */
    public void setEndpointURL(java.lang.String endpointURL) {
        this.endpointURL = endpointURL;
    }


    /**
     * Gets the breakpointList value for this AesBreakpointRequestType.
     * 
     * @return breakpointList
     */
    public org.activebpel.rt.axis.bpel.admin.types.AesBreakpointList getBreakpointList() {
        return breakpointList;
    }


    /**
     * Sets the breakpointList value for this AesBreakpointRequestType.
     * 
     * @param breakpointList
     */
    public void setBreakpointList(org.activebpel.rt.axis.bpel.admin.types.AesBreakpointList breakpointList) {
        this.breakpointList = breakpointList;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof AesBreakpointRequestType)) return false;
        AesBreakpointRequestType other = (AesBreakpointRequestType) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            this.cid == other.getCid() &&
            ((this.endpointURL==null && other.getEndpointURL()==null) || 
             (this.endpointURL!=null &&
              this.endpointURL.equals(other.getEndpointURL()))) &&
            ((this.breakpointList==null && other.getBreakpointList()==null) || 
             (this.breakpointList!=null &&
              this.breakpointList.equals(other.getBreakpointList())));
        __equalsCalc = null;
        return _equals;
    }

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

}
