1
2
3
4
5
6
7
8 package org.ogf.srm22;
9
10 public class SrmBringOnlineRequest implements java.io.Serializable {
11 private java.lang.String authorizationID;
12
13 private org.ogf.srm22.ArrayOfTGetFileRequest arrayOfFileRequests;
14
15 private java.lang.String userRequestDescription;
16
17 private org.ogf.srm22.ArrayOfTExtraInfo storageSystemInfo;
18
19 private org.ogf.srm22.TFileStorageType desiredFileStorageType;
20
21 private java.lang.Integer desiredTotalRequestTime;
22
23 private java.lang.Integer desiredLifeTime;
24
25 private java.lang.String targetSpaceToken;
26
27 private org.ogf.srm22.TRetentionPolicyInfo targetFileRetentionPolicyInfo;
28
29 private org.ogf.srm22.TTransferParameters transferParameters;
30
31 private java.lang.Integer deferredStartTime;
32
33 public SrmBringOnlineRequest() {
34 }
35
36 public SrmBringOnlineRequest(
37 java.lang.String authorizationID,
38 org.ogf.srm22.ArrayOfTGetFileRequest arrayOfFileRequests,
39 java.lang.String userRequestDescription,
40 org.ogf.srm22.ArrayOfTExtraInfo storageSystemInfo,
41 org.ogf.srm22.TFileStorageType desiredFileStorageType,
42 java.lang.Integer desiredTotalRequestTime,
43 java.lang.Integer desiredLifeTime,
44 java.lang.String targetSpaceToken,
45 org.ogf.srm22.TRetentionPolicyInfo targetFileRetentionPolicyInfo,
46 org.ogf.srm22.TTransferParameters transferParameters,
47 java.lang.Integer deferredStartTime) {
48 this.authorizationID = authorizationID;
49 this.arrayOfFileRequests = arrayOfFileRequests;
50 this.userRequestDescription = userRequestDescription;
51 this.storageSystemInfo = storageSystemInfo;
52 this.desiredFileStorageType = desiredFileStorageType;
53 this.desiredTotalRequestTime = desiredTotalRequestTime;
54 this.desiredLifeTime = desiredLifeTime;
55 this.targetSpaceToken = targetSpaceToken;
56 this.targetFileRetentionPolicyInfo = targetFileRetentionPolicyInfo;
57 this.transferParameters = transferParameters;
58 this.deferredStartTime = deferredStartTime;
59 }
60
61
62
63
64
65
66
67 public java.lang.String getAuthorizationID() {
68 return authorizationID;
69 }
70
71
72
73
74
75
76
77 public void setAuthorizationID(java.lang.String authorizationID) {
78 this.authorizationID = authorizationID;
79 }
80
81
82
83
84
85
86
87 public org.ogf.srm22.ArrayOfTGetFileRequest getArrayOfFileRequests() {
88 return arrayOfFileRequests;
89 }
90
91
92
93
94
95
96
97 public void setArrayOfFileRequests(org.ogf.srm22.ArrayOfTGetFileRequest arrayOfFileRequests) {
98 this.arrayOfFileRequests = arrayOfFileRequests;
99 }
100
101
102
103
104
105
106
107 public java.lang.String getUserRequestDescription() {
108 return userRequestDescription;
109 }
110
111
112
113
114
115
116
117 public void setUserRequestDescription(java.lang.String userRequestDescription) {
118 this.userRequestDescription = userRequestDescription;
119 }
120
121
122
123
124
125
126
127 public org.ogf.srm22.ArrayOfTExtraInfo getStorageSystemInfo() {
128 return storageSystemInfo;
129 }
130
131
132
133
134
135
136
137 public void setStorageSystemInfo(org.ogf.srm22.ArrayOfTExtraInfo storageSystemInfo) {
138 this.storageSystemInfo = storageSystemInfo;
139 }
140
141
142
143
144
145
146
147 public org.ogf.srm22.TFileStorageType getDesiredFileStorageType() {
148 return desiredFileStorageType;
149 }
150
151
152
153
154
155
156
157 public void setDesiredFileStorageType(org.ogf.srm22.TFileStorageType desiredFileStorageType) {
158 this.desiredFileStorageType = desiredFileStorageType;
159 }
160
161
162
163
164
165
166
167 public java.lang.Integer getDesiredTotalRequestTime() {
168 return desiredTotalRequestTime;
169 }
170
171
172
173
174
175
176
177 public void setDesiredTotalRequestTime(java.lang.Integer desiredTotalRequestTime) {
178 this.desiredTotalRequestTime = desiredTotalRequestTime;
179 }
180
181
182
183
184
185
186
187 public java.lang.Integer getDesiredLifeTime() {
188 return desiredLifeTime;
189 }
190
191
192
193
194
195
196
197 public void setDesiredLifeTime(java.lang.Integer desiredLifeTime) {
198 this.desiredLifeTime = desiredLifeTime;
199 }
200
201
202
203
204
205
206
207 public java.lang.String getTargetSpaceToken() {
208 return targetSpaceToken;
209 }
210
211
212
213
214
215
216
217 public void setTargetSpaceToken(java.lang.String targetSpaceToken) {
218 this.targetSpaceToken = targetSpaceToken;
219 }
220
221
222
223
224
225
226
227 public org.ogf.srm22.TRetentionPolicyInfo getTargetFileRetentionPolicyInfo() {
228 return targetFileRetentionPolicyInfo;
229 }
230
231
232
233
234
235
236
237 public void setTargetFileRetentionPolicyInfo(org.ogf.srm22.TRetentionPolicyInfo targetFileRetentionPolicyInfo) {
238 this.targetFileRetentionPolicyInfo = targetFileRetentionPolicyInfo;
239 }
240
241
242
243
244
245
246
247 public org.ogf.srm22.TTransferParameters getTransferParameters() {
248 return transferParameters;
249 }
250
251
252
253
254
255
256
257 public void setTransferParameters(org.ogf.srm22.TTransferParameters transferParameters) {
258 this.transferParameters = transferParameters;
259 }
260
261
262
263
264
265
266
267 public java.lang.Integer getDeferredStartTime() {
268 return deferredStartTime;
269 }
270
271
272
273
274
275
276
277 public void setDeferredStartTime(java.lang.Integer deferredStartTime) {
278 this.deferredStartTime = deferredStartTime;
279 }
280
281 private java.lang.Object __equalsCalc = null;
282 public synchronized boolean equals(java.lang.Object obj) {
283 if (!(obj instanceof SrmBringOnlineRequest)) return false;
284 SrmBringOnlineRequest other = (SrmBringOnlineRequest) obj;
285 if (obj == null) return false;
286 if (this == obj) return true;
287 if (__equalsCalc != null) {
288 return (__equalsCalc == obj);
289 }
290 __equalsCalc = obj;
291 boolean _equals;
292 _equals = true &&
293 ((this.authorizationID==null && other.getAuthorizationID()==null) ||
294 (this.authorizationID!=null &&
295 this.authorizationID.equals(other.getAuthorizationID()))) &&
296 ((this.arrayOfFileRequests==null && other.getArrayOfFileRequests()==null) ||
297 (this.arrayOfFileRequests!=null &&
298 this.arrayOfFileRequests.equals(other.getArrayOfFileRequests()))) &&
299 ((this.userRequestDescription==null && other.getUserRequestDescription()==null) ||
300 (this.userRequestDescription!=null &&
301 this.userRequestDescription.equals(other.getUserRequestDescription()))) &&
302 ((this.storageSystemInfo==null && other.getStorageSystemInfo()==null) ||
303 (this.storageSystemInfo!=null &&
304 this.storageSystemInfo.equals(other.getStorageSystemInfo()))) &&
305 ((this.desiredFileStorageType==null && other.getDesiredFileStorageType()==null) ||
306 (this.desiredFileStorageType!=null &&
307 this.desiredFileStorageType.equals(other.getDesiredFileStorageType()))) &&
308 ((this.desiredTotalRequestTime==null && other.getDesiredTotalRequestTime()==null) ||
309 (this.desiredTotalRequestTime!=null &&
310 this.desiredTotalRequestTime.equals(other.getDesiredTotalRequestTime()))) &&
311 ((this.desiredLifeTime==null && other.getDesiredLifeTime()==null) ||
312 (this.desiredLifeTime!=null &&
313 this.desiredLifeTime.equals(other.getDesiredLifeTime()))) &&
314 ((this.targetSpaceToken==null && other.getTargetSpaceToken()==null) ||
315 (this.targetSpaceToken!=null &&
316 this.targetSpaceToken.equals(other.getTargetSpaceToken()))) &&
317 ((this.targetFileRetentionPolicyInfo==null && other.getTargetFileRetentionPolicyInfo()==null) ||
318 (this.targetFileRetentionPolicyInfo!=null &&
319 this.targetFileRetentionPolicyInfo.equals(other.getTargetFileRetentionPolicyInfo()))) &&
320 ((this.transferParameters==null && other.getTransferParameters()==null) ||
321 (this.transferParameters!=null &&
322 this.transferParameters.equals(other.getTransferParameters()))) &&
323 ((this.deferredStartTime==null && other.getDeferredStartTime()==null) ||
324 (this.deferredStartTime!=null &&
325 this.deferredStartTime.equals(other.getDeferredStartTime())));
326 __equalsCalc = null;
327 return _equals;
328 }
329
330 private boolean __hashCodeCalc = false;
331 public synchronized int hashCode() {
332 if (__hashCodeCalc) {
333 return 0;
334 }
335 __hashCodeCalc = true;
336 int _hashCode = 1;
337 if (getAuthorizationID() != null) {
338 _hashCode += getAuthorizationID().hashCode();
339 }
340 if (getArrayOfFileRequests() != null) {
341 _hashCode += getArrayOfFileRequests().hashCode();
342 }
343 if (getUserRequestDescription() != null) {
344 _hashCode += getUserRequestDescription().hashCode();
345 }
346 if (getStorageSystemInfo() != null) {
347 _hashCode += getStorageSystemInfo().hashCode();
348 }
349 if (getDesiredFileStorageType() != null) {
350 _hashCode += getDesiredFileStorageType().hashCode();
351 }
352 if (getDesiredTotalRequestTime() != null) {
353 _hashCode += getDesiredTotalRequestTime().hashCode();
354 }
355 if (getDesiredLifeTime() != null) {
356 _hashCode += getDesiredLifeTime().hashCode();
357 }
358 if (getTargetSpaceToken() != null) {
359 _hashCode += getTargetSpaceToken().hashCode();
360 }
361 if (getTargetFileRetentionPolicyInfo() != null) {
362 _hashCode += getTargetFileRetentionPolicyInfo().hashCode();
363 }
364 if (getTransferParameters() != null) {
365 _hashCode += getTransferParameters().hashCode();
366 }
367 if (getDeferredStartTime() != null) {
368 _hashCode += getDeferredStartTime().hashCode();
369 }
370 __hashCodeCalc = false;
371 return _hashCode;
372 }
373
374
375 private static org.apache.axis.description.TypeDesc typeDesc =
376 new org.apache.axis.description.TypeDesc(SrmBringOnlineRequest.class, true);
377
378 static {
379 typeDesc.setXmlType(new javax.xml.namespace.QName("http://srm.lbl.gov/StorageResourceManager", "srmBringOnlineRequest"));
380 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
381 elemField.setFieldName("authorizationID");
382 elemField.setXmlName(new javax.xml.namespace.QName("", "authorizationID"));
383 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
384 elemField.setMinOccurs(0);
385 elemField.setNillable(true);
386 typeDesc.addFieldDesc(elemField);
387 elemField = new org.apache.axis.description.ElementDesc();
388 elemField.setFieldName("arrayOfFileRequests");
389 elemField.setXmlName(new javax.xml.namespace.QName("", "arrayOfFileRequests"));
390 elemField.setXmlType(new javax.xml.namespace.QName("http://srm.lbl.gov/StorageResourceManager", "ArrayOfTGetFileRequest"));
391 elemField.setNillable(false);
392 typeDesc.addFieldDesc(elemField);
393 elemField = new org.apache.axis.description.ElementDesc();
394 elemField.setFieldName("userRequestDescription");
395 elemField.setXmlName(new javax.xml.namespace.QName("", "userRequestDescription"));
396 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
397 elemField.setMinOccurs(0);
398 elemField.setNillable(true);
399 typeDesc.addFieldDesc(elemField);
400 elemField = new org.apache.axis.description.ElementDesc();
401 elemField.setFieldName("storageSystemInfo");
402 elemField.setXmlName(new javax.xml.namespace.QName("", "storageSystemInfo"));
403 elemField.setXmlType(new javax.xml.namespace.QName("http://srm.lbl.gov/StorageResourceManager", "ArrayOfTExtraInfo"));
404 elemField.setMinOccurs(0);
405 elemField.setNillable(true);
406 typeDesc.addFieldDesc(elemField);
407 elemField = new org.apache.axis.description.ElementDesc();
408 elemField.setFieldName("desiredFileStorageType");
409 elemField.setXmlName(new javax.xml.namespace.QName("", "desiredFileStorageType"));
410 elemField.setXmlType(new javax.xml.namespace.QName("http://srm.lbl.gov/StorageResourceManager", "TFileStorageType"));
411 elemField.setMinOccurs(0);
412 elemField.setNillable(true);
413 typeDesc.addFieldDesc(elemField);
414 elemField = new org.apache.axis.description.ElementDesc();
415 elemField.setFieldName("desiredTotalRequestTime");
416 elemField.setXmlName(new javax.xml.namespace.QName("", "desiredTotalRequestTime"));
417 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
418 elemField.setMinOccurs(0);
419 elemField.setNillable(true);
420 typeDesc.addFieldDesc(elemField);
421 elemField = new org.apache.axis.description.ElementDesc();
422 elemField.setFieldName("desiredLifeTime");
423 elemField.setXmlName(new javax.xml.namespace.QName("", "desiredLifeTime"));
424 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
425 elemField.setMinOccurs(0);
426 elemField.setNillable(true);
427 typeDesc.addFieldDesc(elemField);
428 elemField = new org.apache.axis.description.ElementDesc();
429 elemField.setFieldName("targetSpaceToken");
430 elemField.setXmlName(new javax.xml.namespace.QName("", "targetSpaceToken"));
431 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
432 elemField.setMinOccurs(0);
433 elemField.setNillable(true);
434 typeDesc.addFieldDesc(elemField);
435 elemField = new org.apache.axis.description.ElementDesc();
436 elemField.setFieldName("targetFileRetentionPolicyInfo");
437 elemField.setXmlName(new javax.xml.namespace.QName("", "targetFileRetentionPolicyInfo"));
438 elemField.setXmlType(new javax.xml.namespace.QName("http://srm.lbl.gov/StorageResourceManager", "TRetentionPolicyInfo"));
439 elemField.setMinOccurs(0);
440 elemField.setNillable(true);
441 typeDesc.addFieldDesc(elemField);
442 elemField = new org.apache.axis.description.ElementDesc();
443 elemField.setFieldName("transferParameters");
444 elemField.setXmlName(new javax.xml.namespace.QName("", "transferParameters"));
445 elemField.setXmlType(new javax.xml.namespace.QName("http://srm.lbl.gov/StorageResourceManager", "TTransferParameters"));
446 elemField.setMinOccurs(0);
447 elemField.setNillable(true);
448 typeDesc.addFieldDesc(elemField);
449 elemField = new org.apache.axis.description.ElementDesc();
450 elemField.setFieldName("deferredStartTime");
451 elemField.setXmlName(new javax.xml.namespace.QName("", "deferredStartTime"));
452 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
453 elemField.setMinOccurs(0);
454 elemField.setNillable(true);
455 typeDesc.addFieldDesc(elemField);
456 }
457
458
459
460
461 public static org.apache.axis.description.TypeDesc getTypeDesc() {
462 return typeDesc;
463 }
464
465
466
467
468 public static org.apache.axis.encoding.Serializer getSerializer(
469 java.lang.String mechType,
470 java.lang.Class _javaType,
471 javax.xml.namespace.QName _xmlType) {
472 return
473 new org.apache.axis.encoding.ser.BeanSerializer(
474 _javaType, _xmlType, typeDesc);
475 }
476
477
478
479
480 public static org.apache.axis.encoding.Deserializer getDeserializer(
481 java.lang.String mechType,
482 java.lang.Class _javaType,
483 javax.xml.namespace.QName _xmlType) {
484 return
485 new org.apache.axis.encoding.ser.BeanDeserializer(
486 _javaType, _xmlType, typeDesc);
487 }
488
489 }