View Javadoc

1   /**
2    * RemoteNamedObject.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 org.apache.maven.plugins.patchtracker.tracking.jira.soap;
9   
10  public class RemoteNamedObject  extends org.apache.maven.plugins.patchtracker.tracking.jira.soap.AbstractNamedRemoteEntity  implements java.io.Serializable {
11      public RemoteNamedObject() {
12      }
13  
14      public RemoteNamedObject(
15             java.lang.String id,
16             java.lang.String name) {
17          super(
18              id,
19              name);
20      }
21  
22      private java.lang.Object __equalsCalc = null;
23      public synchronized boolean equals(java.lang.Object obj) {
24          if (!(obj instanceof RemoteNamedObject)) return false;
25          RemoteNamedObject other = (RemoteNamedObject) obj;
26          if (obj == null) return false;
27          if (this == obj) return true;
28          if (__equalsCalc != null) {
29              return (__equalsCalc == obj);
30          }
31          __equalsCalc = obj;
32          boolean _equals;
33          _equals = super.equals(obj);
34          __equalsCalc = null;
35          return _equals;
36      }
37  
38      private boolean __hashCodeCalc = false;
39      public synchronized int hashCode() {
40          if (__hashCodeCalc) {
41              return 0;
42          }
43          __hashCodeCalc = true;
44          int _hashCode = super.hashCode();
45          __hashCodeCalc = false;
46          return _hashCode;
47      }
48  
49      // Type metadata
50      private static org.apache.axis.description.TypeDesc typeDesc =
51          new org.apache.axis.description.TypeDesc(RemoteNamedObject.class, true);
52  
53      static {
54          typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteNamedObject"));
55      }
56  
57      /**
58       * Return type metadata object
59       */
60      public static org.apache.axis.description.TypeDesc getTypeDesc() {
61          return typeDesc;
62      }
63  
64      /**
65       * Get Custom Serializer
66       */
67      public static org.apache.axis.encoding.Serializer getSerializer(
68             java.lang.String mechType, 
69             java.lang.Class _javaType,  
70             javax.xml.namespace.QName _xmlType) {
71          return 
72            new  org.apache.axis.encoding.ser.BeanSerializer(
73              _javaType, _xmlType, typeDesc);
74      }
75  
76      /**
77       * Get Custom Deserializer
78       */
79      public static org.apache.axis.encoding.Deserializer getDeserializer(
80             java.lang.String mechType, 
81             java.lang.Class _javaType,  
82             javax.xml.namespace.QName _xmlType) {
83          return 
84            new  org.apache.axis.encoding.ser.BeanDeserializer(
85              _javaType, _xmlType, typeDesc);
86      }
87  
88  }