1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
package org.apache.maven.plugins.patchtracker.tracking.jira.soap; |
9 | |
|
10 | |
public abstract class AbstractRemoteEntity implements java.io.Serializable { |
11 | |
private java.lang.String id; |
12 | |
|
13 | 0 | public AbstractRemoteEntity() { |
14 | 0 | } |
15 | |
|
16 | |
public AbstractRemoteEntity( |
17 | 0 | java.lang.String id) { |
18 | 0 | this.id = id; |
19 | 0 | } |
20 | |
|
21 | |
|
22 | |
|
23 | |
|
24 | |
|
25 | |
|
26 | |
|
27 | |
public java.lang.String getId() { |
28 | 0 | return id; |
29 | |
} |
30 | |
|
31 | |
|
32 | |
|
33 | |
|
34 | |
|
35 | |
|
36 | |
|
37 | |
public void setId(java.lang.String id) { |
38 | 0 | this.id = id; |
39 | 0 | } |
40 | |
|
41 | 0 | private java.lang.Object __equalsCalc = null; |
42 | |
public synchronized boolean equals(java.lang.Object obj) { |
43 | 0 | if (!(obj instanceof AbstractRemoteEntity)) return false; |
44 | 0 | AbstractRemoteEntity other = (AbstractRemoteEntity) obj; |
45 | 0 | if (obj == null) return false; |
46 | 0 | if (this == obj) return true; |
47 | 0 | if (__equalsCalc != null) { |
48 | 0 | return (__equalsCalc == obj); |
49 | |
} |
50 | 0 | __equalsCalc = obj; |
51 | |
boolean _equals; |
52 | 0 | _equals = true && |
53 | |
((this.id==null && other.getId()==null) || |
54 | |
(this.id!=null && |
55 | |
this.id.equals(other.getId()))); |
56 | 0 | __equalsCalc = null; |
57 | 0 | return _equals; |
58 | |
} |
59 | |
|
60 | 0 | private boolean __hashCodeCalc = false; |
61 | |
public synchronized int hashCode() { |
62 | 0 | if (__hashCodeCalc) { |
63 | 0 | return 0; |
64 | |
} |
65 | 0 | __hashCodeCalc = true; |
66 | 0 | int _hashCode = 1; |
67 | 0 | if (getId() != null) { |
68 | 0 | _hashCode += getId().hashCode(); |
69 | |
} |
70 | 0 | __hashCodeCalc = false; |
71 | 0 | return _hashCode; |
72 | |
} |
73 | |
|
74 | |
|
75 | 0 | private static org.apache.axis.description.TypeDesc typeDesc = |
76 | |
new org.apache.axis.description.TypeDesc(AbstractRemoteEntity.class, true); |
77 | |
|
78 | |
static { |
79 | 0 | typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "AbstractRemoteEntity")); |
80 | 0 | org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); |
81 | 0 | elemField.setFieldName("id"); |
82 | 0 | elemField.setXmlName(new javax.xml.namespace.QName("", "id")); |
83 | 0 | elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); |
84 | 0 | elemField.setNillable(true); |
85 | 0 | typeDesc.addFieldDesc(elemField); |
86 | 0 | } |
87 | |
|
88 | |
|
89 | |
|
90 | |
|
91 | |
public static org.apache.axis.description.TypeDesc getTypeDesc() { |
92 | 0 | return typeDesc; |
93 | |
} |
94 | |
|
95 | |
|
96 | |
|
97 | |
|
98 | |
public static org.apache.axis.encoding.Serializer getSerializer( |
99 | |
java.lang.String mechType, |
100 | |
java.lang.Class _javaType, |
101 | |
javax.xml.namespace.QName _xmlType) { |
102 | 0 | return |
103 | |
new org.apache.axis.encoding.ser.BeanSerializer( |
104 | |
_javaType, _xmlType, typeDesc); |
105 | |
} |
106 | |
|
107 | |
|
108 | |
|
109 | |
|
110 | |
public static org.apache.axis.encoding.Deserializer getDeserializer( |
111 | |
java.lang.String mechType, |
112 | |
java.lang.Class _javaType, |
113 | |
javax.xml.namespace.QName _xmlType) { |
114 | 0 | return |
115 | |
new org.apache.axis.encoding.ser.BeanDeserializer( |
116 | |
_javaType, _xmlType, typeDesc); |
117 | |
} |
118 | |
|
119 | |
} |