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