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

package weaver.soa.workflow.request;

public class RequestBase  implements java.io.Serializable {
    private java.lang.String createTime;

    private java.lang.String creater;

    private java.lang.String creatertype;

    private java.lang.String currentNodeId;

    private java.lang.String currentNodeType;

    private java.lang.String lastOperateTime;

    private java.lang.String lastOperator;

    private java.lang.String lastOperatortype;

    private java.lang.String requestId;

    private java.lang.String requestName;

    private java.lang.String workflowId;

    public RequestBase() {
    }

    public RequestBase(
           java.lang.String createTime,
           java.lang.String creater,
           java.lang.String creatertype,
           java.lang.String currentNodeId,
           java.lang.String currentNodeType,
           java.lang.String lastOperateTime,
           java.lang.String lastOperator,
           java.lang.String lastOperatortype,
           java.lang.String requestId,
           java.lang.String requestName,
           java.lang.String workflowId) {
           this.createTime = createTime;
           this.creater = creater;
           this.creatertype = creatertype;
           this.currentNodeId = currentNodeId;
           this.currentNodeType = currentNodeType;
           this.lastOperateTime = lastOperateTime;
           this.lastOperator = lastOperator;
           this.lastOperatortype = lastOperatortype;
           this.requestId = requestId;
           this.requestName = requestName;
           this.workflowId = workflowId;
    }


    /**
     * Gets the createTime value for this RequestBase.
     * 
     * @return createTime
     */
    public java.lang.String getCreateTime() {
        return createTime;
    }


    /**
     * Sets the createTime value for this RequestBase.
     * 
     * @param createTime
     */
    public void setCreateTime(java.lang.String createTime) {
        this.createTime = createTime;
    }


    /**
     * Gets the creater value for this RequestBase.
     * 
     * @return creater
     */
    public java.lang.String getCreater() {
        return creater;
    }


    /**
     * Sets the creater value for this RequestBase.
     * 
     * @param creater
     */
    public void setCreater(java.lang.String creater) {
        this.creater = creater;
    }


    /**
     * Gets the creatertype value for this RequestBase.
     * 
     * @return creatertype
     */
    public java.lang.String getCreatertype() {
        return creatertype;
    }


    /**
     * Sets the creatertype value for this RequestBase.
     * 
     * @param creatertype
     */
    public void setCreatertype(java.lang.String creatertype) {
        this.creatertype = creatertype;
    }


    /**
     * Gets the currentNodeId value for this RequestBase.
     * 
     * @return currentNodeId
     */
    public java.lang.String getCurrentNodeId() {
        return currentNodeId;
    }


    /**
     * Sets the currentNodeId value for this RequestBase.
     * 
     * @param currentNodeId
     */
    public void setCurrentNodeId(java.lang.String currentNodeId) {
        this.currentNodeId = currentNodeId;
    }


    /**
     * Gets the currentNodeType value for this RequestBase.
     * 
     * @return currentNodeType
     */
    public java.lang.String getCurrentNodeType() {
        return currentNodeType;
    }


    /**
     * Sets the currentNodeType value for this RequestBase.
     * 
     * @param currentNodeType
     */
    public void setCurrentNodeType(java.lang.String currentNodeType) {
        this.currentNodeType = currentNodeType;
    }


    /**
     * Gets the lastOperateTime value for this RequestBase.
     * 
     * @return lastOperateTime
     */
    public java.lang.String getLastOperateTime() {
        return lastOperateTime;
    }


    /**
     * Sets the lastOperateTime value for this RequestBase.
     * 
     * @param lastOperateTime
     */
    public void setLastOperateTime(java.lang.String lastOperateTime) {
        this.lastOperateTime = lastOperateTime;
    }


    /**
     * Gets the lastOperator value for this RequestBase.
     * 
     * @return lastOperator
     */
    public java.lang.String getLastOperator() {
        return lastOperator;
    }


    /**
     * Sets the lastOperator value for this RequestBase.
     * 
     * @param lastOperator
     */
    public void setLastOperator(java.lang.String lastOperator) {
        this.lastOperator = lastOperator;
    }


    /**
     * Gets the lastOperatortype value for this RequestBase.
     * 
     * @return lastOperatortype
     */
    public java.lang.String getLastOperatortype() {
        return lastOperatortype;
    }


    /**
     * Sets the lastOperatortype value for this RequestBase.
     * 
     * @param lastOperatortype
     */
    public void setLastOperatortype(java.lang.String lastOperatortype) {
        this.lastOperatortype = lastOperatortype;
    }


    /**
     * Gets the requestId value for this RequestBase.
     * 
     * @return requestId
     */
    public java.lang.String getRequestId() {
        return requestId;
    }


    /**
     * Sets the requestId value for this RequestBase.
     * 
     * @param requestId
     */
    public void setRequestId(java.lang.String requestId) {
        this.requestId = requestId;
    }


    /**
     * Gets the requestName value for this RequestBase.
     * 
     * @return requestName
     */
    public java.lang.String getRequestName() {
        return requestName;
    }


    /**
     * Sets the requestName value for this RequestBase.
     * 
     * @param requestName
     */
    public void setRequestName(java.lang.String requestName) {
        this.requestName = requestName;
    }


    /**
     * Gets the workflowId value for this RequestBase.
     * 
     * @return workflowId
     */
    public java.lang.String getWorkflowId() {
        return workflowId;
    }


    /**
     * Sets the workflowId value for this RequestBase.
     * 
     * @param workflowId
     */
    public void setWorkflowId(java.lang.String workflowId) {
        this.workflowId = workflowId;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof RequestBase)) return false;
        RequestBase other = (RequestBase) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((this.createTime==null && other.getCreateTime()==null) || 
             (this.createTime!=null &&
              this.createTime.equals(other.getCreateTime()))) &&
            ((this.creater==null && other.getCreater()==null) || 
             (this.creater!=null &&
              this.creater.equals(other.getCreater()))) &&
            ((this.creatertype==null && other.getCreatertype()==null) || 
             (this.creatertype!=null &&
              this.creatertype.equals(other.getCreatertype()))) &&
            ((this.currentNodeId==null && other.getCurrentNodeId()==null) || 
             (this.currentNodeId!=null &&
              this.currentNodeId.equals(other.getCurrentNodeId()))) &&
            ((this.currentNodeType==null && other.getCurrentNodeType()==null) || 
             (this.currentNodeType!=null &&
              this.currentNodeType.equals(other.getCurrentNodeType()))) &&
            ((this.lastOperateTime==null && other.getLastOperateTime()==null) || 
             (this.lastOperateTime!=null &&
              this.lastOperateTime.equals(other.getLastOperateTime()))) &&
            ((this.lastOperator==null && other.getLastOperator()==null) || 
             (this.lastOperator!=null &&
              this.lastOperator.equals(other.getLastOperator()))) &&
            ((this.lastOperatortype==null && other.getLastOperatortype()==null) || 
             (this.lastOperatortype!=null &&
              this.lastOperatortype.equals(other.getLastOperatortype()))) &&
            ((this.requestId==null && other.getRequestId()==null) || 
             (this.requestId!=null &&
              this.requestId.equals(other.getRequestId()))) &&
            ((this.requestName==null && other.getRequestName()==null) || 
             (this.requestName!=null &&
              this.requestName.equals(other.getRequestName()))) &&
            ((this.workflowId==null && other.getWorkflowId()==null) || 
             (this.workflowId!=null &&
              this.workflowId.equals(other.getWorkflowId())));
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        if (getCreateTime() != null) {
            _hashCode += getCreateTime().hashCode();
        }
        if (getCreater() != null) {
            _hashCode += getCreater().hashCode();
        }
        if (getCreatertype() != null) {
            _hashCode += getCreatertype().hashCode();
        }
        if (getCurrentNodeId() != null) {
            _hashCode += getCurrentNodeId().hashCode();
        }
        if (getCurrentNodeType() != null) {
            _hashCode += getCurrentNodeType().hashCode();
        }
        if (getLastOperateTime() != null) {
            _hashCode += getLastOperateTime().hashCode();
        }
        if (getLastOperator() != null) {
            _hashCode += getLastOperator().hashCode();
        }
        if (getLastOperatortype() != null) {
            _hashCode += getLastOperatortype().hashCode();
        }
        if (getRequestId() != null) {
            _hashCode += getRequestId().hashCode();
        }
        if (getRequestName() != null) {
            _hashCode += getRequestName().hashCode();
        }
        if (getWorkflowId() != null) {
            _hashCode += getWorkflowId().hashCode();
        }
        __hashCodeCalc = false;
        return _hashCode;
    }

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

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://request.workflow.soa.weaver", "RequestBase"));
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("createTime");
        elemField.setXmlName(new javax.xml.namespace.QName("http://request.workflow.soa.weaver", "createTime"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("creater");
        elemField.setXmlName(new javax.xml.namespace.QName("http://request.workflow.soa.weaver", "creater"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("creatertype");
        elemField.setXmlName(new javax.xml.namespace.QName("http://request.workflow.soa.weaver", "creatertype"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("currentNodeId");
        elemField.setXmlName(new javax.xml.namespace.QName("http://request.workflow.soa.weaver", "currentNodeId"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("currentNodeType");
        elemField.setXmlName(new javax.xml.namespace.QName("http://request.workflow.soa.weaver", "currentNodeType"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("lastOperateTime");
        elemField.setXmlName(new javax.xml.namespace.QName("http://request.workflow.soa.weaver", "lastOperateTime"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("lastOperator");
        elemField.setXmlName(new javax.xml.namespace.QName("http://request.workflow.soa.weaver", "lastOperator"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("lastOperatortype");
        elemField.setXmlName(new javax.xml.namespace.QName("http://request.workflow.soa.weaver", "lastOperatortype"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("requestId");
        elemField.setXmlName(new javax.xml.namespace.QName("http://request.workflow.soa.weaver", "requestId"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("requestName");
        elemField.setXmlName(new javax.xml.namespace.QName("http://request.workflow.soa.weaver", "requestName"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("workflowId");
        elemField.setXmlName(new javax.xml.namespace.QName("http://request.workflow.soa.weaver", "workflowId"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        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);
    }

}
