1
2
3
4
5
6
7
8 package org.ogf.srm22;
9
10 public class TRequestSummary implements java.io.Serializable {
11 private java.lang.String requestToken;
12
13 private org.ogf.srm22.TReturnStatus status;
14
15 private org.ogf.srm22.TRequestType requestType;
16
17 private java.lang.Integer totalNumFilesInRequest;
18
19 private java.lang.Integer numOfCompletedFiles;
20
21 private java.lang.Integer numOfWaitingFiles;
22
23 private java.lang.Integer numOfFailedFiles;
24
25 public TRequestSummary() {
26 }
27
28 public TRequestSummary(
29 java.lang.String requestToken,
30 org.ogf.srm22.TReturnStatus status,
31 org.ogf.srm22.TRequestType requestType,
32 java.lang.Integer totalNumFilesInRequest,
33 java.lang.Integer numOfCompletedFiles,
34 java.lang.Integer numOfWaitingFiles,
35 java.lang.Integer numOfFailedFiles) {
36 this.requestToken = requestToken;
37 this.status = status;
38 this.requestType = requestType;
39 this.totalNumFilesInRequest = totalNumFilesInRequest;
40 this.numOfCompletedFiles = numOfCompletedFiles;
41 this.numOfWaitingFiles = numOfWaitingFiles;
42 this.numOfFailedFiles = numOfFailedFiles;
43 }
44
45
46
47
48
49
50
51 public java.lang.String getRequestToken() {
52 return requestToken;
53 }
54
55
56
57
58
59
60
61 public void setRequestToken(java.lang.String requestToken) {
62 this.requestToken = requestToken;
63 }
64
65
66
67
68
69
70
71 public org.ogf.srm22.TReturnStatus getStatus() {
72 return status;
73 }
74
75
76
77
78
79
80
81 public void setStatus(org.ogf.srm22.TReturnStatus status) {
82 this.status = status;
83 }
84
85
86
87
88
89
90
91 public org.ogf.srm22.TRequestType getRequestType() {
92 return requestType;
93 }
94
95
96
97
98
99
100
101 public void setRequestType(org.ogf.srm22.TRequestType requestType) {
102 this.requestType = requestType;
103 }
104
105
106
107
108
109
110
111 public java.lang.Integer getTotalNumFilesInRequest() {
112 return totalNumFilesInRequest;
113 }
114
115
116
117
118
119
120
121 public void setTotalNumFilesInRequest(java.lang.Integer totalNumFilesInRequest) {
122 this.totalNumFilesInRequest = totalNumFilesInRequest;
123 }
124
125
126
127
128
129
130
131 public java.lang.Integer getNumOfCompletedFiles() {
132 return numOfCompletedFiles;
133 }
134
135
136
137
138
139
140
141 public void setNumOfCompletedFiles(java.lang.Integer numOfCompletedFiles) {
142 this.numOfCompletedFiles = numOfCompletedFiles;
143 }
144
145
146
147
148
149
150
151 public java.lang.Integer getNumOfWaitingFiles() {
152 return numOfWaitingFiles;
153 }
154
155
156
157
158
159
160
161 public void setNumOfWaitingFiles(java.lang.Integer numOfWaitingFiles) {
162 this.numOfWaitingFiles = numOfWaitingFiles;
163 }
164
165
166
167
168
169
170
171 public java.lang.Integer getNumOfFailedFiles() {
172 return numOfFailedFiles;
173 }
174
175
176
177
178
179
180
181 public void setNumOfFailedFiles(java.lang.Integer numOfFailedFiles) {
182 this.numOfFailedFiles = numOfFailedFiles;
183 }
184
185 private java.lang.Object __equalsCalc = null;
186 public synchronized boolean equals(java.lang.Object obj) {
187 if (!(obj instanceof TRequestSummary)) return false;
188 TRequestSummary other = (TRequestSummary) obj;
189 if (obj == null) return false;
190 if (this == obj) return true;
191 if (__equalsCalc != null) {
192 return (__equalsCalc == obj);
193 }
194 __equalsCalc = obj;
195 boolean _equals;
196 _equals = true &&
197 ((this.requestToken==null && other.getRequestToken()==null) ||
198 (this.requestToken!=null &&
199 this.requestToken.equals(other.getRequestToken()))) &&
200 ((this.status==null && other.getStatus()==null) ||
201 (this.status!=null &&
202 this.status.equals(other.getStatus()))) &&
203 ((this.requestType==null && other.getRequestType()==null) ||
204 (this.requestType!=null &&
205 this.requestType.equals(other.getRequestType()))) &&
206 ((this.totalNumFilesInRequest==null && other.getTotalNumFilesInRequest()==null) ||
207 (this.totalNumFilesInRequest!=null &&
208 this.totalNumFilesInRequest.equals(other.getTotalNumFilesInRequest()))) &&
209 ((this.numOfCompletedFiles==null && other.getNumOfCompletedFiles()==null) ||
210 (this.numOfCompletedFiles!=null &&
211 this.numOfCompletedFiles.equals(other.getNumOfCompletedFiles()))) &&
212 ((this.numOfWaitingFiles==null && other.getNumOfWaitingFiles()==null) ||
213 (this.numOfWaitingFiles!=null &&
214 this.numOfWaitingFiles.equals(other.getNumOfWaitingFiles()))) &&
215 ((this.numOfFailedFiles==null && other.getNumOfFailedFiles()==null) ||
216 (this.numOfFailedFiles!=null &&
217 this.numOfFailedFiles.equals(other.getNumOfFailedFiles())));
218 __equalsCalc = null;
219 return _equals;
220 }
221
222 private boolean __hashCodeCalc = false;
223 public synchronized int hashCode() {
224 if (__hashCodeCalc) {
225 return 0;
226 }
227 __hashCodeCalc = true;
228 int _hashCode = 1;
229 if (getRequestToken() != null) {
230 _hashCode += getRequestToken().hashCode();
231 }
232 if (getStatus() != null) {
233 _hashCode += getStatus().hashCode();
234 }
235 if (getRequestType() != null) {
236 _hashCode += getRequestType().hashCode();
237 }
238 if (getTotalNumFilesInRequest() != null) {
239 _hashCode += getTotalNumFilesInRequest().hashCode();
240 }
241 if (getNumOfCompletedFiles() != null) {
242 _hashCode += getNumOfCompletedFiles().hashCode();
243 }
244 if (getNumOfWaitingFiles() != null) {
245 _hashCode += getNumOfWaitingFiles().hashCode();
246 }
247 if (getNumOfFailedFiles() != null) {
248 _hashCode += getNumOfFailedFiles().hashCode();
249 }
250 __hashCodeCalc = false;
251 return _hashCode;
252 }
253
254
255 private static org.apache.axis.description.TypeDesc typeDesc =
256 new org.apache.axis.description.TypeDesc(TRequestSummary.class, true);
257
258 static {
259 typeDesc.setXmlType(new javax.xml.namespace.QName("http://srm.lbl.gov/StorageResourceManager", "TRequestSummary"));
260 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
261 elemField.setFieldName("requestToken");
262 elemField.setXmlName(new javax.xml.namespace.QName("", "requestToken"));
263 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
264 elemField.setNillable(false);
265 typeDesc.addFieldDesc(elemField);
266 elemField = new org.apache.axis.description.ElementDesc();
267 elemField.setFieldName("status");
268 elemField.setXmlName(new javax.xml.namespace.QName("", "status"));
269 elemField.setXmlType(new javax.xml.namespace.QName("http://srm.lbl.gov/StorageResourceManager", "TReturnStatus"));
270 elemField.setNillable(false);
271 typeDesc.addFieldDesc(elemField);
272 elemField = new org.apache.axis.description.ElementDesc();
273 elemField.setFieldName("requestType");
274 elemField.setXmlName(new javax.xml.namespace.QName("", "requestType"));
275 elemField.setXmlType(new javax.xml.namespace.QName("http://srm.lbl.gov/StorageResourceManager", "TRequestType"));
276 elemField.setMinOccurs(0);
277 elemField.setNillable(true);
278 typeDesc.addFieldDesc(elemField);
279 elemField = new org.apache.axis.description.ElementDesc();
280 elemField.setFieldName("totalNumFilesInRequest");
281 elemField.setXmlName(new javax.xml.namespace.QName("", "totalNumFilesInRequest"));
282 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
283 elemField.setMinOccurs(0);
284 elemField.setNillable(true);
285 typeDesc.addFieldDesc(elemField);
286 elemField = new org.apache.axis.description.ElementDesc();
287 elemField.setFieldName("numOfCompletedFiles");
288 elemField.setXmlName(new javax.xml.namespace.QName("", "numOfCompletedFiles"));
289 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
290 elemField.setMinOccurs(0);
291 elemField.setNillable(true);
292 typeDesc.addFieldDesc(elemField);
293 elemField = new org.apache.axis.description.ElementDesc();
294 elemField.setFieldName("numOfWaitingFiles");
295 elemField.setXmlName(new javax.xml.namespace.QName("", "numOfWaitingFiles"));
296 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
297 elemField.setMinOccurs(0);
298 elemField.setNillable(true);
299 typeDesc.addFieldDesc(elemField);
300 elemField = new org.apache.axis.description.ElementDesc();
301 elemField.setFieldName("numOfFailedFiles");
302 elemField.setXmlName(new javax.xml.namespace.QName("", "numOfFailedFiles"));
303 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
304 elemField.setMinOccurs(0);
305 elemField.setNillable(true);
306 typeDesc.addFieldDesc(elemField);
307 }
308
309
310
311
312 public static org.apache.axis.description.TypeDesc getTypeDesc() {
313 return typeDesc;
314 }
315
316
317
318
319 public static org.apache.axis.encoding.Serializer getSerializer(
320 java.lang.String mechType,
321 java.lang.Class _javaType,
322 javax.xml.namespace.QName _xmlType) {
323 return
324 new org.apache.axis.encoding.ser.BeanSerializer(
325 _javaType, _xmlType, typeDesc);
326 }
327
328
329
330
331 public static org.apache.axis.encoding.Deserializer getDeserializer(
332 java.lang.String mechType,
333 java.lang.Class _javaType,
334 javax.xml.namespace.QName _xmlType) {
335 return
336 new org.apache.axis.encoding.ser.BeanDeserializer(
337 _javaType, _xmlType, typeDesc);
338 }
339
340 }