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   * RemoteField.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 RemoteField  extends com.atlassian.theplugin.jira.api.soap.axis.AbstractNamedRemoteEntity  implements java.io.Serializable {
27      public RemoteField() {
28      }
29  
30      public RemoteField(
31             java.lang.String id,
32             java.lang.String name) {
33          super(
34              id,
35              name);
36      }
37  
38      private java.lang.Object __equalsCalc = null;
39      public synchronized boolean equals(java.lang.Object obj) {
40          if (!(obj instanceof RemoteField)) return false;
41          RemoteField other = (RemoteField) obj;
42          if (obj == null) return false;
43          if (this == obj) return true;
44          if (__equalsCalc != null) {
45              return (__equalsCalc == obj);
46          }
47          __equalsCalc = obj;
48          boolean _equals;
49          _equals = super.equals(obj);
50          __equalsCalc = null;
51          return _equals;
52      }
53  
54      private boolean __hashCodeCalc = false;
55      public synchronized int hashCode() {
56          if (__hashCodeCalc) {
57              return 0;
58          }
59          __hashCodeCalc = true;
60          int _hashCode = super.hashCode();
61          __hashCodeCalc = false;
62          return _hashCode;
63      }
64  
65      // Type metadata
66      private static org.apache.axis.description.TypeDesc typeDesc =
67          new org.apache.axis.description.TypeDesc(RemoteField.class, true);
68  
69      static {
70          typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteField"));
71      }
72  
73      /**
74       * Return type metadata object
75       */
76      public static org.apache.axis.description.TypeDesc getTypeDesc() {
77          return typeDesc;
78      }
79  
80      /**
81       * Get Custom Serializer
82       */
83      public static org.apache.axis.encoding.Serializer getSerializer(
84             java.lang.String mechType, 
85             java.lang.Class _javaType,  
86             javax.xml.namespace.QName _xmlType) {
87          return 
88            new  org.apache.axis.encoding.ser.BeanSerializer(
89              _javaType, _xmlType, typeDesc);
90      }
91  
92      /**
93       * Get Custom Deserializer
94       */
95      public static org.apache.axis.encoding.Deserializer getDeserializer(
96             java.lang.String mechType, 
97             java.lang.Class _javaType,  
98             javax.xml.namespace.QName _xmlType) {
99          return 
100           new  org.apache.axis.encoding.ser.BeanDeserializer(
101             _javaType, _xmlType, typeDesc);
102     }
103 
104 }