/**
 * NextNodeBySubmit1.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
 */

package localhost.services.RequestService;

public class NextNodeBySubmit1  implements java.io.Serializable {
    private weaver.soa.workflow.request.RequestInfo in0;

    private int in1;

    private int in2;

    private java.lang.String in3;

    private java.lang.String in4;

    public NextNodeBySubmit1() {
    }

    public NextNodeBySubmit1(
           weaver.soa.workflow.request.RequestInfo in0,
           int in1,
           int in2,
           java.lang.String in3,
           java.lang.String in4) {
           this.in0 = in0;
           this.in1 = in1;
           this.in2 = in2;
           this.in3 = in3;
           this.in4 = in4;
    }


    /**
     * Gets the in0 value for this NextNodeBySubmit1.
     * 
     * @return in0
     */
    public weaver.soa.workflow.request.RequestInfo getIn0() {
        return in0;
    }


    /**
     * Sets the in0 value for this NextNodeBySubmit1.
     * 
     * @param in0
     */
    public void setIn0(weaver.soa.workflow.request.RequestInfo in0) {
        this.in0 = in0;
    }


    /**
     * Gets the in1 value for this NextNodeBySubmit1.
     * 
     * @return in1
     */
    public int getIn1() {
        return in1;
    }


    /**
     * Sets the in1 value for this NextNodeBySubmit1.
     * 
     * @param in1
     */
    public void setIn1(int in1) {
        this.in1 = in1;
    }


    /**
     * Gets the in2 value for this NextNodeBySubmit1.
     * 
     * @return in2
     */
    public int getIn2() {
        return in2;
    }


    /**
     * Sets the in2 value for this NextNodeBySubmit1.
     * 
     * @param in2
     */
    public void setIn2(int in2) {
        this.in2 = in2;
    }


    /**
     * Gets the in3 value for this NextNodeBySubmit1.
     * 
     * @return in3
     */
    public java.lang.String getIn3() {
        return in3;
    }


    /**
     * Sets the in3 value for this NextNodeBySubmit1.
     * 
     * @param in3
     */
    public void setIn3(java.lang.String in3) {
        this.in3 = in3;
    }


    /**
     * Gets the in4 value for this NextNodeBySubmit1.
     * 
     * @return in4
     */
    public java.lang.String getIn4() {
        return in4;
    }


    /**
     * Sets the in4 value for this NextNodeBySubmit1.
     * 
     * @param in4
     */
    public void setIn4(java.lang.String in4) {
        this.in4 = in4;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof NextNodeBySubmit1)) return false;
        NextNodeBySubmit1 other = (NextNodeBySubmit1) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((this.in0==null && other.getIn0()==null) || 
             (this.in0!=null &&
              this.in0.equals(other.getIn0()))) &&
            this.in1 == other.getIn1() &&
            this.in2 == other.getIn2() &&
            ((this.in3==null && other.getIn3()==null) || 
             (this.in3!=null &&
              this.in3.equals(other.getIn3()))) &&
            ((this.in4==null && other.getIn4()==null) || 
             (this.in4!=null &&
              this.in4.equals(other.getIn4())));
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        if (getIn0() != null) {
            _hashCode += getIn0().hashCode();
        }
        _hashCode += getIn1();
        _hashCode += getIn2();
        if (getIn3() != null) {
            _hashCode += getIn3().hashCode();
        }
        if (getIn4() != null) {
            _hashCode += getIn4().hashCode();
        }
        __hashCodeCalc = false;
        return _hashCode;
    }

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

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://localhost/services/RequestService", ">nextNodeBySubmit1"));
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("in0");
        elemField.setXmlName(new javax.xml.namespace.QName("http://localhost/services/RequestService", "in0"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://request.workflow.soa.weaver", "RequestInfo"));
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("in1");
        elemField.setXmlName(new javax.xml.namespace.QName("http://localhost/services/RequestService", "in1"));
        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("in2");
        elemField.setXmlName(new javax.xml.namespace.QName("http://localhost/services/RequestService", "in2"));
        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("in3");
        elemField.setXmlName(new javax.xml.namespace.QName("http://localhost/services/RequestService", "in3"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("in4");
        elemField.setXmlName(new javax.xml.namespace.QName("http://localhost/services/RequestService", "in4"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(true);
        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);
    }

}
