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