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 boolean logo;
22  
23      private long logoId;
24  
25      private int pageCount;
26  
27      private long primaryKey;
28  
29      private boolean privateLayout;
30  
31      private java.lang.String themeId;
32  
33      private java.lang.String virtualHost;
34  
35      private java.lang.String wapColorSchemeId;
36  
37      private java.lang.String wapThemeId;
38  
39      public LayoutSetSoap() {
40      }
41  
42      public LayoutSetSoap(
43             java.lang.String colorSchemeId,
44             long companyId,
45             java.lang.String css,
46             long groupId,
47             long layoutSetId,
48             boolean logo,
49             long logoId,
50             int pageCount,
51             long primaryKey,
52             boolean privateLayout,
53             java.lang.String themeId,
54             java.lang.String virtualHost,
55             java.lang.String wapColorSchemeId,
56             java.lang.String wapThemeId) {
57             this.colorSchemeId = colorSchemeId;
58             this.companyId = companyId;
59             this.css = css;
60             this.groupId = groupId;
61             this.layoutSetId = layoutSetId;
62             this.logo = logo;
63             this.logoId = logoId;
64             this.pageCount = pageCount;
65             this.primaryKey = primaryKey;
66             this.privateLayout = privateLayout;
67             this.themeId = themeId;
68             this.virtualHost = virtualHost;
69             this.wapColorSchemeId = wapColorSchemeId;
70             this.wapThemeId = wapThemeId;
71      }
72  
73  
74      /**
75       * Gets the colorSchemeId value for this LayoutSetSoap.
76       * 
77       * @return colorSchemeId
78       */
79      public java.lang.String getColorSchemeId() {
80          return colorSchemeId;
81      }
82  
83  
84      /**
85       * Sets the colorSchemeId value for this LayoutSetSoap.
86       * 
87       * @param colorSchemeId
88       */
89      public void setColorSchemeId(java.lang.String colorSchemeId) {
90          this.colorSchemeId = colorSchemeId;
91      }
92  
93  
94      /**
95       * Gets the companyId value for this LayoutSetSoap.
96       * 
97       * @return companyId
98       */
99      public long getCompanyId() {
100         return companyId;
101     }
102 
103 
104     /**
105      * Sets the companyId value for this LayoutSetSoap.
106      * 
107      * @param companyId
108      */
109     public void setCompanyId(long companyId) {
110         this.companyId = companyId;
111     }
112 
113 
114     /**
115      * Gets the css value for this LayoutSetSoap.
116      * 
117      * @return css
118      */
119     public java.lang.String getCss() {
120         return css;
121     }
122 
123 
124     /**
125      * Sets the css value for this LayoutSetSoap.
126      * 
127      * @param css
128      */
129     public void setCss(java.lang.String css) {
130         this.css = css;
131     }
132 
133 
134     /**
135      * Gets the groupId value for this LayoutSetSoap.
136      * 
137      * @return groupId
138      */
139     public long getGroupId() {
140         return groupId;
141     }
142 
143 
144     /**
145      * Sets the groupId value for this LayoutSetSoap.
146      * 
147      * @param groupId
148      */
149     public void setGroupId(long groupId) {
150         this.groupId = groupId;
151     }
152 
153 
154     /**
155      * Gets the layoutSetId value for this LayoutSetSoap.
156      * 
157      * @return layoutSetId
158      */
159     public long getLayoutSetId() {
160         return layoutSetId;
161     }
162 
163 
164     /**
165      * Sets the layoutSetId value for this LayoutSetSoap.
166      * 
167      * @param layoutSetId
168      */
169     public void setLayoutSetId(long layoutSetId) {
170         this.layoutSetId = layoutSetId;
171     }
172 
173 
174     /**
175      * Gets the logo value for this LayoutSetSoap.
176      * 
177      * @return logo
178      */
179     public boolean isLogo() {
180         return logo;
181     }
182 
183 
184     /**
185      * Sets the logo value for this LayoutSetSoap.
186      * 
187      * @param logo
188      */
189     public void setLogo(boolean logo) {
190         this.logo = logo;
191     }
192 
193 
194     /**
195      * Gets the logoId value for this LayoutSetSoap.
196      * 
197      * @return logoId
198      */
199     public long getLogoId() {
200         return logoId;
201     }
202 
203 
204     /**
205      * Sets the logoId value for this LayoutSetSoap.
206      * 
207      * @param logoId
208      */
209     public void setLogoId(long logoId) {
210         this.logoId = logoId;
211     }
212 
213 
214     /**
215      * Gets the pageCount value for this LayoutSetSoap.
216      * 
217      * @return pageCount
218      */
219     public int getPageCount() {
220         return pageCount;
221     }
222 
223 
224     /**
225      * Sets the pageCount value for this LayoutSetSoap.
226      * 
227      * @param pageCount
228      */
229     public void setPageCount(int pageCount) {
230         this.pageCount = pageCount;
231     }
232 
233 
234     /**
235      * Gets the primaryKey value for this LayoutSetSoap.
236      * 
237      * @return primaryKey
238      */
239     public long getPrimaryKey() {
240         return primaryKey;
241     }
242 
243 
244     /**
245      * Sets the primaryKey value for this LayoutSetSoap.
246      * 
247      * @param primaryKey
248      */
249     public void setPrimaryKey(long primaryKey) {
250         this.primaryKey = primaryKey;
251     }
252 
253 
254     /**
255      * Gets the privateLayout value for this LayoutSetSoap.
256      * 
257      * @return privateLayout
258      */
259     public boolean isPrivateLayout() {
260         return privateLayout;
261     }
262 
263 
264     /**
265      * Sets the privateLayout value for this LayoutSetSoap.
266      * 
267      * @param privateLayout
268      */
269     public void setPrivateLayout(boolean privateLayout) {
270         this.privateLayout = privateLayout;
271     }
272 
273 
274     /**
275      * Gets the themeId value for this LayoutSetSoap.
276      * 
277      * @return themeId
278      */
279     public java.lang.String getThemeId() {
280         return themeId;
281     }
282 
283 
284     /**
285      * Sets the themeId value for this LayoutSetSoap.
286      * 
287      * @param themeId
288      */
289     public void setThemeId(java.lang.String themeId) {
290         this.themeId = themeId;
291     }
292 
293 
294     /**
295      * Gets the virtualHost value for this LayoutSetSoap.
296      * 
297      * @return virtualHost
298      */
299     public java.lang.String getVirtualHost() {
300         return virtualHost;
301     }
302 
303 
304     /**
305      * Sets the virtualHost value for this LayoutSetSoap.
306      * 
307      * @param virtualHost
308      */
309     public void setVirtualHost(java.lang.String virtualHost) {
310         this.virtualHost = virtualHost;
311     }
312 
313 
314     /**
315      * Gets the wapColorSchemeId value for this LayoutSetSoap.
316      * 
317      * @return wapColorSchemeId
318      */
319     public java.lang.String getWapColorSchemeId() {
320         return wapColorSchemeId;
321     }
322 
323 
324     /**
325      * Sets the wapColorSchemeId value for this LayoutSetSoap.
326      * 
327      * @param wapColorSchemeId
328      */
329     public void setWapColorSchemeId(java.lang.String wapColorSchemeId) {
330         this.wapColorSchemeId = wapColorSchemeId;
331     }
332 
333 
334     /**
335      * Gets the wapThemeId value for this LayoutSetSoap.
336      * 
337      * @return wapThemeId
338      */
339     public java.lang.String getWapThemeId() {
340         return wapThemeId;
341     }
342 
343 
344     /**
345      * Sets the wapThemeId value for this LayoutSetSoap.
346      * 
347      * @param wapThemeId
348      */
349     public void setWapThemeId(java.lang.String wapThemeId) {
350         this.wapThemeId = wapThemeId;
351     }
352 
353     private java.lang.Object __equalsCalc = null;
354     public synchronized boolean equals(java.lang.Object obj) {
355         if (!(obj instanceof LayoutSetSoap)) return false;
356         LayoutSetSoap other = (LayoutSetSoap) obj;
357         if (obj == null) return false;
358         if (this == obj) return true;
359         if (__equalsCalc != null) {
360             return (__equalsCalc == obj);
361         }
362         __equalsCalc = obj;
363         boolean _equals;
364         _equals = true && 
365             ((this.colorSchemeId==null && other.getColorSchemeId()==null) || 
366              (this.colorSchemeId!=null &&
367               this.colorSchemeId.equals(other.getColorSchemeId()))) &&
368             this.companyId == other.getCompanyId() &&
369             ((this.css==null && other.getCss()==null) || 
370              (this.css!=null &&
371               this.css.equals(other.getCss()))) &&
372             this.groupId == other.getGroupId() &&
373             this.layoutSetId == other.getLayoutSetId() &&
374             this.logo == other.isLogo() &&
375             this.logoId == other.getLogoId() &&
376             this.pageCount == other.getPageCount() &&
377             this.primaryKey == other.getPrimaryKey() &&
378             this.privateLayout == other.isPrivateLayout() &&
379             ((this.themeId==null && other.getThemeId()==null) || 
380              (this.themeId!=null &&
381               this.themeId.equals(other.getThemeId()))) &&
382             ((this.virtualHost==null && other.getVirtualHost()==null) || 
383              (this.virtualHost!=null &&
384               this.virtualHost.equals(other.getVirtualHost()))) &&
385             ((this.wapColorSchemeId==null && other.getWapColorSchemeId()==null) || 
386              (this.wapColorSchemeId!=null &&
387               this.wapColorSchemeId.equals(other.getWapColorSchemeId()))) &&
388             ((this.wapThemeId==null && other.getWapThemeId()==null) || 
389              (this.wapThemeId!=null &&
390               this.wapThemeId.equals(other.getWapThemeId())));
391         __equalsCalc = null;
392         return _equals;
393     }
394 
395     private boolean __hashCodeCalc = false;
396     public synchronized int hashCode() {
397         if (__hashCodeCalc) {
398             return 0;
399         }
400         __hashCodeCalc = true;
401         int _hashCode = 1;
402         if (getColorSchemeId() != null) {
403             _hashCode += getColorSchemeId().hashCode();
404         }
405         _hashCode += new Long(getCompanyId()).hashCode();
406         if (getCss() != null) {
407             _hashCode += getCss().hashCode();
408         }
409         _hashCode += new Long(getGroupId()).hashCode();
410         _hashCode += new Long(getLayoutSetId()).hashCode();
411         _hashCode += (isLogo() ? Boolean.TRUE : Boolean.FALSE).hashCode();
412         _hashCode += new Long(getLogoId()).hashCode();
413         _hashCode += getPageCount();
414         _hashCode += new Long(getPrimaryKey()).hashCode();
415         _hashCode += (isPrivateLayout() ? Boolean.TRUE : Boolean.FALSE).hashCode();
416         if (getThemeId() != null) {
417             _hashCode += getThemeId().hashCode();
418         }
419         if (getVirtualHost() != null) {
420             _hashCode += getVirtualHost().hashCode();
421         }
422         if (getWapColorSchemeId() != null) {
423             _hashCode += getWapColorSchemeId().hashCode();
424         }
425         if (getWapThemeId() != null) {
426             _hashCode += getWapThemeId().hashCode();
427         }
428         __hashCodeCalc = false;
429         return _hashCode;
430     }
431 
432     // Type metadata
433     private static org.apache.axis.description.TypeDesc typeDesc =
434         new org.apache.axis.description.TypeDesc(LayoutSetSoap.class, true);
435 
436     static {
437         typeDesc.setXmlType(new javax.xml.namespace.QName("http://model.portal.liferay.com", "LayoutSetSoap"));
438         org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
439         elemField.setFieldName("colorSchemeId");
440         elemField.setXmlName(new javax.xml.namespace.QName("", "colorSchemeId"));
441         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
442         elemField.setNillable(true);
443         typeDesc.addFieldDesc(elemField);
444         elemField = new org.apache.axis.description.ElementDesc();
445         elemField.setFieldName("companyId");
446         elemField.setXmlName(new javax.xml.namespace.QName("", "companyId"));
447         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
448         elemField.setNillable(false);
449         typeDesc.addFieldDesc(elemField);
450         elemField = new org.apache.axis.description.ElementDesc();
451         elemField.setFieldName("css");
452         elemField.setXmlName(new javax.xml.namespace.QName("", "css"));
453         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
454         elemField.setNillable(true);
455         typeDesc.addFieldDesc(elemField);
456         elemField = new org.apache.axis.description.ElementDesc();
457         elemField.setFieldName("groupId");
458         elemField.setXmlName(new javax.xml.namespace.QName("", "groupId"));
459         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
460         elemField.setNillable(false);
461         typeDesc.addFieldDesc(elemField);
462         elemField = new org.apache.axis.description.ElementDesc();
463         elemField.setFieldName("layoutSetId");
464         elemField.setXmlName(new javax.xml.namespace.QName("", "layoutSetId"));
465         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
466         elemField.setNillable(false);
467         typeDesc.addFieldDesc(elemField);
468         elemField = new org.apache.axis.description.ElementDesc();
469         elemField.setFieldName("logo");
470         elemField.setXmlName(new javax.xml.namespace.QName("", "logo"));
471         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
472         elemField.setNillable(false);
473         typeDesc.addFieldDesc(elemField);
474         elemField = new org.apache.axis.description.ElementDesc();
475         elemField.setFieldName("logoId");
476         elemField.setXmlName(new javax.xml.namespace.QName("", "logoId"));
477         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
478         elemField.setNillable(false);
479         typeDesc.addFieldDesc(elemField);
480         elemField = new org.apache.axis.description.ElementDesc();
481         elemField.setFieldName("pageCount");
482         elemField.setXmlName(new javax.xml.namespace.QName("", "pageCount"));
483         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
484         elemField.setNillable(false);
485         typeDesc.addFieldDesc(elemField);
486         elemField = new org.apache.axis.description.ElementDesc();
487         elemField.setFieldName("primaryKey");
488         elemField.setXmlName(new javax.xml.namespace.QName("", "primaryKey"));
489         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
490         elemField.setNillable(false);
491         typeDesc.addFieldDesc(elemField);
492         elemField = new org.apache.axis.description.ElementDesc();
493         elemField.setFieldName("privateLayout");
494         elemField.setXmlName(new javax.xml.namespace.QName("", "privateLayout"));
495         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
496         elemField.setNillable(false);
497         typeDesc.addFieldDesc(elemField);
498         elemField = new org.apache.axis.description.ElementDesc();
499         elemField.setFieldName("themeId");
500         elemField.setXmlName(new javax.xml.namespace.QName("", "themeId"));
501         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
502         elemField.setNillable(true);
503         typeDesc.addFieldDesc(elemField);
504         elemField = new org.apache.axis.description.ElementDesc();
505         elemField.setFieldName("virtualHost");
506         elemField.setXmlName(new javax.xml.namespace.QName("", "virtualHost"));
507         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
508         elemField.setNillable(true);
509         typeDesc.addFieldDesc(elemField);
510         elemField = new org.apache.axis.description.ElementDesc();
511         elemField.setFieldName("wapColorSchemeId");
512         elemField.setXmlName(new javax.xml.namespace.QName("", "wapColorSchemeId"));
513         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
514         elemField.setNillable(true);
515         typeDesc.addFieldDesc(elemField);
516         elemField = new org.apache.axis.description.ElementDesc();
517         elemField.setFieldName("wapThemeId");
518         elemField.setXmlName(new javax.xml.namespace.QName("", "wapThemeId"));
519         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
520         elemField.setNillable(true);
521         typeDesc.addFieldDesc(elemField);
522     }
523 
524     /**
525      * Return type metadata object
526      */
527     public static org.apache.axis.description.TypeDesc getTypeDesc() {
528         return typeDesc;
529     }
530 
531     /**
532      * Get Custom Serializer
533      */
534     public static org.apache.axis.encoding.Serializer getSerializer(
535            java.lang.String mechType, 
536            java.lang.Class _javaType,  
537            javax.xml.namespace.QName _xmlType) {
538         return 
539           new  org.apache.axis.encoding.ser.BeanSerializer(
540             _javaType, _xmlType, typeDesc);
541     }
542 
543     /**
544      * Get Custom Deserializer
545      */
546     public static org.apache.axis.encoding.Deserializer getDeserializer(
547            java.lang.String mechType, 
548            java.lang.Class _javaType,  
549            javax.xml.namespace.QName _xmlType) {
550         return 
551           new  org.apache.axis.encoding.ser.BeanDeserializer(
552             _javaType, _xmlType, typeDesc);
553     }
554 
555 }
556