1   /**
2    * UserSoap.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.portal.model;
9   
10  public class UserSoap  implements java.io.Serializable {
11      private boolean active;
12  
13      private boolean agreedToTermsOfUse;
14  
15      private java.lang.String comments;
16  
17      private long companyId;
18  
19      private long contactId;
20  
21      private java.util.Calendar createDate;
22  
23      private boolean defaultUser;
24  
25      private java.lang.String emailAddress;
26  
27      private int failedLoginAttempts;
28  
29      private int graceLoginCount;
30  
31      private java.lang.String greeting;
32  
33      private java.lang.String languageId;
34  
35      private java.util.Calendar lastFailedLoginDate;
36  
37      private java.util.Calendar lastLoginDate;
38  
39      private java.lang.String lastLoginIP;
40  
41      private boolean lockout;
42  
43      private java.util.Calendar lockoutDate;
44  
45      private java.util.Calendar loginDate;
46  
47      private java.lang.String loginIP;
48  
49      private java.util.Calendar modifiedDate;
50  
51      private java.lang.String openId;
52  
53      private java.lang.String password;
54  
55      private boolean passwordEncrypted;
56  
57      private java.util.Calendar passwordModifiedDate;
58  
59      private boolean passwordReset;
60  
61      private long portraitId;
62  
63      private long primaryKey;
64  
65      private java.lang.String screenName;
66  
67      private java.lang.String timeZoneId;
68  
69      private long userId;
70  
71      private java.lang.String uuid;
72  
73      public UserSoap() {
74      }
75  
76      public UserSoap(
77             boolean active,
78             boolean agreedToTermsOfUse,
79             java.lang.String comments,
80             long companyId,
81             long contactId,
82             java.util.Calendar createDate,
83             boolean defaultUser,
84             java.lang.String emailAddress,
85             int failedLoginAttempts,
86             int graceLoginCount,
87             java.lang.String greeting,
88             java.lang.String languageId,
89             java.util.Calendar lastFailedLoginDate,
90             java.util.Calendar lastLoginDate,
91             java.lang.String lastLoginIP,
92             boolean lockout,
93             java.util.Calendar lockoutDate,
94             java.util.Calendar loginDate,
95             java.lang.String loginIP,
96             java.util.Calendar modifiedDate,
97             java.lang.String openId,
98             java.lang.String password,
99             boolean passwordEncrypted,
100            java.util.Calendar passwordModifiedDate,
101            boolean passwordReset,
102            long portraitId,
103            long primaryKey,
104            java.lang.String screenName,
105            java.lang.String timeZoneId,
106            long userId,
107            java.lang.String uuid) {
108            this.active = active;
109            this.agreedToTermsOfUse = agreedToTermsOfUse;
110            this.comments = comments;
111            this.companyId = companyId;
112            this.contactId = contactId;
113            this.createDate = createDate;
114            this.defaultUser = defaultUser;
115            this.emailAddress = emailAddress;
116            this.failedLoginAttempts = failedLoginAttempts;
117            this.graceLoginCount = graceLoginCount;
118            this.greeting = greeting;
119            this.languageId = languageId;
120            this.lastFailedLoginDate = lastFailedLoginDate;
121            this.lastLoginDate = lastLoginDate;
122            this.lastLoginIP = lastLoginIP;
123            this.lockout = lockout;
124            this.lockoutDate = lockoutDate;
125            this.loginDate = loginDate;
126            this.loginIP = loginIP;
127            this.modifiedDate = modifiedDate;
128            this.openId = openId;
129            this.password = password;
130            this.passwordEncrypted = passwordEncrypted;
131            this.passwordModifiedDate = passwordModifiedDate;
132            this.passwordReset = passwordReset;
133            this.portraitId = portraitId;
134            this.primaryKey = primaryKey;
135            this.screenName = screenName;
136            this.timeZoneId = timeZoneId;
137            this.userId = userId;
138            this.uuid = uuid;
139     }
140 
141 
142     /**
143      * Gets the active value for this UserSoap.
144      * 
145      * @return active
146      */
147     public boolean isActive() {
148         return active;
149     }
150 
151 
152     /**
153      * Sets the active value for this UserSoap.
154      * 
155      * @param active
156      */
157     public void setActive(boolean active) {
158         this.active = active;
159     }
160 
161 
162     /**
163      * Gets the agreedToTermsOfUse value for this UserSoap.
164      * 
165      * @return agreedToTermsOfUse
166      */
167     public boolean isAgreedToTermsOfUse() {
168         return agreedToTermsOfUse;
169     }
170 
171 
172     /**
173      * Sets the agreedToTermsOfUse value for this UserSoap.
174      * 
175      * @param agreedToTermsOfUse
176      */
177     public void setAgreedToTermsOfUse(boolean agreedToTermsOfUse) {
178         this.agreedToTermsOfUse = agreedToTermsOfUse;
179     }
180 
181 
182     /**
183      * Gets the comments value for this UserSoap.
184      * 
185      * @return comments
186      */
187     public java.lang.String getComments() {
188         return comments;
189     }
190 
191 
192     /**
193      * Sets the comments value for this UserSoap.
194      * 
195      * @param comments
196      */
197     public void setComments(java.lang.String comments) {
198         this.comments = comments;
199     }
200 
201 
202     /**
203      * Gets the companyId value for this UserSoap.
204      * 
205      * @return companyId
206      */
207     public long getCompanyId() {
208         return companyId;
209     }
210 
211 
212     /**
213      * Sets the companyId value for this UserSoap.
214      * 
215      * @param companyId
216      */
217     public void setCompanyId(long companyId) {
218         this.companyId = companyId;
219     }
220 
221 
222     /**
223      * Gets the contactId value for this UserSoap.
224      * 
225      * @return contactId
226      */
227     public long getContactId() {
228         return contactId;
229     }
230 
231 
232     /**
233      * Sets the contactId value for this UserSoap.
234      * 
235      * @param contactId
236      */
237     public void setContactId(long contactId) {
238         this.contactId = contactId;
239     }
240 
241 
242     /**
243      * Gets the createDate value for this UserSoap.
244      * 
245      * @return createDate
246      */
247     public java.util.Calendar getCreateDate() {
248         return createDate;
249     }
250 
251 
252     /**
253      * Sets the createDate value for this UserSoap.
254      * 
255      * @param createDate
256      */
257     public void setCreateDate(java.util.Calendar createDate) {
258         this.createDate = createDate;
259     }
260 
261 
262     /**
263      * Gets the defaultUser value for this UserSoap.
264      * 
265      * @return defaultUser
266      */
267     public boolean isDefaultUser() {
268         return defaultUser;
269     }
270 
271 
272     /**
273      * Sets the defaultUser value for this UserSoap.
274      * 
275      * @param defaultUser
276      */
277     public void setDefaultUser(boolean defaultUser) {
278         this.defaultUser = defaultUser;
279     }
280 
281 
282     /**
283      * Gets the emailAddress value for this UserSoap.
284      * 
285      * @return emailAddress
286      */
287     public java.lang.String getEmailAddress() {
288         return emailAddress;
289     }
290 
291 
292     /**
293      * Sets the emailAddress value for this UserSoap.
294      * 
295      * @param emailAddress
296      */
297     public void setEmailAddress(java.lang.String emailAddress) {
298         this.emailAddress = emailAddress;
299     }
300 
301 
302     /**
303      * Gets the failedLoginAttempts value for this UserSoap.
304      * 
305      * @return failedLoginAttempts
306      */
307     public int getFailedLoginAttempts() {
308         return failedLoginAttempts;
309     }
310 
311 
312     /**
313      * Sets the failedLoginAttempts value for this UserSoap.
314      * 
315      * @param failedLoginAttempts
316      */
317     public void setFailedLoginAttempts(int failedLoginAttempts) {
318         this.failedLoginAttempts = failedLoginAttempts;
319     }
320 
321 
322     /**
323      * Gets the graceLoginCount value for this UserSoap.
324      * 
325      * @return graceLoginCount
326      */
327     public int getGraceLoginCount() {
328         return graceLoginCount;
329     }
330 
331 
332     /**
333      * Sets the graceLoginCount value for this UserSoap.
334      * 
335      * @param graceLoginCount
336      */
337     public void setGraceLoginCount(int graceLoginCount) {
338         this.graceLoginCount = graceLoginCount;
339     }
340 
341 
342     /**
343      * Gets the greeting value for this UserSoap.
344      * 
345      * @return greeting
346      */
347     public java.lang.String getGreeting() {
348         return greeting;
349     }
350 
351 
352     /**
353      * Sets the greeting value for this UserSoap.
354      * 
355      * @param greeting
356      */
357     public void setGreeting(java.lang.String greeting) {
358         this.greeting = greeting;
359     }
360 
361 
362     /**
363      * Gets the languageId value for this UserSoap.
364      * 
365      * @return languageId
366      */
367     public java.lang.String getLanguageId() {
368         return languageId;
369     }
370 
371 
372     /**
373      * Sets the languageId value for this UserSoap.
374      * 
375      * @param languageId
376      */
377     public void setLanguageId(java.lang.String languageId) {
378         this.languageId = languageId;
379     }
380 
381 
382     /**
383      * Gets the lastFailedLoginDate value for this UserSoap.
384      * 
385      * @return lastFailedLoginDate
386      */
387     public java.util.Calendar getLastFailedLoginDate() {
388         return lastFailedLoginDate;
389     }
390 
391 
392     /**
393      * Sets the lastFailedLoginDate value for this UserSoap.
394      * 
395      * @param lastFailedLoginDate
396      */
397     public void setLastFailedLoginDate(java.util.Calendar lastFailedLoginDate) {
398         this.lastFailedLoginDate = lastFailedLoginDate;
399     }
400 
401 
402     /**
403      * Gets the lastLoginDate value for this UserSoap.
404      * 
405      * @return lastLoginDate
406      */
407     public java.util.Calendar getLastLoginDate() {
408         return lastLoginDate;
409     }
410 
411 
412     /**
413      * Sets the lastLoginDate value for this UserSoap.
414      * 
415      * @param lastLoginDate
416      */
417     public void setLastLoginDate(java.util.Calendar lastLoginDate) {
418         this.lastLoginDate = lastLoginDate;
419     }
420 
421 
422     /**
423      * Gets the lastLoginIP value for this UserSoap.
424      * 
425      * @return lastLoginIP
426      */
427     public java.lang.String getLastLoginIP() {
428         return lastLoginIP;
429     }
430 
431 
432     /**
433      * Sets the lastLoginIP value for this UserSoap.
434      * 
435      * @param lastLoginIP
436      */
437     public void setLastLoginIP(java.lang.String lastLoginIP) {
438         this.lastLoginIP = lastLoginIP;
439     }
440 
441 
442     /**
443      * Gets the lockout value for this UserSoap.
444      * 
445      * @return lockout
446      */
447     public boolean isLockout() {
448         return lockout;
449     }
450 
451 
452     /**
453      * Sets the lockout value for this UserSoap.
454      * 
455      * @param lockout
456      */
457     public void setLockout(boolean lockout) {
458         this.lockout = lockout;
459     }
460 
461 
462     /**
463      * Gets the lockoutDate value for this UserSoap.
464      * 
465      * @return lockoutDate
466      */
467     public java.util.Calendar getLockoutDate() {
468         return lockoutDate;
469     }
470 
471 
472     /**
473      * Sets the lockoutDate value for this UserSoap.
474      * 
475      * @param lockoutDate
476      */
477     public void setLockoutDate(java.util.Calendar lockoutDate) {
478         this.lockoutDate = lockoutDate;
479     }
480 
481 
482     /**
483      * Gets the loginDate value for this UserSoap.
484      * 
485      * @return loginDate
486      */
487     public java.util.Calendar getLoginDate() {
488         return loginDate;
489     }
490 
491 
492     /**
493      * Sets the loginDate value for this UserSoap.
494      * 
495      * @param loginDate
496      */
497     public void setLoginDate(java.util.Calendar loginDate) {
498         this.loginDate = loginDate;
499     }
500 
501 
502     /**
503      * Gets the loginIP value for this UserSoap.
504      * 
505      * @return loginIP
506      */
507     public java.lang.String getLoginIP() {
508         return loginIP;
509     }
510 
511 
512     /**
513      * Sets the loginIP value for this UserSoap.
514      * 
515      * @param loginIP
516      */
517     public void setLoginIP(java.lang.String loginIP) {
518         this.loginIP = loginIP;
519     }
520 
521 
522     /**
523      * Gets the modifiedDate value for this UserSoap.
524      * 
525      * @return modifiedDate
526      */
527     public java.util.Calendar getModifiedDate() {
528         return modifiedDate;
529     }
530 
531 
532     /**
533      * Sets the modifiedDate value for this UserSoap.
534      * 
535      * @param modifiedDate
536      */
537     public void setModifiedDate(java.util.Calendar modifiedDate) {
538         this.modifiedDate = modifiedDate;
539     }
540 
541 
542     /**
543      * Gets the openId value for this UserSoap.
544      * 
545      * @return openId
546      */
547     public java.lang.String getOpenId() {
548         return openId;
549     }
550 
551 
552     /**
553      * Sets the openId value for this UserSoap.
554      * 
555      * @param openId
556      */
557     public void setOpenId(java.lang.String openId) {
558         this.openId = openId;
559     }
560 
561 
562     /**
563      * Gets the password value for this UserSoap.
564      * 
565      * @return password
566      */
567     public java.lang.String getPassword() {
568         return password;
569     }
570 
571 
572     /**
573      * Sets the password value for this UserSoap.
574      * 
575      * @param password
576      */
577     public void setPassword(java.lang.String password) {
578         this.password = password;
579     }
580 
581 
582     /**
583      * Gets the passwordEncrypted value for this UserSoap.
584      * 
585      * @return passwordEncrypted
586      */
587     public boolean isPasswordEncrypted() {
588         return passwordEncrypted;
589     }
590 
591 
592     /**
593      * Sets the passwordEncrypted value for this UserSoap.
594      * 
595      * @param passwordEncrypted
596      */
597     public void setPasswordEncrypted(boolean passwordEncrypted) {
598         this.passwordEncrypted = passwordEncrypted;
599     }
600 
601 
602     /**
603      * Gets the passwordModifiedDate value for this UserSoap.
604      * 
605      * @return passwordModifiedDate
606      */
607     public java.util.Calendar getPasswordModifiedDate() {
608         return passwordModifiedDate;
609     }
610 
611 
612     /**
613      * Sets the passwordModifiedDate value for this UserSoap.
614      * 
615      * @param passwordModifiedDate
616      */
617     public void setPasswordModifiedDate(java.util.Calendar passwordModifiedDate) {
618         this.passwordModifiedDate = passwordModifiedDate;
619     }
620 
621 
622     /**
623      * Gets the passwordReset value for this UserSoap.
624      * 
625      * @return passwordReset
626      */
627     public boolean isPasswordReset() {
628         return passwordReset;
629     }
630 
631 
632     /**
633      * Sets the passwordReset value for this UserSoap.
634      * 
635      * @param passwordReset
636      */
637     public void setPasswordReset(boolean passwordReset) {
638         this.passwordReset = passwordReset;
639     }
640 
641 
642     /**
643      * Gets the portraitId value for this UserSoap.
644      * 
645      * @return portraitId
646      */
647     public long getPortraitId() {
648         return portraitId;
649     }
650 
651 
652     /**
653      * Sets the portraitId value for this UserSoap.
654      * 
655      * @param portraitId
656      */
657     public void setPortraitId(long portraitId) {
658         this.portraitId = portraitId;
659     }
660 
661 
662     /**
663      * Gets the primaryKey value for this UserSoap.
664      * 
665      * @return primaryKey
666      */
667     public long getPrimaryKey() {
668         return primaryKey;
669     }
670 
671 
672     /**
673      * Sets the primaryKey value for this UserSoap.
674      * 
675      * @param primaryKey
676      */
677     public void setPrimaryKey(long primaryKey) {
678         this.primaryKey = primaryKey;
679     }
680 
681 
682     /**
683      * Gets the screenName value for this UserSoap.
684      * 
685      * @return screenName
686      */
687     public java.lang.String getScreenName() {
688         return screenName;
689     }
690 
691 
692     /**
693      * Sets the screenName value for this UserSoap.
694      * 
695      * @param screenName
696      */
697     public void setScreenName(java.lang.String screenName) {
698         this.screenName = screenName;
699     }
700 
701 
702     /**
703      * Gets the timeZoneId value for this UserSoap.
704      * 
705      * @return timeZoneId
706      */
707     public java.lang.String getTimeZoneId() {
708         return timeZoneId;
709     }
710 
711 
712     /**
713      * Sets the timeZoneId value for this UserSoap.
714      * 
715      * @param timeZoneId
716      */
717     public void setTimeZoneId(java.lang.String timeZoneId) {
718         this.timeZoneId = timeZoneId;
719     }
720 
721 
722     /**
723      * Gets the userId value for this UserSoap.
724      * 
725      * @return userId
726      */
727     public long getUserId() {
728         return userId;
729     }
730 
731 
732     /**
733      * Sets the userId value for this UserSoap.
734      * 
735      * @param userId
736      */
737     public void setUserId(long userId) {
738         this.userId = userId;
739     }
740 
741 
742     /**
743      * Gets the uuid value for this UserSoap.
744      * 
745      * @return uuid
746      */
747     public java.lang.String getUuid() {
748         return uuid;
749     }
750 
751 
752     /**
753      * Sets the uuid value for this UserSoap.
754      * 
755      * @param uuid
756      */
757     public void setUuid(java.lang.String uuid) {
758         this.uuid = uuid;
759     }
760 
761     private java.lang.Object __equalsCalc = null;
762     public synchronized boolean equals(java.lang.Object obj) {
763         if (!(obj instanceof UserSoap)) return false;
764         UserSoap other = (UserSoap) obj;
765         if (obj == null) return false;
766         if (this == obj) return true;
767         if (__equalsCalc != null) {
768             return (__equalsCalc == obj);
769         }
770         __equalsCalc = obj;
771         boolean _equals;
772         _equals = true && 
773             this.active == other.isActive() &&
774             this.agreedToTermsOfUse == other.isAgreedToTermsOfUse() &&
775             ((this.comments==null && other.getComments()==null) || 
776              (this.comments!=null &&
777               this.comments.equals(other.getComments()))) &&
778             this.companyId == other.getCompanyId() &&
779             this.contactId == other.getContactId() &&
780             ((this.createDate==null && other.getCreateDate()==null) || 
781              (this.createDate!=null &&
782               this.createDate.equals(other.getCreateDate()))) &&
783             this.defaultUser == other.isDefaultUser() &&
784             ((this.emailAddress==null && other.getEmailAddress()==null) || 
785              (this.emailAddress!=null &&
786               this.emailAddress.equals(other.getEmailAddress()))) &&
787             this.failedLoginAttempts == other.getFailedLoginAttempts() &&
788             this.graceLoginCount == other.getGraceLoginCount() &&
789             ((this.greeting==null && other.getGreeting()==null) || 
790              (this.greeting!=null &&
791               this.greeting.equals(other.getGreeting()))) &&
792             ((this.languageId==null && other.getLanguageId()==null) || 
793              (this.languageId!=null &&
794               this.languageId.equals(other.getLanguageId()))) &&
795             ((this.lastFailedLoginDate==null && other.getLastFailedLoginDate()==null) || 
796              (this.lastFailedLoginDate!=null &&
797               this.lastFailedLoginDate.equals(other.getLastFailedLoginDate()))) &&
798             ((this.lastLoginDate==null && other.getLastLoginDate()==null) || 
799              (this.lastLoginDate!=null &&
800               this.lastLoginDate.equals(other.getLastLoginDate()))) &&
801             ((this.lastLoginIP==null && other.getLastLoginIP()==null) || 
802              (this.lastLoginIP!=null &&
803               this.lastLoginIP.equals(other.getLastLoginIP()))) &&
804             this.lockout == other.isLockout() &&
805             ((this.lockoutDate==null && other.getLockoutDate()==null) || 
806              (this.lockoutDate!=null &&
807               this.lockoutDate.equals(other.getLockoutDate()))) &&
808             ((this.loginDate==null && other.getLoginDate()==null) || 
809              (this.loginDate!=null &&
810               this.loginDate.equals(other.getLoginDate()))) &&
811             ((this.loginIP==null && other.getLoginIP()==null) || 
812              (this.loginIP!=null &&
813               this.loginIP.equals(other.getLoginIP()))) &&
814             ((this.modifiedDate==null && other.getModifiedDate()==null) || 
815              (this.modifiedDate!=null &&
816               this.modifiedDate.equals(other.getModifiedDate()))) &&
817             ((this.openId==null && other.getOpenId()==null) || 
818              (this.openId!=null &&
819               this.openId.equals(other.getOpenId()))) &&
820             ((this.password==null && other.getPassword()==null) || 
821              (this.password!=null &&
822               this.password.equals(other.getPassword()))) &&
823             this.passwordEncrypted == other.isPasswordEncrypted() &&
824             ((this.passwordModifiedDate==null && other.getPasswordModifiedDate()==null) || 
825              (this.passwordModifiedDate!=null &&
826               this.passwordModifiedDate.equals(other.getPasswordModifiedDate()))) &&
827             this.passwordReset == other.isPasswordReset() &&
828             this.portraitId == other.getPortraitId() &&
829             this.primaryKey == other.getPrimaryKey() &&
830             ((this.screenName==null && other.getScreenName()==null) || 
831              (this.screenName!=null &&
832               this.screenName.equals(other.getScreenName()))) &&
833             ((this.timeZoneId==null && other.getTimeZoneId()==null) || 
834              (this.timeZoneId!=null &&
835               this.timeZoneId.equals(other.getTimeZoneId()))) &&
836             this.userId == other.getUserId() &&
837             ((this.uuid==null && other.getUuid()==null) || 
838              (this.uuid!=null &&
839               this.uuid.equals(other.getUuid())));
840         __equalsCalc = null;
841         return _equals;
842     }
843 
844     private boolean __hashCodeCalc = false;
845     public synchronized int hashCode() {
846         if (__hashCodeCalc) {
847             return 0;
848         }
849         __hashCodeCalc = true;
850         int _hashCode = 1;
851         _hashCode += (isActive() ? Boolean.TRUE : Boolean.FALSE).hashCode();
852         _hashCode += (isAgreedToTermsOfUse() ? Boolean.TRUE : Boolean.FALSE).hashCode();
853         if (getComments() != null) {
854             _hashCode += getComments().hashCode();
855         }
856         _hashCode += new Long(getCompanyId()).hashCode();
857         _hashCode += new Long(getContactId()).hashCode();
858         if (getCreateDate() != null) {
859             _hashCode += getCreateDate().hashCode();
860         }
861         _hashCode += (isDefaultUser() ? Boolean.TRUE : Boolean.FALSE).hashCode();
862         if (getEmailAddress() != null) {
863             _hashCode += getEmailAddress().hashCode();
864         }
865         _hashCode += getFailedLoginAttempts();
866         _hashCode += getGraceLoginCount();
867         if (getGreeting() != null) {
868             _hashCode += getGreeting().hashCode();
869         }
870         if (getLanguageId() != null) {
871             _hashCode += getLanguageId().hashCode();
872         }
873         if (getLastFailedLoginDate() != null) {
874             _hashCode += getLastFailedLoginDate().hashCode();
875         }
876         if (getLastLoginDate() != null) {
877             _hashCode += getLastLoginDate().hashCode();
878         }
879         if (getLastLoginIP() != null) {
880             _hashCode += getLastLoginIP().hashCode();
881         }
882         _hashCode += (isLockout() ? Boolean.TRUE : Boolean.FALSE).hashCode();
883         if (getLockoutDate() != null) {
884             _hashCode += getLockoutDate().hashCode();
885         }
886         if (getLoginDate() != null) {
887             _hashCode += getLoginDate().hashCode();
888         }
889         if (getLoginIP() != null) {
890             _hashCode += getLoginIP().hashCode();
891         }
892         if (getModifiedDate() != null) {
893             _hashCode += getModifiedDate().hashCode();
894         }
895         if (getOpenId() != null) {
896             _hashCode += getOpenId().hashCode();
897         }
898         if (getPassword() != null) {
899             _hashCode += getPassword().hashCode();
900         }
901         _hashCode += (isPasswordEncrypted() ? Boolean.TRUE : Boolean.FALSE).hashCode();
902         if (getPasswordModifiedDate() != null) {
903             _hashCode += getPasswordModifiedDate().hashCode();
904         }
905         _hashCode += (isPasswordReset() ? Boolean.TRUE : Boolean.FALSE).hashCode();
906         _hashCode += new Long(getPortraitId()).hashCode();
907         _hashCode += new Long(getPrimaryKey()).hashCode();
908         if (getScreenName() != null) {
909             _hashCode += getScreenName().hashCode();
910         }
911         if (getTimeZoneId() != null) {
912             _hashCode += getTimeZoneId().hashCode();
913         }
914         _hashCode += new Long(getUserId()).hashCode();
915         if (getUuid() != null) {
916             _hashCode += getUuid().hashCode();
917         }
918         __hashCodeCalc = false;
919         return _hashCode;
920     }
921 
922     // Type metadata
923     private static org.apache.axis.description.TypeDesc typeDesc =
924         new org.apache.axis.description.TypeDesc(UserSoap.class, true);
925 
926     static {
927         typeDesc.setXmlType(new javax.xml.namespace.QName("http://model.portal.liferay.com", "UserSoap"));
928         org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
929         elemField.setFieldName("active");
930         elemField.setXmlName(new javax.xml.namespace.QName("", "active"));
931         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
932         elemField.setNillable(false);
933         typeDesc.addFieldDesc(elemField);
934         elemField = new org.apache.axis.description.ElementDesc();
935         elemField.setFieldName("agreedToTermsOfUse");
936         elemField.setXmlName(new javax.xml.namespace.QName("", "agreedToTermsOfUse"));
937         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
938         elemField.setNillable(false);
939         typeDesc.addFieldDesc(elemField);
940         elemField = new org.apache.axis.description.ElementDesc();
941         elemField.setFieldName("comments");
942         elemField.setXmlName(new javax.xml.namespace.QName("", "comments"));
943         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
944         elemField.setNillable(true);
945         typeDesc.addFieldDesc(elemField);
946         elemField = new org.apache.axis.description.ElementDesc();
947         elemField.setFieldName("companyId");
948         elemField.setXmlName(new javax.xml.namespace.QName("", "companyId"));
949         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
950         elemField.setNillable(false);
951         typeDesc.addFieldDesc(elemField);
952         elemField = new org.apache.axis.description.ElementDesc();
953         elemField.setFieldName("contactId");
954         elemField.setXmlName(new javax.xml.namespace.QName("", "contactId"));
955         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
956         elemField.setNillable(false);
957         typeDesc.addFieldDesc(elemField);
958         elemField = new org.apache.axis.description.ElementDesc();
959         elemField.setFieldName("createDate");
960         elemField.setXmlName(new javax.xml.namespace.QName("", "createDate"));
961         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
962         elemField.setNillable(true);
963         typeDesc.addFieldDesc(elemField);
964         elemField = new org.apache.axis.description.ElementDesc();
965         elemField.setFieldName("defaultUser");
966         elemField.setXmlName(new javax.xml.namespace.QName("", "defaultUser"));
967         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
968         elemField.setNillable(false);
969         typeDesc.addFieldDesc(elemField);
970         elemField = new org.apache.axis.description.ElementDesc();
971         elemField.setFieldName("emailAddress");
972         elemField.setXmlName(new javax.xml.namespace.QName("", "emailAddress"));
973         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
974         elemField.setNillable(true);
975         typeDesc.addFieldDesc(elemField);
976         elemField = new org.apache.axis.description.ElementDesc();
977         elemField.setFieldName("failedLoginAttempts");
978         elemField.setXmlName(new javax.xml.namespace.QName("", "failedLoginAttempts"));
979         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
980         elemField.setNillable(false);
981         typeDesc.addFieldDesc(elemField);
982         elemField = new org.apache.axis.description.ElementDesc();
983         elemField.setFieldName("graceLoginCount");
984         elemField.setXmlName(new javax.xml.namespace.QName("", "graceLoginCount"));
985         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
986         elemField.setNillable(false);
987         typeDesc.addFieldDesc(elemField);
988         elemField = new org.apache.axis.description.ElementDesc();
989         elemField.setFieldName("greeting");
990         elemField.setXmlName(new javax.xml.namespace.QName("", "greeting"));
991         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
992         elemField.setNillable(true);
993         typeDesc.addFieldDesc(elemField);
994         elemField = new org.apache.axis.description.ElementDesc();
995         elemField.setFieldName("languageId");
996         elemField.setXmlName(new javax.xml.namespace.QName("", "languageId"));
997         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
998         elemField.setNillable(true);
999         typeDesc.addFieldDesc(elemField);
1000        elemField = new org.apache.axis.description.ElementDesc();
1001        elemField.setFieldName("lastFailedLoginDate");
1002        elemField.setXmlName(new javax.xml.namespace.QName("", "lastFailedLoginDate"));
1003        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
1004        elemField.setNillable(true);
1005        typeDesc.addFieldDesc(elemField);
1006        elemField = new org.apache.axis.description.ElementDesc();
1007        elemField.setFieldName("lastLoginDate");
1008        elemField.setXmlName(new javax.xml.namespace.QName("", "lastLoginDate"));
1009        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
1010        elemField.setNillable(true);
1011        typeDesc.addFieldDesc(elemField);
1012        elemField = new org.apache.axis.description.ElementDesc();
1013        elemField.setFieldName("lastLoginIP");
1014        elemField.setXmlName(new javax.xml.namespace.QName("", "lastLoginIP"));
1015        elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
1016        elemField.setNillable(true);
1017        typeDesc.addFieldDesc(elemField);
1018        elemField = new org.apache.axis.description.ElementDesc();
1019        elemField.setFieldName("lockout");
1020        elemField.setXmlName(new javax.xml.namespace.QName("", "lockout"));
1021        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
1022        elemField.setNillable(false);
1023        typeDesc.addFieldDesc(elemField);
1024        elemField = new org.apache.axis.description.ElementDesc();
1025        elemField.setFieldName("lockoutDate");
1026        elemField.setXmlName(new javax.xml.namespace.QName("", "lockoutDate"));
1027        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
1028        elemField.setNillable(true);
1029        typeDesc.addFieldDesc(elemField);
1030        elemField = new org.apache.axis.description.ElementDesc();
1031        elemField.setFieldName("loginDate");
1032        elemField.setXmlName(new javax.xml.namespace.QName("", "loginDate"));
1033        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
1034        elemField.setNillable(true);
1035        typeDesc.addFieldDesc(elemField);
1036        elemField = new org.apache.axis.description.ElementDesc();
1037        elemField.setFieldName("loginIP");
1038        elemField.setXmlName(new javax.xml.namespace.QName("", "loginIP"));
1039        elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
1040        elemField.setNillable(true);
1041        typeDesc.addFieldDesc(elemField);
1042        elemField = new org.apache.axis.description.ElementDesc();
1043        elemField.setFieldName("modifiedDate");
1044        elemField.setXmlName(new javax.xml.namespace.QName("", "modifiedDate"));
1045        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
1046        elemField.setNillable(true);
1047        typeDesc.addFieldDesc(elemField);
1048        elemField = new org.apache.axis.description.ElementDesc();
1049        elemField.setFieldName("openId");
1050        elemField.setXmlName(new javax.xml.namespace.QName("", "openId"));
1051        elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
1052        elemField.setNillable(true);
1053        typeDesc.addFieldDesc(elemField);
1054        elemField = new org.apache.axis.description.ElementDesc();
1055        elemField.setFieldName("password");
1056        elemField.setXmlName(new javax.xml.namespace.QName("", "password"));
1057        elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
1058        elemField.setNillable(true);
1059        typeDesc.addFieldDesc(elemField);
1060        elemField = new org.apache.axis.description.ElementDesc();
1061        elemField.setFieldName("passwordEncrypted");
1062        elemField.setXmlName(new javax.xml.namespace.QName("", "passwordEncrypted"));
1063        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
1064        elemField.setNillable(false);
1065        typeDesc.addFieldDesc(elemField);
1066        elemField = new org.apache.axis.description.ElementDesc();
1067        elemField.setFieldName("passwordModifiedDate");
1068        elemField.setXmlName(new javax.xml.namespace.QName("", "passwordModifiedDate"));
1069        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
1070        elemField.setNillable(true);
1071        typeDesc.addFieldDesc(elemField);
1072        elemField = new org.apache.axis.description.ElementDesc();
1073        elemField.setFieldName("passwordReset");
1074        elemField.setXmlName(new javax.xml.namespace.QName("", "passwordReset"));
1075        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
1076        elemField.setNillable(false);
1077        typeDesc.addFieldDesc(elemField);
1078        elemField = new org.apache.axis.description.ElementDesc();
1079        elemField.setFieldName("portraitId");
1080        elemField.setXmlName(new javax.xml.namespace.QName("", "portraitId"));
1081        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
1082        elemField.setNillable(false);
1083        typeDesc.addFieldDesc(elemField);
1084        elemField = new org.apache.axis.description.ElementDesc();
1085        elemField.setFieldName("primaryKey");
1086        elemField.setXmlName(new javax.xml.namespace.QName("", "primaryKey"));
1087        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
1088        elemField.setNillable(false);
1089        typeDesc.addFieldDesc(elemField);
1090        elemField = new org.apache.axis.description.ElementDesc();
1091        elemField.setFieldName("screenName");
1092        elemField.setXmlName(new javax.xml.namespace.QName("", "screenName"));
1093        elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
1094        elemField.setNillable(true);
1095        typeDesc.addFieldDesc(elemField);
1096        elemField = new org.apache.axis.description.ElementDesc();
1097        elemField.setFieldName("timeZoneId");
1098        elemField.setXmlName(new javax.xml.namespace.QName("", "timeZoneId"));
1099        elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
1100        elemField.setNillable(true);
1101        typeDesc.addFieldDesc(elemField);
1102        elemField = new org.apache.axis.description.ElementDesc();
1103        elemField.setFieldName("userId");
1104        elemField.setXmlName(new javax.xml.namespace.QName("", "userId"));
1105        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
1106        elemField.setNillable(false);
1107        typeDesc.addFieldDesc(elemField);
1108        elemField = new org.apache.axis.description.ElementDesc();
1109        elemField.setFieldName("uuid");
1110        elemField.setXmlName(new javax.xml.namespace.QName("", "uuid"));
1111        elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
1112        elemField.setNillable(true);
1113        typeDesc.addFieldDesc(elemField);
1114    }
1115
1116    /**
1117     * Return type metadata object
1118     */
1119    public static org.apache.axis.description.TypeDesc getTypeDesc() {
1120        return typeDesc;
1121    }
1122
1123    /**
1124     * Get Custom Serializer
1125     */
1126    public static org.apache.axis.encoding.Serializer getSerializer(
1127           java.lang.String mechType, 
1128           java.lang.Class _javaType,  
1129           javax.xml.namespace.QName _xmlType) {
1130        return 
1131          new  org.apache.axis.encoding.ser.BeanSerializer(
1132            _javaType, _xmlType, typeDesc);
1133    }
1134
1135    /**
1136     * Get Custom Deserializer
1137     */
1138    public static org.apache.axis.encoding.Deserializer getDeserializer(
1139           java.lang.String mechType, 
1140           java.lang.Class _javaType,  
1141           javax.xml.namespace.QName _xmlType) {
1142        return 
1143          new  org.apache.axis.encoding.ser.BeanDeserializer(
1144            _javaType, _xmlType, typeDesc);
1145    }
1146
1147}
1148