1   /**
2    * Copyright (c) 2000-2007 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portal.model.impl;
24  
25  import com.liferay.portal.kernel.util.GetterUtil;
26  import com.liferay.portal.model.impl.BaseModelImpl;
27  import com.liferay.portal.util.PropsUtil;
28  
29  import com.liferay.util.XSSUtil;
30  
31  import java.io.Serializable;
32  
33  import java.sql.Types;
34  
35  import java.util.Date;
36  
37  /**
38   * <a href="ContactModelImpl.java.html"><b><i>View Source</i></b></a>
39   *
40   * <p>
41   * ServiceBuilder generated this class. Modifications in this class will be overwritten
42   * the next time is generated.
43   * </p>
44   *
45   * <p>
46   * This class is a model that represents the <code>Contact_</code> table in the
47   * database.
48   * </p>
49   *
50   * @author Brian Wing Shun Chan
51   *
52   * @see com.liferay.portal.service.model.Contact
53   * @see com.liferay.portal.service.model.ContactModel
54   * @see com.liferay.portal.service.model.impl.ContactImpl
55   *
56   */
57  public class ContactModelImpl extends BaseModelImpl {
58      public static String TABLE_NAME = "Contact_";
59      public static Object[][] TABLE_COLUMNS = {
60              { "contactId", new Integer(Types.BIGINT) },
61              { "companyId", new Integer(Types.BIGINT) },
62              { "userId", new Integer(Types.BIGINT) },
63              { "userName", new Integer(Types.VARCHAR) },
64              { "createDate", new Integer(Types.TIMESTAMP) },
65              { "modifiedDate", new Integer(Types.TIMESTAMP) },
66              { "accountId", new Integer(Types.BIGINT) },
67              { "parentContactId", new Integer(Types.BIGINT) },
68              { "firstName", new Integer(Types.VARCHAR) },
69              { "middleName", new Integer(Types.VARCHAR) },
70              { "lastName", new Integer(Types.VARCHAR) },
71              { "prefixId", new Integer(Types.INTEGER) },
72              { "suffixId", new Integer(Types.INTEGER) },
73              { "male", new Integer(Types.BOOLEAN) },
74              { "birthday", new Integer(Types.TIMESTAMP) },
75              { "smsSn", new Integer(Types.VARCHAR) },
76              { "aimSn", new Integer(Types.VARCHAR) },
77              { "icqSn", new Integer(Types.VARCHAR) },
78              { "jabberSn", new Integer(Types.VARCHAR) },
79              { "msnSn", new Integer(Types.VARCHAR) },
80              { "skypeSn", new Integer(Types.VARCHAR) },
81              { "ymSn", new Integer(Types.VARCHAR) },
82              { "employeeStatusId", new Integer(Types.VARCHAR) },
83              { "employeeNumber", new Integer(Types.VARCHAR) },
84              { "jobTitle", new Integer(Types.VARCHAR) },
85              { "jobClass", new Integer(Types.VARCHAR) },
86              { "hoursOfOperation", new Integer(Types.VARCHAR) }
87          };
88      public static String TABLE_SQL_CREATE = "create table Contact_ (contactId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,accountId LONG,parentContactId LONG,firstName VARCHAR(75) null,middleName VARCHAR(75) null,lastName VARCHAR(75) null,prefixId INTEGER,suffixId INTEGER,male BOOLEAN,birthday DATE null,smsSn VARCHAR(75) null,aimSn VARCHAR(75) null,icqSn VARCHAR(75) null,jabberSn VARCHAR(75) null,msnSn VARCHAR(75) null,skypeSn VARCHAR(75) null,ymSn VARCHAR(75) null,employeeStatusId VARCHAR(75) null,employeeNumber VARCHAR(75) null,jobTitle VARCHAR(100) null,jobClass VARCHAR(75) null,hoursOfOperation VARCHAR(75) null)";
89      public static String TABLE_SQL_DROP = "drop table Contact_";
90      public static boolean XSS_ALLOW_BY_MODEL = GetterUtil.getBoolean(PropsUtil.get(
91                  "xss.allow.com.liferay.portal.model.Contact"), XSS_ALLOW);
92      public static boolean XSS_ALLOW_USERNAME = GetterUtil.getBoolean(PropsUtil.get(
93                  "xss.allow.com.liferay.portal.model.Contact.userName"),
94              XSS_ALLOW_BY_MODEL);
95      public static boolean XSS_ALLOW_FIRSTNAME = GetterUtil.getBoolean(PropsUtil.get(
96                  "xss.allow.com.liferay.portal.model.Contact.firstName"),
97              XSS_ALLOW_BY_MODEL);
98      public static boolean XSS_ALLOW_MIDDLENAME = GetterUtil.getBoolean(PropsUtil.get(
99                  "xss.allow.com.liferay.portal.model.Contact.middleName"),
100             XSS_ALLOW_BY_MODEL);
101     public static boolean XSS_ALLOW_LASTNAME = GetterUtil.getBoolean(PropsUtil.get(
102                 "xss.allow.com.liferay.portal.model.Contact.lastName"),
103             XSS_ALLOW_BY_MODEL);
104     public static boolean XSS_ALLOW_SMSSN = GetterUtil.getBoolean(PropsUtil.get(
105                 "xss.allow.com.liferay.portal.model.Contact.smsSn"),
106             XSS_ALLOW_BY_MODEL);
107     public static boolean XSS_ALLOW_AIMSN = GetterUtil.getBoolean(PropsUtil.get(
108                 "xss.allow.com.liferay.portal.model.Contact.aimSn"),
109             XSS_ALLOW_BY_MODEL);
110     public static boolean XSS_ALLOW_ICQSN = GetterUtil.getBoolean(PropsUtil.get(
111                 "xss.allow.com.liferay.portal.model.Contact.icqSn"),
112             XSS_ALLOW_BY_MODEL);
113     public static boolean XSS_ALLOW_JABBERSN = GetterUtil.getBoolean(PropsUtil.get(
114                 "xss.allow.com.liferay.portal.model.Contact.jabberSn"),
115             XSS_ALLOW_BY_MODEL);
116     public static boolean XSS_ALLOW_MSNSN = GetterUtil.getBoolean(PropsUtil.get(
117                 "xss.allow.com.liferay.portal.model.Contact.msnSn"),
118             XSS_ALLOW_BY_MODEL);
119     public static boolean XSS_ALLOW_SKYPESN = GetterUtil.getBoolean(PropsUtil.get(
120                 "xss.allow.com.liferay.portal.model.Contact.skypeSn"),
121             XSS_ALLOW_BY_MODEL);
122     public static boolean XSS_ALLOW_YMSN = GetterUtil.getBoolean(PropsUtil.get(
123                 "xss.allow.com.liferay.portal.model.Contact.ymSn"),
124             XSS_ALLOW_BY_MODEL);
125     public static boolean XSS_ALLOW_EMPLOYEESTATUSID = GetterUtil.getBoolean(PropsUtil.get(
126                 "xss.allow.com.liferay.portal.model.Contact.employeeStatusId"),
127             XSS_ALLOW_BY_MODEL);
128     public static boolean XSS_ALLOW_EMPLOYEENUMBER = GetterUtil.getBoolean(PropsUtil.get(
129                 "xss.allow.com.liferay.portal.model.Contact.employeeNumber"),
130             XSS_ALLOW_BY_MODEL);
131     public static boolean XSS_ALLOW_JOBTITLE = GetterUtil.getBoolean(PropsUtil.get(
132                 "xss.allow.com.liferay.portal.model.Contact.jobTitle"),
133             XSS_ALLOW_BY_MODEL);
134     public static boolean XSS_ALLOW_JOBCLASS = GetterUtil.getBoolean(PropsUtil.get(
135                 "xss.allow.com.liferay.portal.model.Contact.jobClass"),
136             XSS_ALLOW_BY_MODEL);
137     public static boolean XSS_ALLOW_HOURSOFOPERATION = GetterUtil.getBoolean(PropsUtil.get(
138                 "xss.allow.com.liferay.portal.model.Contact.hoursOfOperation"),
139             XSS_ALLOW_BY_MODEL);
140     public static long LOCK_EXPIRATION_TIME = GetterUtil.getLong(PropsUtil.get(
141                 "lock.expiration.time.com.liferay.portal.model.ContactModel"));
142 
143     public ContactModelImpl() {
144     }
145 
146     public long getPrimaryKey() {
147         return _contactId;
148     }
149 
150     public void setPrimaryKey(long pk) {
151         setContactId(pk);
152     }
153 
154     public Serializable getPrimaryKeyObj() {
155         return new Long(_contactId);
156     }
157 
158     public long getContactId() {
159         return _contactId;
160     }
161 
162     public void setContactId(long contactId) {
163         if (contactId != _contactId) {
164             _contactId = contactId;
165         }
166     }
167 
168     public long getCompanyId() {
169         return _companyId;
170     }
171 
172     public void setCompanyId(long companyId) {
173         if (companyId != _companyId) {
174             _companyId = companyId;
175         }
176     }
177 
178     public long getUserId() {
179         return _userId;
180     }
181 
182     public void setUserId(long userId) {
183         if (userId != _userId) {
184             _userId = userId;
185         }
186     }
187 
188     public String getUserName() {
189         return GetterUtil.getString(_userName);
190     }
191 
192     public void setUserName(String userName) {
193         if (((userName == null) && (_userName != null)) ||
194                 ((userName != null) && (_userName == null)) ||
195                 ((userName != null) && (_userName != null) &&
196                 !userName.equals(_userName))) {
197             if (!XSS_ALLOW_USERNAME) {
198                 userName = XSSUtil.strip(userName);
199             }
200 
201             _userName = userName;
202         }
203     }
204 
205     public Date getCreateDate() {
206         return _createDate;
207     }
208 
209     public void setCreateDate(Date createDate) {
210         if (((createDate == null) && (_createDate != null)) ||
211                 ((createDate != null) && (_createDate == null)) ||
212                 ((createDate != null) && (_createDate != null) &&
213                 !createDate.equals(_createDate))) {
214             _createDate = createDate;
215         }
216     }
217 
218     public Date getModifiedDate() {
219         return _modifiedDate;
220     }
221 
222     public void setModifiedDate(Date modifiedDate) {
223         if (((modifiedDate == null) && (_modifiedDate != null)) ||
224                 ((modifiedDate != null) && (_modifiedDate == null)) ||
225                 ((modifiedDate != null) && (_modifiedDate != null) &&
226                 !modifiedDate.equals(_modifiedDate))) {
227             _modifiedDate = modifiedDate;
228         }
229     }
230 
231     public long getAccountId() {
232         return _accountId;
233     }
234 
235     public void setAccountId(long accountId) {
236         if (accountId != _accountId) {
237             _accountId = accountId;
238         }
239     }
240 
241     public long getParentContactId() {
242         return _parentContactId;
243     }
244 
245     public void setParentContactId(long parentContactId) {
246         if (parentContactId != _parentContactId) {
247             _parentContactId = parentContactId;
248         }
249     }
250 
251     public String getFirstName() {
252         return GetterUtil.getString(_firstName);
253     }
254 
255     public void setFirstName(String firstName) {
256         if (((firstName == null) && (_firstName != null)) ||
257                 ((firstName != null) && (_firstName == null)) ||
258                 ((firstName != null) && (_firstName != null) &&
259                 !firstName.equals(_firstName))) {
260             if (!XSS_ALLOW_FIRSTNAME) {
261                 firstName = XSSUtil.strip(firstName);
262             }
263 
264             _firstName = firstName;
265         }
266     }
267 
268     public String getMiddleName() {
269         return GetterUtil.getString(_middleName);
270     }
271 
272     public void setMiddleName(String middleName) {
273         if (((middleName == null) && (_middleName != null)) ||
274                 ((middleName != null) && (_middleName == null)) ||
275                 ((middleName != null) && (_middleName != null) &&
276                 !middleName.equals(_middleName))) {
277             if (!XSS_ALLOW_MIDDLENAME) {
278                 middleName = XSSUtil.strip(middleName);
279             }
280 
281             _middleName = middleName;
282         }
283     }
284 
285     public String getLastName() {
286         return GetterUtil.getString(_lastName);
287     }
288 
289     public void setLastName(String lastName) {
290         if (((lastName == null) && (_lastName != null)) ||
291                 ((lastName != null) && (_lastName == null)) ||
292                 ((lastName != null) && (_lastName != null) &&
293                 !lastName.equals(_lastName))) {
294             if (!XSS_ALLOW_LASTNAME) {
295                 lastName = XSSUtil.strip(lastName);
296             }
297 
298             _lastName = lastName;
299         }
300     }
301 
302     public int getPrefixId() {
303         return _prefixId;
304     }
305 
306     public void setPrefixId(int prefixId) {
307         if (prefixId != _prefixId) {
308             _prefixId = prefixId;
309         }
310     }
311 
312     public int getSuffixId() {
313         return _suffixId;
314     }
315 
316     public void setSuffixId(int suffixId) {
317         if (suffixId != _suffixId) {
318             _suffixId = suffixId;
319         }
320     }
321 
322     public boolean getMale() {
323         return _male;
324     }
325 
326     public boolean isMale() {
327         return _male;
328     }
329 
330     public void setMale(boolean male) {
331         if (male != _male) {
332             _male = male;
333         }
334     }
335 
336     public Date getBirthday() {
337         return _birthday;
338     }
339 
340     public void setBirthday(Date birthday) {
341         if (((birthday == null) && (_birthday != null)) ||
342                 ((birthday != null) && (_birthday == null)) ||
343                 ((birthday != null) && (_birthday != null) &&
344                 !birthday.equals(_birthday))) {
345             _birthday = birthday;
346         }
347     }
348 
349     public String getSmsSn() {
350         return GetterUtil.getString(_smsSn);
351     }
352 
353     public void setSmsSn(String smsSn) {
354         if (((smsSn == null) && (_smsSn != null)) ||
355                 ((smsSn != null) && (_smsSn == null)) ||
356                 ((smsSn != null) && (_smsSn != null) && !smsSn.equals(_smsSn))) {
357             if (!XSS_ALLOW_SMSSN) {
358                 smsSn = XSSUtil.strip(smsSn);
359             }
360 
361             _smsSn = smsSn;
362         }
363     }
364 
365     public String getAimSn() {
366         return GetterUtil.getString(_aimSn);
367     }
368 
369     public void setAimSn(String aimSn) {
370         if (((aimSn == null) && (_aimSn != null)) ||
371                 ((aimSn != null) && (_aimSn == null)) ||
372                 ((aimSn != null) && (_aimSn != null) && !aimSn.equals(_aimSn))) {
373             if (!XSS_ALLOW_AIMSN) {
374                 aimSn = XSSUtil.strip(aimSn);
375             }
376 
377             _aimSn = aimSn;
378         }
379     }
380 
381     public String getIcqSn() {
382         return GetterUtil.getString(_icqSn);
383     }
384 
385     public void setIcqSn(String icqSn) {
386         if (((icqSn == null) && (_icqSn != null)) ||
387                 ((icqSn != null) && (_icqSn == null)) ||
388                 ((icqSn != null) && (_icqSn != null) && !icqSn.equals(_icqSn))) {
389             if (!XSS_ALLOW_ICQSN) {
390                 icqSn = XSSUtil.strip(icqSn);
391             }
392 
393             _icqSn = icqSn;
394         }
395     }
396 
397     public String getJabberSn() {
398         return GetterUtil.getString(_jabberSn);
399     }
400 
401     public void setJabberSn(String jabberSn) {
402         if (((jabberSn == null) && (_jabberSn != null)) ||
403                 ((jabberSn != null) && (_jabberSn == null)) ||
404                 ((jabberSn != null) && (_jabberSn != null) &&
405                 !jabberSn.equals(_jabberSn))) {
406             if (!XSS_ALLOW_JABBERSN) {
407                 jabberSn = XSSUtil.strip(jabberSn);
408             }
409 
410             _jabberSn = jabberSn;
411         }
412     }
413 
414     public String getMsnSn() {
415         return GetterUtil.getString(_msnSn);
416     }
417 
418     public void setMsnSn(String msnSn) {
419         if (((msnSn == null) && (_msnSn != null)) ||
420                 ((msnSn != null) && (_msnSn == null)) ||
421                 ((msnSn != null) && (_msnSn != null) && !msnSn.equals(_msnSn))) {
422             if (!XSS_ALLOW_MSNSN) {
423                 msnSn = XSSUtil.strip(msnSn);
424             }
425 
426             _msnSn = msnSn;
427         }
428     }
429 
430     public String getSkypeSn() {
431         return GetterUtil.getString(_skypeSn);
432     }
433 
434     public void setSkypeSn(String skypeSn) {
435         if (((skypeSn == null) && (_skypeSn != null)) ||
436                 ((skypeSn != null) && (_skypeSn == null)) ||
437                 ((skypeSn != null) && (_skypeSn != null) &&
438                 !skypeSn.equals(_skypeSn))) {
439             if (!XSS_ALLOW_SKYPESN) {
440                 skypeSn = XSSUtil.strip(skypeSn);
441             }
442 
443             _skypeSn = skypeSn;
444         }
445     }
446 
447     public String getYmSn() {
448         return GetterUtil.getString(_ymSn);
449     }
450 
451     public void setYmSn(String ymSn) {
452         if (((ymSn == null) && (_ymSn != null)) ||
453                 ((ymSn != null) && (_ymSn == null)) ||
454                 ((ymSn != null) && (_ymSn != null) && !ymSn.equals(_ymSn))) {
455             if (!XSS_ALLOW_YMSN) {
456                 ymSn = XSSUtil.strip(ymSn);
457             }
458 
459             _ymSn = ymSn;
460         }
461     }
462 
463     public String getEmployeeStatusId() {
464         return GetterUtil.getString(_employeeStatusId);
465     }
466 
467     public void setEmployeeStatusId(String employeeStatusId) {
468         if (((employeeStatusId == null) && (_employeeStatusId != null)) ||
469                 ((employeeStatusId != null) && (_employeeStatusId == null)) ||
470                 ((employeeStatusId != null) && (_employeeStatusId != null) &&
471                 !employeeStatusId.equals(_employeeStatusId))) {
472             if (!XSS_ALLOW_EMPLOYEESTATUSID) {
473                 employeeStatusId = XSSUtil.strip(employeeStatusId);
474             }
475 
476             _employeeStatusId = employeeStatusId;
477         }
478     }
479 
480     public String getEmployeeNumber() {
481         return GetterUtil.getString(_employeeNumber);
482     }
483 
484     public void setEmployeeNumber(String employeeNumber) {
485         if (((employeeNumber == null) && (_employeeNumber != null)) ||
486                 ((employeeNumber != null) && (_employeeNumber == null)) ||
487                 ((employeeNumber != null) && (_employeeNumber != null) &&
488                 !employeeNumber.equals(_employeeNumber))) {
489             if (!XSS_ALLOW_EMPLOYEENUMBER) {
490                 employeeNumber = XSSUtil.strip(employeeNumber);
491             }
492 
493             _employeeNumber = employeeNumber;
494         }
495     }
496 
497     public String getJobTitle() {
498         return GetterUtil.getString(_jobTitle);
499     }
500 
501     public void setJobTitle(String jobTitle) {
502         if (((jobTitle == null) && (_jobTitle != null)) ||
503                 ((jobTitle != null) && (_jobTitle == null)) ||
504                 ((jobTitle != null) && (_jobTitle != null) &&
505                 !jobTitle.equals(_jobTitle))) {
506             if (!XSS_ALLOW_JOBTITLE) {
507                 jobTitle = XSSUtil.strip(jobTitle);
508             }
509 
510             _jobTitle = jobTitle;
511         }
512     }
513 
514     public String getJobClass() {
515         return GetterUtil.getString(_jobClass);
516     }
517 
518     public void setJobClass(String jobClass) {
519         if (((jobClass == null) && (_jobClass != null)) ||
520                 ((jobClass != null) && (_jobClass == null)) ||
521                 ((jobClass != null) && (_jobClass != null) &&
522                 !jobClass.equals(_jobClass))) {
523             if (!XSS_ALLOW_JOBCLASS) {
524                 jobClass = XSSUtil.strip(jobClass);
525             }
526 
527             _jobClass = jobClass;
528         }
529     }
530 
531     public String getHoursOfOperation() {
532         return GetterUtil.getString(_hoursOfOperation);
533     }
534 
535     public void setHoursOfOperation(String hoursOfOperation) {
536         if (((hoursOfOperation == null) && (_hoursOfOperation != null)) ||
537                 ((hoursOfOperation != null) && (_hoursOfOperation == null)) ||
538                 ((hoursOfOperation != null) && (_hoursOfOperation != null) &&
539                 !hoursOfOperation.equals(_hoursOfOperation))) {
540             if (!XSS_ALLOW_HOURSOFOPERATION) {
541                 hoursOfOperation = XSSUtil.strip(hoursOfOperation);
542             }
543 
544             _hoursOfOperation = hoursOfOperation;
545         }
546     }
547 
548     public Object clone() {
549         ContactImpl clone = new ContactImpl();
550         clone.setContactId(getContactId());
551         clone.setCompanyId(getCompanyId());
552         clone.setUserId(getUserId());
553         clone.setUserName(getUserName());
554         clone.setCreateDate(getCreateDate());
555         clone.setModifiedDate(getModifiedDate());
556         clone.setAccountId(getAccountId());
557         clone.setParentContactId(getParentContactId());
558         clone.setFirstName(getFirstName());
559         clone.setMiddleName(getMiddleName());
560         clone.setLastName(getLastName());
561         clone.setPrefixId(getPrefixId());
562         clone.setSuffixId(getSuffixId());
563         clone.setMale(getMale());
564         clone.setBirthday(getBirthday());
565         clone.setSmsSn(getSmsSn());
566         clone.setAimSn(getAimSn());
567         clone.setIcqSn(getIcqSn());
568         clone.setJabberSn(getJabberSn());
569         clone.setMsnSn(getMsnSn());
570         clone.setSkypeSn(getSkypeSn());
571         clone.setYmSn(getYmSn());
572         clone.setEmployeeStatusId(getEmployeeStatusId());
573         clone.setEmployeeNumber(getEmployeeNumber());
574         clone.setJobTitle(getJobTitle());
575         clone.setJobClass(getJobClass());
576         clone.setHoursOfOperation(getHoursOfOperation());
577 
578         return clone;
579     }
580 
581     public int compareTo(Object obj) {
582         if (obj == null) {
583             return -1;
584         }
585 
586         ContactImpl contact = (ContactImpl)obj;
587         long pk = contact.getPrimaryKey();
588 
589         if (getPrimaryKey() < pk) {
590             return -1;
591         }
592         else if (getPrimaryKey() > pk) {
593             return 1;
594         }
595         else {
596             return 0;
597         }
598     }
599 
600     public boolean equals(Object obj) {
601         if (obj == null) {
602             return false;
603         }
604 
605         ContactImpl contact = null;
606 
607         try {
608             contact = (ContactImpl)obj;
609         }
610         catch (ClassCastException cce) {
611             return false;
612         }
613 
614         long pk = contact.getPrimaryKey();
615 
616         if (getPrimaryKey() == pk) {
617             return true;
618         }
619         else {
620             return false;
621         }
622     }
623 
624     public int hashCode() {
625         return (int)getPrimaryKey();
626     }
627 
628     private long _contactId;
629     private long _companyId;
630     private long _userId;
631     private String _userName;
632     private Date _createDate;
633     private Date _modifiedDate;
634     private long _accountId;
635     private long _parentContactId;
636     private String _firstName;
637     private String _middleName;
638     private String _lastName;
639     private int _prefixId;
640     private int _suffixId;
641     private boolean _male;
642     private Date _birthday;
643     private String _smsSn;
644     private String _aimSn;
645     private String _icqSn;
646     private String _jabberSn;
647     private String _msnSn;
648     private String _skypeSn;
649     private String _ymSn;
650     private String _employeeStatusId;
651     private String _employeeNumber;
652     private String _jobTitle;
653     private String _jobClass;
654     private String _hoursOfOperation;
655 }