View Javadoc

1   /**
2    * Copyright (C) 2008 Atlassian
3    * 
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * 
8    *    http://www.apache.org/licenses/LICENSE-2.0
9    * 
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  
17  /**
18   * RemoteEntity.java
19   *
20   * This file was auto-generated from WSDL
21   * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
22   */
23  
24  package com.atlassian.theplugin.jira.api.soap.axis;
25  
26  public class RemoteEntity  implements java.io.Serializable {
27      public RemoteEntity() {
28      }
29  
30      private java.lang.Object __equalsCalc = null;
31      public synchronized boolean equals(java.lang.Object obj) {
32          if (!(obj instanceof RemoteEntity)) return false;
33          RemoteEntity other = (RemoteEntity) obj;
34          if (obj == null) return false;
35          if (this == obj) return true;
36          if (__equalsCalc != null) {
37              return (__equalsCalc == obj);
38          }
39          __equalsCalc = obj;
40          boolean _equals;
41          _equals = true;
42          __equalsCalc = null;
43          return _equals;
44      }
45  
46      private boolean __hashCodeCalc = false;
47      public synchronized int hashCode() {
48          if (__hashCodeCalc) {
49              return 0;
50          }
51          __hashCodeCalc = true;
52          int _hashCode = 1;
53          __hashCodeCalc = false;
54          return _hashCode;
55      }
56  
57      // Type metadata
58      private static org.apache.axis.description.TypeDesc typeDesc =
59          new org.apache.axis.description.TypeDesc(RemoteEntity.class, true);
60  
61      static {
62          typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteEntity"));
63      }
64  
65      /**
66       * Return type metadata object
67       */
68      public static org.apache.axis.description.TypeDesc getTypeDesc() {
69          return typeDesc;
70      }
71  
72      /**
73       * Get Custom Serializer
74       */
75      public static org.apache.axis.encoding.Serializer getSerializer(
76             java.lang.String mechType, 
77             java.lang.Class _javaType,  
78             javax.xml.namespace.QName _xmlType) {
79          return 
80            new  org.apache.axis.encoding.ser.BeanSerializer(
81              _javaType, _xmlType, typeDesc);
82      }
83  
84      /**
85       * Get Custom Deserializer
86       */
87      public static org.apache.axis.encoding.Deserializer getDeserializer(
88             java.lang.String mechType, 
89             java.lang.Class _javaType,  
90             javax.xml.namespace.QName _xmlType) {
91          return 
92            new  org.apache.axis.encoding.ser.BeanDeserializer(
93              _javaType, _xmlType, typeDesc);
94      }
95  
96  }