1
7
8 package com.liferay.client.soap.portal.model;
9
10 public class LayoutSoap implements java.io.Serializable {
11 private java.lang.String colorSchemeId;
12
13 private long companyId;
14
15 private java.lang.String css;
16
17 private java.lang.String description;
18
19 private long dlFolderId;
20
21 private java.lang.String friendlyURL;
22
23 private long groupId;
24
25 private boolean hidden;
26
27 private boolean iconImage;
28
29 private long iconImageId;
30
31 private long layoutId;
32
33 private java.lang.String name;
34
35 private long parentLayoutId;
36
37 private long plid;
38
39 private long primaryKey;
40
41 private int priority;
42
43 private boolean privateLayout;
44
45 private java.lang.String themeId;
46
47 private java.lang.String title;
48
49 private java.lang.String type;
50
51 private java.lang.String typeSettings;
52
53 private java.lang.String wapColorSchemeId;
54
55 private java.lang.String wapThemeId;
56
57 public LayoutSoap() {
58 }
59
60 public LayoutSoap(
61 java.lang.String colorSchemeId,
62 long companyId,
63 java.lang.String css,
64 java.lang.String description,
65 long dlFolderId,
66 java.lang.String friendlyURL,
67 long groupId,
68 boolean hidden,
69 boolean iconImage,
70 long iconImageId,
71 long layoutId,
72 java.lang.String name,
73 long parentLayoutId,
74 long plid,
75 long primaryKey,
76 int priority,
77 boolean privateLayout,
78 java.lang.String themeId,
79 java.lang.String title,
80 java.lang.String type,
81 java.lang.String typeSettings,
82 java.lang.String wapColorSchemeId,
83 java.lang.String wapThemeId) {
84 this.colorSchemeId = colorSchemeId;
85 this.companyId = companyId;
86 this.css = css;
87 this.description = description;
88 this.dlFolderId = dlFolderId;
89 this.friendlyURL = friendlyURL;
90 this.groupId = groupId;
91 this.hidden = hidden;
92 this.iconImage = iconImage;
93 this.iconImageId = iconImageId;
94 this.layoutId = layoutId;
95 this.name = name;
96 this.parentLayoutId = parentLayoutId;
97 this.plid = plid;
98 this.primaryKey = primaryKey;
99 this.priority = priority;
100 this.privateLayout = privateLayout;
101 this.themeId = themeId;
102 this.title = title;
103 this.type = type;
104 this.typeSettings = typeSettings;
105 this.wapColorSchemeId = wapColorSchemeId;
106 this.wapThemeId = wapThemeId;
107 }
108
109
110
115 public java.lang.String getColorSchemeId() {
116 return colorSchemeId;
117 }
118
119
120
125 public void setColorSchemeId(java.lang.String colorSchemeId) {
126 this.colorSchemeId = colorSchemeId;
127 }
128
129
130
135 public long getCompanyId() {
136 return companyId;
137 }
138
139
140
145 public void setCompanyId(long companyId) {
146 this.companyId = companyId;
147 }
148
149
150
155 public java.lang.String getCss() {
156 return css;
157 }
158
159
160
165 public void setCss(java.lang.String css) {
166 this.css = css;
167 }
168
169
170
175 public java.lang.String getDescription() {
176 return description;
177 }
178
179
180
185 public void setDescription(java.lang.String description) {
186 this.description = description;
187 }
188
189
190
195 public long getDlFolderId() {
196 return dlFolderId;
197 }
198
199
200
205 public void setDlFolderId(long dlFolderId) {
206 this.dlFolderId = dlFolderId;
207 }
208
209
210
215 public java.lang.String getFriendlyURL() {
216 return friendlyURL;
217 }
218
219
220
225 public void setFriendlyURL(java.lang.String friendlyURL) {
226 this.friendlyURL = friendlyURL;
227 }
228
229
230
235 public long getGroupId() {
236 return groupId;
237 }
238
239
240
245 public void setGroupId(long groupId) {
246 this.groupId = groupId;
247 }
248
249
250
255 public boolean isHidden() {
256 return hidden;
257 }
258
259
260
265 public void setHidden(boolean hidden) {
266 this.hidden = hidden;
267 }
268
269
270
275 public boolean isIconImage() {
276 return iconImage;
277 }
278
279
280
285 public void setIconImage(boolean iconImage) {
286 this.iconImage = iconImage;
287 }
288
289
290
295 public long getIconImageId() {
296 return iconImageId;
297 }
298
299
300
305 public void setIconImageId(long iconImageId) {
306 this.iconImageId = iconImageId;
307 }
308
309
310
315 public long getLayoutId() {
316 return layoutId;
317 }
318
319
320
325 public void setLayoutId(long layoutId) {
326 this.layoutId = layoutId;
327 }
328
329
330
335 public java.lang.String getName() {
336 return name;
337 }
338
339
340
345 public void setName(java.lang.String name) {
346 this.name = name;
347 }
348
349
350
355 public long getParentLayoutId() {
356 return parentLayoutId;
357 }
358
359
360
365 public void setParentLayoutId(long parentLayoutId) {
366 this.parentLayoutId = parentLayoutId;
367 }
368
369
370
375 public long getPlid() {
376 return plid;
377 }
378
379
380
385 public void setPlid(long plid) {
386 this.plid = plid;
387 }
388
389
390
395 public long getPrimaryKey() {
396 return primaryKey;
397 }
398
399
400
405 public void setPrimaryKey(long primaryKey) {
406 this.primaryKey = primaryKey;
407 }
408
409
410
415 public int getPriority() {
416 return priority;
417 }
418
419
420
425 public void setPriority(int priority) {
426 this.priority = priority;
427 }
428
429
430
435 public boolean isPrivateLayout() {
436 return privateLayout;
437 }
438
439
440
445 public void setPrivateLayout(boolean privateLayout) {
446 this.privateLayout = privateLayout;
447 }
448
449
450
455 public java.lang.String getThemeId() {
456 return themeId;
457 }
458
459
460
465 public void setThemeId(java.lang.String themeId) {
466 this.themeId = themeId;
467 }
468
469
470
475 public java.lang.String getTitle() {
476 return title;
477 }
478
479
480
485 public void setTitle(java.lang.String title) {
486 this.title = title;
487 }
488
489
490
495 public java.lang.String getType() {
496 return type;
497 }
498
499
500
505 public void setType(java.lang.String type) {
506 this.type = type;
507 }
508
509
510
515 public java.lang.String getTypeSettings() {
516 return typeSettings;
517 }
518
519
520
525 public void setTypeSettings(java.lang.String typeSettings) {
526 this.typeSettings = typeSettings;
527 }
528
529
530
535 public java.lang.String getWapColorSchemeId() {
536 return wapColorSchemeId;
537 }
538
539
540
545 public void setWapColorSchemeId(java.lang.String wapColorSchemeId) {
546 this.wapColorSchemeId = wapColorSchemeId;
547 }
548
549
550
555 public java.lang.String getWapThemeId() {
556 return wapThemeId;
557 }
558
559
560
565 public void setWapThemeId(java.lang.String wapThemeId) {
566 this.wapThemeId = wapThemeId;
567 }
568
569 private java.lang.Object __equalsCalc = null;
570 public synchronized boolean equals(java.lang.Object obj) {
571 if (!(obj instanceof LayoutSoap)) return false;
572 LayoutSoap other = (LayoutSoap) obj;
573 if (obj == null) return false;
574 if (this == obj) return true;
575 if (__equalsCalc != null) {
576 return (__equalsCalc == obj);
577 }
578 __equalsCalc = obj;
579 boolean _equals;
580 _equals = true &&
581 ((this.colorSchemeId==null && other.getColorSchemeId()==null) ||
582 (this.colorSchemeId!=null &&
583 this.colorSchemeId.equals(other.getColorSchemeId()))) &&
584 this.companyId == other.getCompanyId() &&
585 ((this.css==null && other.getCss()==null) ||
586 (this.css!=null &&
587 this.css.equals(other.getCss()))) &&
588 ((this.description==null && other.getDescription()==null) ||
589 (this.description!=null &&
590 this.description.equals(other.getDescription()))) &&
591 this.dlFolderId == other.getDlFolderId() &&
592 ((this.friendlyURL==null && other.getFriendlyURL()==null) ||
593 (this.friendlyURL!=null &&
594 this.friendlyURL.equals(other.getFriendlyURL()))) &&
595 this.groupId == other.getGroupId() &&
596 this.hidden == other.isHidden() &&
597 this.iconImage == other.isIconImage() &&
598 this.iconImageId == other.getIconImageId() &&
599 this.layoutId == other.getLayoutId() &&
600 ((this.name==null && other.getName()==null) ||
601 (this.name!=null &&
602 this.name.equals(other.getName()))) &&
603 this.parentLayoutId == other.getParentLayoutId() &&
604 this.plid == other.getPlid() &&
605 this.primaryKey == other.getPrimaryKey() &&
606 this.priority == other.getPriority() &&
607 this.privateLayout == other.isPrivateLayout() &&
608 ((this.themeId==null && other.getThemeId()==null) ||
609 (this.themeId!=null &&
610 this.themeId.equals(other.getThemeId()))) &&
611 ((this.title==null && other.getTitle()==null) ||
612 (this.title!=null &&
613 this.title.equals(other.getTitle()))) &&
614 ((this.type==null && other.getType()==null) ||
615 (this.type!=null &&
616 this.type.equals(other.getType()))) &&
617 ((this.typeSettings==null && other.getTypeSettings()==null) ||
618 (this.typeSettings!=null &&
619 this.typeSettings.equals(other.getTypeSettings()))) &&
620 ((this.wapColorSchemeId==null && other.getWapColorSchemeId()==null) ||
621 (this.wapColorSchemeId!=null &&
622 this.wapColorSchemeId.equals(other.getWapColorSchemeId()))) &&
623 ((this.wapThemeId==null && other.getWapThemeId()==null) ||
624 (this.wapThemeId!=null &&
625 this.wapThemeId.equals(other.getWapThemeId())));
626 __equalsCalc = null;
627 return _equals;
628 }
629
630 private boolean __hashCodeCalc = false;
631 public synchronized int hashCode() {
632 if (__hashCodeCalc) {
633 return 0;
634 }
635 __hashCodeCalc = true;
636 int _hashCode = 1;
637 if (getColorSchemeId() != null) {
638 _hashCode += getColorSchemeId().hashCode();
639 }
640 _hashCode += new Long(getCompanyId()).hashCode();
641 if (getCss() != null) {
642 _hashCode += getCss().hashCode();
643 }
644 if (getDescription() != null) {
645 _hashCode += getDescription().hashCode();
646 }
647 _hashCode += new Long(getDlFolderId()).hashCode();
648 if (getFriendlyURL() != null) {
649 _hashCode += getFriendlyURL().hashCode();
650 }
651 _hashCode += new Long(getGroupId()).hashCode();
652 _hashCode += (isHidden() ? Boolean.TRUE : Boolean.FALSE).hashCode();
653 _hashCode += (isIconImage() ? Boolean.TRUE : Boolean.FALSE).hashCode();
654 _hashCode += new Long(getIconImageId()).hashCode();
655 _hashCode += new Long(getLayoutId()).hashCode();
656 if (getName() != null) {
657 _hashCode += getName().hashCode();
658 }
659 _hashCode += new Long(getParentLayoutId()).hashCode();
660 _hashCode += new Long(getPlid()).hashCode();
661 _hashCode += new Long(getPrimaryKey()).hashCode();
662 _hashCode += getPriority();
663 _hashCode += (isPrivateLayout() ? Boolean.TRUE : Boolean.FALSE).hashCode();
664 if (getThemeId() != null) {
665 _hashCode += getThemeId().hashCode();
666 }
667 if (getTitle() != null) {
668 _hashCode += getTitle().hashCode();
669 }
670 if (getType() != null) {
671 _hashCode += getType().hashCode();
672 }
673 if (getTypeSettings() != null) {
674 _hashCode += getTypeSettings().hashCode();
675 }
676 if (getWapColorSchemeId() != null) {
677 _hashCode += getWapColorSchemeId().hashCode();
678 }
679 if (getWapThemeId() != null) {
680 _hashCode += getWapThemeId().hashCode();
681 }
682 __hashCodeCalc = false;
683 return _hashCode;
684 }
685
686 private static org.apache.axis.description.TypeDesc typeDesc =
688 new org.apache.axis.description.TypeDesc(LayoutSoap.class, true);
689
690 static {
691 typeDesc.setXmlType(new javax.xml.namespace.QName("http://model.portal.liferay.com", "LayoutSoap"));
692 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
693 elemField.setFieldName("colorSchemeId");
694 elemField.setXmlName(new javax.xml.namespace.QName("", "colorSchemeId"));
695 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
696 elemField.setNillable(true);
697 typeDesc.addFieldDesc(elemField);
698 elemField = new org.apache.axis.description.ElementDesc();
699 elemField.setFieldName("companyId");
700 elemField.setXmlName(new javax.xml.namespace.QName("", "companyId"));
701 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
702 elemField.setNillable(false);
703 typeDesc.addFieldDesc(elemField);
704 elemField = new org.apache.axis.description.ElementDesc();
705 elemField.setFieldName("css");
706 elemField.setXmlName(new javax.xml.namespace.QName("", "css"));
707 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
708 elemField.setNillable(true);
709 typeDesc.addFieldDesc(elemField);
710 elemField = new org.apache.axis.description.ElementDesc();
711 elemField.setFieldName("description");
712 elemField.setXmlName(new javax.xml.namespace.QName("", "description"));
713 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
714 elemField.setNillable(true);
715 typeDesc.addFieldDesc(elemField);
716 elemField = new org.apache.axis.description.ElementDesc();
717 elemField.setFieldName("dlFolderId");
718 elemField.setXmlName(new javax.xml.namespace.QName("", "dlFolderId"));
719 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
720 elemField.setNillable(false);
721 typeDesc.addFieldDesc(elemField);
722 elemField = new org.apache.axis.description.ElementDesc();
723 elemField.setFieldName("friendlyURL");
724 elemField.setXmlName(new javax.xml.namespace.QName("", "friendlyURL"));
725 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
726 elemField.setNillable(true);
727 typeDesc.addFieldDesc(elemField);
728 elemField = new org.apache.axis.description.ElementDesc();
729 elemField.setFieldName("groupId");
730 elemField.setXmlName(new javax.xml.namespace.QName("", "groupId"));
731 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
732 elemField.setNillable(false);
733 typeDesc.addFieldDesc(elemField);
734 elemField = new org.apache.axis.description.ElementDesc();
735 elemField.setFieldName("hidden");
736 elemField.setXmlName(new javax.xml.namespace.QName("", "hidden"));
737 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
738 elemField.setNillable(false);
739 typeDesc.addFieldDesc(elemField);
740 elemField = new org.apache.axis.description.ElementDesc();
741 elemField.setFieldName("iconImage");
742 elemField.setXmlName(new javax.xml.namespace.QName("", "iconImage"));
743 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
744 elemField.setNillable(false);
745 typeDesc.addFieldDesc(elemField);
746 elemField = new org.apache.axis.description.ElementDesc();
747 elemField.setFieldName("iconImageId");
748 elemField.setXmlName(new javax.xml.namespace.QName("", "iconImageId"));
749 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
750 elemField.setNillable(false);
751 typeDesc.addFieldDesc(elemField);
752 elemField = new org.apache.axis.description.ElementDesc();
753 elemField.setFieldName("layoutId");
754 elemField.setXmlName(new javax.xml.namespace.QName("", "layoutId"));
755 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
756 elemField.setNillable(false);
757 typeDesc.addFieldDesc(elemField);
758 elemField = new org.apache.axis.description.ElementDesc();
759 elemField.setFieldName("name");
760 elemField.setXmlName(new javax.xml.namespace.QName("", "name"));
761 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
762 elemField.setNillable(true);
763 typeDesc.addFieldDesc(elemField);
764 elemField = new org.apache.axis.description.ElementDesc();
765 elemField.setFieldName("parentLayoutId");
766 elemField.setXmlName(new javax.xml.namespace.QName("", "parentLayoutId"));
767 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
768 elemField.setNillable(false);
769 typeDesc.addFieldDesc(elemField);
770 elemField = new org.apache.axis.description.ElementDesc();
771 elemField.setFieldName("plid");
772 elemField.setXmlName(new javax.xml.namespace.QName("", "plid"));
773 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
774 elemField.setNillable(false);
775 typeDesc.addFieldDesc(elemField);
776 elemField = new org.apache.axis.description.ElementDesc();
777 elemField.setFieldName("primaryKey");
778 elemField.setXmlName(new javax.xml.namespace.QName("", "primaryKey"));
779 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
780 elemField.setNillable(false);
781 typeDesc.addFieldDesc(elemField);
782 elemField = new org.apache.axis.description.ElementDesc();
783 elemField.setFieldName("priority");
784 elemField.setXmlName(new javax.xml.namespace.QName("", "priority"));
785 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
786 elemField.setNillable(false);
787 typeDesc.addFieldDesc(elemField);
788 elemField = new org.apache.axis.description.ElementDesc();
789 elemField.setFieldName("privateLayout");
790 elemField.setXmlName(new javax.xml.namespace.QName("", "privateLayout"));
791 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
792 elemField.setNillable(false);
793 typeDesc.addFieldDesc(elemField);
794 elemField = new org.apache.axis.description.ElementDesc();
795 elemField.setFieldName("themeId");
796 elemField.setXmlName(new javax.xml.namespace.QName("", "themeId"));
797 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
798 elemField.setNillable(true);
799 typeDesc.addFieldDesc(elemField);
800 elemField = new org.apache.axis.description.ElementDesc();
801 elemField.setFieldName("title");
802 elemField.setXmlName(new javax.xml.namespace.QName("", "title"));
803 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
804 elemField.setNillable(true);
805 typeDesc.addFieldDesc(elemField);
806 elemField = new org.apache.axis.description.ElementDesc();
807 elemField.setFieldName("type");
808 elemField.setXmlName(new javax.xml.namespace.QName("", "type"));
809 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
810 elemField.setNillable(true);
811 typeDesc.addFieldDesc(elemField);
812 elemField = new org.apache.axis.description.ElementDesc();
813 elemField.setFieldName("typeSettings");
814 elemField.setXmlName(new javax.xml.namespace.QName("", "typeSettings"));
815 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
816 elemField.setNillable(true);
817 typeDesc.addFieldDesc(elemField);
818 elemField = new org.apache.axis.description.ElementDesc();
819 elemField.setFieldName("wapColorSchemeId");
820 elemField.setXmlName(new javax.xml.namespace.QName("", "wapColorSchemeId"));
821 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
822 elemField.setNillable(true);
823 typeDesc.addFieldDesc(elemField);
824 elemField = new org.apache.axis.description.ElementDesc();
825 elemField.setFieldName("wapThemeId");
826 elemField.setXmlName(new javax.xml.namespace.QName("", "wapThemeId"));
827 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
828 elemField.setNillable(true);
829 typeDesc.addFieldDesc(elemField);
830 }
831
832
835 public static org.apache.axis.description.TypeDesc getTypeDesc() {
836 return typeDesc;
837 }
838
839
842 public static org.apache.axis.encoding.Serializer getSerializer(
843 java.lang.String mechType,
844 java.lang.Class _javaType,
845 javax.xml.namespace.QName _xmlType) {
846 return
847 new org.apache.axis.encoding.ser.BeanSerializer(
848 _javaType, _xmlType, typeDesc);
849 }
850
851
854 public static org.apache.axis.encoding.Deserializer getDeserializer(
855 java.lang.String mechType,
856 java.lang.Class _javaType,
857 javax.xml.namespace.QName _xmlType) {
858 return
859 new org.apache.axis.encoding.ser.BeanDeserializer(
860 _javaType, _xmlType, typeDesc);
861 }
862
863 }
864