1
2
3
4
5
6
7
8 package org.ogf.srm22;
9
10 public class TMetaDataPathDetail implements java.io.Serializable {
11 private java.lang.String path;
12
13 private org.ogf.srm22.TReturnStatus status;
14
15 private org.apache.axis.types.UnsignedLong size;
16
17 private java.util.Calendar createdAtTime;
18
19 private java.util.Calendar lastModificationTime;
20
21 private org.ogf.srm22.TFileStorageType fileStorageType;
22
23 private org.ogf.srm22.TRetentionPolicyInfo retentionPolicyInfo;
24
25 private org.ogf.srm22.TFileLocality fileLocality;
26
27 private org.ogf.srm22.ArrayOfString arrayOfSpaceTokens;
28
29 private org.ogf.srm22.TFileType type;
30
31 private java.lang.Integer lifetimeAssigned;
32
33 private java.lang.Integer lifetimeLeft;
34
35 private org.ogf.srm22.TUserPermission ownerPermission;
36
37 private org.ogf.srm22.TGroupPermission groupPermission;
38
39 private org.ogf.srm22.TPermissionMode otherPermission;
40
41 private java.lang.String checkSumType;
42
43 private java.lang.String checkSumValue;
44
45 private org.ogf.srm22.ArrayOfTMetaDataPathDetail arrayOfSubPaths;
46
47 public TMetaDataPathDetail() {
48 }
49
50 public TMetaDataPathDetail(
51 java.lang.String path,
52 org.ogf.srm22.TReturnStatus status,
53 org.apache.axis.types.UnsignedLong size,
54 java.util.Calendar createdAtTime,
55 java.util.Calendar lastModificationTime,
56 org.ogf.srm22.TFileStorageType fileStorageType,
57 org.ogf.srm22.TRetentionPolicyInfo retentionPolicyInfo,
58 org.ogf.srm22.TFileLocality fileLocality,
59 org.ogf.srm22.ArrayOfString arrayOfSpaceTokens,
60 org.ogf.srm22.TFileType type,
61 java.lang.Integer lifetimeAssigned,
62 java.lang.Integer lifetimeLeft,
63 org.ogf.srm22.TUserPermission ownerPermission,
64 org.ogf.srm22.TGroupPermission groupPermission,
65 org.ogf.srm22.TPermissionMode otherPermission,
66 java.lang.String checkSumType,
67 java.lang.String checkSumValue,
68 org.ogf.srm22.ArrayOfTMetaDataPathDetail arrayOfSubPaths) {
69 this.path = path;
70 this.status = status;
71 this.size = size;
72 this.createdAtTime = createdAtTime;
73 this.lastModificationTime = lastModificationTime;
74 this.fileStorageType = fileStorageType;
75 this.retentionPolicyInfo = retentionPolicyInfo;
76 this.fileLocality = fileLocality;
77 this.arrayOfSpaceTokens = arrayOfSpaceTokens;
78 this.type = type;
79 this.lifetimeAssigned = lifetimeAssigned;
80 this.lifetimeLeft = lifetimeLeft;
81 this.ownerPermission = ownerPermission;
82 this.groupPermission = groupPermission;
83 this.otherPermission = otherPermission;
84 this.checkSumType = checkSumType;
85 this.checkSumValue = checkSumValue;
86 this.arrayOfSubPaths = arrayOfSubPaths;
87 }
88
89
90
91
92
93
94
95 public java.lang.String getPath() {
96 return path;
97 }
98
99
100
101
102
103
104
105 public void setPath(java.lang.String path) {
106 this.path = path;
107 }
108
109
110
111
112
113
114
115 public org.ogf.srm22.TReturnStatus getStatus() {
116 return status;
117 }
118
119
120
121
122
123
124
125 public void setStatus(org.ogf.srm22.TReturnStatus status) {
126 this.status = status;
127 }
128
129
130
131
132
133
134
135 public org.apache.axis.types.UnsignedLong getSize() {
136 return size;
137 }
138
139
140
141
142
143
144
145 public void setSize(org.apache.axis.types.UnsignedLong size) {
146 this.size = size;
147 }
148
149
150
151
152
153
154
155 public java.util.Calendar getCreatedAtTime() {
156 return createdAtTime;
157 }
158
159
160
161
162
163
164
165 public void setCreatedAtTime(java.util.Calendar createdAtTime) {
166 this.createdAtTime = createdAtTime;
167 }
168
169
170
171
172
173
174
175 public java.util.Calendar getLastModificationTime() {
176 return lastModificationTime;
177 }
178
179
180
181
182
183
184
185 public void setLastModificationTime(java.util.Calendar lastModificationTime) {
186 this.lastModificationTime = lastModificationTime;
187 }
188
189
190
191
192
193
194
195 public org.ogf.srm22.TFileStorageType getFileStorageType() {
196 return fileStorageType;
197 }
198
199
200
201
202
203
204
205 public void setFileStorageType(org.ogf.srm22.TFileStorageType fileStorageType) {
206 this.fileStorageType = fileStorageType;
207 }
208
209
210
211
212
213
214
215 public org.ogf.srm22.TRetentionPolicyInfo getRetentionPolicyInfo() {
216 return retentionPolicyInfo;
217 }
218
219
220
221
222
223
224
225 public void setRetentionPolicyInfo(org.ogf.srm22.TRetentionPolicyInfo retentionPolicyInfo) {
226 this.retentionPolicyInfo = retentionPolicyInfo;
227 }
228
229
230
231
232
233
234
235 public org.ogf.srm22.TFileLocality getFileLocality() {
236 return fileLocality;
237 }
238
239
240
241
242
243
244
245 public void setFileLocality(org.ogf.srm22.TFileLocality fileLocality) {
246 this.fileLocality = fileLocality;
247 }
248
249
250
251
252
253
254
255 public org.ogf.srm22.ArrayOfString getArrayOfSpaceTokens() {
256 return arrayOfSpaceTokens;
257 }
258
259
260
261
262
263
264
265 public void setArrayOfSpaceTokens(org.ogf.srm22.ArrayOfString arrayOfSpaceTokens) {
266 this.arrayOfSpaceTokens = arrayOfSpaceTokens;
267 }
268
269
270
271
272
273
274
275 public org.ogf.srm22.TFileType getType() {
276 return type;
277 }
278
279
280
281
282
283
284
285 public void setType(org.ogf.srm22.TFileType type) {
286 this.type = type;
287 }
288
289
290
291
292
293
294
295 public java.lang.Integer getLifetimeAssigned() {
296 return lifetimeAssigned;
297 }
298
299
300
301
302
303
304
305 public void setLifetimeAssigned(java.lang.Integer lifetimeAssigned) {
306 this.lifetimeAssigned = lifetimeAssigned;
307 }
308
309
310
311
312
313
314
315 public java.lang.Integer getLifetimeLeft() {
316 return lifetimeLeft;
317 }
318
319
320
321
322
323
324
325 public void setLifetimeLeft(java.lang.Integer lifetimeLeft) {
326 this.lifetimeLeft = lifetimeLeft;
327 }
328
329
330
331
332
333
334
335 public org.ogf.srm22.TUserPermission getOwnerPermission() {
336 return ownerPermission;
337 }
338
339
340
341
342
343
344
345 public void setOwnerPermission(org.ogf.srm22.TUserPermission ownerPermission) {
346 this.ownerPermission = ownerPermission;
347 }
348
349
350
351
352
353
354
355 public org.ogf.srm22.TGroupPermission getGroupPermission() {
356 return groupPermission;
357 }
358
359
360
361
362
363
364
365 public void setGroupPermission(org.ogf.srm22.TGroupPermission groupPermission) {
366 this.groupPermission = groupPermission;
367 }
368
369
370
371
372
373
374
375 public org.ogf.srm22.TPermissionMode getOtherPermission() {
376 return otherPermission;
377 }
378
379
380
381
382
383
384
385 public void setOtherPermission(org.ogf.srm22.TPermissionMode otherPermission) {
386 this.otherPermission = otherPermission;
387 }
388
389
390
391
392
393
394
395 public java.lang.String getCheckSumType() {
396 return checkSumType;
397 }
398
399
400
401
402
403
404
405 public void setCheckSumType(java.lang.String checkSumType) {
406 this.checkSumType = checkSumType;
407 }
408
409
410
411
412
413
414
415 public java.lang.String getCheckSumValue() {
416 return checkSumValue;
417 }
418
419
420
421
422
423
424
425 public void setCheckSumValue(java.lang.String checkSumValue) {
426 this.checkSumValue = checkSumValue;
427 }
428
429
430
431
432
433
434
435 public org.ogf.srm22.ArrayOfTMetaDataPathDetail getArrayOfSubPaths() {
436 return arrayOfSubPaths;
437 }
438
439
440
441
442
443
444
445 public void setArrayOfSubPaths(org.ogf.srm22.ArrayOfTMetaDataPathDetail arrayOfSubPaths) {
446 this.arrayOfSubPaths = arrayOfSubPaths;
447 }
448
449 private java.lang.Object __equalsCalc = null;
450 public synchronized boolean equals(java.lang.Object obj) {
451 if (!(obj instanceof TMetaDataPathDetail)) return false;
452 TMetaDataPathDetail other = (TMetaDataPathDetail) obj;
453 if (obj == null) return false;
454 if (this == obj) return true;
455 if (__equalsCalc != null) {
456 return (__equalsCalc == obj);
457 }
458 __equalsCalc = obj;
459 boolean _equals;
460 _equals = true &&
461 ((this.path==null && other.getPath()==null) ||
462 (this.path!=null &&
463 this.path.equals(other.getPath()))) &&
464 ((this.status==null && other.getStatus()==null) ||
465 (this.status!=null &&
466 this.status.equals(other.getStatus()))) &&
467 ((this.size==null && other.getSize()==null) ||
468 (this.size!=null &&
469 this.size.equals(other.getSize()))) &&
470 ((this.createdAtTime==null && other.getCreatedAtTime()==null) ||
471 (this.createdAtTime!=null &&
472 this.createdAtTime.equals(other.getCreatedAtTime()))) &&
473 ((this.lastModificationTime==null && other.getLastModificationTime()==null) ||
474 (this.lastModificationTime!=null &&
475 this.lastModificationTime.equals(other.getLastModificationTime()))) &&
476 ((this.fileStorageType==null && other.getFileStorageType()==null) ||
477 (this.fileStorageType!=null &&
478 this.fileStorageType.equals(other.getFileStorageType()))) &&
479 ((this.retentionPolicyInfo==null && other.getRetentionPolicyInfo()==null) ||
480 (this.retentionPolicyInfo!=null &&
481 this.retentionPolicyInfo.equals(other.getRetentionPolicyInfo()))) &&
482 ((this.fileLocality==null && other.getFileLocality()==null) ||
483 (this.fileLocality!=null &&
484 this.fileLocality.equals(other.getFileLocality()))) &&
485 ((this.arrayOfSpaceTokens==null && other.getArrayOfSpaceTokens()==null) ||
486 (this.arrayOfSpaceTokens!=null &&
487 this.arrayOfSpaceTokens.equals(other.getArrayOfSpaceTokens()))) &&
488 ((this.type==null && other.getType()==null) ||
489 (this.type!=null &&
490 this.type.equals(other.getType()))) &&
491 ((this.lifetimeAssigned==null && other.getLifetimeAssigned()==null) ||
492 (this.lifetimeAssigned!=null &&
493 this.lifetimeAssigned.equals(other.getLifetimeAssigned()))) &&
494 ((this.lifetimeLeft==null && other.getLifetimeLeft()==null) ||
495 (this.lifetimeLeft!=null &&
496 this.lifetimeLeft.equals(other.getLifetimeLeft()))) &&
497 ((this.ownerPermission==null && other.getOwnerPermission()==null) ||
498 (this.ownerPermission!=null &&
499 this.ownerPermission.equals(other.getOwnerPermission()))) &&
500 ((this.groupPermission==null && other.getGroupPermission()==null) ||
501 (this.groupPermission!=null &&
502 this.groupPermission.equals(other.getGroupPermission()))) &&
503 ((this.otherPermission==null && other.getOtherPermission()==null) ||
504 (this.otherPermission!=null &&
505 this.otherPermission.equals(other.getOtherPermission()))) &&
506 ((this.checkSumType==null && other.getCheckSumType()==null) ||
507 (this.checkSumType!=null &&
508 this.checkSumType.equals(other.getCheckSumType()))) &&
509 ((this.checkSumValue==null && other.getCheckSumValue()==null) ||
510 (this.checkSumValue!=null &&
511 this.checkSumValue.equals(other.getCheckSumValue()))) &&
512 ((this.arrayOfSubPaths==null && other.getArrayOfSubPaths()==null) ||
513 (this.arrayOfSubPaths!=null &&
514 this.arrayOfSubPaths.equals(other.getArrayOfSubPaths())));
515 __equalsCalc = null;
516 return _equals;
517 }
518
519 private boolean __hashCodeCalc = false;
520 public synchronized int hashCode() {
521 if (__hashCodeCalc) {
522 return 0;
523 }
524 __hashCodeCalc = true;
525 int _hashCode = 1;
526 if (getPath() != null) {
527 _hashCode += getPath().hashCode();
528 }
529 if (getStatus() != null) {
530 _hashCode += getStatus().hashCode();
531 }
532 if (getSize() != null) {
533 _hashCode += getSize().hashCode();
534 }
535 if (getCreatedAtTime() != null) {
536 _hashCode += getCreatedAtTime().hashCode();
537 }
538 if (getLastModificationTime() != null) {
539 _hashCode += getLastModificationTime().hashCode();
540 }
541 if (getFileStorageType() != null) {
542 _hashCode += getFileStorageType().hashCode();
543 }
544 if (getRetentionPolicyInfo() != null) {
545 _hashCode += getRetentionPolicyInfo().hashCode();
546 }
547 if (getFileLocality() != null) {
548 _hashCode += getFileLocality().hashCode();
549 }
550 if (getArrayOfSpaceTokens() != null) {
551 _hashCode += getArrayOfSpaceTokens().hashCode();
552 }
553 if (getType() != null) {
554 _hashCode += getType().hashCode();
555 }
556 if (getLifetimeAssigned() != null) {
557 _hashCode += getLifetimeAssigned().hashCode();
558 }
559 if (getLifetimeLeft() != null) {
560 _hashCode += getLifetimeLeft().hashCode();
561 }
562 if (getOwnerPermission() != null) {
563 _hashCode += getOwnerPermission().hashCode();
564 }
565 if (getGroupPermission() != null) {
566 _hashCode += getGroupPermission().hashCode();
567 }
568 if (getOtherPermission() != null) {
569 _hashCode += getOtherPermission().hashCode();
570 }
571 if (getCheckSumType() != null) {
572 _hashCode += getCheckSumType().hashCode();
573 }
574 if (getCheckSumValue() != null) {
575 _hashCode += getCheckSumValue().hashCode();
576 }
577 if (getArrayOfSubPaths() != null) {
578 _hashCode += getArrayOfSubPaths().hashCode();
579 }
580 __hashCodeCalc = false;
581 return _hashCode;
582 }
583
584
585 private static org.apache.axis.description.TypeDesc typeDesc =
586 new org.apache.axis.description.TypeDesc(TMetaDataPathDetail.class, true);
587
588 static {
589 typeDesc.setXmlType(new javax.xml.namespace.QName("http://srm.lbl.gov/StorageResourceManager", "TMetaDataPathDetail"));
590 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
591 elemField.setFieldName("path");
592 elemField.setXmlName(new javax.xml.namespace.QName("", "path"));
593 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
594 elemField.setNillable(false);
595 typeDesc.addFieldDesc(elemField);
596 elemField = new org.apache.axis.description.ElementDesc();
597 elemField.setFieldName("status");
598 elemField.setXmlName(new javax.xml.namespace.QName("", "status"));
599 elemField.setXmlType(new javax.xml.namespace.QName("http://srm.lbl.gov/StorageResourceManager", "TReturnStatus"));
600 elemField.setMinOccurs(0);
601 elemField.setNillable(true);
602 typeDesc.addFieldDesc(elemField);
603 elemField = new org.apache.axis.description.ElementDesc();
604 elemField.setFieldName("size");
605 elemField.setXmlName(new javax.xml.namespace.QName("", "size"));
606 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "unsignedLong"));
607 elemField.setMinOccurs(0);
608 elemField.setNillable(true);
609 typeDesc.addFieldDesc(elemField);
610 elemField = new org.apache.axis.description.ElementDesc();
611 elemField.setFieldName("createdAtTime");
612 elemField.setXmlName(new javax.xml.namespace.QName("", "createdAtTime"));
613 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
614 elemField.setMinOccurs(0);
615 elemField.setNillable(true);
616 typeDesc.addFieldDesc(elemField);
617 elemField = new org.apache.axis.description.ElementDesc();
618 elemField.setFieldName("lastModificationTime");
619 elemField.setXmlName(new javax.xml.namespace.QName("", "lastModificationTime"));
620 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
621 elemField.setMinOccurs(0);
622 elemField.setNillable(true);
623 typeDesc.addFieldDesc(elemField);
624 elemField = new org.apache.axis.description.ElementDesc();
625 elemField.setFieldName("fileStorageType");
626 elemField.setXmlName(new javax.xml.namespace.QName("", "fileStorageType"));
627 elemField.setXmlType(new javax.xml.namespace.QName("http://srm.lbl.gov/StorageResourceManager", "TFileStorageType"));
628 elemField.setMinOccurs(0);
629 elemField.setNillable(true);
630 typeDesc.addFieldDesc(elemField);
631 elemField = new org.apache.axis.description.ElementDesc();
632 elemField.setFieldName("retentionPolicyInfo");
633 elemField.setXmlName(new javax.xml.namespace.QName("", "retentionPolicyInfo"));
634 elemField.setXmlType(new javax.xml.namespace.QName("http://srm.lbl.gov/StorageResourceManager", "TRetentionPolicyInfo"));
635 elemField.setMinOccurs(0);
636 elemField.setNillable(true);
637 typeDesc.addFieldDesc(elemField);
638 elemField = new org.apache.axis.description.ElementDesc();
639 elemField.setFieldName("fileLocality");
640 elemField.setXmlName(new javax.xml.namespace.QName("", "fileLocality"));
641 elemField.setXmlType(new javax.xml.namespace.QName("http://srm.lbl.gov/StorageResourceManager", "TFileLocality"));
642 elemField.setMinOccurs(0);
643 elemField.setNillable(true);
644 typeDesc.addFieldDesc(elemField);
645 elemField = new org.apache.axis.description.ElementDesc();
646 elemField.setFieldName("arrayOfSpaceTokens");
647 elemField.setXmlName(new javax.xml.namespace.QName("", "arrayOfSpaceTokens"));
648 elemField.setXmlType(new javax.xml.namespace.QName("http://srm.lbl.gov/StorageResourceManager", "ArrayOfString"));
649 elemField.setMinOccurs(0);
650 elemField.setNillable(true);
651 typeDesc.addFieldDesc(elemField);
652 elemField = new org.apache.axis.description.ElementDesc();
653 elemField.setFieldName("type");
654 elemField.setXmlName(new javax.xml.namespace.QName("", "type"));
655 elemField.setXmlType(new javax.xml.namespace.QName("http://srm.lbl.gov/StorageResourceManager", "TFileType"));
656 elemField.setMinOccurs(0);
657 elemField.setNillable(true);
658 typeDesc.addFieldDesc(elemField);
659 elemField = new org.apache.axis.description.ElementDesc();
660 elemField.setFieldName("lifetimeAssigned");
661 elemField.setXmlName(new javax.xml.namespace.QName("", "lifetimeAssigned"));
662 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
663 elemField.setMinOccurs(0);
664 elemField.setNillable(true);
665 typeDesc.addFieldDesc(elemField);
666 elemField = new org.apache.axis.description.ElementDesc();
667 elemField.setFieldName("lifetimeLeft");
668 elemField.setXmlName(new javax.xml.namespace.QName("", "lifetimeLeft"));
669 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
670 elemField.setMinOccurs(0);
671 elemField.setNillable(true);
672 typeDesc.addFieldDesc(elemField);
673 elemField = new org.apache.axis.description.ElementDesc();
674 elemField.setFieldName("ownerPermission");
675 elemField.setXmlName(new javax.xml.namespace.QName("", "ownerPermission"));
676 elemField.setXmlType(new javax.xml.namespace.QName("http://srm.lbl.gov/StorageResourceManager", "TUserPermission"));
677 elemField.setMinOccurs(0);
678 elemField.setNillable(true);
679 typeDesc.addFieldDesc(elemField);
680 elemField = new org.apache.axis.description.ElementDesc();
681 elemField.setFieldName("groupPermission");
682 elemField.setXmlName(new javax.xml.namespace.QName("", "groupPermission"));
683 elemField.setXmlType(new javax.xml.namespace.QName("http://srm.lbl.gov/StorageResourceManager", "TGroupPermission"));
684 elemField.setMinOccurs(0);
685 elemField.setNillable(true);
686 typeDesc.addFieldDesc(elemField);
687 elemField = new org.apache.axis.description.ElementDesc();
688 elemField.setFieldName("otherPermission");
689 elemField.setXmlName(new javax.xml.namespace.QName("", "otherPermission"));
690 elemField.setXmlType(new javax.xml.namespace.QName("http://srm.lbl.gov/StorageResourceManager", "TPermissionMode"));
691 elemField.setMinOccurs(0);
692 elemField.setNillable(true);
693 typeDesc.addFieldDesc(elemField);
694 elemField = new org.apache.axis.description.ElementDesc();
695 elemField.setFieldName("checkSumType");
696 elemField.setXmlName(new javax.xml.namespace.QName("", "checkSumType"));
697 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
698 elemField.setMinOccurs(0);
699 elemField.setNillable(true);
700 typeDesc.addFieldDesc(elemField);
701 elemField = new org.apache.axis.description.ElementDesc();
702 elemField.setFieldName("checkSumValue");
703 elemField.setXmlName(new javax.xml.namespace.QName("", "checkSumValue"));
704 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
705 elemField.setMinOccurs(0);
706 elemField.setNillable(true);
707 typeDesc.addFieldDesc(elemField);
708 elemField = new org.apache.axis.description.ElementDesc();
709 elemField.setFieldName("arrayOfSubPaths");
710 elemField.setXmlName(new javax.xml.namespace.QName("", "arrayOfSubPaths"));
711 elemField.setXmlType(new javax.xml.namespace.QName("http://srm.lbl.gov/StorageResourceManager", "ArrayOfTMetaDataPathDetail"));
712 elemField.setMinOccurs(0);
713 elemField.setNillable(true);
714 typeDesc.addFieldDesc(elemField);
715 }
716
717
718
719
720 public static org.apache.axis.description.TypeDesc getTypeDesc() {
721 return typeDesc;
722 }
723
724
725
726
727 public static org.apache.axis.encoding.Serializer getSerializer(
728 java.lang.String mechType,
729 java.lang.Class _javaType,
730 javax.xml.namespace.QName _xmlType) {
731 return
732 new org.apache.axis.encoding.ser.BeanSerializer(
733 _javaType, _xmlType, typeDesc);
734 }
735
736
737
738
739 public static org.apache.axis.encoding.Deserializer getDeserializer(
740 java.lang.String mechType,
741 java.lang.Class _javaType,
742 javax.xml.namespace.QName _xmlType) {
743 return
744 new org.apache.axis.encoding.ser.BeanDeserializer(
745 _javaType, _xmlType, typeDesc);
746 }
747
748 }