1   /**
2    * CalEventSoap.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.portlet.calendar.model;
9   
10  public class CalEventSoap  implements java.io.Serializable {
11      private boolean allDay;
12  
13      private long companyId;
14  
15      private java.util.Calendar createDate;
16  
17      private java.lang.String description;
18  
19      private int durationHour;
20  
21      private int durationMinute;
22  
23      private java.util.Calendar endDate;
24  
25      private long eventId;
26  
27      private int firstReminder;
28  
29      private long groupId;
30  
31      private java.util.Calendar modifiedDate;
32  
33      private long primaryKey;
34  
35      private java.lang.String recurrence;
36  
37      private java.lang.String remindBy;
38  
39      private boolean repeating;
40  
41      private int secondReminder;
42  
43      private java.util.Calendar startDate;
44  
45      private boolean timeZoneSensitive;
46  
47      private java.lang.String title;
48  
49      private java.lang.String type;
50  
51      private long userId;
52  
53      private java.lang.String userName;
54  
55      public CalEventSoap() {
56      }
57  
58      public CalEventSoap(
59             boolean allDay,
60             long companyId,
61             java.util.Calendar createDate,
62             java.lang.String description,
63             int durationHour,
64             int durationMinute,
65             java.util.Calendar endDate,
66             long eventId,
67             int firstReminder,
68             long groupId,
69             java.util.Calendar modifiedDate,
70             long primaryKey,
71             java.lang.String recurrence,
72             java.lang.String remindBy,
73             boolean repeating,
74             int secondReminder,
75             java.util.Calendar startDate,
76             boolean timeZoneSensitive,
77             java.lang.String title,
78             java.lang.String type,
79             long userId,
80             java.lang.String userName) {
81             this.allDay = allDay;
82             this.companyId = companyId;
83             this.createDate = createDate;
84             this.description = description;
85             this.durationHour = durationHour;
86             this.durationMinute = durationMinute;
87             this.endDate = endDate;
88             this.eventId = eventId;
89             this.firstReminder = firstReminder;
90             this.groupId = groupId;
91             this.modifiedDate = modifiedDate;
92             this.primaryKey = primaryKey;
93             this.recurrence = recurrence;
94             this.remindBy = remindBy;
95             this.repeating = repeating;
96             this.secondReminder = secondReminder;
97             this.startDate = startDate;
98             this.timeZoneSensitive = timeZoneSensitive;
99             this.title = title;
100            this.type = type;
101            this.userId = userId;
102            this.userName = userName;
103     }
104 
105 
106     /**
107      * Gets the allDay value for this CalEventSoap.
108      * 
109      * @return allDay
110      */
111     public boolean isAllDay() {
112         return allDay;
113     }
114 
115 
116     /**
117      * Sets the allDay value for this CalEventSoap.
118      * 
119      * @param allDay
120      */
121     public void setAllDay(boolean allDay) {
122         this.allDay = allDay;
123     }
124 
125 
126     /**
127      * Gets the companyId value for this CalEventSoap.
128      * 
129      * @return companyId
130      */
131     public long getCompanyId() {
132         return companyId;
133     }
134 
135 
136     /**
137      * Sets the companyId value for this CalEventSoap.
138      * 
139      * @param companyId
140      */
141     public void setCompanyId(long companyId) {
142         this.companyId = companyId;
143     }
144 
145 
146     /**
147      * Gets the createDate value for this CalEventSoap.
148      * 
149      * @return createDate
150      */
151     public java.util.Calendar getCreateDate() {
152         return createDate;
153     }
154 
155 
156     /**
157      * Sets the createDate value for this CalEventSoap.
158      * 
159      * @param createDate
160      */
161     public void setCreateDate(java.util.Calendar createDate) {
162         this.createDate = createDate;
163     }
164 
165 
166     /**
167      * Gets the description value for this CalEventSoap.
168      * 
169      * @return description
170      */
171     public java.lang.String getDescription() {
172         return description;
173     }
174 
175 
176     /**
177      * Sets the description value for this CalEventSoap.
178      * 
179      * @param description
180      */
181     public void setDescription(java.lang.String description) {
182         this.description = description;
183     }
184 
185 
186     /**
187      * Gets the durationHour value for this CalEventSoap.
188      * 
189      * @return durationHour
190      */
191     public int getDurationHour() {
192         return durationHour;
193     }
194 
195 
196     /**
197      * Sets the durationHour value for this CalEventSoap.
198      * 
199      * @param durationHour
200      */
201     public void setDurationHour(int durationHour) {
202         this.durationHour = durationHour;
203     }
204 
205 
206     /**
207      * Gets the durationMinute value for this CalEventSoap.
208      * 
209      * @return durationMinute
210      */
211     public int getDurationMinute() {
212         return durationMinute;
213     }
214 
215 
216     /**
217      * Sets the durationMinute value for this CalEventSoap.
218      * 
219      * @param durationMinute
220      */
221     public void setDurationMinute(int durationMinute) {
222         this.durationMinute = durationMinute;
223     }
224 
225 
226     /**
227      * Gets the endDate value for this CalEventSoap.
228      * 
229      * @return endDate
230      */
231     public java.util.Calendar getEndDate() {
232         return endDate;
233     }
234 
235 
236     /**
237      * Sets the endDate value for this CalEventSoap.
238      * 
239      * @param endDate
240      */
241     public void setEndDate(java.util.Calendar endDate) {
242         this.endDate = endDate;
243     }
244 
245 
246     /**
247      * Gets the eventId value for this CalEventSoap.
248      * 
249      * @return eventId
250      */
251     public long getEventId() {
252         return eventId;
253     }
254 
255 
256     /**
257      * Sets the eventId value for this CalEventSoap.
258      * 
259      * @param eventId
260      */
261     public void setEventId(long eventId) {
262         this.eventId = eventId;
263     }
264 
265 
266     /**
267      * Gets the firstReminder value for this CalEventSoap.
268      * 
269      * @return firstReminder
270      */
271     public int getFirstReminder() {
272         return firstReminder;
273     }
274 
275 
276     /**
277      * Sets the firstReminder value for this CalEventSoap.
278      * 
279      * @param firstReminder
280      */
281     public void setFirstReminder(int firstReminder) {
282         this.firstReminder = firstReminder;
283     }
284 
285 
286     /**
287      * Gets the groupId value for this CalEventSoap.
288      * 
289      * @return groupId
290      */
291     public long getGroupId() {
292         return groupId;
293     }
294 
295 
296     /**
297      * Sets the groupId value for this CalEventSoap.
298      * 
299      * @param groupId
300      */
301     public void setGroupId(long groupId) {
302         this.groupId = groupId;
303     }
304 
305 
306     /**
307      * Gets the modifiedDate value for this CalEventSoap.
308      * 
309      * @return modifiedDate
310      */
311     public java.util.Calendar getModifiedDate() {
312         return modifiedDate;
313     }
314 
315 
316     /**
317      * Sets the modifiedDate value for this CalEventSoap.
318      * 
319      * @param modifiedDate
320      */
321     public void setModifiedDate(java.util.Calendar modifiedDate) {
322         this.modifiedDate = modifiedDate;
323     }
324 
325 
326     /**
327      * Gets the primaryKey value for this CalEventSoap.
328      * 
329      * @return primaryKey
330      */
331     public long getPrimaryKey() {
332         return primaryKey;
333     }
334 
335 
336     /**
337      * Sets the primaryKey value for this CalEventSoap.
338      * 
339      * @param primaryKey
340      */
341     public void setPrimaryKey(long primaryKey) {
342         this.primaryKey = primaryKey;
343     }
344 
345 
346     /**
347      * Gets the recurrence value for this CalEventSoap.
348      * 
349      * @return recurrence
350      */
351     public java.lang.String getRecurrence() {
352         return recurrence;
353     }
354 
355 
356     /**
357      * Sets the recurrence value for this CalEventSoap.
358      * 
359      * @param recurrence
360      */
361     public void setRecurrence(java.lang.String recurrence) {
362         this.recurrence = recurrence;
363     }
364 
365 
366     /**
367      * Gets the remindBy value for this CalEventSoap.
368      * 
369      * @return remindBy
370      */
371     public java.lang.String getRemindBy() {
372         return remindBy;
373     }
374 
375 
376     /**
377      * Sets the remindBy value for this CalEventSoap.
378      * 
379      * @param remindBy
380      */
381     public void setRemindBy(java.lang.String remindBy) {
382         this.remindBy = remindBy;
383     }
384 
385 
386     /**
387      * Gets the repeating value for this CalEventSoap.
388      * 
389      * @return repeating
390      */
391     public boolean isRepeating() {
392         return repeating;
393     }
394 
395 
396     /**
397      * Sets the repeating value for this CalEventSoap.
398      * 
399      * @param repeating
400      */
401     public void setRepeating(boolean repeating) {
402         this.repeating = repeating;
403     }
404 
405 
406     /**
407      * Gets the secondReminder value for this CalEventSoap.
408      * 
409      * @return secondReminder
410      */
411     public int getSecondReminder() {
412         return secondReminder;
413     }
414 
415 
416     /**
417      * Sets the secondReminder value for this CalEventSoap.
418      * 
419      * @param secondReminder
420      */
421     public void setSecondReminder(int secondReminder) {
422         this.secondReminder = secondReminder;
423     }
424 
425 
426     /**
427      * Gets the startDate value for this CalEventSoap.
428      * 
429      * @return startDate
430      */
431     public java.util.Calendar getStartDate() {
432         return startDate;
433     }
434 
435 
436     /**
437      * Sets the startDate value for this CalEventSoap.
438      * 
439      * @param startDate
440      */
441     public void setStartDate(java.util.Calendar startDate) {
442         this.startDate = startDate;
443     }
444 
445 
446     /**
447      * Gets the timeZoneSensitive value for this CalEventSoap.
448      * 
449      * @return timeZoneSensitive
450      */
451     public boolean isTimeZoneSensitive() {
452         return timeZoneSensitive;
453     }
454 
455 
456     /**
457      * Sets the timeZoneSensitive value for this CalEventSoap.
458      * 
459      * @param timeZoneSensitive
460      */
461     public void setTimeZoneSensitive(boolean timeZoneSensitive) {
462         this.timeZoneSensitive = timeZoneSensitive;
463     }
464 
465 
466     /**
467      * Gets the title value for this CalEventSoap.
468      * 
469      * @return title
470      */
471     public java.lang.String getTitle() {
472         return title;
473     }
474 
475 
476     /**
477      * Sets the title value for this CalEventSoap.
478      * 
479      * @param title
480      */
481     public void setTitle(java.lang.String title) {
482         this.title = title;
483     }
484 
485 
486     /**
487      * Gets the type value for this CalEventSoap.
488      * 
489      * @return type
490      */
491     public java.lang.String getType() {
492         return type;
493     }
494 
495 
496     /**
497      * Sets the type value for this CalEventSoap.
498      * 
499      * @param type
500      */
501     public void setType(java.lang.String type) {
502         this.type = type;
503     }
504 
505 
506     /**
507      * Gets the userId value for this CalEventSoap.
508      * 
509      * @return userId
510      */
511     public long getUserId() {
512         return userId;
513     }
514 
515 
516     /**
517      * Sets the userId value for this CalEventSoap.
518      * 
519      * @param userId
520      */
521     public void setUserId(long userId) {
522         this.userId = userId;
523     }
524 
525 
526     /**
527      * Gets the userName value for this CalEventSoap.
528      * 
529      * @return userName
530      */
531     public java.lang.String getUserName() {
532         return userName;
533     }
534 
535 
536     /**
537      * Sets the userName value for this CalEventSoap.
538      * 
539      * @param userName
540      */
541     public void setUserName(java.lang.String userName) {
542         this.userName = userName;
543     }
544 
545     private java.lang.Object __equalsCalc = null;
546     public synchronized boolean equals(java.lang.Object obj) {
547         if (!(obj instanceof CalEventSoap)) return false;
548         CalEventSoap other = (CalEventSoap) obj;
549         if (obj == null) return false;
550         if (this == obj) return true;
551         if (__equalsCalc != null) {
552             return (__equalsCalc == obj);
553         }
554         __equalsCalc = obj;
555         boolean _equals;
556         _equals = true && 
557             this.allDay == other.isAllDay() &&
558             this.companyId == other.getCompanyId() &&
559             ((this.createDate==null && other.getCreateDate()==null) || 
560              (this.createDate!=null &&
561               this.createDate.equals(other.getCreateDate()))) &&
562             ((this.description==null && other.getDescription()==null) || 
563              (this.description!=null &&
564               this.description.equals(other.getDescription()))) &&
565             this.durationHour == other.getDurationHour() &&
566             this.durationMinute == other.getDurationMinute() &&
567             ((this.endDate==null && other.getEndDate()==null) || 
568              (this.endDate!=null &&
569               this.endDate.equals(other.getEndDate()))) &&
570             this.eventId == other.getEventId() &&
571             this.firstReminder == other.getFirstReminder() &&
572             this.groupId == other.getGroupId() &&
573             ((this.modifiedDate==null && other.getModifiedDate()==null) || 
574              (this.modifiedDate!=null &&
575               this.modifiedDate.equals(other.getModifiedDate()))) &&
576             this.primaryKey == other.getPrimaryKey() &&
577             ((this.recurrence==null && other.getRecurrence()==null) || 
578              (this.recurrence!=null &&
579               this.recurrence.equals(other.getRecurrence()))) &&
580             ((this.remindBy==null && other.getRemindBy()==null) || 
581              (this.remindBy!=null &&
582               this.remindBy.equals(other.getRemindBy()))) &&
583             this.repeating == other.isRepeating() &&
584             this.secondReminder == other.getSecondReminder() &&
585             ((this.startDate==null && other.getStartDate()==null) || 
586              (this.startDate!=null &&
587               this.startDate.equals(other.getStartDate()))) &&
588             this.timeZoneSensitive == other.isTimeZoneSensitive() &&
589             ((this.title==null && other.getTitle()==null) || 
590              (this.title!=null &&
591               this.title.equals(other.getTitle()))) &&
592             ((this.type==null && other.getType()==null) || 
593              (this.type!=null &&
594               this.type.equals(other.getType()))) &&
595             this.userId == other.getUserId() &&
596             ((this.userName==null && other.getUserName()==null) || 
597              (this.userName!=null &&
598               this.userName.equals(other.getUserName())));
599         __equalsCalc = null;
600         return _equals;
601     }
602 
603     private boolean __hashCodeCalc = false;
604     public synchronized int hashCode() {
605         if (__hashCodeCalc) {
606             return 0;
607         }
608         __hashCodeCalc = true;
609         int _hashCode = 1;
610         _hashCode += (isAllDay() ? Boolean.TRUE : Boolean.FALSE).hashCode();
611         _hashCode += new Long(getCompanyId()).hashCode();
612         if (getCreateDate() != null) {
613             _hashCode += getCreateDate().hashCode();
614         }
615         if (getDescription() != null) {
616             _hashCode += getDescription().hashCode();
617         }
618         _hashCode += getDurationHour();
619         _hashCode += getDurationMinute();
620         if (getEndDate() != null) {
621             _hashCode += getEndDate().hashCode();
622         }
623         _hashCode += new Long(getEventId()).hashCode();
624         _hashCode += getFirstReminder();
625         _hashCode += new Long(getGroupId()).hashCode();
626         if (getModifiedDate() != null) {
627             _hashCode += getModifiedDate().hashCode();
628         }
629         _hashCode += new Long(getPrimaryKey()).hashCode();
630         if (getRecurrence() != null) {
631             _hashCode += getRecurrence().hashCode();
632         }
633         if (getRemindBy() != null) {
634             _hashCode += getRemindBy().hashCode();
635         }
636         _hashCode += (isRepeating() ? Boolean.TRUE : Boolean.FALSE).hashCode();
637         _hashCode += getSecondReminder();
638         if (getStartDate() != null) {
639             _hashCode += getStartDate().hashCode();
640         }
641         _hashCode += (isTimeZoneSensitive() ? Boolean.TRUE : Boolean.FALSE).hashCode();
642         if (getTitle() != null) {
643             _hashCode += getTitle().hashCode();
644         }
645         if (getType() != null) {
646             _hashCode += getType().hashCode();
647         }
648         _hashCode += new Long(getUserId()).hashCode();
649         if (getUserName() != null) {
650             _hashCode += getUserName().hashCode();
651         }
652         __hashCodeCalc = false;
653         return _hashCode;
654     }
655 
656     // Type metadata
657     private static org.apache.axis.description.TypeDesc typeDesc =
658         new org.apache.axis.description.TypeDesc(CalEventSoap.class, true);
659 
660     static {
661         typeDesc.setXmlType(new javax.xml.namespace.QName("http://model.calendar.portlet.liferay.com", "CalEventSoap"));
662         org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
663         elemField.setFieldName("allDay");
664         elemField.setXmlName(new javax.xml.namespace.QName("", "allDay"));
665         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
666         elemField.setNillable(false);
667         typeDesc.addFieldDesc(elemField);
668         elemField = new org.apache.axis.description.ElementDesc();
669         elemField.setFieldName("companyId");
670         elemField.setXmlName(new javax.xml.namespace.QName("", "companyId"));
671         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
672         elemField.setNillable(false);
673         typeDesc.addFieldDesc(elemField);
674         elemField = new org.apache.axis.description.ElementDesc();
675         elemField.setFieldName("createDate");
676         elemField.setXmlName(new javax.xml.namespace.QName("", "createDate"));
677         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
678         elemField.setNillable(true);
679         typeDesc.addFieldDesc(elemField);
680         elemField = new org.apache.axis.description.ElementDesc();
681         elemField.setFieldName("description");
682         elemField.setXmlName(new javax.xml.namespace.QName("", "description"));
683         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
684         elemField.setNillable(true);
685         typeDesc.addFieldDesc(elemField);
686         elemField = new org.apache.axis.description.ElementDesc();
687         elemField.setFieldName("durationHour");
688         elemField.setXmlName(new javax.xml.namespace.QName("", "durationHour"));
689         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
690         elemField.setNillable(false);
691         typeDesc.addFieldDesc(elemField);
692         elemField = new org.apache.axis.description.ElementDesc();
693         elemField.setFieldName("durationMinute");
694         elemField.setXmlName(new javax.xml.namespace.QName("", "durationMinute"));
695         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
696         elemField.setNillable(false);
697         typeDesc.addFieldDesc(elemField);
698         elemField = new org.apache.axis.description.ElementDesc();
699         elemField.setFieldName("endDate");
700         elemField.setXmlName(new javax.xml.namespace.QName("", "endDate"));
701         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
702         elemField.setNillable(true);
703         typeDesc.addFieldDesc(elemField);
704         elemField = new org.apache.axis.description.ElementDesc();
705         elemField.setFieldName("eventId");
706         elemField.setXmlName(new javax.xml.namespace.QName("", "eventId"));
707         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
708         elemField.setNillable(false);
709         typeDesc.addFieldDesc(elemField);
710         elemField = new org.apache.axis.description.ElementDesc();
711         elemField.setFieldName("firstReminder");
712         elemField.setXmlName(new javax.xml.namespace.QName("", "firstReminder"));
713         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
714         elemField.setNillable(false);
715         typeDesc.addFieldDesc(elemField);
716         elemField = new org.apache.axis.description.ElementDesc();
717         elemField.setFieldName("groupId");
718         elemField.setXmlName(new javax.xml.namespace.QName("", "groupId"));
719         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
720         elemField.setNillable(false);
721         typeDesc.addFieldDesc(elemField);
722         elemField = new org.apache.axis.description.ElementDesc();
723         elemField.setFieldName("modifiedDate");
724         elemField.setXmlName(new javax.xml.namespace.QName("", "modifiedDate"));
725         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
726         elemField.setNillable(true);
727         typeDesc.addFieldDesc(elemField);
728         elemField = new org.apache.axis.description.ElementDesc();
729         elemField.setFieldName("primaryKey");
730         elemField.setXmlName(new javax.xml.namespace.QName("", "primaryKey"));
731         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
732         elemField.setNillable(false);
733         typeDesc.addFieldDesc(elemField);
734         elemField = new org.apache.axis.description.ElementDesc();
735         elemField.setFieldName("recurrence");
736         elemField.setXmlName(new javax.xml.namespace.QName("", "recurrence"));
737         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
738         elemField.setNillable(true);
739         typeDesc.addFieldDesc(elemField);
740         elemField = new org.apache.axis.description.ElementDesc();
741         elemField.setFieldName("remindBy");
742         elemField.setXmlName(new javax.xml.namespace.QName("", "remindBy"));
743         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
744         elemField.setNillable(true);
745         typeDesc.addFieldDesc(elemField);
746         elemField = new org.apache.axis.description.ElementDesc();
747         elemField.setFieldName("repeating");
748         elemField.setXmlName(new javax.xml.namespace.QName("", "repeating"));
749         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
750         elemField.setNillable(false);
751         typeDesc.addFieldDesc(elemField);
752         elemField = new org.apache.axis.description.ElementDesc();
753         elemField.setFieldName("secondReminder");
754         elemField.setXmlName(new javax.xml.namespace.QName("", "secondReminder"));
755         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
756         elemField.setNillable(false);
757         typeDesc.addFieldDesc(elemField);
758         elemField = new org.apache.axis.description.ElementDesc();
759         elemField.setFieldName("startDate");
760         elemField.setXmlName(new javax.xml.namespace.QName("", "startDate"));
761         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
762         elemField.setNillable(true);
763         typeDesc.addFieldDesc(elemField);
764         elemField = new org.apache.axis.description.ElementDesc();
765         elemField.setFieldName("timeZoneSensitive");
766         elemField.setXmlName(new javax.xml.namespace.QName("", "timeZoneSensitive"));
767         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
768         elemField.setNillable(false);
769         typeDesc.addFieldDesc(elemField);
770         elemField = new org.apache.axis.description.ElementDesc();
771         elemField.setFieldName("title");
772         elemField.setXmlName(new javax.xml.namespace.QName("", "title"));
773         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
774         elemField.setNillable(true);
775         typeDesc.addFieldDesc(elemField);
776         elemField = new org.apache.axis.description.ElementDesc();
777         elemField.setFieldName("type");
778         elemField.setXmlName(new javax.xml.namespace.QName("", "type"));
779         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
780         elemField.setNillable(true);
781         typeDesc.addFieldDesc(elemField);
782         elemField = new org.apache.axis.description.ElementDesc();
783         elemField.setFieldName("userId");
784         elemField.setXmlName(new javax.xml.namespace.QName("", "userId"));
785         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
786         elemField.setNillable(false);
787         typeDesc.addFieldDesc(elemField);
788         elemField = new org.apache.axis.description.ElementDesc();
789         elemField.setFieldName("userName");
790         elemField.setXmlName(new javax.xml.namespace.QName("", "userName"));
791         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
792         elemField.setNillable(true);
793         typeDesc.addFieldDesc(elemField);
794     }
795 
796     /**
797      * Return type metadata object
798      */
799     public static org.apache.axis.description.TypeDesc getTypeDesc() {
800         return typeDesc;
801     }
802 
803     /**
804      * Get Custom Serializer
805      */
806     public static org.apache.axis.encoding.Serializer getSerializer(
807            java.lang.String mechType, 
808            java.lang.Class _javaType,  
809            javax.xml.namespace.QName _xmlType) {
810         return 
811           new  org.apache.axis.encoding.ser.BeanSerializer(
812             _javaType, _xmlType, typeDesc);
813     }
814 
815     /**
816      * Get Custom Deserializer
817      */
818     public static org.apache.axis.encoding.Deserializer getDeserializer(
819            java.lang.String mechType, 
820            java.lang.Class _javaType,  
821            javax.xml.namespace.QName _xmlType) {
822         return 
823           new  org.apache.axis.encoding.ser.BeanDeserializer(
824             _javaType, _xmlType, typeDesc);
825     }
826 
827 }
828