1
7
8 package com.liferay.client.soap.portlet.journal.model;
9
10 public class JournalTemplateSoap implements java.io.Serializable {
11 private boolean cacheable;
12
13 private long companyId;
14
15 private java.util.Calendar createDate;
16
17 private java.lang.String description;
18
19 private long groupId;
20
21 private long id;
22
23 private java.lang.String langType;
24
25 private java.util.Calendar modifiedDate;
26
27 private java.lang.String name;
28
29 private long primaryKey;
30
31 private boolean smallImage;
32
33 private long smallImageId;
34
35 private java.lang.String smallImageURL;
36
37 private java.lang.String structureId;
38
39 private java.lang.String templateId;
40
41 private long userId;
42
43 private java.lang.String userName;
44
45 private java.lang.String uuid;
46
47 private java.lang.String xsl;
48
49 public JournalTemplateSoap() {
50 }
51
52 public JournalTemplateSoap(
53 boolean cacheable,
54 long companyId,
55 java.util.Calendar createDate,
56 java.lang.String description,
57 long groupId,
58 long id,
59 java.lang.String langType,
60 java.util.Calendar modifiedDate,
61 java.lang.String name,
62 long primaryKey,
63 boolean smallImage,
64 long smallImageId,
65 java.lang.String smallImageURL,
66 java.lang.String structureId,
67 java.lang.String templateId,
68 long userId,
69 java.lang.String userName,
70 java.lang.String uuid,
71 java.lang.String xsl) {
72 this.cacheable = cacheable;
73 this.companyId = companyId;
74 this.createDate = createDate;
75 this.description = description;
76 this.groupId = groupId;
77 this.id = id;
78 this.langType = langType;
79 this.modifiedDate = modifiedDate;
80 this.name = name;
81 this.primaryKey = primaryKey;
82 this.smallImage = smallImage;
83 this.smallImageId = smallImageId;
84 this.smallImageURL = smallImageURL;
85 this.structureId = structureId;
86 this.templateId = templateId;
87 this.userId = userId;
88 this.userName = userName;
89 this.uuid = uuid;
90 this.xsl = xsl;
91 }
92
93
94
99 public boolean isCacheable() {
100 return cacheable;
101 }
102
103
104
109 public void setCacheable(boolean cacheable) {
110 this.cacheable = cacheable;
111 }
112
113
114
119 public long getCompanyId() {
120 return companyId;
121 }
122
123
124
129 public void setCompanyId(long companyId) {
130 this.companyId = companyId;
131 }
132
133
134
139 public java.util.Calendar getCreateDate() {
140 return createDate;
141 }
142
143
144
149 public void setCreateDate(java.util.Calendar createDate) {
150 this.createDate = createDate;
151 }
152
153
154
159 public java.lang.String getDescription() {
160 return description;
161 }
162
163
164
169 public void setDescription(java.lang.String description) {
170 this.description = description;
171 }
172
173
174
179 public long getGroupId() {
180 return groupId;
181 }
182
183
184
189 public void setGroupId(long groupId) {
190 this.groupId = groupId;
191 }
192
193
194
199 public long getId() {
200 return id;
201 }
202
203
204
209 public void setId(long id) {
210 this.id = id;
211 }
212
213
214
219 public java.lang.String getLangType() {
220 return langType;
221 }
222
223
224
229 public void setLangType(java.lang.String langType) {
230 this.langType = langType;
231 }
232
233
234
239 public java.util.Calendar getModifiedDate() {
240 return modifiedDate;
241 }
242
243
244
249 public void setModifiedDate(java.util.Calendar modifiedDate) {
250 this.modifiedDate = modifiedDate;
251 }
252
253
254
259 public java.lang.String getName() {
260 return name;
261 }
262
263
264
269 public void setName(java.lang.String name) {
270 this.name = name;
271 }
272
273
274
279 public long getPrimaryKey() {
280 return primaryKey;
281 }
282
283
284
289 public void setPrimaryKey(long primaryKey) {
290 this.primaryKey = primaryKey;
291 }
292
293
294
299 public boolean isSmallImage() {
300 return smallImage;
301 }
302
303
304
309 public void setSmallImage(boolean smallImage) {
310 this.smallImage = smallImage;
311 }
312
313
314
319 public long getSmallImageId() {
320 return smallImageId;
321 }
322
323
324
329 public void setSmallImageId(long smallImageId) {
330 this.smallImageId = smallImageId;
331 }
332
333
334
339 public java.lang.String getSmallImageURL() {
340 return smallImageURL;
341 }
342
343
344
349 public void setSmallImageURL(java.lang.String smallImageURL) {
350 this.smallImageURL = smallImageURL;
351 }
352
353
354
359 public java.lang.String getStructureId() {
360 return structureId;
361 }
362
363
364
369 public void setStructureId(java.lang.String structureId) {
370 this.structureId = structureId;
371 }
372
373
374
379 public java.lang.String getTemplateId() {
380 return templateId;
381 }
382
383
384
389 public void setTemplateId(java.lang.String templateId) {
390 this.templateId = templateId;
391 }
392
393
394
399 public long getUserId() {
400 return userId;
401 }
402
403
404
409 public void setUserId(long userId) {
410 this.userId = userId;
411 }
412
413
414
419 public java.lang.String getUserName() {
420 return userName;
421 }
422
423
424
429 public void setUserName(java.lang.String userName) {
430 this.userName = userName;
431 }
432
433
434
439 public java.lang.String getUuid() {
440 return uuid;
441 }
442
443
444
449 public void setUuid(java.lang.String uuid) {
450 this.uuid = uuid;
451 }
452
453
454
459 public java.lang.String getXsl() {
460 return xsl;
461 }
462
463
464
469 public void setXsl(java.lang.String xsl) {
470 this.xsl = xsl;
471 }
472
473 private java.lang.Object __equalsCalc = null;
474 public synchronized boolean equals(java.lang.Object obj) {
475 if (!(obj instanceof JournalTemplateSoap)) return false;
476 JournalTemplateSoap other = (JournalTemplateSoap) obj;
477 if (obj == null) return false;
478 if (this == obj) return true;
479 if (__equalsCalc != null) {
480 return (__equalsCalc == obj);
481 }
482 __equalsCalc = obj;
483 boolean _equals;
484 _equals = true &&
485 this.cacheable == other.isCacheable() &&
486 this.companyId == other.getCompanyId() &&
487 ((this.createDate==null && other.getCreateDate()==null) ||
488 (this.createDate!=null &&
489 this.createDate.equals(other.getCreateDate()))) &&
490 ((this.description==null && other.getDescription()==null) ||
491 (this.description!=null &&
492 this.description.equals(other.getDescription()))) &&
493 this.groupId == other.getGroupId() &&
494 this.id == other.getId() &&
495 ((this.langType==null && other.getLangType()==null) ||
496 (this.langType!=null &&
497 this.langType.equals(other.getLangType()))) &&
498 ((this.modifiedDate==null && other.getModifiedDate()==null) ||
499 (this.modifiedDate!=null &&
500 this.modifiedDate.equals(other.getModifiedDate()))) &&
501 ((this.name==null && other.getName()==null) ||
502 (this.name!=null &&
503 this.name.equals(other.getName()))) &&
504 this.primaryKey == other.getPrimaryKey() &&
505 this.smallImage == other.isSmallImage() &&
506 this.smallImageId == other.getSmallImageId() &&
507 ((this.smallImageURL==null && other.getSmallImageURL()==null) ||
508 (this.smallImageURL!=null &&
509 this.smallImageURL.equals(other.getSmallImageURL()))) &&
510 ((this.structureId==null && other.getStructureId()==null) ||
511 (this.structureId!=null &&
512 this.structureId.equals(other.getStructureId()))) &&
513 ((this.templateId==null && other.getTemplateId()==null) ||
514 (this.templateId!=null &&
515 this.templateId.equals(other.getTemplateId()))) &&
516 this.userId == other.getUserId() &&
517 ((this.userName==null && other.getUserName()==null) ||
518 (this.userName!=null &&
519 this.userName.equals(other.getUserName()))) &&
520 ((this.uuid==null && other.getUuid()==null) ||
521 (this.uuid!=null &&
522 this.uuid.equals(other.getUuid()))) &&
523 ((this.xsl==null && other.getXsl()==null) ||
524 (this.xsl!=null &&
525 this.xsl.equals(other.getXsl())));
526 __equalsCalc = null;
527 return _equals;
528 }
529
530 private boolean __hashCodeCalc = false;
531 public synchronized int hashCode() {
532 if (__hashCodeCalc) {
533 return 0;
534 }
535 __hashCodeCalc = true;
536 int _hashCode = 1;
537 _hashCode += (isCacheable() ? Boolean.TRUE : Boolean.FALSE).hashCode();
538 _hashCode += new Long(getCompanyId()).hashCode();
539 if (getCreateDate() != null) {
540 _hashCode += getCreateDate().hashCode();
541 }
542 if (getDescription() != null) {
543 _hashCode += getDescription().hashCode();
544 }
545 _hashCode += new Long(getGroupId()).hashCode();
546 _hashCode += new Long(getId()).hashCode();
547 if (getLangType() != null) {
548 _hashCode += getLangType().hashCode();
549 }
550 if (getModifiedDate() != null) {
551 _hashCode += getModifiedDate().hashCode();
552 }
553 if (getName() != null) {
554 _hashCode += getName().hashCode();
555 }
556 _hashCode += new Long(getPrimaryKey()).hashCode();
557 _hashCode += (isSmallImage() ? Boolean.TRUE : Boolean.FALSE).hashCode();
558 _hashCode += new Long(getSmallImageId()).hashCode();
559 if (getSmallImageURL() != null) {
560 _hashCode += getSmallImageURL().hashCode();
561 }
562 if (getStructureId() != null) {
563 _hashCode += getStructureId().hashCode();
564 }
565 if (getTemplateId() != null) {
566 _hashCode += getTemplateId().hashCode();
567 }
568 _hashCode += new Long(getUserId()).hashCode();
569 if (getUserName() != null) {
570 _hashCode += getUserName().hashCode();
571 }
572 if (getUuid() != null) {
573 _hashCode += getUuid().hashCode();
574 }
575 if (getXsl() != null) {
576 _hashCode += getXsl().hashCode();
577 }
578 __hashCodeCalc = false;
579 return _hashCode;
580 }
581
582 private static org.apache.axis.description.TypeDesc typeDesc =
584 new org.apache.axis.description.TypeDesc(JournalTemplateSoap.class, true);
585
586 static {
587 typeDesc.setXmlType(new javax.xml.namespace.QName("http://model.journal.portlet.liferay.com", "JournalTemplateSoap"));
588 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
589 elemField.setFieldName("cacheable");
590 elemField.setXmlName(new javax.xml.namespace.QName("", "cacheable"));
591 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
592 elemField.setNillable(false);
593 typeDesc.addFieldDesc(elemField);
594 elemField = new org.apache.axis.description.ElementDesc();
595 elemField.setFieldName("companyId");
596 elemField.setXmlName(new javax.xml.namespace.QName("", "companyId"));
597 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
598 elemField.setNillable(false);
599 typeDesc.addFieldDesc(elemField);
600 elemField = new org.apache.axis.description.ElementDesc();
601 elemField.setFieldName("createDate");
602 elemField.setXmlName(new javax.xml.namespace.QName("", "createDate"));
603 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
604 elemField.setNillable(true);
605 typeDesc.addFieldDesc(elemField);
606 elemField = new org.apache.axis.description.ElementDesc();
607 elemField.setFieldName("description");
608 elemField.setXmlName(new javax.xml.namespace.QName("", "description"));
609 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
610 elemField.setNillable(true);
611 typeDesc.addFieldDesc(elemField);
612 elemField = new org.apache.axis.description.ElementDesc();
613 elemField.setFieldName("groupId");
614 elemField.setXmlName(new javax.xml.namespace.QName("", "groupId"));
615 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
616 elemField.setNillable(false);
617 typeDesc.addFieldDesc(elemField);
618 elemField = new org.apache.axis.description.ElementDesc();
619 elemField.setFieldName("id");
620 elemField.setXmlName(new javax.xml.namespace.QName("", "id"));
621 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
622 elemField.setNillable(false);
623 typeDesc.addFieldDesc(elemField);
624 elemField = new org.apache.axis.description.ElementDesc();
625 elemField.setFieldName("langType");
626 elemField.setXmlName(new javax.xml.namespace.QName("", "langType"));
627 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
628 elemField.setNillable(true);
629 typeDesc.addFieldDesc(elemField);
630 elemField = new org.apache.axis.description.ElementDesc();
631 elemField.setFieldName("modifiedDate");
632 elemField.setXmlName(new javax.xml.namespace.QName("", "modifiedDate"));
633 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
634 elemField.setNillable(true);
635 typeDesc.addFieldDesc(elemField);
636 elemField = new org.apache.axis.description.ElementDesc();
637 elemField.setFieldName("name");
638 elemField.setXmlName(new javax.xml.namespace.QName("", "name"));
639 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
640 elemField.setNillable(true);
641 typeDesc.addFieldDesc(elemField);
642 elemField = new org.apache.axis.description.ElementDesc();
643 elemField.setFieldName("primaryKey");
644 elemField.setXmlName(new javax.xml.namespace.QName("", "primaryKey"));
645 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
646 elemField.setNillable(false);
647 typeDesc.addFieldDesc(elemField);
648 elemField = new org.apache.axis.description.ElementDesc();
649 elemField.setFieldName("smallImage");
650 elemField.setXmlName(new javax.xml.namespace.QName("", "smallImage"));
651 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
652 elemField.setNillable(false);
653 typeDesc.addFieldDesc(elemField);
654 elemField = new org.apache.axis.description.ElementDesc();
655 elemField.setFieldName("smallImageId");
656 elemField.setXmlName(new javax.xml.namespace.QName("", "smallImageId"));
657 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
658 elemField.setNillable(false);
659 typeDesc.addFieldDesc(elemField);
660 elemField = new org.apache.axis.description.ElementDesc();
661 elemField.setFieldName("smallImageURL");
662 elemField.setXmlName(new javax.xml.namespace.QName("", "smallImageURL"));
663 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
664 elemField.setNillable(true);
665 typeDesc.addFieldDesc(elemField);
666 elemField = new org.apache.axis.description.ElementDesc();
667 elemField.setFieldName("structureId");
668 elemField.setXmlName(new javax.xml.namespace.QName("", "structureId"));
669 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
670 elemField.setNillable(true);
671 typeDesc.addFieldDesc(elemField);
672 elemField = new org.apache.axis.description.ElementDesc();
673 elemField.setFieldName("templateId");
674 elemField.setXmlName(new javax.xml.namespace.QName("", "templateId"));
675 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
676 elemField.setNillable(true);
677 typeDesc.addFieldDesc(elemField);
678 elemField = new org.apache.axis.description.ElementDesc();
679 elemField.setFieldName("userId");
680 elemField.setXmlName(new javax.xml.namespace.QName("", "userId"));
681 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
682 elemField.setNillable(false);
683 typeDesc.addFieldDesc(elemField);
684 elemField = new org.apache.axis.description.ElementDesc();
685 elemField.setFieldName("userName");
686 elemField.setXmlName(new javax.xml.namespace.QName("", "userName"));
687 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
688 elemField.setNillable(true);
689 typeDesc.addFieldDesc(elemField);
690 elemField = new org.apache.axis.description.ElementDesc();
691 elemField.setFieldName("uuid");
692 elemField.setXmlName(new javax.xml.namespace.QName("", "uuid"));
693 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
694 elemField.setNillable(true);
695 typeDesc.addFieldDesc(elemField);
696 elemField = new org.apache.axis.description.ElementDesc();
697 elemField.setFieldName("xsl");
698 elemField.setXmlName(new javax.xml.namespace.QName("", "xsl"));
699 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
700 elemField.setNillable(true);
701 typeDesc.addFieldDesc(elemField);
702 }
703
704
707 public static org.apache.axis.description.TypeDesc getTypeDesc() {
708 return typeDesc;
709 }
710
711
714 public static org.apache.axis.encoding.Serializer getSerializer(
715 java.lang.String mechType,
716 java.lang.Class _javaType,
717 javax.xml.namespace.QName _xmlType) {
718 return
719 new org.apache.axis.encoding.ser.BeanSerializer(
720 _javaType, _xmlType, typeDesc);
721 }
722
723
726 public static org.apache.axis.encoding.Deserializer getDeserializer(
727 java.lang.String mechType,
728 java.lang.Class _javaType,
729 javax.xml.namespace.QName _xmlType) {
730 return
731 new org.apache.axis.encoding.ser.BeanDeserializer(
732 _javaType, _xmlType, typeDesc);
733 }
734
735 }
736