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 long layoutPrototypeId;
34
35 private java.lang.String name;
36
37 private long parentLayoutId;
38
39 private long plid;
40
41 private long primaryKey;
42
43 private int priority;
44
45 private boolean privateLayout;
46
47 private java.lang.String themeId;
48
49 private java.lang.String title;
50
51 private java.lang.String type;
52
53 private java.lang.String typeSettings;
54
55 private java.lang.String wapColorSchemeId;
56
57 private java.lang.String wapThemeId;
58
59 public LayoutSoap() {
60 }
61
62 public LayoutSoap(
63 java.lang.String colorSchemeId,
64 long companyId,
65 java.lang.String css,
66 java.lang.String description,
67 long dlFolderId,
68 java.lang.String friendlyURL,
69 long groupId,
70 boolean hidden,
71 boolean iconImage,
72 long iconImageId,
73 long layoutId,
74 long layoutPrototypeId,
75 java.lang.String name,
76 long parentLayoutId,
77 long plid,
78 long primaryKey,
79 int priority,
80 boolean privateLayout,
81 java.lang.String themeId,
82 java.lang.String title,
83 java.lang.String type,
84 java.lang.String typeSettings,
85 java.lang.String wapColorSchemeId,
86 java.lang.String wapThemeId) {
87 this.colorSchemeId = colorSchemeId;
88 this.companyId = companyId;
89 this.css = css;
90 this.description = description;
91 this.dlFolderId = dlFolderId;
92 this.friendlyURL = friendlyURL;
93 this.groupId = groupId;
94 this.hidden = hidden;
95 this.iconImage = iconImage;
96 this.iconImageId = iconImageId;
97 this.layoutId = layoutId;
98 this.layoutPrototypeId = layoutPrototypeId;
99 this.name = name;
100 this.parentLayoutId = parentLayoutId;
101 this.plid = plid;
102 this.primaryKey = primaryKey;
103 this.priority = priority;
104 this.privateLayout = privateLayout;
105 this.themeId = themeId;
106 this.title = title;
107 this.type = type;
108 this.typeSettings = typeSettings;
109 this.wapColorSchemeId = wapColorSchemeId;
110 this.wapThemeId = wapThemeId;
111 }
112
113
114
119 public java.lang.String getColorSchemeId() {
120 return colorSchemeId;
121 }
122
123
124
129 public void setColorSchemeId(java.lang.String colorSchemeId) {
130 this.colorSchemeId = colorSchemeId;
131 }
132
133
134
139 public long getCompanyId() {
140 return companyId;
141 }
142
143
144
149 public void setCompanyId(long companyId) {
150 this.companyId = companyId;
151 }
152
153
154
159 public java.lang.String getCss() {
160 return css;
161 }
162
163
164
169 public void setCss(java.lang.String css) {
170 this.css = css;
171 }
172
173
174
179 public java.lang.String getDescription() {
180 return description;
181 }
182
183
184
189 public void setDescription(java.lang.String description) {
190 this.description = description;
191 }
192
193
194
199 public long getDlFolderId() {
200 return dlFolderId;
201 }
202
203
204
209 public void setDlFolderId(long dlFolderId) {
210 this.dlFolderId = dlFolderId;
211 }
212
213
214
219 public java.lang.String getFriendlyURL() {
220 return friendlyURL;
221 }
222
223
224
229 public void setFriendlyURL(java.lang.String friendlyURL) {
230 this.friendlyURL = friendlyURL;
231 }
232
233
234
239 public long getGroupId() {
240 return groupId;
241 }
242
243
244
249 public void setGroupId(long groupId) {
250 this.groupId = groupId;
251 }
252
253
254
259 public boolean isHidden() {
260 return hidden;
261 }
262
263
264
269 public void setHidden(boolean hidden) {
270 this.hidden = hidden;
271 }
272
273
274
279 public boolean isIconImage() {
280 return iconImage;
281 }
282
283
284
289 public void setIconImage(boolean iconImage) {
290 this.iconImage = iconImage;
291 }
292
293
294
299 public long getIconImageId() {
300 return iconImageId;
301 }
302
303
304
309 public void setIconImageId(long iconImageId) {
310 this.iconImageId = iconImageId;
311 }
312
313
314
319 public long getLayoutId() {
320 return layoutId;
321 }
322
323
324
329 public void setLayoutId(long layoutId) {
330 this.layoutId = layoutId;
331 }
332
333
334
339 public long getLayoutPrototypeId() {
340 return layoutPrototypeId;
341 }
342
343
344
349 public void setLayoutPrototypeId(long layoutPrototypeId) {
350 this.layoutPrototypeId = layoutPrototypeId;
351 }
352
353
354
359 public java.lang.String getName() {
360 return name;
361 }
362
363
364
369 public void setName(java.lang.String name) {
370 this.name = name;
371 }
372
373
374
379 public long getParentLayoutId() {
380 return parentLayoutId;
381 }
382
383
384
389 public void setParentLayoutId(long parentLayoutId) {
390 this.parentLayoutId = parentLayoutId;
391 }
392
393
394
399 public long getPlid() {
400 return plid;
401 }
402
403
404
409 public void setPlid(long plid) {
410 this.plid = plid;
411 }
412
413
414
419 public long getPrimaryKey() {
420 return primaryKey;
421 }
422
423
424
429 public void setPrimaryKey(long primaryKey) {
430 this.primaryKey = primaryKey;
431 }
432
433
434
439 public int getPriority() {
440 return priority;
441 }
442
443
444
449 public void setPriority(int priority) {
450 this.priority = priority;
451 }
452
453
454
459 public boolean isPrivateLayout() {
460 return privateLayout;
461 }
462
463
464
469 public void setPrivateLayout(boolean privateLayout) {
470 this.privateLayout = privateLayout;
471 }
472
473
474
479 public java.lang.String getThemeId() {
480 return themeId;
481 }
482
483
484
489 public void setThemeId(java.lang.String themeId) {
490 this.themeId = themeId;
491 }
492
493
494
499 public java.lang.String getTitle() {
500 return title;
501 }
502
503
504
509 public void setTitle(java.lang.String title) {
510 this.title = title;
511 }
512
513
514
519 public java.lang.String getType() {
520 return type;
521 }
522
523
524
529 public void setType(java.lang.String type) {
530 this.type = type;
531 }
532
533
534
539 public java.lang.String getTypeSettings() {
540 return typeSettings;
541 }
542
543
544
549 public void setTypeSettings(java.lang.String typeSettings) {
550 this.typeSettings = typeSettings;
551 }
552
553
554
559 public java.lang.String getWapColorSchemeId() {
560 return wapColorSchemeId;
561 }
562
563
564
569 public void setWapColorSchemeId(java.lang.String wapColorSchemeId) {
570 this.wapColorSchemeId = wapColorSchemeId;
571 }
572
573
574
579 public java.lang.String getWapThemeId() {
580 return wapThemeId;
581 }
582
583
584
589 public void setWapThemeId(java.lang.String wapThemeId) {
590 this.wapThemeId = wapThemeId;
591 }
592
593 private java.lang.Object __equalsCalc = null;
594 public synchronized boolean equals(java.lang.Object obj) {
595 if (!(obj instanceof LayoutSoap)) return false;
596 LayoutSoap other = (LayoutSoap) obj;
597 if (obj == null) return false;
598 if (this == obj) return true;
599 if (__equalsCalc != null) {
600 return (__equalsCalc == obj);
601 }
602 __equalsCalc = obj;
603 boolean _equals;
604 _equals = true &&
605 ((this.colorSchemeId==null && other.getColorSchemeId()==null) ||
606 (this.colorSchemeId!=null &&
607 this.colorSchemeId.equals(other.getColorSchemeId()))) &&
608 this.companyId == other.getCompanyId() &&
609 ((this.css==null && other.getCss()==null) ||
610 (this.css!=null &&
611 this.css.equals(other.getCss()))) &&
612 ((this.description==null && other.getDescription()==null) ||
613 (this.description!=null &&
614 this.description.equals(other.getDescription()))) &&
615 this.dlFolderId == other.getDlFolderId() &&
616 ((this.friendlyURL==null && other.getFriendlyURL()==null) ||
617 (this.friendlyURL!=null &&
618 this.friendlyURL.equals(other.getFriendlyURL()))) &&
619 this.groupId == other.getGroupId() &&
620 this.hidden == other.isHidden() &&
621 this.iconImage == other.isIconImage() &&
622 this.iconImageId == other.getIconImageId() &&
623 this.layoutId == other.getLayoutId() &&
624 this.layoutPrototypeId == other.getLayoutPrototypeId() &&
625 ((this.name==null && other.getName()==null) ||
626 (this.name!=null &&
627 this.name.equals(other.getName()))) &&
628 this.parentLayoutId == other.getParentLayoutId() &&
629 this.plid == other.getPlid() &&
630 this.primaryKey == other.getPrimaryKey() &&
631 this.priority == other.getPriority() &&
632 this.privateLayout == other.isPrivateLayout() &&
633 ((this.themeId==null && other.getThemeId()==null) ||
634 (this.themeId!=null &&
635 this.themeId.equals(other.getThemeId()))) &&
636 ((this.title==null && other.getTitle()==null) ||
637 (this.title!=null &&
638 this.title.equals(other.getTitle()))) &&
639 ((this.type==null && other.getType()==null) ||
640 (this.type!=null &&
641 this.type.equals(other.getType()))) &&
642 ((this.typeSettings==null && other.getTypeSettings()==null) ||
643 (this.typeSettings!=null &&
644 this.typeSettings.equals(other.getTypeSettings()))) &&
645 ((this.wapColorSchemeId==null && other.getWapColorSchemeId()==null) ||
646 (this.wapColorSchemeId!=null &&
647 this.wapColorSchemeId.equals(other.getWapColorSchemeId()))) &&
648 ((this.wapThemeId==null && other.getWapThemeId()==null) ||
649 (this.wapThemeId!=null &&
650 this.wapThemeId.equals(other.getWapThemeId())));
651 __equalsCalc = null;
652 return _equals;
653 }
654
655 private boolean __hashCodeCalc = false;
656 public synchronized int hashCode() {
657 if (__hashCodeCalc) {
658 return 0;
659 }
660 __hashCodeCalc = true;
661 int _hashCode = 1;
662 if (getColorSchemeId() != null) {
663 _hashCode += getColorSchemeId().hashCode();
664 }
665 _hashCode += new Long(getCompanyId()).hashCode();
666 if (getCss() != null) {
667 _hashCode += getCss().hashCode();
668 }
669 if (getDescription() != null) {
670 _hashCode += getDescription().hashCode();
671 }
672 _hashCode += new Long(getDlFolderId()).hashCode();
673 if (getFriendlyURL() != null) {
674 _hashCode += getFriendlyURL().hashCode();
675 }
676 _hashCode += new Long(getGroupId()).hashCode();
677 _hashCode += (isHidden() ? Boolean.TRUE : Boolean.FALSE).hashCode();
678 _hashCode += (isIconImage() ? Boolean.TRUE : Boolean.FALSE).hashCode();
679 _hashCode += new Long(getIconImageId()).hashCode();
680 _hashCode += new Long(getLayoutId()).hashCode();
681 _hashCode += new Long(getLayoutPrototypeId()).hashCode();
682 if (getName() != null) {
683 _hashCode += getName().hashCode();
684 }
685 _hashCode += new Long(getParentLayoutId()).hashCode();
686 _hashCode += new Long(getPlid()).hashCode();
687 _hashCode += new Long(getPrimaryKey()).hashCode();
688 _hashCode += getPriority();
689 _hashCode += (isPrivateLayout() ? Boolean.TRUE : Boolean.FALSE).hashCode();
690 if (getThemeId() != null) {
691 _hashCode += getThemeId().hashCode();
692 }
693 if (getTitle() != null) {
694 _hashCode += getTitle().hashCode();
695 }
696 if (getType() != null) {
697 _hashCode += getType().hashCode();
698 }
699 if (getTypeSettings() != null) {
700 _hashCode += getTypeSettings().hashCode();
701 }
702 if (getWapColorSchemeId() != null) {
703 _hashCode += getWapColorSchemeId().hashCode();
704 }
705 if (getWapThemeId() != null) {
706 _hashCode += getWapThemeId().hashCode();
707 }
708 __hashCodeCalc = false;
709 return _hashCode;
710 }
711
712 private static org.apache.axis.description.TypeDesc typeDesc =
714 new org.apache.axis.description.TypeDesc(LayoutSoap.class, true);
715
716 static {
717 typeDesc.setXmlType(new javax.xml.namespace.QName("http://model.portal.liferay.com", "LayoutSoap"));
718 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
719 elemField.setFieldName("colorSchemeId");
720 elemField.setXmlName(new javax.xml.namespace.QName("", "colorSchemeId"));
721 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
722 elemField.setNillable(true);
723 typeDesc.addFieldDesc(elemField);
724 elemField = new org.apache.axis.description.ElementDesc();
725 elemField.setFieldName("companyId");
726 elemField.setXmlName(new javax.xml.namespace.QName("", "companyId"));
727 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
728 elemField.setNillable(false);
729 typeDesc.addFieldDesc(elemField);
730 elemField = new org.apache.axis.description.ElementDesc();
731 elemField.setFieldName("css");
732 elemField.setXmlName(new javax.xml.namespace.QName("", "css"));
733 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
734 elemField.setNillable(true);
735 typeDesc.addFieldDesc(elemField);
736 elemField = new org.apache.axis.description.ElementDesc();
737 elemField.setFieldName("description");
738 elemField.setXmlName(new javax.xml.namespace.QName("", "description"));
739 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
740 elemField.setNillable(true);
741 typeDesc.addFieldDesc(elemField);
742 elemField = new org.apache.axis.description.ElementDesc();
743 elemField.setFieldName("dlFolderId");
744 elemField.setXmlName(new javax.xml.namespace.QName("", "dlFolderId"));
745 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
746 elemField.setNillable(false);
747 typeDesc.addFieldDesc(elemField);
748 elemField = new org.apache.axis.description.ElementDesc();
749 elemField.setFieldName("friendlyURL");
750 elemField.setXmlName(new javax.xml.namespace.QName("", "friendlyURL"));
751 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
752 elemField.setNillable(true);
753 typeDesc.addFieldDesc(elemField);
754 elemField = new org.apache.axis.description.ElementDesc();
755 elemField.setFieldName("groupId");
756 elemField.setXmlName(new javax.xml.namespace.QName("", "groupId"));
757 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
758 elemField.setNillable(false);
759 typeDesc.addFieldDesc(elemField);
760 elemField = new org.apache.axis.description.ElementDesc();
761 elemField.setFieldName("hidden");
762 elemField.setXmlName(new javax.xml.namespace.QName("", "hidden"));
763 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
764 elemField.setNillable(false);
765 typeDesc.addFieldDesc(elemField);
766 elemField = new org.apache.axis.description.ElementDesc();
767 elemField.setFieldName("iconImage");
768 elemField.setXmlName(new javax.xml.namespace.QName("", "iconImage"));
769 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
770 elemField.setNillable(false);
771 typeDesc.addFieldDesc(elemField);
772 elemField = new org.apache.axis.description.ElementDesc();
773 elemField.setFieldName("iconImageId");
774 elemField.setXmlName(new javax.xml.namespace.QName("", "iconImageId"));
775 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
776 elemField.setNillable(false);
777 typeDesc.addFieldDesc(elemField);
778 elemField = new org.apache.axis.description.ElementDesc();
779 elemField.setFieldName("layoutId");
780 elemField.setXmlName(new javax.xml.namespace.QName("", "layoutId"));
781 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
782 elemField.setNillable(false);
783 typeDesc.addFieldDesc(elemField);
784 elemField = new org.apache.axis.description.ElementDesc();
785 elemField.setFieldName("layoutPrototypeId");
786 elemField.setXmlName(new javax.xml.namespace.QName("", "layoutPrototypeId"));
787 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
788 elemField.setNillable(false);
789 typeDesc.addFieldDesc(elemField);
790 elemField = new org.apache.axis.description.ElementDesc();
791 elemField.setFieldName("name");
792 elemField.setXmlName(new javax.xml.namespace.QName("", "name"));
793 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
794 elemField.setNillable(true);
795 typeDesc.addFieldDesc(elemField);
796 elemField = new org.apache.axis.description.ElementDesc();
797 elemField.setFieldName("parentLayoutId");
798 elemField.setXmlName(new javax.xml.namespace.QName("", "parentLayoutId"));
799 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
800 elemField.setNillable(false);
801 typeDesc.addFieldDesc(elemField);
802 elemField = new org.apache.axis.description.ElementDesc();
803 elemField.setFieldName("plid");
804 elemField.setXmlName(new javax.xml.namespace.QName("", "plid"));
805 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
806 elemField.setNillable(false);
807 typeDesc.addFieldDesc(elemField);
808 elemField = new org.apache.axis.description.ElementDesc();
809 elemField.setFieldName("primaryKey");
810 elemField.setXmlName(new javax.xml.namespace.QName("", "primaryKey"));
811 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
812 elemField.setNillable(false);
813 typeDesc.addFieldDesc(elemField);
814 elemField = new org.apache.axis.description.ElementDesc();
815 elemField.setFieldName("priority");
816 elemField.setXmlName(new javax.xml.namespace.QName("", "priority"));
817 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
818 elemField.setNillable(false);
819 typeDesc.addFieldDesc(elemField);
820 elemField = new org.apache.axis.description.ElementDesc();
821 elemField.setFieldName("privateLayout");
822 elemField.setXmlName(new javax.xml.namespace.QName("", "privateLayout"));
823 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
824 elemField.setNillable(false);
825 typeDesc.addFieldDesc(elemField);
826 elemField = new org.apache.axis.description.ElementDesc();
827 elemField.setFieldName("themeId");
828 elemField.setXmlName(new javax.xml.namespace.QName("", "themeId"));
829 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
830 elemField.setNillable(true);
831 typeDesc.addFieldDesc(elemField);
832 elemField = new org.apache.axis.description.ElementDesc();
833 elemField.setFieldName("title");
834 elemField.setXmlName(new javax.xml.namespace.QName("", "title"));
835 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
836 elemField.setNillable(true);
837 typeDesc.addFieldDesc(elemField);
838 elemField = new org.apache.axis.description.ElementDesc();
839 elemField.setFieldName("type");
840 elemField.setXmlName(new javax.xml.namespace.QName("", "type"));
841 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
842 elemField.setNillable(true);
843 typeDesc.addFieldDesc(elemField);
844 elemField = new org.apache.axis.description.ElementDesc();
845 elemField.setFieldName("typeSettings");
846 elemField.setXmlName(new javax.xml.namespace.QName("", "typeSettings"));
847 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
848 elemField.setNillable(true);
849 typeDesc.addFieldDesc(elemField);
850 elemField = new org.apache.axis.description.ElementDesc();
851 elemField.setFieldName("wapColorSchemeId");
852 elemField.setXmlName(new javax.xml.namespace.QName("", "wapColorSchemeId"));
853 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
854 elemField.setNillable(true);
855 typeDesc.addFieldDesc(elemField);
856 elemField = new org.apache.axis.description.ElementDesc();
857 elemField.setFieldName("wapThemeId");
858 elemField.setXmlName(new javax.xml.namespace.QName("", "wapThemeId"));
859 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
860 elemField.setNillable(true);
861 typeDesc.addFieldDesc(elemField);
862 }
863
864
867 public static org.apache.axis.description.TypeDesc getTypeDesc() {
868 return typeDesc;
869 }
870
871
874 public static org.apache.axis.encoding.Serializer getSerializer(
875 java.lang.String mechType,
876 java.lang.Class _javaType,
877 javax.xml.namespace.QName _xmlType) {
878 return
879 new org.apache.axis.encoding.ser.BeanSerializer(
880 _javaType, _xmlType, typeDesc);
881 }
882
883
886 public static org.apache.axis.encoding.Deserializer getDeserializer(
887 java.lang.String mechType,
888 java.lang.Class _javaType,
889 javax.xml.namespace.QName _xmlType) {
890 return
891 new org.apache.axis.encoding.ser.BeanDeserializer(
892 _javaType, _xmlType, typeDesc);
893 }
894
895 }
896