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 themeId;
34
35 private java.lang.String virtualHost;
36
37 private java.lang.String wapColorSchemeId;
38
39 private java.lang.String wapThemeId;
40
41 public LayoutSetSoap() {
42 }
43
44 public LayoutSetSoap(
45 java.lang.String colorSchemeId,
46 long companyId,
47 java.lang.String css,
48 long groupId,
49 long layoutSetId,
50 long layoutSetPrototypeId,
51 boolean logo,
52 long logoId,
53 int pageCount,
54 long primaryKey,
55 boolean privateLayout,
56 java.lang.String themeId,
57 java.lang.String virtualHost,
58 java.lang.String wapColorSchemeId,
59 java.lang.String wapThemeId) {
60 this.colorSchemeId = colorSchemeId;
61 this.companyId = companyId;
62 this.css = css;
63 this.groupId = groupId;
64 this.layoutSetId = layoutSetId;
65 this.layoutSetPrototypeId = layoutSetPrototypeId;
66 this.logo = logo;
67 this.logoId = logoId;
68 this.pageCount = pageCount;
69 this.primaryKey = primaryKey;
70 this.privateLayout = privateLayout;
71 this.themeId = themeId;
72 this.virtualHost = virtualHost;
73 this.wapColorSchemeId = wapColorSchemeId;
74 this.wapThemeId = wapThemeId;
75 }
76
77
78
83 public java.lang.String getColorSchemeId() {
84 return colorSchemeId;
85 }
86
87
88
93 public void setColorSchemeId(java.lang.String colorSchemeId) {
94 this.colorSchemeId = colorSchemeId;
95 }
96
97
98
103 public long getCompanyId() {
104 return companyId;
105 }
106
107
108
113 public void setCompanyId(long companyId) {
114 this.companyId = companyId;
115 }
116
117
118
123 public java.lang.String getCss() {
124 return css;
125 }
126
127
128
133 public void setCss(java.lang.String css) {
134 this.css = css;
135 }
136
137
138
143 public long getGroupId() {
144 return groupId;
145 }
146
147
148
153 public void setGroupId(long groupId) {
154 this.groupId = groupId;
155 }
156
157
158
163 public long getLayoutSetId() {
164 return layoutSetId;
165 }
166
167
168
173 public void setLayoutSetId(long layoutSetId) {
174 this.layoutSetId = layoutSetId;
175 }
176
177
178
183 public long getLayoutSetPrototypeId() {
184 return layoutSetPrototypeId;
185 }
186
187
188
193 public void setLayoutSetPrototypeId(long layoutSetPrototypeId) {
194 this.layoutSetPrototypeId = layoutSetPrototypeId;
195 }
196
197
198
203 public boolean isLogo() {
204 return logo;
205 }
206
207
208
213 public void setLogo(boolean logo) {
214 this.logo = logo;
215 }
216
217
218
223 public long getLogoId() {
224 return logoId;
225 }
226
227
228
233 public void setLogoId(long logoId) {
234 this.logoId = logoId;
235 }
236
237
238
243 public int getPageCount() {
244 return pageCount;
245 }
246
247
248
253 public void setPageCount(int pageCount) {
254 this.pageCount = pageCount;
255 }
256
257
258
263 public long getPrimaryKey() {
264 return primaryKey;
265 }
266
267
268
273 public void setPrimaryKey(long primaryKey) {
274 this.primaryKey = primaryKey;
275 }
276
277
278
283 public boolean isPrivateLayout() {
284 return privateLayout;
285 }
286
287
288
293 public void setPrivateLayout(boolean privateLayout) {
294 this.privateLayout = privateLayout;
295 }
296
297
298
303 public java.lang.String getThemeId() {
304 return themeId;
305 }
306
307
308
313 public void setThemeId(java.lang.String themeId) {
314 this.themeId = themeId;
315 }
316
317
318
323 public java.lang.String getVirtualHost() {
324 return virtualHost;
325 }
326
327
328
333 public void setVirtualHost(java.lang.String virtualHost) {
334 this.virtualHost = virtualHost;
335 }
336
337
338
343 public java.lang.String getWapColorSchemeId() {
344 return wapColorSchemeId;
345 }
346
347
348
353 public void setWapColorSchemeId(java.lang.String wapColorSchemeId) {
354 this.wapColorSchemeId = wapColorSchemeId;
355 }
356
357
358
363 public java.lang.String getWapThemeId() {
364 return wapThemeId;
365 }
366
367
368
373 public void setWapThemeId(java.lang.String wapThemeId) {
374 this.wapThemeId = wapThemeId;
375 }
376
377 private java.lang.Object __equalsCalc = null;
378 public synchronized boolean equals(java.lang.Object obj) {
379 if (!(obj instanceof LayoutSetSoap)) return false;
380 LayoutSetSoap other = (LayoutSetSoap) obj;
381 if (obj == null) return false;
382 if (this == obj) return true;
383 if (__equalsCalc != null) {
384 return (__equalsCalc == obj);
385 }
386 __equalsCalc = obj;
387 boolean _equals;
388 _equals = true &&
389 ((this.colorSchemeId==null && other.getColorSchemeId()==null) ||
390 (this.colorSchemeId!=null &&
391 this.colorSchemeId.equals(other.getColorSchemeId()))) &&
392 this.companyId == other.getCompanyId() &&
393 ((this.css==null && other.getCss()==null) ||
394 (this.css!=null &&
395 this.css.equals(other.getCss()))) &&
396 this.groupId == other.getGroupId() &&
397 this.layoutSetId == other.getLayoutSetId() &&
398 this.layoutSetPrototypeId == other.getLayoutSetPrototypeId() &&
399 this.logo == other.isLogo() &&
400 this.logoId == other.getLogoId() &&
401 this.pageCount == other.getPageCount() &&
402 this.primaryKey == other.getPrimaryKey() &&
403 this.privateLayout == other.isPrivateLayout() &&
404 ((this.themeId==null && other.getThemeId()==null) ||
405 (this.themeId!=null &&
406 this.themeId.equals(other.getThemeId()))) &&
407 ((this.virtualHost==null && other.getVirtualHost()==null) ||
408 (this.virtualHost!=null &&
409 this.virtualHost.equals(other.getVirtualHost()))) &&
410 ((this.wapColorSchemeId==null && other.getWapColorSchemeId()==null) ||
411 (this.wapColorSchemeId!=null &&
412 this.wapColorSchemeId.equals(other.getWapColorSchemeId()))) &&
413 ((this.wapThemeId==null && other.getWapThemeId()==null) ||
414 (this.wapThemeId!=null &&
415 this.wapThemeId.equals(other.getWapThemeId())));
416 __equalsCalc = null;
417 return _equals;
418 }
419
420 private boolean __hashCodeCalc = false;
421 public synchronized int hashCode() {
422 if (__hashCodeCalc) {
423 return 0;
424 }
425 __hashCodeCalc = true;
426 int _hashCode = 1;
427 if (getColorSchemeId() != null) {
428 _hashCode += getColorSchemeId().hashCode();
429 }
430 _hashCode += new Long(getCompanyId()).hashCode();
431 if (getCss() != null) {
432 _hashCode += getCss().hashCode();
433 }
434 _hashCode += new Long(getGroupId()).hashCode();
435 _hashCode += new Long(getLayoutSetId()).hashCode();
436 _hashCode += new Long(getLayoutSetPrototypeId()).hashCode();
437 _hashCode += (isLogo() ? Boolean.TRUE : Boolean.FALSE).hashCode();
438 _hashCode += new Long(getLogoId()).hashCode();
439 _hashCode += getPageCount();
440 _hashCode += new Long(getPrimaryKey()).hashCode();
441 _hashCode += (isPrivateLayout() ? Boolean.TRUE : Boolean.FALSE).hashCode();
442 if (getThemeId() != null) {
443 _hashCode += getThemeId().hashCode();
444 }
445 if (getVirtualHost() != null) {
446 _hashCode += getVirtualHost().hashCode();
447 }
448 if (getWapColorSchemeId() != null) {
449 _hashCode += getWapColorSchemeId().hashCode();
450 }
451 if (getWapThemeId() != null) {
452 _hashCode += getWapThemeId().hashCode();
453 }
454 __hashCodeCalc = false;
455 return _hashCode;
456 }
457
458 private static org.apache.axis.description.TypeDesc typeDesc =
460 new org.apache.axis.description.TypeDesc(LayoutSetSoap.class, true);
461
462 static {
463 typeDesc.setXmlType(new javax.xml.namespace.QName("http://model.portal.liferay.com", "LayoutSetSoap"));
464 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
465 elemField.setFieldName("colorSchemeId");
466 elemField.setXmlName(new javax.xml.namespace.QName("", "colorSchemeId"));
467 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
468 elemField.setNillable(true);
469 typeDesc.addFieldDesc(elemField);
470 elemField = new org.apache.axis.description.ElementDesc();
471 elemField.setFieldName("companyId");
472 elemField.setXmlName(new javax.xml.namespace.QName("", "companyId"));
473 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
474 elemField.setNillable(false);
475 typeDesc.addFieldDesc(elemField);
476 elemField = new org.apache.axis.description.ElementDesc();
477 elemField.setFieldName("css");
478 elemField.setXmlName(new javax.xml.namespace.QName("", "css"));
479 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
480 elemField.setNillable(true);
481 typeDesc.addFieldDesc(elemField);
482 elemField = new org.apache.axis.description.ElementDesc();
483 elemField.setFieldName("groupId");
484 elemField.setXmlName(new javax.xml.namespace.QName("", "groupId"));
485 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
486 elemField.setNillable(false);
487 typeDesc.addFieldDesc(elemField);
488 elemField = new org.apache.axis.description.ElementDesc();
489 elemField.setFieldName("layoutSetId");
490 elemField.setXmlName(new javax.xml.namespace.QName("", "layoutSetId"));
491 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
492 elemField.setNillable(false);
493 typeDesc.addFieldDesc(elemField);
494 elemField = new org.apache.axis.description.ElementDesc();
495 elemField.setFieldName("layoutSetPrototypeId");
496 elemField.setXmlName(new javax.xml.namespace.QName("", "layoutSetPrototypeId"));
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("logo");
502 elemField.setXmlName(new javax.xml.namespace.QName("", "logo"));
503 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
504 elemField.setNillable(false);
505 typeDesc.addFieldDesc(elemField);
506 elemField = new org.apache.axis.description.ElementDesc();
507 elemField.setFieldName("logoId");
508 elemField.setXmlName(new javax.xml.namespace.QName("", "logoId"));
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("pageCount");
514 elemField.setXmlName(new javax.xml.namespace.QName("", "pageCount"));
515 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
516 elemField.setNillable(false);
517 typeDesc.addFieldDesc(elemField);
518 elemField = new org.apache.axis.description.ElementDesc();
519 elemField.setFieldName("primaryKey");
520 elemField.setXmlName(new javax.xml.namespace.QName("", "primaryKey"));
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("privateLayout");
526 elemField.setXmlName(new javax.xml.namespace.QName("", "privateLayout"));
527 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
528 elemField.setNillable(false);
529 typeDesc.addFieldDesc(elemField);
530 elemField = new org.apache.axis.description.ElementDesc();
531 elemField.setFieldName("themeId");
532 elemField.setXmlName(new javax.xml.namespace.QName("", "themeId"));
533 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
534 elemField.setNillable(true);
535 typeDesc.addFieldDesc(elemField);
536 elemField = new org.apache.axis.description.ElementDesc();
537 elemField.setFieldName("virtualHost");
538 elemField.setXmlName(new javax.xml.namespace.QName("", "virtualHost"));
539 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
540 elemField.setNillable(true);
541 typeDesc.addFieldDesc(elemField);
542 elemField = new org.apache.axis.description.ElementDesc();
543 elemField.setFieldName("wapColorSchemeId");
544 elemField.setXmlName(new javax.xml.namespace.QName("", "wapColorSchemeId"));
545 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
546 elemField.setNillable(true);
547 typeDesc.addFieldDesc(elemField);
548 elemField = new org.apache.axis.description.ElementDesc();
549 elemField.setFieldName("wapThemeId");
550 elemField.setXmlName(new javax.xml.namespace.QName("", "wapThemeId"));
551 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
552 elemField.setNillable(true);
553 typeDesc.addFieldDesc(elemField);
554 }
555
556
559 public static org.apache.axis.description.TypeDesc getTypeDesc() {
560 return typeDesc;
561 }
562
563
566 public static org.apache.axis.encoding.Serializer getSerializer(
567 java.lang.String mechType,
568 java.lang.Class _javaType,
569 javax.xml.namespace.QName _xmlType) {
570 return
571 new org.apache.axis.encoding.ser.BeanSerializer(
572 _javaType, _xmlType, typeDesc);
573 }
574
575
578 public static org.apache.axis.encoding.Deserializer getDeserializer(
579 java.lang.String mechType,
580 java.lang.Class _javaType,
581 javax.xml.namespace.QName _xmlType) {
582 return
583 new org.apache.axis.encoding.ser.BeanDeserializer(
584 _javaType, _xmlType, typeDesc);
585 }
586
587 }
588