1   /**
2    * LayoutSetSoap.java
3    *
4    * This file was auto-generated from WSDL
5    * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
6    */
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      /**
79       * Gets the colorSchemeId value for this LayoutSetSoap.
80       * 
81       * @return colorSchemeId
82       */
83      public java.lang.String getColorSchemeId() {
84          return colorSchemeId;
85      }
86  
87  
88      /**
89       * Sets the colorSchemeId value for this LayoutSetSoap.
90       * 
91       * @param colorSchemeId
92       */
93      public void setColorSchemeId(java.lang.String colorSchemeId) {
94          this.colorSchemeId = colorSchemeId;
95      }
96  
97  
98      /**
99       * Gets the companyId value for this LayoutSetSoap.
100      * 
101      * @return companyId
102      */
103     public long getCompanyId() {
104         return companyId;
105     }
106 
107 
108     /**
109      * Sets the companyId value for this LayoutSetSoap.
110      * 
111      * @param companyId
112      */
113     public void setCompanyId(long companyId) {
114         this.companyId = companyId;
115     }
116 
117 
118     /**
119      * Gets the css value for this LayoutSetSoap.
120      * 
121      * @return css
122      */
123     public java.lang.String getCss() {
124         return css;
125     }
126 
127 
128     /**
129      * Sets the css value for this LayoutSetSoap.
130      * 
131      * @param css
132      */
133     public void setCss(java.lang.String css) {
134         this.css = css;
135     }
136 
137 
138     /**
139      * Gets the groupId value for this LayoutSetSoap.
140      * 
141      * @return groupId
142      */
143     public long getGroupId() {
144         return groupId;
145     }
146 
147 
148     /**
149      * Sets the groupId value for this LayoutSetSoap.
150      * 
151      * @param groupId
152      */
153     public void setGroupId(long groupId) {
154         this.groupId = groupId;
155     }
156 
157 
158     /**
159      * Gets the layoutSetId value for this LayoutSetSoap.
160      * 
161      * @return layoutSetId
162      */
163     public long getLayoutSetId() {
164         return layoutSetId;
165     }
166 
167 
168     /**
169      * Sets the layoutSetId value for this LayoutSetSoap.
170      * 
171      * @param layoutSetId
172      */
173     public void setLayoutSetId(long layoutSetId) {
174         this.layoutSetId = layoutSetId;
175     }
176 
177 
178     /**
179      * Gets the layoutSetPrototypeId value for this LayoutSetSoap.
180      * 
181      * @return layoutSetPrototypeId
182      */
183     public long getLayoutSetPrototypeId() {
184         return layoutSetPrototypeId;
185     }
186 
187 
188     /**
189      * Sets the layoutSetPrototypeId value for this LayoutSetSoap.
190      * 
191      * @param layoutSetPrototypeId
192      */
193     public void setLayoutSetPrototypeId(long layoutSetPrototypeId) {
194         this.layoutSetPrototypeId = layoutSetPrototypeId;
195     }
196 
197 
198     /**
199      * Gets the logo value for this LayoutSetSoap.
200      * 
201      * @return logo
202      */
203     public boolean isLogo() {
204         return logo;
205     }
206 
207 
208     /**
209      * Sets the logo value for this LayoutSetSoap.
210      * 
211      * @param logo
212      */
213     public void setLogo(boolean logo) {
214         this.logo = logo;
215     }
216 
217 
218     /**
219      * Gets the logoId value for this LayoutSetSoap.
220      * 
221      * @return logoId
222      */
223     public long getLogoId() {
224         return logoId;
225     }
226 
227 
228     /**
229      * Sets the logoId value for this LayoutSetSoap.
230      * 
231      * @param logoId
232      */
233     public void setLogoId(long logoId) {
234         this.logoId = logoId;
235     }
236 
237 
238     /**
239      * Gets the pageCount value for this LayoutSetSoap.
240      * 
241      * @return pageCount
242      */
243     public int getPageCount() {
244         return pageCount;
245     }
246 
247 
248     /**
249      * Sets the pageCount value for this LayoutSetSoap.
250      * 
251      * @param pageCount
252      */
253     public void setPageCount(int pageCount) {
254         this.pageCount = pageCount;
255     }
256 
257 
258     /**
259      * Gets the primaryKey value for this LayoutSetSoap.
260      * 
261      * @return primaryKey
262      */
263     public long getPrimaryKey() {
264         return primaryKey;
265     }
266 
267 
268     /**
269      * Sets the primaryKey value for this LayoutSetSoap.
270      * 
271      * @param primaryKey
272      */
273     public void setPrimaryKey(long primaryKey) {
274         this.primaryKey = primaryKey;
275     }
276 
277 
278     /**
279      * Gets the privateLayout value for this LayoutSetSoap.
280      * 
281      * @return privateLayout
282      */
283     public boolean isPrivateLayout() {
284         return privateLayout;
285     }
286 
287 
288     /**
289      * Sets the privateLayout value for this LayoutSetSoap.
290      * 
291      * @param privateLayout
292      */
293     public void setPrivateLayout(boolean privateLayout) {
294         this.privateLayout = privateLayout;
295     }
296 
297 
298     /**
299      * Gets the themeId value for this LayoutSetSoap.
300      * 
301      * @return themeId
302      */
303     public java.lang.String getThemeId() {
304         return themeId;
305     }
306 
307 
308     /**
309      * Sets the themeId value for this LayoutSetSoap.
310      * 
311      * @param themeId
312      */
313     public void setThemeId(java.lang.String themeId) {
314         this.themeId = themeId;
315     }
316 
317 
318     /**
319      * Gets the virtualHost value for this LayoutSetSoap.
320      * 
321      * @return virtualHost
322      */
323     public java.lang.String getVirtualHost() {
324         return virtualHost;
325     }
326 
327 
328     /**
329      * Sets the virtualHost value for this LayoutSetSoap.
330      * 
331      * @param virtualHost
332      */
333     public void setVirtualHost(java.lang.String virtualHost) {
334         this.virtualHost = virtualHost;
335     }
336 
337 
338     /**
339      * Gets the wapColorSchemeId value for this LayoutSetSoap.
340      * 
341      * @return wapColorSchemeId
342      */
343     public java.lang.String getWapColorSchemeId() {
344         return wapColorSchemeId;
345     }
346 
347 
348     /**
349      * Sets the wapColorSchemeId value for this LayoutSetSoap.
350      * 
351      * @param wapColorSchemeId
352      */
353     public void setWapColorSchemeId(java.lang.String wapColorSchemeId) {
354         this.wapColorSchemeId = wapColorSchemeId;
355     }
356 
357 
358     /**
359      * Gets the wapThemeId value for this LayoutSetSoap.
360      * 
361      * @return wapThemeId
362      */
363     public java.lang.String getWapThemeId() {
364         return wapThemeId;
365     }
366 
367 
368     /**
369      * Sets the wapThemeId value for this LayoutSetSoap.
370      * 
371      * @param wapThemeId
372      */
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     // Type metadata
459     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     /**
557      * Return type metadata object
558      */
559     public static org.apache.axis.description.TypeDesc getTypeDesc() {
560         return typeDesc;
561     }
562 
563     /**
564      * Get Custom Serializer
565      */
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     /**
576      * Get Custom Deserializer
577      */
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