1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
package org.apache.maven.plugins.patchtracker.tracking.jira.soap; |
9 | |
|
10 | |
public class RemoteRoleActor implements java.io.Serializable { |
11 | |
private java.lang.String descriptor; |
12 | |
|
13 | |
private java.lang.String parameter; |
14 | |
|
15 | |
private org.apache.maven.plugins.patchtracker.tracking.jira.soap.RemoteProjectRole projectRole; |
16 | |
|
17 | |
private java.lang.String type; |
18 | |
|
19 | |
private org.apache.maven.plugins.patchtracker.tracking.jira.soap.RemoteUser[] users; |
20 | |
|
21 | 0 | public RemoteRoleActor() { |
22 | 0 | } |
23 | |
|
24 | |
public RemoteRoleActor( |
25 | |
java.lang.String descriptor, |
26 | |
java.lang.String parameter, |
27 | |
org.apache.maven.plugins.patchtracker.tracking.jira.soap.RemoteProjectRole projectRole, |
28 | |
java.lang.String type, |
29 | 0 | org.apache.maven.plugins.patchtracker.tracking.jira.soap.RemoteUser[] users) { |
30 | 0 | this.descriptor = descriptor; |
31 | 0 | this.parameter = parameter; |
32 | 0 | this.projectRole = projectRole; |
33 | 0 | this.type = type; |
34 | 0 | this.users = users; |
35 | 0 | } |
36 | |
|
37 | |
|
38 | |
|
39 | |
|
40 | |
|
41 | |
|
42 | |
|
43 | |
public java.lang.String getDescriptor() { |
44 | 0 | return descriptor; |
45 | |
} |
46 | |
|
47 | |
|
48 | |
|
49 | |
|
50 | |
|
51 | |
|
52 | |
|
53 | |
public void setDescriptor(java.lang.String descriptor) { |
54 | 0 | this.descriptor = descriptor; |
55 | 0 | } |
56 | |
|
57 | |
|
58 | |
|
59 | |
|
60 | |
|
61 | |
|
62 | |
|
63 | |
public java.lang.String getParameter() { |
64 | 0 | return parameter; |
65 | |
} |
66 | |
|
67 | |
|
68 | |
|
69 | |
|
70 | |
|
71 | |
|
72 | |
|
73 | |
public void setParameter(java.lang.String parameter) { |
74 | 0 | this.parameter = parameter; |
75 | 0 | } |
76 | |
|
77 | |
|
78 | |
|
79 | |
|
80 | |
|
81 | |
|
82 | |
|
83 | |
public org.apache.maven.plugins.patchtracker.tracking.jira.soap.RemoteProjectRole getProjectRole() { |
84 | 0 | return projectRole; |
85 | |
} |
86 | |
|
87 | |
|
88 | |
|
89 | |
|
90 | |
|
91 | |
|
92 | |
|
93 | |
public void setProjectRole(org.apache.maven.plugins.patchtracker.tracking.jira.soap.RemoteProjectRole projectRole) { |
94 | 0 | this.projectRole = projectRole; |
95 | 0 | } |
96 | |
|
97 | |
|
98 | |
|
99 | |
|
100 | |
|
101 | |
|
102 | |
|
103 | |
public java.lang.String getType() { |
104 | 0 | return type; |
105 | |
} |
106 | |
|
107 | |
|
108 | |
|
109 | |
|
110 | |
|
111 | |
|
112 | |
|
113 | |
public void setType(java.lang.String type) { |
114 | 0 | this.type = type; |
115 | 0 | } |
116 | |
|
117 | |
|
118 | |
|
119 | |
|
120 | |
|
121 | |
|
122 | |
|
123 | |
public org.apache.maven.plugins.patchtracker.tracking.jira.soap.RemoteUser[] getUsers() { |
124 | 0 | return users; |
125 | |
} |
126 | |
|
127 | |
|
128 | |
|
129 | |
|
130 | |
|
131 | |
|
132 | |
|
133 | |
public void setUsers(org.apache.maven.plugins.patchtracker.tracking.jira.soap.RemoteUser[] users) { |
134 | 0 | this.users = users; |
135 | 0 | } |
136 | |
|
137 | 0 | private java.lang.Object __equalsCalc = null; |
138 | |
public synchronized boolean equals(java.lang.Object obj) { |
139 | 0 | if (!(obj instanceof RemoteRoleActor)) return false; |
140 | 0 | RemoteRoleActor other = (RemoteRoleActor) obj; |
141 | 0 | if (obj == null) return false; |
142 | 0 | if (this == obj) return true; |
143 | 0 | if (__equalsCalc != null) { |
144 | 0 | return (__equalsCalc == obj); |
145 | |
} |
146 | 0 | __equalsCalc = obj; |
147 | |
boolean _equals; |
148 | 0 | _equals = true && |
149 | |
((this.descriptor==null && other.getDescriptor()==null) || |
150 | |
(this.descriptor!=null && |
151 | |
this.descriptor.equals(other.getDescriptor()))) && |
152 | |
((this.parameter==null && other.getParameter()==null) || |
153 | |
(this.parameter!=null && |
154 | |
this.parameter.equals(other.getParameter()))) && |
155 | |
((this.projectRole==null && other.getProjectRole()==null) || |
156 | |
(this.projectRole!=null && |
157 | |
this.projectRole.equals(other.getProjectRole()))) && |
158 | |
((this.type==null && other.getType()==null) || |
159 | |
(this.type!=null && |
160 | |
this.type.equals(other.getType()))) && |
161 | |
((this.users==null && other.getUsers()==null) || |
162 | |
(this.users!=null && |
163 | |
java.util.Arrays.equals(this.users, other.getUsers()))); |
164 | 0 | __equalsCalc = null; |
165 | 0 | return _equals; |
166 | |
} |
167 | |
|
168 | 0 | private boolean __hashCodeCalc = false; |
169 | |
public synchronized int hashCode() { |
170 | 0 | if (__hashCodeCalc) { |
171 | 0 | return 0; |
172 | |
} |
173 | 0 | __hashCodeCalc = true; |
174 | 0 | int _hashCode = 1; |
175 | 0 | if (getDescriptor() != null) { |
176 | 0 | _hashCode += getDescriptor().hashCode(); |
177 | |
} |
178 | 0 | if (getParameter() != null) { |
179 | 0 | _hashCode += getParameter().hashCode(); |
180 | |
} |
181 | 0 | if (getProjectRole() != null) { |
182 | 0 | _hashCode += getProjectRole().hashCode(); |
183 | |
} |
184 | 0 | if (getType() != null) { |
185 | 0 | _hashCode += getType().hashCode(); |
186 | |
} |
187 | 0 | if (getUsers() != null) { |
188 | 0 | for (int i=0; |
189 | 0 | i<java.lang.reflect.Array.getLength(getUsers()); |
190 | 0 | i++) { |
191 | 0 | java.lang.Object obj = java.lang.reflect.Array.get(getUsers(), i); |
192 | 0 | if (obj != null && |
193 | |
!obj.getClass().isArray()) { |
194 | 0 | _hashCode += obj.hashCode(); |
195 | |
} |
196 | |
} |
197 | |
} |
198 | 0 | __hashCodeCalc = false; |
199 | 0 | return _hashCode; |
200 | |
} |
201 | |
|
202 | |
|
203 | 0 | private static org.apache.axis.description.TypeDesc typeDesc = |
204 | |
new org.apache.axis.description.TypeDesc(RemoteRoleActor.class, true); |
205 | |
|
206 | |
static { |
207 | 0 | typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteRoleActor")); |
208 | 0 | org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); |
209 | 0 | elemField.setFieldName("descriptor"); |
210 | 0 | elemField.setXmlName(new javax.xml.namespace.QName("", "descriptor")); |
211 | 0 | elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); |
212 | 0 | elemField.setNillable(true); |
213 | 0 | typeDesc.addFieldDesc(elemField); |
214 | 0 | elemField = new org.apache.axis.description.ElementDesc(); |
215 | 0 | elemField.setFieldName("parameter"); |
216 | 0 | elemField.setXmlName(new javax.xml.namespace.QName("", "parameter")); |
217 | 0 | elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); |
218 | 0 | elemField.setNillable(true); |
219 | 0 | typeDesc.addFieldDesc(elemField); |
220 | 0 | elemField = new org.apache.axis.description.ElementDesc(); |
221 | 0 | elemField.setFieldName("projectRole"); |
222 | 0 | elemField.setXmlName(new javax.xml.namespace.QName("", "projectRole")); |
223 | 0 | elemField.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProjectRole")); |
224 | 0 | elemField.setNillable(true); |
225 | 0 | typeDesc.addFieldDesc(elemField); |
226 | 0 | elemField = new org.apache.axis.description.ElementDesc(); |
227 | 0 | elemField.setFieldName("type"); |
228 | 0 | elemField.setXmlName(new javax.xml.namespace.QName("", "type")); |
229 | 0 | elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); |
230 | 0 | elemField.setNillable(true); |
231 | 0 | typeDesc.addFieldDesc(elemField); |
232 | 0 | elemField = new org.apache.axis.description.ElementDesc(); |
233 | 0 | elemField.setFieldName("users"); |
234 | 0 | elemField.setXmlName(new javax.xml.namespace.QName("", "users")); |
235 | 0 | elemField.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteUser")); |
236 | 0 | elemField.setNillable(true); |
237 | 0 | typeDesc.addFieldDesc(elemField); |
238 | 0 | } |
239 | |
|
240 | |
|
241 | |
|
242 | |
|
243 | |
public static org.apache.axis.description.TypeDesc getTypeDesc() { |
244 | 0 | return typeDesc; |
245 | |
} |
246 | |
|
247 | |
|
248 | |
|
249 | |
|
250 | |
public static org.apache.axis.encoding.Serializer getSerializer( |
251 | |
java.lang.String mechType, |
252 | |
java.lang.Class _javaType, |
253 | |
javax.xml.namespace.QName _xmlType) { |
254 | 0 | return |
255 | |
new org.apache.axis.encoding.ser.BeanSerializer( |
256 | |
_javaType, _xmlType, typeDesc); |
257 | |
} |
258 | |
|
259 | |
|
260 | |
|
261 | |
|
262 | |
public static org.apache.axis.encoding.Deserializer getDeserializer( |
263 | |
java.lang.String mechType, |
264 | |
java.lang.Class _javaType, |
265 | |
javax.xml.namespace.QName _xmlType) { |
266 | 0 | return |
267 | |
new org.apache.axis.encoding.ser.BeanDeserializer( |
268 | |
_javaType, _xmlType, typeDesc); |
269 | |
} |
270 | |
|
271 | |
} |