1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
package org.apache.maven.plugins.patchtracker.tracking.jira.soap; |
9 | |
|
10 | |
public class RemoteUser extends org.apache.maven.plugins.patchtracker.tracking.jira.soap.RemoteEntity implements java.io.Serializable { |
11 | |
private java.lang.String email; |
12 | |
|
13 | |
private java.lang.String fullname; |
14 | |
|
15 | |
private java.lang.String name; |
16 | |
|
17 | 0 | public RemoteUser() { |
18 | 0 | } |
19 | |
|
20 | |
public RemoteUser( |
21 | |
java.lang.String email, |
22 | |
java.lang.String fullname, |
23 | 0 | java.lang.String name) { |
24 | 0 | this.email = email; |
25 | 0 | this.fullname = fullname; |
26 | 0 | this.name = name; |
27 | 0 | } |
28 | |
|
29 | |
|
30 | |
|
31 | |
|
32 | |
|
33 | |
|
34 | |
|
35 | |
public java.lang.String getEmail() { |
36 | 0 | return email; |
37 | |
} |
38 | |
|
39 | |
|
40 | |
|
41 | |
|
42 | |
|
43 | |
|
44 | |
|
45 | |
public void setEmail(java.lang.String email) { |
46 | 0 | this.email = email; |
47 | 0 | } |
48 | |
|
49 | |
|
50 | |
|
51 | |
|
52 | |
|
53 | |
|
54 | |
|
55 | |
public java.lang.String getFullname() { |
56 | 0 | return fullname; |
57 | |
} |
58 | |
|
59 | |
|
60 | |
|
61 | |
|
62 | |
|
63 | |
|
64 | |
|
65 | |
public void setFullname(java.lang.String fullname) { |
66 | 0 | this.fullname = fullname; |
67 | 0 | } |
68 | |
|
69 | |
|
70 | |
|
71 | |
|
72 | |
|
73 | |
|
74 | |
|
75 | |
public java.lang.String getName() { |
76 | 0 | return name; |
77 | |
} |
78 | |
|
79 | |
|
80 | |
|
81 | |
|
82 | |
|
83 | |
|
84 | |
|
85 | |
public void setName(java.lang.String name) { |
86 | 0 | this.name = name; |
87 | 0 | } |
88 | |
|
89 | 0 | private java.lang.Object __equalsCalc = null; |
90 | |
public synchronized boolean equals(java.lang.Object obj) { |
91 | 0 | if (!(obj instanceof RemoteUser)) return false; |
92 | 0 | RemoteUser other = (RemoteUser) obj; |
93 | 0 | if (obj == null) return false; |
94 | 0 | if (this == obj) return true; |
95 | 0 | if (__equalsCalc != null) { |
96 | 0 | return (__equalsCalc == obj); |
97 | |
} |
98 | 0 | __equalsCalc = obj; |
99 | |
boolean _equals; |
100 | 0 | _equals = super.equals(obj) && |
101 | |
((this.email==null && other.getEmail()==null) || |
102 | |
(this.email!=null && |
103 | |
this.email.equals(other.getEmail()))) && |
104 | |
((this.fullname==null && other.getFullname()==null) || |
105 | |
(this.fullname!=null && |
106 | |
this.fullname.equals(other.getFullname()))) && |
107 | |
((this.name==null && other.getName()==null) || |
108 | |
(this.name!=null && |
109 | |
this.name.equals(other.getName()))); |
110 | 0 | __equalsCalc = null; |
111 | 0 | return _equals; |
112 | |
} |
113 | |
|
114 | 0 | private boolean __hashCodeCalc = false; |
115 | |
public synchronized int hashCode() { |
116 | 0 | if (__hashCodeCalc) { |
117 | 0 | return 0; |
118 | |
} |
119 | 0 | __hashCodeCalc = true; |
120 | 0 | int _hashCode = super.hashCode(); |
121 | 0 | if (getEmail() != null) { |
122 | 0 | _hashCode += getEmail().hashCode(); |
123 | |
} |
124 | 0 | if (getFullname() != null) { |
125 | 0 | _hashCode += getFullname().hashCode(); |
126 | |
} |
127 | 0 | if (getName() != null) { |
128 | 0 | _hashCode += getName().hashCode(); |
129 | |
} |
130 | 0 | __hashCodeCalc = false; |
131 | 0 | return _hashCode; |
132 | |
} |
133 | |
|
134 | |
|
135 | 0 | private static org.apache.axis.description.TypeDesc typeDesc = |
136 | |
new org.apache.axis.description.TypeDesc(RemoteUser.class, true); |
137 | |
|
138 | |
static { |
139 | 0 | typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteUser")); |
140 | 0 | org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); |
141 | 0 | elemField.setFieldName("email"); |
142 | 0 | elemField.setXmlName(new javax.xml.namespace.QName("", "email")); |
143 | 0 | elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); |
144 | 0 | elemField.setNillable(true); |
145 | 0 | typeDesc.addFieldDesc(elemField); |
146 | 0 | elemField = new org.apache.axis.description.ElementDesc(); |
147 | 0 | elemField.setFieldName("fullname"); |
148 | 0 | elemField.setXmlName(new javax.xml.namespace.QName("", "fullname")); |
149 | 0 | elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); |
150 | 0 | elemField.setNillable(true); |
151 | 0 | typeDesc.addFieldDesc(elemField); |
152 | 0 | elemField = new org.apache.axis.description.ElementDesc(); |
153 | 0 | elemField.setFieldName("name"); |
154 | 0 | elemField.setXmlName(new javax.xml.namespace.QName("", "name")); |
155 | 0 | elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); |
156 | 0 | elemField.setNillable(true); |
157 | 0 | typeDesc.addFieldDesc(elemField); |
158 | 0 | } |
159 | |
|
160 | |
|
161 | |
|
162 | |
|
163 | |
public static org.apache.axis.description.TypeDesc getTypeDesc() { |
164 | 0 | return typeDesc; |
165 | |
} |
166 | |
|
167 | |
|
168 | |
|
169 | |
|
170 | |
public static org.apache.axis.encoding.Serializer getSerializer( |
171 | |
java.lang.String mechType, |
172 | |
java.lang.Class _javaType, |
173 | |
javax.xml.namespace.QName _xmlType) { |
174 | 0 | return |
175 | |
new org.apache.axis.encoding.ser.BeanSerializer( |
176 | |
_javaType, _xmlType, typeDesc); |
177 | |
} |
178 | |
|
179 | |
|
180 | |
|
181 | |
|
182 | |
public static org.apache.axis.encoding.Deserializer getDeserializer( |
183 | |
java.lang.String mechType, |
184 | |
java.lang.Class _javaType, |
185 | |
javax.xml.namespace.QName _xmlType) { |
186 | 0 | return |
187 | |
new org.apache.axis.encoding.ser.BeanDeserializer( |
188 | |
_javaType, _xmlType, typeDesc); |
189 | |
} |
190 | |
|
191 | |
} |