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