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