1
2
3
4
5
6
7
8 package org.ogf.srm22;
9
10 public class SrmCopyRequest implements java.io.Serializable {
11 private java.lang.String authorizationID;
12
13 private org.ogf.srm22.ArrayOfTCopyFileRequest arrayOfFileRequests;
14
15 private java.lang.String userRequestDescription;
16
17 private org.ogf.srm22.TOverwriteMode overwriteOption;
18
19 private java.lang.Integer desiredTotalRequestTime;
20
21 private java.lang.Integer desiredTargetSURLLifeTime;
22
23 private org.ogf.srm22.TFileStorageType targetFileStorageType;
24
25 private java.lang.String targetSpaceToken;
26
27 private org.ogf.srm22.TRetentionPolicyInfo targetFileRetentionPolicyInfo;
28
29 private org.ogf.srm22.ArrayOfTExtraInfo sourceStorageSystemInfo;
30
31 private org.ogf.srm22.ArrayOfTExtraInfo targetStorageSystemInfo;
32
33 public SrmCopyRequest() {
34 }
35
36 public SrmCopyRequest(
37 java.lang.String authorizationID,
38 org.ogf.srm22.ArrayOfTCopyFileRequest arrayOfFileRequests,
39 java.lang.String userRequestDescription,
40 org.ogf.srm22.TOverwriteMode overwriteOption,
41 java.lang.Integer desiredTotalRequestTime,
42 java.lang.Integer desiredTargetSURLLifeTime,
43 org.ogf.srm22.TFileStorageType targetFileStorageType,
44 java.lang.String targetSpaceToken,
45 org.ogf.srm22.TRetentionPolicyInfo targetFileRetentionPolicyInfo,
46 org.ogf.srm22.ArrayOfTExtraInfo sourceStorageSystemInfo,
47 org.ogf.srm22.ArrayOfTExtraInfo targetStorageSystemInfo) {
48 this.authorizationID = authorizationID;
49 this.arrayOfFileRequests = arrayOfFileRequests;
50 this.userRequestDescription = userRequestDescription;
51 this.overwriteOption = overwriteOption;
52 this.desiredTotalRequestTime = desiredTotalRequestTime;
53 this.desiredTargetSURLLifeTime = desiredTargetSURLLifeTime;
54 this.targetFileStorageType = targetFileStorageType;
55 this.targetSpaceToken = targetSpaceToken;
56 this.targetFileRetentionPolicyInfo = targetFileRetentionPolicyInfo;
57 this.sourceStorageSystemInfo = sourceStorageSystemInfo;
58 this.targetStorageSystemInfo = targetStorageSystemInfo;
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.ArrayOfTCopyFileRequest getArrayOfFileRequests() {
88 return arrayOfFileRequests;
89 }
90
91
92
93
94
95
96
97 public void setArrayOfFileRequests(org.ogf.srm22.ArrayOfTCopyFileRequest 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.TOverwriteMode getOverwriteOption() {
128 return overwriteOption;
129 }
130
131
132
133
134
135
136
137 public void setOverwriteOption(org.ogf.srm22.TOverwriteMode overwriteOption) {
138 this.overwriteOption = overwriteOption;
139 }
140
141
142
143
144
145
146
147 public java.lang.Integer getDesiredTotalRequestTime() {
148 return desiredTotalRequestTime;
149 }
150
151
152
153
154
155
156
157 public void setDesiredTotalRequestTime(java.lang.Integer desiredTotalRequestTime) {
158 this.desiredTotalRequestTime = desiredTotalRequestTime;
159 }
160
161
162
163
164
165
166
167 public java.lang.Integer getDesiredTargetSURLLifeTime() {
168 return desiredTargetSURLLifeTime;
169 }
170
171
172
173
174
175
176
177 public void setDesiredTargetSURLLifeTime(java.lang.Integer desiredTargetSURLLifeTime) {
178 this.desiredTargetSURLLifeTime = desiredTargetSURLLifeTime;
179 }
180
181
182
183
184
185
186
187 public org.ogf.srm22.TFileStorageType getTargetFileStorageType() {
188 return targetFileStorageType;
189 }
190
191
192
193
194
195
196
197 public void setTargetFileStorageType(org.ogf.srm22.TFileStorageType targetFileStorageType) {
198 this.targetFileStorageType = targetFileStorageType;
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.ArrayOfTExtraInfo getSourceStorageSystemInfo() {
248 return sourceStorageSystemInfo;
249 }
250
251
252
253
254
255
256
257 public void setSourceStorageSystemInfo(org.ogf.srm22.ArrayOfTExtraInfo sourceStorageSystemInfo) {
258 this.sourceStorageSystemInfo = sourceStorageSystemInfo;
259 }
260
261
262
263
264
265
266
267 public org.ogf.srm22.ArrayOfTExtraInfo getTargetStorageSystemInfo() {
268 return targetStorageSystemInfo;
269 }
270
271
272
273
274
275
276
277 public void setTargetStorageSystemInfo(org.ogf.srm22.ArrayOfTExtraInfo targetStorageSystemInfo) {
278 this.targetStorageSystemInfo = targetStorageSystemInfo;
279 }
280
281 private java.lang.Object __equalsCalc = null;
282 public synchronized boolean equals(java.lang.Object obj) {
283 if (!(obj instanceof SrmCopyRequest)) return false;
284 SrmCopyRequest other = (SrmCopyRequest) 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.overwriteOption==null && other.getOverwriteOption()==null) ||
303 (this.overwriteOption!=null &&
304 this.overwriteOption.equals(other.getOverwriteOption()))) &&
305 ((this.desiredTotalRequestTime==null && other.getDesiredTotalRequestTime()==null) ||
306 (this.desiredTotalRequestTime!=null &&
307 this.desiredTotalRequestTime.equals(other.getDesiredTotalRequestTime()))) &&
308 ((this.desiredTargetSURLLifeTime==null && other.getDesiredTargetSURLLifeTime()==null) ||
309 (this.desiredTargetSURLLifeTime!=null &&
310 this.desiredTargetSURLLifeTime.equals(other.getDesiredTargetSURLLifeTime()))) &&
311 ((this.targetFileStorageType==null && other.getTargetFileStorageType()==null) ||
312 (this.targetFileStorageType!=null &&
313 this.targetFileStorageType.equals(other.getTargetFileStorageType()))) &&
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.sourceStorageSystemInfo==null && other.getSourceStorageSystemInfo()==null) ||
321 (this.sourceStorageSystemInfo!=null &&
322 this.sourceStorageSystemInfo.equals(other.getSourceStorageSystemInfo()))) &&
323 ((this.targetStorageSystemInfo==null && other.getTargetStorageSystemInfo()==null) ||
324 (this.targetStorageSystemInfo!=null &&
325 this.targetStorageSystemInfo.equals(other.getTargetStorageSystemInfo())));
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 (getOverwriteOption() != null) {
347 _hashCode += getOverwriteOption().hashCode();
348 }
349 if (getDesiredTotalRequestTime() != null) {
350 _hashCode += getDesiredTotalRequestTime().hashCode();
351 }
352 if (getDesiredTargetSURLLifeTime() != null) {
353 _hashCode += getDesiredTargetSURLLifeTime().hashCode();
354 }
355 if (getTargetFileStorageType() != null) {
356 _hashCode += getTargetFileStorageType().hashCode();
357 }
358 if (getTargetSpaceToken() != null) {
359 _hashCode += getTargetSpaceToken().hashCode();
360 }
361 if (getTargetFileRetentionPolicyInfo() != null) {
362 _hashCode += getTargetFileRetentionPolicyInfo().hashCode();
363 }
364 if (getSourceStorageSystemInfo() != null) {
365 _hashCode += getSourceStorageSystemInfo().hashCode();
366 }
367 if (getTargetStorageSystemInfo() != null) {
368 _hashCode += getTargetStorageSystemInfo().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(SrmCopyRequest.class, true);
377
378 static {
379 typeDesc.setXmlType(new javax.xml.namespace.QName("http://srm.lbl.gov/StorageResourceManager", "srmCopyRequest"));
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", "ArrayOfTCopyFileRequest"));
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("overwriteOption");
402 elemField.setXmlName(new javax.xml.namespace.QName("", "overwriteOption"));
403 elemField.setXmlType(new javax.xml.namespace.QName("http://srm.lbl.gov/StorageResourceManager", "TOverwriteMode"));
404 elemField.setMinOccurs(0);
405 elemField.setNillable(true);
406 typeDesc.addFieldDesc(elemField);
407 elemField = new org.apache.axis.description.ElementDesc();
408 elemField.setFieldName("desiredTotalRequestTime");
409 elemField.setXmlName(new javax.xml.namespace.QName("", "desiredTotalRequestTime"));
410 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
411 elemField.setMinOccurs(0);
412 elemField.setNillable(true);
413 typeDesc.addFieldDesc(elemField);
414 elemField = new org.apache.axis.description.ElementDesc();
415 elemField.setFieldName("desiredTargetSURLLifeTime");
416 elemField.setXmlName(new javax.xml.namespace.QName("", "desiredTargetSURLLifeTime"));
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("targetFileStorageType");
423 elemField.setXmlName(new javax.xml.namespace.QName("", "targetFileStorageType"));
424 elemField.setXmlType(new javax.xml.namespace.QName("http://srm.lbl.gov/StorageResourceManager", "TFileStorageType"));
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("sourceStorageSystemInfo");
444 elemField.setXmlName(new javax.xml.namespace.QName("", "sourceStorageSystemInfo"));
445 elemField.setXmlType(new javax.xml.namespace.QName("http://srm.lbl.gov/StorageResourceManager", "ArrayOfTExtraInfo"));
446 elemField.setMinOccurs(0);
447 elemField.setNillable(true);
448 typeDesc.addFieldDesc(elemField);
449 elemField = new org.apache.axis.description.ElementDesc();
450 elemField.setFieldName("targetStorageSystemInfo");
451 elemField.setXmlName(new javax.xml.namespace.QName("", "targetStorageSystemInfo"));
452 elemField.setXmlType(new javax.xml.namespace.QName("http://srm.lbl.gov/StorageResourceManager", "ArrayOfTExtraInfo"));
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 }