1   /**
2    * WorkflowDefinitionSoap.java
3    *
4    * This file was auto-generated from WSDL
5    * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
6    */
7   
8   package com.liferay.client.portlet.workflow.model;
9   
10  public class WorkflowDefinitionSoap  extends com.liferay.client.portlet.workflow.model.WorkflowDefinition  implements java.io.Serializable {
11      public WorkflowDefinitionSoap() {
12      }
13  
14      public WorkflowDefinitionSoap(
15             long definitionId,
16             java.lang.String name,
17             java.lang.String type,
18             double version,
19             java.lang.String xml) {
20          super(
21              definitionId,
22              name,
23              type,
24              version,
25              xml);
26      }
27  
28      private java.lang.Object __equalsCalc = null;
29      public synchronized boolean equals(java.lang.Object obj) {
30          if (!(obj instanceof WorkflowDefinitionSoap)) return false;
31          WorkflowDefinitionSoap other = (WorkflowDefinitionSoap) obj;
32          if (obj == null) return false;
33          if (this == obj) return true;
34          if (__equalsCalc != null) {
35              return (__equalsCalc == obj);
36          }
37          __equalsCalc = obj;
38          boolean _equals;
39          _equals = super.equals(obj);
40          __equalsCalc = null;
41          return _equals;
42      }
43  
44      private boolean __hashCodeCalc = false;
45      public synchronized int hashCode() {
46          if (__hashCodeCalc) {
47              return 0;
48          }
49          __hashCodeCalc = true;
50          int _hashCode = super.hashCode();
51          __hashCodeCalc = false;
52          return _hashCode;
53      }
54  
55      // Type metadata
56      private static org.apache.axis.description.TypeDesc typeDesc =
57          new org.apache.axis.description.TypeDesc(WorkflowDefinitionSoap.class, true);
58  
59      static {
60          typeDesc.setXmlType(new javax.xml.namespace.QName("http://model.workflow.portlet.liferay.com", "WorkflowDefinitionSoap"));
61      }
62  
63      /**
64       * Return type metadata object
65       */
66      public static org.apache.axis.description.TypeDesc getTypeDesc() {
67          return typeDesc;
68      }
69  
70      /**
71       * Get Custom Serializer
72       */
73      public static org.apache.axis.encoding.Serializer getSerializer(
74             java.lang.String mechType, 
75             java.lang.Class _javaType,  
76             javax.xml.namespace.QName _xmlType) {
77          return 
78            new  org.apache.axis.encoding.ser.BeanSerializer(
79              _javaType, _xmlType, typeDesc);
80      }
81  
82      /**
83       * Get Custom Deserializer
84       */
85      public static org.apache.axis.encoding.Deserializer getDeserializer(
86             java.lang.String mechType, 
87             java.lang.Class _javaType,  
88             javax.xml.namespace.QName _xmlType) {
89          return 
90            new  org.apache.axis.encoding.ser.BeanDeserializer(
91              _javaType, _xmlType, typeDesc);
92      }
93  
94  }
95