View Javadoc

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