View Javadoc

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