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