1
7
8 package com.liferay.client.soap.portlet.documentlibrary.model;
9
10 public class DLFileShortcutSoap implements java.io.Serializable {
11 private long companyId;
12
13 private java.util.Calendar createDate;
14
15 private long fileShortcutId;
16
17 private long folderId;
18
19 private long groupId;
20
21 private java.util.Calendar modifiedDate;
22
23 private long primaryKey;
24
25 private int status;
26
27 private long statusByUserId;
28
29 private java.lang.String statusByUserName;
30
31 private java.util.Calendar statusDate;
32
33 private long toFolderId;
34
35 private java.lang.String toName;
36
37 private long userId;
38
39 private java.lang.String userName;
40
41 private java.lang.String uuid;
42
43 public DLFileShortcutSoap() {
44 }
45
46 public DLFileShortcutSoap(
47 long companyId,
48 java.util.Calendar createDate,
49 long fileShortcutId,
50 long folderId,
51 long groupId,
52 java.util.Calendar modifiedDate,
53 long primaryKey,
54 int status,
55 long statusByUserId,
56 java.lang.String statusByUserName,
57 java.util.Calendar statusDate,
58 long toFolderId,
59 java.lang.String toName,
60 long userId,
61 java.lang.String userName,
62 java.lang.String uuid) {
63 this.companyId = companyId;
64 this.createDate = createDate;
65 this.fileShortcutId = fileShortcutId;
66 this.folderId = folderId;
67 this.groupId = groupId;
68 this.modifiedDate = modifiedDate;
69 this.primaryKey = primaryKey;
70 this.status = status;
71 this.statusByUserId = statusByUserId;
72 this.statusByUserName = statusByUserName;
73 this.statusDate = statusDate;
74 this.toFolderId = toFolderId;
75 this.toName = toName;
76 this.userId = userId;
77 this.userName = userName;
78 this.uuid = uuid;
79 }
80
81
82
87 public long getCompanyId() {
88 return companyId;
89 }
90
91
92
97 public void setCompanyId(long companyId) {
98 this.companyId = companyId;
99 }
100
101
102
107 public java.util.Calendar getCreateDate() {
108 return createDate;
109 }
110
111
112
117 public void setCreateDate(java.util.Calendar createDate) {
118 this.createDate = createDate;
119 }
120
121
122
127 public long getFileShortcutId() {
128 return fileShortcutId;
129 }
130
131
132
137 public void setFileShortcutId(long fileShortcutId) {
138 this.fileShortcutId = fileShortcutId;
139 }
140
141
142
147 public long getFolderId() {
148 return folderId;
149 }
150
151
152
157 public void setFolderId(long folderId) {
158 this.folderId = folderId;
159 }
160
161
162
167 public long getGroupId() {
168 return groupId;
169 }
170
171
172
177 public void setGroupId(long groupId) {
178 this.groupId = groupId;
179 }
180
181
182
187 public java.util.Calendar getModifiedDate() {
188 return modifiedDate;
189 }
190
191
192
197 public void setModifiedDate(java.util.Calendar modifiedDate) {
198 this.modifiedDate = modifiedDate;
199 }
200
201
202
207 public long getPrimaryKey() {
208 return primaryKey;
209 }
210
211
212
217 public void setPrimaryKey(long primaryKey) {
218 this.primaryKey = primaryKey;
219 }
220
221
222
227 public int getStatus() {
228 return status;
229 }
230
231
232
237 public void setStatus(int status) {
238 this.status = status;
239 }
240
241
242
247 public long getStatusByUserId() {
248 return statusByUserId;
249 }
250
251
252
257 public void setStatusByUserId(long statusByUserId) {
258 this.statusByUserId = statusByUserId;
259 }
260
261
262
267 public java.lang.String getStatusByUserName() {
268 return statusByUserName;
269 }
270
271
272
277 public void setStatusByUserName(java.lang.String statusByUserName) {
278 this.statusByUserName = statusByUserName;
279 }
280
281
282
287 public java.util.Calendar getStatusDate() {
288 return statusDate;
289 }
290
291
292
297 public void setStatusDate(java.util.Calendar statusDate) {
298 this.statusDate = statusDate;
299 }
300
301
302
307 public long getToFolderId() {
308 return toFolderId;
309 }
310
311
312
317 public void setToFolderId(long toFolderId) {
318 this.toFolderId = toFolderId;
319 }
320
321
322
327 public java.lang.String getToName() {
328 return toName;
329 }
330
331
332
337 public void setToName(java.lang.String toName) {
338 this.toName = toName;
339 }
340
341
342
347 public long getUserId() {
348 return userId;
349 }
350
351
352
357 public void setUserId(long userId) {
358 this.userId = userId;
359 }
360
361
362
367 public java.lang.String getUserName() {
368 return userName;
369 }
370
371
372
377 public void setUserName(java.lang.String userName) {
378 this.userName = userName;
379 }
380
381
382
387 public java.lang.String getUuid() {
388 return uuid;
389 }
390
391
392
397 public void setUuid(java.lang.String uuid) {
398 this.uuid = uuid;
399 }
400
401 private java.lang.Object __equalsCalc = null;
402 public synchronized boolean equals(java.lang.Object obj) {
403 if (!(obj instanceof DLFileShortcutSoap)) return false;
404 DLFileShortcutSoap other = (DLFileShortcutSoap) obj;
405 if (obj == null) return false;
406 if (this == obj) return true;
407 if (__equalsCalc != null) {
408 return (__equalsCalc == obj);
409 }
410 __equalsCalc = obj;
411 boolean _equals;
412 _equals = true &&
413 this.companyId == other.getCompanyId() &&
414 ((this.createDate==null && other.getCreateDate()==null) ||
415 (this.createDate!=null &&
416 this.createDate.equals(other.getCreateDate()))) &&
417 this.fileShortcutId == other.getFileShortcutId() &&
418 this.folderId == other.getFolderId() &&
419 this.groupId == other.getGroupId() &&
420 ((this.modifiedDate==null && other.getModifiedDate()==null) ||
421 (this.modifiedDate!=null &&
422 this.modifiedDate.equals(other.getModifiedDate()))) &&
423 this.primaryKey == other.getPrimaryKey() &&
424 this.status == other.getStatus() &&
425 this.statusByUserId == other.getStatusByUserId() &&
426 ((this.statusByUserName==null && other.getStatusByUserName()==null) ||
427 (this.statusByUserName!=null &&
428 this.statusByUserName.equals(other.getStatusByUserName()))) &&
429 ((this.statusDate==null && other.getStatusDate()==null) ||
430 (this.statusDate!=null &&
431 this.statusDate.equals(other.getStatusDate()))) &&
432 this.toFolderId == other.getToFolderId() &&
433 ((this.toName==null && other.getToName()==null) ||
434 (this.toName!=null &&
435 this.toName.equals(other.getToName()))) &&
436 this.userId == other.getUserId() &&
437 ((this.userName==null && other.getUserName()==null) ||
438 (this.userName!=null &&
439 this.userName.equals(other.getUserName()))) &&
440 ((this.uuid==null && other.getUuid()==null) ||
441 (this.uuid!=null &&
442 this.uuid.equals(other.getUuid())));
443 __equalsCalc = null;
444 return _equals;
445 }
446
447 private boolean __hashCodeCalc = false;
448 public synchronized int hashCode() {
449 if (__hashCodeCalc) {
450 return 0;
451 }
452 __hashCodeCalc = true;
453 int _hashCode = 1;
454 _hashCode += new Long(getCompanyId()).hashCode();
455 if (getCreateDate() != null) {
456 _hashCode += getCreateDate().hashCode();
457 }
458 _hashCode += new Long(getFileShortcutId()).hashCode();
459 _hashCode += new Long(getFolderId()).hashCode();
460 _hashCode += new Long(getGroupId()).hashCode();
461 if (getModifiedDate() != null) {
462 _hashCode += getModifiedDate().hashCode();
463 }
464 _hashCode += new Long(getPrimaryKey()).hashCode();
465 _hashCode += getStatus();
466 _hashCode += new Long(getStatusByUserId()).hashCode();
467 if (getStatusByUserName() != null) {
468 _hashCode += getStatusByUserName().hashCode();
469 }
470 if (getStatusDate() != null) {
471 _hashCode += getStatusDate().hashCode();
472 }
473 _hashCode += new Long(getToFolderId()).hashCode();
474 if (getToName() != null) {
475 _hashCode += getToName().hashCode();
476 }
477 _hashCode += new Long(getUserId()).hashCode();
478 if (getUserName() != null) {
479 _hashCode += getUserName().hashCode();
480 }
481 if (getUuid() != null) {
482 _hashCode += getUuid().hashCode();
483 }
484 __hashCodeCalc = false;
485 return _hashCode;
486 }
487
488 private static org.apache.axis.description.TypeDesc typeDesc =
490 new org.apache.axis.description.TypeDesc(DLFileShortcutSoap.class, true);
491
492 static {
493 typeDesc.setXmlType(new javax.xml.namespace.QName("http://model.documentlibrary.portlet.liferay.com", "DLFileShortcutSoap"));
494 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
495 elemField.setFieldName("companyId");
496 elemField.setXmlName(new javax.xml.namespace.QName("", "companyId"));
497 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
498 elemField.setNillable(false);
499 typeDesc.addFieldDesc(elemField);
500 elemField = new org.apache.axis.description.ElementDesc();
501 elemField.setFieldName("createDate");
502 elemField.setXmlName(new javax.xml.namespace.QName("", "createDate"));
503 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
504 elemField.setNillable(true);
505 typeDesc.addFieldDesc(elemField);
506 elemField = new org.apache.axis.description.ElementDesc();
507 elemField.setFieldName("fileShortcutId");
508 elemField.setXmlName(new javax.xml.namespace.QName("", "fileShortcutId"));
509 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
510 elemField.setNillable(false);
511 typeDesc.addFieldDesc(elemField);
512 elemField = new org.apache.axis.description.ElementDesc();
513 elemField.setFieldName("folderId");
514 elemField.setXmlName(new javax.xml.namespace.QName("", "folderId"));
515 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
516 elemField.setNillable(false);
517 typeDesc.addFieldDesc(elemField);
518 elemField = new org.apache.axis.description.ElementDesc();
519 elemField.setFieldName("groupId");
520 elemField.setXmlName(new javax.xml.namespace.QName("", "groupId"));
521 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
522 elemField.setNillable(false);
523 typeDesc.addFieldDesc(elemField);
524 elemField = new org.apache.axis.description.ElementDesc();
525 elemField.setFieldName("modifiedDate");
526 elemField.setXmlName(new javax.xml.namespace.QName("", "modifiedDate"));
527 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
528 elemField.setNillable(true);
529 typeDesc.addFieldDesc(elemField);
530 elemField = new org.apache.axis.description.ElementDesc();
531 elemField.setFieldName("primaryKey");
532 elemField.setXmlName(new javax.xml.namespace.QName("", "primaryKey"));
533 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
534 elemField.setNillable(false);
535 typeDesc.addFieldDesc(elemField);
536 elemField = new org.apache.axis.description.ElementDesc();
537 elemField.setFieldName("status");
538 elemField.setXmlName(new javax.xml.namespace.QName("", "status"));
539 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
540 elemField.setNillable(false);
541 typeDesc.addFieldDesc(elemField);
542 elemField = new org.apache.axis.description.ElementDesc();
543 elemField.setFieldName("statusByUserId");
544 elemField.setXmlName(new javax.xml.namespace.QName("", "statusByUserId"));
545 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
546 elemField.setNillable(false);
547 typeDesc.addFieldDesc(elemField);
548 elemField = new org.apache.axis.description.ElementDesc();
549 elemField.setFieldName("statusByUserName");
550 elemField.setXmlName(new javax.xml.namespace.QName("", "statusByUserName"));
551 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
552 elemField.setNillable(true);
553 typeDesc.addFieldDesc(elemField);
554 elemField = new org.apache.axis.description.ElementDesc();
555 elemField.setFieldName("statusDate");
556 elemField.setXmlName(new javax.xml.namespace.QName("", "statusDate"));
557 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
558 elemField.setNillable(true);
559 typeDesc.addFieldDesc(elemField);
560 elemField = new org.apache.axis.description.ElementDesc();
561 elemField.setFieldName("toFolderId");
562 elemField.setXmlName(new javax.xml.namespace.QName("", "toFolderId"));
563 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
564 elemField.setNillable(false);
565 typeDesc.addFieldDesc(elemField);
566 elemField = new org.apache.axis.description.ElementDesc();
567 elemField.setFieldName("toName");
568 elemField.setXmlName(new javax.xml.namespace.QName("", "toName"));
569 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
570 elemField.setNillable(true);
571 typeDesc.addFieldDesc(elemField);
572 elemField = new org.apache.axis.description.ElementDesc();
573 elemField.setFieldName("userId");
574 elemField.setXmlName(new javax.xml.namespace.QName("", "userId"));
575 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
576 elemField.setNillable(false);
577 typeDesc.addFieldDesc(elemField);
578 elemField = new org.apache.axis.description.ElementDesc();
579 elemField.setFieldName("userName");
580 elemField.setXmlName(new javax.xml.namespace.QName("", "userName"));
581 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
582 elemField.setNillable(true);
583 typeDesc.addFieldDesc(elemField);
584 elemField = new org.apache.axis.description.ElementDesc();
585 elemField.setFieldName("uuid");
586 elemField.setXmlName(new javax.xml.namespace.QName("", "uuid"));
587 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
588 elemField.setNillable(true);
589 typeDesc.addFieldDesc(elemField);
590 }
591
592
595 public static org.apache.axis.description.TypeDesc getTypeDesc() {
596 return typeDesc;
597 }
598
599
602 public static org.apache.axis.encoding.Serializer getSerializer(
603 java.lang.String mechType,
604 java.lang.Class _javaType,
605 javax.xml.namespace.QName _xmlType) {
606 return
607 new org.apache.axis.encoding.ser.BeanSerializer(
608 _javaType, _xmlType, typeDesc);
609 }
610
611
614 public static org.apache.axis.encoding.Deserializer getDeserializer(
615 java.lang.String mechType,
616 java.lang.Class _javaType,
617 javax.xml.namespace.QName _xmlType) {
618 return
619 new org.apache.axis.encoding.ser.BeanDeserializer(
620 _javaType, _xmlType, typeDesc);
621 }
622
623 }
624