1
7
8 package com.liferay.client.soap.portal.model;
9
10 public class LayoutSetSoap 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 long groupId;
18
19 private long layoutSetId;
20
21 private long layoutSetPrototypeId;
22
23 private boolean logo;
24
25 private long logoId;
26
27 private int pageCount;
28
29 private long primaryKey;
30
31 private boolean privateLayout;
32
33 private java.lang.String settings;
34
35 private java.lang.String themeId;
36
37 private java.lang.String virtualHost;
38
39 private java.lang.String wapColorSchemeId;
40
41 private java.lang.String wapThemeId;
42
43 public LayoutSetSoap() {
44 }
45
46 public LayoutSetSoap(
47 java.lang.String colorSchemeId,
48 long companyId,
49 java.lang.String css,
50 long groupId,
51 long layoutSetId,
52 long layoutSetPrototypeId,
53 boolean logo,
54 long logoId,
55 int pageCount,
56 long primaryKey,
57 boolean privateLayout,
58 java.lang.String settings,
59 java.lang.String themeId,
60 java.lang.String virtualHost,
61 java.lang.String wapColorSchemeId,
62 java.lang.String wapThemeId) {
63 this.colorSchemeId = colorSchemeId;
64 this.companyId = companyId;
65 this.css = css;
66 this.groupId = groupId;
67 this.layoutSetId = layoutSetId;
68 this.layoutSetPrototypeId = layoutSetPrototypeId;
69 this.logo = logo;
70 this.logoId = logoId;
71 this.pageCount = pageCount;
72 this.primaryKey = primaryKey;
73 this.privateLayout = privateLayout;
74 this.settings = settings;
75 this.themeId = themeId;
76 this.virtualHost = virtualHost;
77 this.wapColorSchemeId = wapColorSchemeId;
78 this.wapThemeId = wapThemeId;
79 }
80
81
82
87 public java.lang.String getColorSchemeId() {
88 return colorSchemeId;
89 }
90
91
92
97 public void setColorSchemeId(java.lang.String colorSchemeId) {
98 this.colorSchemeId = colorSchemeId;
99 }
100
101
102
107 public long getCompanyId() {
108 return companyId;
109 }
110
111
112
117 public void setCompanyId(long companyId) {
118 this.companyId = companyId;
119 }
120
121
122
127 public java.lang.String getCss() {
128 return css;
129 }
130
131
132
137 public void setCss(java.lang.String css) {
138 this.css = css;
139 }
140
141
142
147 public long getGroupId() {
148 return groupId;
149 }
150
151
152
157 public void setGroupId(long groupId) {
158 this.groupId = groupId;
159 }
160
161
162
167 public long getLayoutSetId() {
168 return layoutSetId;
169 }
170
171
172
177 public void setLayoutSetId(long layoutSetId) {
178 this.layoutSetId = layoutSetId;
179 }
180
181
182
187 public long getLayoutSetPrototypeId() {
188 return layoutSetPrototypeId;
189 }
190
191
192
197 public void setLayoutSetPrototypeId(long layoutSetPrototypeId) {
198 this.layoutSetPrototypeId = layoutSetPrototypeId;
199 }
200
201
202
207 public boolean isLogo() {
208 return logo;
209 }
210
211
212
217 public void setLogo(boolean logo) {
218 this.logo = logo;
219 }
220
221
222
227 public long getLogoId() {
228 return logoId;
229 }
230
231
232
237 public void setLogoId(long logoId) {
238 this.logoId = logoId;
239 }
240
241
242
247 public int getPageCount() {
248 return pageCount;
249 }
250
251
252
257 public void setPageCount(int pageCount) {
258 this.pageCount = pageCount;
259 }
260
261
262
267 public long getPrimaryKey() {
268 return primaryKey;
269 }
270
271
272
277 public void setPrimaryKey(long primaryKey) {
278 this.primaryKey = primaryKey;
279 }
280
281
282
287 public boolean isPrivateLayout() {
288 return privateLayout;
289 }
290
291
292
297 public void setPrivateLayout(boolean privateLayout) {
298 this.privateLayout = privateLayout;
299 }
300
301
302
307 public java.lang.String getSettings() {
308 return settings;
309 }
310
311
312
317 public void setSettings(java.lang.String settings) {
318 this.settings = settings;
319 }
320
321
322
327 public java.lang.String getThemeId() {
328 return themeId;
329 }
330
331
332
337 public void setThemeId(java.lang.String themeId) {
338 this.themeId = themeId;
339 }
340
341
342
347 public java.lang.String getVirtualHost() {
348 return virtualHost;
349 }
350
351
352
357 public void setVirtualHost(java.lang.String virtualHost) {
358 this.virtualHost = virtualHost;
359 }
360
361
362
367 public java.lang.String getWapColorSchemeId() {
368 return wapColorSchemeId;
369 }
370
371
372
377 public void setWapColorSchemeId(java.lang.String wapColorSchemeId) {
378 this.wapColorSchemeId = wapColorSchemeId;
379 }
380
381
382
387 public java.lang.String getWapThemeId() {
388 return wapThemeId;
389 }
390
391
392
397 public void setWapThemeId(java.lang.String wapThemeId) {
398 this.wapThemeId = wapThemeId;
399 }
400
401 private java.lang.Object __equalsCalc = null;
402 public synchronized boolean equals(java.lang.Object obj) {
403 if (!(obj instanceof LayoutSetSoap)) return false;
404 LayoutSetSoap other = (LayoutSetSoap) 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.colorSchemeId==null && other.getColorSchemeId()==null) ||
414 (this.colorSchemeId!=null &&
415 this.colorSchemeId.equals(other.getColorSchemeId()))) &&
416 this.companyId == other.getCompanyId() &&
417 ((this.css==null && other.getCss()==null) ||
418 (this.css!=null &&
419 this.css.equals(other.getCss()))) &&
420 this.groupId == other.getGroupId() &&
421 this.layoutSetId == other.getLayoutSetId() &&
422 this.layoutSetPrototypeId == other.getLayoutSetPrototypeId() &&
423 this.logo == other.isLogo() &&
424 this.logoId == other.getLogoId() &&
425 this.pageCount == other.getPageCount() &&
426 this.primaryKey == other.getPrimaryKey() &&
427 this.privateLayout == other.isPrivateLayout() &&
428 ((this.settings==null && other.getSettings()==null) ||
429 (this.settings!=null &&
430 this.settings.equals(other.getSettings()))) &&
431 ((this.themeId==null && other.getThemeId()==null) ||
432 (this.themeId!=null &&
433 this.themeId.equals(other.getThemeId()))) &&
434 ((this.virtualHost==null && other.getVirtualHost()==null) ||
435 (this.virtualHost!=null &&
436 this.virtualHost.equals(other.getVirtualHost()))) &&
437 ((this.wapColorSchemeId==null && other.getWapColorSchemeId()==null) ||
438 (this.wapColorSchemeId!=null &&
439 this.wapColorSchemeId.equals(other.getWapColorSchemeId()))) &&
440 ((this.wapThemeId==null && other.getWapThemeId()==null) ||
441 (this.wapThemeId!=null &&
442 this.wapThemeId.equals(other.getWapThemeId())));
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 if (getColorSchemeId() != null) {
455 _hashCode += getColorSchemeId().hashCode();
456 }
457 _hashCode += new Long(getCompanyId()).hashCode();
458 if (getCss() != null) {
459 _hashCode += getCss().hashCode();
460 }
461 _hashCode += new Long(getGroupId()).hashCode();
462 _hashCode += new Long(getLayoutSetId()).hashCode();
463 _hashCode += new Long(getLayoutSetPrototypeId()).hashCode();
464 _hashCode += (isLogo() ? Boolean.TRUE : Boolean.FALSE).hashCode();
465 _hashCode += new Long(getLogoId()).hashCode();
466 _hashCode += getPageCount();
467 _hashCode += new Long(getPrimaryKey()).hashCode();
468 _hashCode += (isPrivateLayout() ? Boolean.TRUE : Boolean.FALSE).hashCode();
469 if (getSettings() != null) {
470 _hashCode += getSettings().hashCode();
471 }
472 if (getThemeId() != null) {
473 _hashCode += getThemeId().hashCode();
474 }
475 if (getVirtualHost() != null) {
476 _hashCode += getVirtualHost().hashCode();
477 }
478 if (getWapColorSchemeId() != null) {
479 _hashCode += getWapColorSchemeId().hashCode();
480 }
481 if (getWapThemeId() != null) {
482 _hashCode += getWapThemeId().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(LayoutSetSoap.class, true);
491
492 static {
493 typeDesc.setXmlType(new javax.xml.namespace.QName("http://model.portal.liferay.com", "LayoutSetSoap"));
494 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
495 elemField.setFieldName("colorSchemeId");
496 elemField.setXmlName(new javax.xml.namespace.QName("", "colorSchemeId"));
497 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
498 elemField.setNillable(true);
499 typeDesc.addFieldDesc(elemField);
500 elemField = new org.apache.axis.description.ElementDesc();
501 elemField.setFieldName("companyId");
502 elemField.setXmlName(new javax.xml.namespace.QName("", "companyId"));
503 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
504 elemField.setNillable(false);
505 typeDesc.addFieldDesc(elemField);
506 elemField = new org.apache.axis.description.ElementDesc();
507 elemField.setFieldName("css");
508 elemField.setXmlName(new javax.xml.namespace.QName("", "css"));
509 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
510 elemField.setNillable(true);
511 typeDesc.addFieldDesc(elemField);
512 elemField = new org.apache.axis.description.ElementDesc();
513 elemField.setFieldName("groupId");
514 elemField.setXmlName(new javax.xml.namespace.QName("", "groupId"));
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("layoutSetId");
520 elemField.setXmlName(new javax.xml.namespace.QName("", "layoutSetId"));
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("layoutSetPrototypeId");
526 elemField.setXmlName(new javax.xml.namespace.QName("", "layoutSetPrototypeId"));
527 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
528 elemField.setNillable(false);
529 typeDesc.addFieldDesc(elemField);
530 elemField = new org.apache.axis.description.ElementDesc();
531 elemField.setFieldName("logo");
532 elemField.setXmlName(new javax.xml.namespace.QName("", "logo"));
533 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
534 elemField.setNillable(false);
535 typeDesc.addFieldDesc(elemField);
536 elemField = new org.apache.axis.description.ElementDesc();
537 elemField.setFieldName("logoId");
538 elemField.setXmlName(new javax.xml.namespace.QName("", "logoId"));
539 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
540 elemField.setNillable(false);
541 typeDesc.addFieldDesc(elemField);
542 elemField = new org.apache.axis.description.ElementDesc();
543 elemField.setFieldName("pageCount");
544 elemField.setXmlName(new javax.xml.namespace.QName("", "pageCount"));
545 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
546 elemField.setNillable(false);
547 typeDesc.addFieldDesc(elemField);
548 elemField = new org.apache.axis.description.ElementDesc();
549 elemField.setFieldName("primaryKey");
550 elemField.setXmlName(new javax.xml.namespace.QName("", "primaryKey"));
551 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
552 elemField.setNillable(false);
553 typeDesc.addFieldDesc(elemField);
554 elemField = new org.apache.axis.description.ElementDesc();
555 elemField.setFieldName("privateLayout");
556 elemField.setXmlName(new javax.xml.namespace.QName("", "privateLayout"));
557 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
558 elemField.setNillable(false);
559 typeDesc.addFieldDesc(elemField);
560 elemField = new org.apache.axis.description.ElementDesc();
561 elemField.setFieldName("settings");
562 elemField.setXmlName(new javax.xml.namespace.QName("", "settings"));
563 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
564 elemField.setNillable(true);
565 typeDesc.addFieldDesc(elemField);
566 elemField = new org.apache.axis.description.ElementDesc();
567 elemField.setFieldName("themeId");
568 elemField.setXmlName(new javax.xml.namespace.QName("", "themeId"));
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("virtualHost");
574 elemField.setXmlName(new javax.xml.namespace.QName("", "virtualHost"));
575 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
576 elemField.setNillable(true);
577 typeDesc.addFieldDesc(elemField);
578 elemField = new org.apache.axis.description.ElementDesc();
579 elemField.setFieldName("wapColorSchemeId");
580 elemField.setXmlName(new javax.xml.namespace.QName("", "wapColorSchemeId"));
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("wapThemeId");
586 elemField.setXmlName(new javax.xml.namespace.QName("", "wapThemeId"));
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