1   /**
2    * OrgLaborSoap.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 OrgLaborSoap  implements java.io.Serializable {
11      private int friClose;
12  
13      private int friOpen;
14  
15      private int monClose;
16  
17      private int monOpen;
18  
19      private long orgLaborId;
20  
21      private long organizationId;
22  
23      private long primaryKey;
24  
25      private int satClose;
26  
27      private int satOpen;
28  
29      private int sunClose;
30  
31      private int sunOpen;
32  
33      private int thuClose;
34  
35      private int thuOpen;
36  
37      private int tueClose;
38  
39      private int tueOpen;
40  
41      private int typeId;
42  
43      private int wedClose;
44  
45      private int wedOpen;
46  
47      public OrgLaborSoap() {
48      }
49  
50      public OrgLaborSoap(
51             int friClose,
52             int friOpen,
53             int monClose,
54             int monOpen,
55             long orgLaborId,
56             long organizationId,
57             long primaryKey,
58             int satClose,
59             int satOpen,
60             int sunClose,
61             int sunOpen,
62             int thuClose,
63             int thuOpen,
64             int tueClose,
65             int tueOpen,
66             int typeId,
67             int wedClose,
68             int wedOpen) {
69             this.friClose = friClose;
70             this.friOpen = friOpen;
71             this.monClose = monClose;
72             this.monOpen = monOpen;
73             this.orgLaborId = orgLaborId;
74             this.organizationId = organizationId;
75             this.primaryKey = primaryKey;
76             this.satClose = satClose;
77             this.satOpen = satOpen;
78             this.sunClose = sunClose;
79             this.sunOpen = sunOpen;
80             this.thuClose = thuClose;
81             this.thuOpen = thuOpen;
82             this.tueClose = tueClose;
83             this.tueOpen = tueOpen;
84             this.typeId = typeId;
85             this.wedClose = wedClose;
86             this.wedOpen = wedOpen;
87      }
88  
89  
90      /**
91       * Gets the friClose value for this OrgLaborSoap.
92       * 
93       * @return friClose
94       */
95      public int getFriClose() {
96          return friClose;
97      }
98  
99  
100     /**
101      * Sets the friClose value for this OrgLaborSoap.
102      * 
103      * @param friClose
104      */
105     public void setFriClose(int friClose) {
106         this.friClose = friClose;
107     }
108 
109 
110     /**
111      * Gets the friOpen value for this OrgLaborSoap.
112      * 
113      * @return friOpen
114      */
115     public int getFriOpen() {
116         return friOpen;
117     }
118 
119 
120     /**
121      * Sets the friOpen value for this OrgLaborSoap.
122      * 
123      * @param friOpen
124      */
125     public void setFriOpen(int friOpen) {
126         this.friOpen = friOpen;
127     }
128 
129 
130     /**
131      * Gets the monClose value for this OrgLaborSoap.
132      * 
133      * @return monClose
134      */
135     public int getMonClose() {
136         return monClose;
137     }
138 
139 
140     /**
141      * Sets the monClose value for this OrgLaborSoap.
142      * 
143      * @param monClose
144      */
145     public void setMonClose(int monClose) {
146         this.monClose = monClose;
147     }
148 
149 
150     /**
151      * Gets the monOpen value for this OrgLaborSoap.
152      * 
153      * @return monOpen
154      */
155     public int getMonOpen() {
156         return monOpen;
157     }
158 
159 
160     /**
161      * Sets the monOpen value for this OrgLaborSoap.
162      * 
163      * @param monOpen
164      */
165     public void setMonOpen(int monOpen) {
166         this.monOpen = monOpen;
167     }
168 
169 
170     /**
171      * Gets the orgLaborId value for this OrgLaborSoap.
172      * 
173      * @return orgLaborId
174      */
175     public long getOrgLaborId() {
176         return orgLaborId;
177     }
178 
179 
180     /**
181      * Sets the orgLaborId value for this OrgLaborSoap.
182      * 
183      * @param orgLaborId
184      */
185     public void setOrgLaborId(long orgLaborId) {
186         this.orgLaborId = orgLaborId;
187     }
188 
189 
190     /**
191      * Gets the organizationId value for this OrgLaborSoap.
192      * 
193      * @return organizationId
194      */
195     public long getOrganizationId() {
196         return organizationId;
197     }
198 
199 
200     /**
201      * Sets the organizationId value for this OrgLaborSoap.
202      * 
203      * @param organizationId
204      */
205     public void setOrganizationId(long organizationId) {
206         this.organizationId = organizationId;
207     }
208 
209 
210     /**
211      * Gets the primaryKey value for this OrgLaborSoap.
212      * 
213      * @return primaryKey
214      */
215     public long getPrimaryKey() {
216         return primaryKey;
217     }
218 
219 
220     /**
221      * Sets the primaryKey value for this OrgLaborSoap.
222      * 
223      * @param primaryKey
224      */
225     public void setPrimaryKey(long primaryKey) {
226         this.primaryKey = primaryKey;
227     }
228 
229 
230     /**
231      * Gets the satClose value for this OrgLaborSoap.
232      * 
233      * @return satClose
234      */
235     public int getSatClose() {
236         return satClose;
237     }
238 
239 
240     /**
241      * Sets the satClose value for this OrgLaborSoap.
242      * 
243      * @param satClose
244      */
245     public void setSatClose(int satClose) {
246         this.satClose = satClose;
247     }
248 
249 
250     /**
251      * Gets the satOpen value for this OrgLaborSoap.
252      * 
253      * @return satOpen
254      */
255     public int getSatOpen() {
256         return satOpen;
257     }
258 
259 
260     /**
261      * Sets the satOpen value for this OrgLaborSoap.
262      * 
263      * @param satOpen
264      */
265     public void setSatOpen(int satOpen) {
266         this.satOpen = satOpen;
267     }
268 
269 
270     /**
271      * Gets the sunClose value for this OrgLaborSoap.
272      * 
273      * @return sunClose
274      */
275     public int getSunClose() {
276         return sunClose;
277     }
278 
279 
280     /**
281      * Sets the sunClose value for this OrgLaborSoap.
282      * 
283      * @param sunClose
284      */
285     public void setSunClose(int sunClose) {
286         this.sunClose = sunClose;
287     }
288 
289 
290     /**
291      * Gets the sunOpen value for this OrgLaborSoap.
292      * 
293      * @return sunOpen
294      */
295     public int getSunOpen() {
296         return sunOpen;
297     }
298 
299 
300     /**
301      * Sets the sunOpen value for this OrgLaborSoap.
302      * 
303      * @param sunOpen
304      */
305     public void setSunOpen(int sunOpen) {
306         this.sunOpen = sunOpen;
307     }
308 
309 
310     /**
311      * Gets the thuClose value for this OrgLaborSoap.
312      * 
313      * @return thuClose
314      */
315     public int getThuClose() {
316         return thuClose;
317     }
318 
319 
320     /**
321      * Sets the thuClose value for this OrgLaborSoap.
322      * 
323      * @param thuClose
324      */
325     public void setThuClose(int thuClose) {
326         this.thuClose = thuClose;
327     }
328 
329 
330     /**
331      * Gets the thuOpen value for this OrgLaborSoap.
332      * 
333      * @return thuOpen
334      */
335     public int getThuOpen() {
336         return thuOpen;
337     }
338 
339 
340     /**
341      * Sets the thuOpen value for this OrgLaborSoap.
342      * 
343      * @param thuOpen
344      */
345     public void setThuOpen(int thuOpen) {
346         this.thuOpen = thuOpen;
347     }
348 
349 
350     /**
351      * Gets the tueClose value for this OrgLaborSoap.
352      * 
353      * @return tueClose
354      */
355     public int getTueClose() {
356         return tueClose;
357     }
358 
359 
360     /**
361      * Sets the tueClose value for this OrgLaborSoap.
362      * 
363      * @param tueClose
364      */
365     public void setTueClose(int tueClose) {
366         this.tueClose = tueClose;
367     }
368 
369 
370     /**
371      * Gets the tueOpen value for this OrgLaborSoap.
372      * 
373      * @return tueOpen
374      */
375     public int getTueOpen() {
376         return tueOpen;
377     }
378 
379 
380     /**
381      * Sets the tueOpen value for this OrgLaborSoap.
382      * 
383      * @param tueOpen
384      */
385     public void setTueOpen(int tueOpen) {
386         this.tueOpen = tueOpen;
387     }
388 
389 
390     /**
391      * Gets the typeId value for this OrgLaborSoap.
392      * 
393      * @return typeId
394      */
395     public int getTypeId() {
396         return typeId;
397     }
398 
399 
400     /**
401      * Sets the typeId value for this OrgLaborSoap.
402      * 
403      * @param typeId
404      */
405     public void setTypeId(int typeId) {
406         this.typeId = typeId;
407     }
408 
409 
410     /**
411      * Gets the wedClose value for this OrgLaborSoap.
412      * 
413      * @return wedClose
414      */
415     public int getWedClose() {
416         return wedClose;
417     }
418 
419 
420     /**
421      * Sets the wedClose value for this OrgLaborSoap.
422      * 
423      * @param wedClose
424      */
425     public void setWedClose(int wedClose) {
426         this.wedClose = wedClose;
427     }
428 
429 
430     /**
431      * Gets the wedOpen value for this OrgLaborSoap.
432      * 
433      * @return wedOpen
434      */
435     public int getWedOpen() {
436         return wedOpen;
437     }
438 
439 
440     /**
441      * Sets the wedOpen value for this OrgLaborSoap.
442      * 
443      * @param wedOpen
444      */
445     public void setWedOpen(int wedOpen) {
446         this.wedOpen = wedOpen;
447     }
448 
449     private java.lang.Object __equalsCalc = null;
450     public synchronized boolean equals(java.lang.Object obj) {
451         if (!(obj instanceof OrgLaborSoap)) return false;
452         OrgLaborSoap other = (OrgLaborSoap) obj;
453         if (obj == null) return false;
454         if (this == obj) return true;
455         if (__equalsCalc != null) {
456             return (__equalsCalc == obj);
457         }
458         __equalsCalc = obj;
459         boolean _equals;
460         _equals = true && 
461             this.friClose == other.getFriClose() &&
462             this.friOpen == other.getFriOpen() &&
463             this.monClose == other.getMonClose() &&
464             this.monOpen == other.getMonOpen() &&
465             this.orgLaborId == other.getOrgLaborId() &&
466             this.organizationId == other.getOrganizationId() &&
467             this.primaryKey == other.getPrimaryKey() &&
468             this.satClose == other.getSatClose() &&
469             this.satOpen == other.getSatOpen() &&
470             this.sunClose == other.getSunClose() &&
471             this.sunOpen == other.getSunOpen() &&
472             this.thuClose == other.getThuClose() &&
473             this.thuOpen == other.getThuOpen() &&
474             this.tueClose == other.getTueClose() &&
475             this.tueOpen == other.getTueOpen() &&
476             this.typeId == other.getTypeId() &&
477             this.wedClose == other.getWedClose() &&
478             this.wedOpen == other.getWedOpen();
479         __equalsCalc = null;
480         return _equals;
481     }
482 
483     private boolean __hashCodeCalc = false;
484     public synchronized int hashCode() {
485         if (__hashCodeCalc) {
486             return 0;
487         }
488         __hashCodeCalc = true;
489         int _hashCode = 1;
490         _hashCode += getFriClose();
491         _hashCode += getFriOpen();
492         _hashCode += getMonClose();
493         _hashCode += getMonOpen();
494         _hashCode += new Long(getOrgLaborId()).hashCode();
495         _hashCode += new Long(getOrganizationId()).hashCode();
496         _hashCode += new Long(getPrimaryKey()).hashCode();
497         _hashCode += getSatClose();
498         _hashCode += getSatOpen();
499         _hashCode += getSunClose();
500         _hashCode += getSunOpen();
501         _hashCode += getThuClose();
502         _hashCode += getThuOpen();
503         _hashCode += getTueClose();
504         _hashCode += getTueOpen();
505         _hashCode += getTypeId();
506         _hashCode += getWedClose();
507         _hashCode += getWedOpen();
508         __hashCodeCalc = false;
509         return _hashCode;
510     }
511 
512     // Type metadata
513     private static org.apache.axis.description.TypeDesc typeDesc =
514         new org.apache.axis.description.TypeDesc(OrgLaborSoap.class, true);
515 
516     static {
517         typeDesc.setXmlType(new javax.xml.namespace.QName("http://model.portal.liferay.com", "OrgLaborSoap"));
518         org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
519         elemField.setFieldName("friClose");
520         elemField.setXmlName(new javax.xml.namespace.QName("", "friClose"));
521         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
522         elemField.setNillable(false);
523         typeDesc.addFieldDesc(elemField);
524         elemField = new org.apache.axis.description.ElementDesc();
525         elemField.setFieldName("friOpen");
526         elemField.setXmlName(new javax.xml.namespace.QName("", "friOpen"));
527         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
528         elemField.setNillable(false);
529         typeDesc.addFieldDesc(elemField);
530         elemField = new org.apache.axis.description.ElementDesc();
531         elemField.setFieldName("monClose");
532         elemField.setXmlName(new javax.xml.namespace.QName("", "monClose"));
533         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
534         elemField.setNillable(false);
535         typeDesc.addFieldDesc(elemField);
536         elemField = new org.apache.axis.description.ElementDesc();
537         elemField.setFieldName("monOpen");
538         elemField.setXmlName(new javax.xml.namespace.QName("", "monOpen"));
539         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
540         elemField.setNillable(false);
541         typeDesc.addFieldDesc(elemField);
542         elemField = new org.apache.axis.description.ElementDesc();
543         elemField.setFieldName("orgLaborId");
544         elemField.setXmlName(new javax.xml.namespace.QName("", "orgLaborId"));
545         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
546         elemField.setNillable(false);
547         typeDesc.addFieldDesc(elemField);
548         elemField = new org.apache.axis.description.ElementDesc();
549         elemField.setFieldName("organizationId");
550         elemField.setXmlName(new javax.xml.namespace.QName("", "organizationId"));
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("primaryKey");
556         elemField.setXmlName(new javax.xml.namespace.QName("", "primaryKey"));
557         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
558         elemField.setNillable(false);
559         typeDesc.addFieldDesc(elemField);
560         elemField = new org.apache.axis.description.ElementDesc();
561         elemField.setFieldName("satClose");
562         elemField.setXmlName(new javax.xml.namespace.QName("", "satClose"));
563         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
564         elemField.setNillable(false);
565         typeDesc.addFieldDesc(elemField);
566         elemField = new org.apache.axis.description.ElementDesc();
567         elemField.setFieldName("satOpen");
568         elemField.setXmlName(new javax.xml.namespace.QName("", "satOpen"));
569         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
570         elemField.setNillable(false);
571         typeDesc.addFieldDesc(elemField);
572         elemField = new org.apache.axis.description.ElementDesc();
573         elemField.setFieldName("sunClose");
574         elemField.setXmlName(new javax.xml.namespace.QName("", "sunClose"));
575         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
576         elemField.setNillable(false);
577         typeDesc.addFieldDesc(elemField);
578         elemField = new org.apache.axis.description.ElementDesc();
579         elemField.setFieldName("sunOpen");
580         elemField.setXmlName(new javax.xml.namespace.QName("", "sunOpen"));
581         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
582         elemField.setNillable(false);
583         typeDesc.addFieldDesc(elemField);
584         elemField = new org.apache.axis.description.ElementDesc();
585         elemField.setFieldName("thuClose");
586         elemField.setXmlName(new javax.xml.namespace.QName("", "thuClose"));
587         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
588         elemField.setNillable(false);
589         typeDesc.addFieldDesc(elemField);
590         elemField = new org.apache.axis.description.ElementDesc();
591         elemField.setFieldName("thuOpen");
592         elemField.setXmlName(new javax.xml.namespace.QName("", "thuOpen"));
593         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
594         elemField.setNillable(false);
595         typeDesc.addFieldDesc(elemField);
596         elemField = new org.apache.axis.description.ElementDesc();
597         elemField.setFieldName("tueClose");
598         elemField.setXmlName(new javax.xml.namespace.QName("", "tueClose"));
599         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
600         elemField.setNillable(false);
601         typeDesc.addFieldDesc(elemField);
602         elemField = new org.apache.axis.description.ElementDesc();
603         elemField.setFieldName("tueOpen");
604         elemField.setXmlName(new javax.xml.namespace.QName("", "tueOpen"));
605         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
606         elemField.setNillable(false);
607         typeDesc.addFieldDesc(elemField);
608         elemField = new org.apache.axis.description.ElementDesc();
609         elemField.setFieldName("typeId");
610         elemField.setXmlName(new javax.xml.namespace.QName("", "typeId"));
611         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
612         elemField.setNillable(false);
613         typeDesc.addFieldDesc(elemField);
614         elemField = new org.apache.axis.description.ElementDesc();
615         elemField.setFieldName("wedClose");
616         elemField.setXmlName(new javax.xml.namespace.QName("", "wedClose"));
617         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
618         elemField.setNillable(false);
619         typeDesc.addFieldDesc(elemField);
620         elemField = new org.apache.axis.description.ElementDesc();
621         elemField.setFieldName("wedOpen");
622         elemField.setXmlName(new javax.xml.namespace.QName("", "wedOpen"));
623         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
624         elemField.setNillable(false);
625         typeDesc.addFieldDesc(elemField);
626     }
627 
628     /**
629      * Return type metadata object
630      */
631     public static org.apache.axis.description.TypeDesc getTypeDesc() {
632         return typeDesc;
633     }
634 
635     /**
636      * Get Custom Serializer
637      */
638     public static org.apache.axis.encoding.Serializer getSerializer(
639            java.lang.String mechType, 
640            java.lang.Class _javaType,  
641            javax.xml.namespace.QName _xmlType) {
642         return 
643           new  org.apache.axis.encoding.ser.BeanSerializer(
644             _javaType, _xmlType, typeDesc);
645     }
646 
647     /**
648      * Get Custom Deserializer
649      */
650     public static org.apache.axis.encoding.Deserializer getDeserializer(
651            java.lang.String mechType, 
652            java.lang.Class _javaType,  
653            javax.xml.namespace.QName _xmlType) {
654         return 
655           new  org.apache.axis.encoding.ser.BeanDeserializer(
656             _javaType, _xmlType, typeDesc);
657     }
658 
659 }
660