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