001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portal.model;
016    
017    import com.liferay.portal.kernel.util.Validator;
018    
019    import java.util.Date;
020    import java.util.HashMap;
021    import java.util.Map;
022    
023    /**
024     * <p>
025     * This class is a wrapper for {@link Contact}.
026     * </p>
027     *
028     * @author Brian Wing Shun Chan
029     * @see Contact
030     * @generated
031     */
032    public class ContactWrapper implements Contact, ModelWrapper<Contact> {
033            public ContactWrapper(Contact contact) {
034                    _contact = contact;
035            }
036    
037            @Override
038            public Class<?> getModelClass() {
039                    return Contact.class;
040            }
041    
042            @Override
043            public String getModelClassName() {
044                    return Contact.class.getName();
045            }
046    
047            @Override
048            public Map<String, Object> getModelAttributes() {
049                    Map<String, Object> attributes = new HashMap<String, Object>();
050    
051                    attributes.put("contactId", getContactId());
052                    attributes.put("companyId", getCompanyId());
053                    attributes.put("userId", getUserId());
054                    attributes.put("userName", getUserName());
055                    attributes.put("createDate", getCreateDate());
056                    attributes.put("modifiedDate", getModifiedDate());
057                    attributes.put("classNameId", getClassNameId());
058                    attributes.put("classPK", getClassPK());
059                    attributes.put("accountId", getAccountId());
060                    attributes.put("parentContactId", getParentContactId());
061                    attributes.put("emailAddress", getEmailAddress());
062                    attributes.put("firstName", getFirstName());
063                    attributes.put("middleName", getMiddleName());
064                    attributes.put("lastName", getLastName());
065                    attributes.put("prefixId", getPrefixId());
066                    attributes.put("suffixId", getSuffixId());
067                    attributes.put("male", getMale());
068                    attributes.put("birthday", getBirthday());
069                    attributes.put("smsSn", getSmsSn());
070                    attributes.put("aimSn", getAimSn());
071                    attributes.put("facebookSn", getFacebookSn());
072                    attributes.put("icqSn", getIcqSn());
073                    attributes.put("jabberSn", getJabberSn());
074                    attributes.put("msnSn", getMsnSn());
075                    attributes.put("mySpaceSn", getMySpaceSn());
076                    attributes.put("skypeSn", getSkypeSn());
077                    attributes.put("twitterSn", getTwitterSn());
078                    attributes.put("ymSn", getYmSn());
079                    attributes.put("employeeStatusId", getEmployeeStatusId());
080                    attributes.put("employeeNumber", getEmployeeNumber());
081                    attributes.put("jobTitle", getJobTitle());
082                    attributes.put("jobClass", getJobClass());
083                    attributes.put("hoursOfOperation", getHoursOfOperation());
084    
085                    return attributes;
086            }
087    
088            @Override
089            public void setModelAttributes(Map<String, Object> attributes) {
090                    Long contactId = (Long)attributes.get("contactId");
091    
092                    if (contactId != null) {
093                            setContactId(contactId);
094                    }
095    
096                    Long companyId = (Long)attributes.get("companyId");
097    
098                    if (companyId != null) {
099                            setCompanyId(companyId);
100                    }
101    
102                    Long userId = (Long)attributes.get("userId");
103    
104                    if (userId != null) {
105                            setUserId(userId);
106                    }
107    
108                    String userName = (String)attributes.get("userName");
109    
110                    if (userName != null) {
111                            setUserName(userName);
112                    }
113    
114                    Date createDate = (Date)attributes.get("createDate");
115    
116                    if (createDate != null) {
117                            setCreateDate(createDate);
118                    }
119    
120                    Date modifiedDate = (Date)attributes.get("modifiedDate");
121    
122                    if (modifiedDate != null) {
123                            setModifiedDate(modifiedDate);
124                    }
125    
126                    Long classNameId = (Long)attributes.get("classNameId");
127    
128                    if (classNameId != null) {
129                            setClassNameId(classNameId);
130                    }
131    
132                    Long classPK = (Long)attributes.get("classPK");
133    
134                    if (classPK != null) {
135                            setClassPK(classPK);
136                    }
137    
138                    Long accountId = (Long)attributes.get("accountId");
139    
140                    if (accountId != null) {
141                            setAccountId(accountId);
142                    }
143    
144                    Long parentContactId = (Long)attributes.get("parentContactId");
145    
146                    if (parentContactId != null) {
147                            setParentContactId(parentContactId);
148                    }
149    
150                    String emailAddress = (String)attributes.get("emailAddress");
151    
152                    if (emailAddress != null) {
153                            setEmailAddress(emailAddress);
154                    }
155    
156                    String firstName = (String)attributes.get("firstName");
157    
158                    if (firstName != null) {
159                            setFirstName(firstName);
160                    }
161    
162                    String middleName = (String)attributes.get("middleName");
163    
164                    if (middleName != null) {
165                            setMiddleName(middleName);
166                    }
167    
168                    String lastName = (String)attributes.get("lastName");
169    
170                    if (lastName != null) {
171                            setLastName(lastName);
172                    }
173    
174                    Integer prefixId = (Integer)attributes.get("prefixId");
175    
176                    if (prefixId != null) {
177                            setPrefixId(prefixId);
178                    }
179    
180                    Integer suffixId = (Integer)attributes.get("suffixId");
181    
182                    if (suffixId != null) {
183                            setSuffixId(suffixId);
184                    }
185    
186                    Boolean male = (Boolean)attributes.get("male");
187    
188                    if (male != null) {
189                            setMale(male);
190                    }
191    
192                    Date birthday = (Date)attributes.get("birthday");
193    
194                    if (birthday != null) {
195                            setBirthday(birthday);
196                    }
197    
198                    String smsSn = (String)attributes.get("smsSn");
199    
200                    if (smsSn != null) {
201                            setSmsSn(smsSn);
202                    }
203    
204                    String aimSn = (String)attributes.get("aimSn");
205    
206                    if (aimSn != null) {
207                            setAimSn(aimSn);
208                    }
209    
210                    String facebookSn = (String)attributes.get("facebookSn");
211    
212                    if (facebookSn != null) {
213                            setFacebookSn(facebookSn);
214                    }
215    
216                    String icqSn = (String)attributes.get("icqSn");
217    
218                    if (icqSn != null) {
219                            setIcqSn(icqSn);
220                    }
221    
222                    String jabberSn = (String)attributes.get("jabberSn");
223    
224                    if (jabberSn != null) {
225                            setJabberSn(jabberSn);
226                    }
227    
228                    String msnSn = (String)attributes.get("msnSn");
229    
230                    if (msnSn != null) {
231                            setMsnSn(msnSn);
232                    }
233    
234                    String mySpaceSn = (String)attributes.get("mySpaceSn");
235    
236                    if (mySpaceSn != null) {
237                            setMySpaceSn(mySpaceSn);
238                    }
239    
240                    String skypeSn = (String)attributes.get("skypeSn");
241    
242                    if (skypeSn != null) {
243                            setSkypeSn(skypeSn);
244                    }
245    
246                    String twitterSn = (String)attributes.get("twitterSn");
247    
248                    if (twitterSn != null) {
249                            setTwitterSn(twitterSn);
250                    }
251    
252                    String ymSn = (String)attributes.get("ymSn");
253    
254                    if (ymSn != null) {
255                            setYmSn(ymSn);
256                    }
257    
258                    String employeeStatusId = (String)attributes.get("employeeStatusId");
259    
260                    if (employeeStatusId != null) {
261                            setEmployeeStatusId(employeeStatusId);
262                    }
263    
264                    String employeeNumber = (String)attributes.get("employeeNumber");
265    
266                    if (employeeNumber != null) {
267                            setEmployeeNumber(employeeNumber);
268                    }
269    
270                    String jobTitle = (String)attributes.get("jobTitle");
271    
272                    if (jobTitle != null) {
273                            setJobTitle(jobTitle);
274                    }
275    
276                    String jobClass = (String)attributes.get("jobClass");
277    
278                    if (jobClass != null) {
279                            setJobClass(jobClass);
280                    }
281    
282                    String hoursOfOperation = (String)attributes.get("hoursOfOperation");
283    
284                    if (hoursOfOperation != null) {
285                            setHoursOfOperation(hoursOfOperation);
286                    }
287            }
288    
289            /**
290            * Returns the primary key of this contact.
291            *
292            * @return the primary key of this contact
293            */
294            @Override
295            public long getPrimaryKey() {
296                    return _contact.getPrimaryKey();
297            }
298    
299            /**
300            * Sets the primary key of this contact.
301            *
302            * @param primaryKey the primary key of this contact
303            */
304            @Override
305            public void setPrimaryKey(long primaryKey) {
306                    _contact.setPrimaryKey(primaryKey);
307            }
308    
309            /**
310            * Returns the contact ID of this contact.
311            *
312            * @return the contact ID of this contact
313            */
314            @Override
315            public long getContactId() {
316                    return _contact.getContactId();
317            }
318    
319            /**
320            * Sets the contact ID of this contact.
321            *
322            * @param contactId the contact ID of this contact
323            */
324            @Override
325            public void setContactId(long contactId) {
326                    _contact.setContactId(contactId);
327            }
328    
329            /**
330            * Returns the company ID of this contact.
331            *
332            * @return the company ID of this contact
333            */
334            @Override
335            public long getCompanyId() {
336                    return _contact.getCompanyId();
337            }
338    
339            /**
340            * Sets the company ID of this contact.
341            *
342            * @param companyId the company ID of this contact
343            */
344            @Override
345            public void setCompanyId(long companyId) {
346                    _contact.setCompanyId(companyId);
347            }
348    
349            /**
350            * Returns the user ID of this contact.
351            *
352            * @return the user ID of this contact
353            */
354            @Override
355            public long getUserId() {
356                    return _contact.getUserId();
357            }
358    
359            /**
360            * Sets the user ID of this contact.
361            *
362            * @param userId the user ID of this contact
363            */
364            @Override
365            public void setUserId(long userId) {
366                    _contact.setUserId(userId);
367            }
368    
369            /**
370            * Returns the user uuid of this contact.
371            *
372            * @return the user uuid of this contact
373            * @throws SystemException if a system exception occurred
374            */
375            @Override
376            public java.lang.String getUserUuid()
377                    throws com.liferay.portal.kernel.exception.SystemException {
378                    return _contact.getUserUuid();
379            }
380    
381            /**
382            * Sets the user uuid of this contact.
383            *
384            * @param userUuid the user uuid of this contact
385            */
386            @Override
387            public void setUserUuid(java.lang.String userUuid) {
388                    _contact.setUserUuid(userUuid);
389            }
390    
391            /**
392            * Returns the user name of this contact.
393            *
394            * @return the user name of this contact
395            */
396            @Override
397            public java.lang.String getUserName() {
398                    return _contact.getUserName();
399            }
400    
401            /**
402            * Sets the user name of this contact.
403            *
404            * @param userName the user name of this contact
405            */
406            @Override
407            public void setUserName(java.lang.String userName) {
408                    _contact.setUserName(userName);
409            }
410    
411            /**
412            * Returns the create date of this contact.
413            *
414            * @return the create date of this contact
415            */
416            @Override
417            public java.util.Date getCreateDate() {
418                    return _contact.getCreateDate();
419            }
420    
421            /**
422            * Sets the create date of this contact.
423            *
424            * @param createDate the create date of this contact
425            */
426            @Override
427            public void setCreateDate(java.util.Date createDate) {
428                    _contact.setCreateDate(createDate);
429            }
430    
431            /**
432            * Returns the modified date of this contact.
433            *
434            * @return the modified date of this contact
435            */
436            @Override
437            public java.util.Date getModifiedDate() {
438                    return _contact.getModifiedDate();
439            }
440    
441            /**
442            * Sets the modified date of this contact.
443            *
444            * @param modifiedDate the modified date of this contact
445            */
446            @Override
447            public void setModifiedDate(java.util.Date modifiedDate) {
448                    _contact.setModifiedDate(modifiedDate);
449            }
450    
451            /**
452            * Returns the fully qualified class name of this contact.
453            *
454            * @return the fully qualified class name of this contact
455            */
456            @Override
457            public java.lang.String getClassName() {
458                    return _contact.getClassName();
459            }
460    
461            @Override
462            public void setClassName(java.lang.String className) {
463                    _contact.setClassName(className);
464            }
465    
466            /**
467            * Returns the class name ID of this contact.
468            *
469            * @return the class name ID of this contact
470            */
471            @Override
472            public long getClassNameId() {
473                    return _contact.getClassNameId();
474            }
475    
476            /**
477            * Sets the class name ID of this contact.
478            *
479            * @param classNameId the class name ID of this contact
480            */
481            @Override
482            public void setClassNameId(long classNameId) {
483                    _contact.setClassNameId(classNameId);
484            }
485    
486            /**
487            * Returns the class p k of this contact.
488            *
489            * @return the class p k of this contact
490            */
491            @Override
492            public long getClassPK() {
493                    return _contact.getClassPK();
494            }
495    
496            /**
497            * Sets the class p k of this contact.
498            *
499            * @param classPK the class p k of this contact
500            */
501            @Override
502            public void setClassPK(long classPK) {
503                    _contact.setClassPK(classPK);
504            }
505    
506            /**
507            * Returns the account ID of this contact.
508            *
509            * @return the account ID of this contact
510            */
511            @Override
512            public long getAccountId() {
513                    return _contact.getAccountId();
514            }
515    
516            /**
517            * Sets the account ID of this contact.
518            *
519            * @param accountId the account ID of this contact
520            */
521            @Override
522            public void setAccountId(long accountId) {
523                    _contact.setAccountId(accountId);
524            }
525    
526            /**
527            * Returns the parent contact ID of this contact.
528            *
529            * @return the parent contact ID of this contact
530            */
531            @Override
532            public long getParentContactId() {
533                    return _contact.getParentContactId();
534            }
535    
536            /**
537            * Sets the parent contact ID of this contact.
538            *
539            * @param parentContactId the parent contact ID of this contact
540            */
541            @Override
542            public void setParentContactId(long parentContactId) {
543                    _contact.setParentContactId(parentContactId);
544            }
545    
546            /**
547            * Returns the email address of this contact.
548            *
549            * @return the email address of this contact
550            */
551            @Override
552            public java.lang.String getEmailAddress() {
553                    return _contact.getEmailAddress();
554            }
555    
556            /**
557            * Sets the email address of this contact.
558            *
559            * @param emailAddress the email address of this contact
560            */
561            @Override
562            public void setEmailAddress(java.lang.String emailAddress) {
563                    _contact.setEmailAddress(emailAddress);
564            }
565    
566            /**
567            * Returns the first name of this contact.
568            *
569            * @return the first name of this contact
570            */
571            @Override
572            public java.lang.String getFirstName() {
573                    return _contact.getFirstName();
574            }
575    
576            /**
577            * Sets the first name of this contact.
578            *
579            * @param firstName the first name of this contact
580            */
581            @Override
582            public void setFirstName(java.lang.String firstName) {
583                    _contact.setFirstName(firstName);
584            }
585    
586            /**
587            * Returns the middle name of this contact.
588            *
589            * @return the middle name of this contact
590            */
591            @Override
592            public java.lang.String getMiddleName() {
593                    return _contact.getMiddleName();
594            }
595    
596            /**
597            * Sets the middle name of this contact.
598            *
599            * @param middleName the middle name of this contact
600            */
601            @Override
602            public void setMiddleName(java.lang.String middleName) {
603                    _contact.setMiddleName(middleName);
604            }
605    
606            /**
607            * Returns the last name of this contact.
608            *
609            * @return the last name of this contact
610            */
611            @Override
612            public java.lang.String getLastName() {
613                    return _contact.getLastName();
614            }
615    
616            /**
617            * Sets the last name of this contact.
618            *
619            * @param lastName the last name of this contact
620            */
621            @Override
622            public void setLastName(java.lang.String lastName) {
623                    _contact.setLastName(lastName);
624            }
625    
626            /**
627            * Returns the prefix ID of this contact.
628            *
629            * @return the prefix ID of this contact
630            */
631            @Override
632            public int getPrefixId() {
633                    return _contact.getPrefixId();
634            }
635    
636            /**
637            * Sets the prefix ID of this contact.
638            *
639            * @param prefixId the prefix ID of this contact
640            */
641            @Override
642            public void setPrefixId(int prefixId) {
643                    _contact.setPrefixId(prefixId);
644            }
645    
646            /**
647            * Returns the suffix ID of this contact.
648            *
649            * @return the suffix ID of this contact
650            */
651            @Override
652            public int getSuffixId() {
653                    return _contact.getSuffixId();
654            }
655    
656            /**
657            * Sets the suffix ID of this contact.
658            *
659            * @param suffixId the suffix ID of this contact
660            */
661            @Override
662            public void setSuffixId(int suffixId) {
663                    _contact.setSuffixId(suffixId);
664            }
665    
666            /**
667            * Returns the male of this contact.
668            *
669            * @return the male of this contact
670            */
671            @Override
672            public boolean getMale() {
673                    return _contact.getMale();
674            }
675    
676            /**
677            * Returns <code>true</code> if this contact is male.
678            *
679            * @return <code>true</code> if this contact is male; <code>false</code> otherwise
680            */
681            @Override
682            public boolean isMale() {
683                    return _contact.isMale();
684            }
685    
686            /**
687            * Sets whether this contact is male.
688            *
689            * @param male the male of this contact
690            */
691            @Override
692            public void setMale(boolean male) {
693                    _contact.setMale(male);
694            }
695    
696            /**
697            * Returns the birthday of this contact.
698            *
699            * @return the birthday of this contact
700            */
701            @Override
702            public java.util.Date getBirthday() {
703                    return _contact.getBirthday();
704            }
705    
706            /**
707            * Sets the birthday of this contact.
708            *
709            * @param birthday the birthday of this contact
710            */
711            @Override
712            public void setBirthday(java.util.Date birthday) {
713                    _contact.setBirthday(birthday);
714            }
715    
716            /**
717            * Returns the sms sn of this contact.
718            *
719            * @return the sms sn of this contact
720            */
721            @Override
722            public java.lang.String getSmsSn() {
723                    return _contact.getSmsSn();
724            }
725    
726            /**
727            * Sets the sms sn of this contact.
728            *
729            * @param smsSn the sms sn of this contact
730            */
731            @Override
732            public void setSmsSn(java.lang.String smsSn) {
733                    _contact.setSmsSn(smsSn);
734            }
735    
736            /**
737            * Returns the aim sn of this contact.
738            *
739            * @return the aim sn of this contact
740            */
741            @Override
742            public java.lang.String getAimSn() {
743                    return _contact.getAimSn();
744            }
745    
746            /**
747            * Sets the aim sn of this contact.
748            *
749            * @param aimSn the aim sn of this contact
750            */
751            @Override
752            public void setAimSn(java.lang.String aimSn) {
753                    _contact.setAimSn(aimSn);
754            }
755    
756            /**
757            * Returns the facebook sn of this contact.
758            *
759            * @return the facebook sn of this contact
760            */
761            @Override
762            public java.lang.String getFacebookSn() {
763                    return _contact.getFacebookSn();
764            }
765    
766            /**
767            * Sets the facebook sn of this contact.
768            *
769            * @param facebookSn the facebook sn of this contact
770            */
771            @Override
772            public void setFacebookSn(java.lang.String facebookSn) {
773                    _contact.setFacebookSn(facebookSn);
774            }
775    
776            /**
777            * Returns the icq sn of this contact.
778            *
779            * @return the icq sn of this contact
780            */
781            @Override
782            public java.lang.String getIcqSn() {
783                    return _contact.getIcqSn();
784            }
785    
786            /**
787            * Sets the icq sn of this contact.
788            *
789            * @param icqSn the icq sn of this contact
790            */
791            @Override
792            public void setIcqSn(java.lang.String icqSn) {
793                    _contact.setIcqSn(icqSn);
794            }
795    
796            /**
797            * Returns the jabber sn of this contact.
798            *
799            * @return the jabber sn of this contact
800            */
801            @Override
802            public java.lang.String getJabberSn() {
803                    return _contact.getJabberSn();
804            }
805    
806            /**
807            * Sets the jabber sn of this contact.
808            *
809            * @param jabberSn the jabber sn of this contact
810            */
811            @Override
812            public void setJabberSn(java.lang.String jabberSn) {
813                    _contact.setJabberSn(jabberSn);
814            }
815    
816            /**
817            * Returns the msn sn of this contact.
818            *
819            * @return the msn sn of this contact
820            */
821            @Override
822            public java.lang.String getMsnSn() {
823                    return _contact.getMsnSn();
824            }
825    
826            /**
827            * Sets the msn sn of this contact.
828            *
829            * @param msnSn the msn sn of this contact
830            */
831            @Override
832            public void setMsnSn(java.lang.String msnSn) {
833                    _contact.setMsnSn(msnSn);
834            }
835    
836            /**
837            * Returns the my space sn of this contact.
838            *
839            * @return the my space sn of this contact
840            */
841            @Override
842            public java.lang.String getMySpaceSn() {
843                    return _contact.getMySpaceSn();
844            }
845    
846            /**
847            * Sets the my space sn of this contact.
848            *
849            * @param mySpaceSn the my space sn of this contact
850            */
851            @Override
852            public void setMySpaceSn(java.lang.String mySpaceSn) {
853                    _contact.setMySpaceSn(mySpaceSn);
854            }
855    
856            /**
857            * Returns the skype sn of this contact.
858            *
859            * @return the skype sn of this contact
860            */
861            @Override
862            public java.lang.String getSkypeSn() {
863                    return _contact.getSkypeSn();
864            }
865    
866            /**
867            * Sets the skype sn of this contact.
868            *
869            * @param skypeSn the skype sn of this contact
870            */
871            @Override
872            public void setSkypeSn(java.lang.String skypeSn) {
873                    _contact.setSkypeSn(skypeSn);
874            }
875    
876            /**
877            * Returns the twitter sn of this contact.
878            *
879            * @return the twitter sn of this contact
880            */
881            @Override
882            public java.lang.String getTwitterSn() {
883                    return _contact.getTwitterSn();
884            }
885    
886            /**
887            * Sets the twitter sn of this contact.
888            *
889            * @param twitterSn the twitter sn of this contact
890            */
891            @Override
892            public void setTwitterSn(java.lang.String twitterSn) {
893                    _contact.setTwitterSn(twitterSn);
894            }
895    
896            /**
897            * Returns the ym sn of this contact.
898            *
899            * @return the ym sn of this contact
900            */
901            @Override
902            public java.lang.String getYmSn() {
903                    return _contact.getYmSn();
904            }
905    
906            /**
907            * Sets the ym sn of this contact.
908            *
909            * @param ymSn the ym sn of this contact
910            */
911            @Override
912            public void setYmSn(java.lang.String ymSn) {
913                    _contact.setYmSn(ymSn);
914            }
915    
916            /**
917            * Returns the employee status ID of this contact.
918            *
919            * @return the employee status ID of this contact
920            */
921            @Override
922            public java.lang.String getEmployeeStatusId() {
923                    return _contact.getEmployeeStatusId();
924            }
925    
926            /**
927            * Sets the employee status ID of this contact.
928            *
929            * @param employeeStatusId the employee status ID of this contact
930            */
931            @Override
932            public void setEmployeeStatusId(java.lang.String employeeStatusId) {
933                    _contact.setEmployeeStatusId(employeeStatusId);
934            }
935    
936            /**
937            * Returns the employee number of this contact.
938            *
939            * @return the employee number of this contact
940            */
941            @Override
942            public java.lang.String getEmployeeNumber() {
943                    return _contact.getEmployeeNumber();
944            }
945    
946            /**
947            * Sets the employee number of this contact.
948            *
949            * @param employeeNumber the employee number of this contact
950            */
951            @Override
952            public void setEmployeeNumber(java.lang.String employeeNumber) {
953                    _contact.setEmployeeNumber(employeeNumber);
954            }
955    
956            /**
957            * Returns the job title of this contact.
958            *
959            * @return the job title of this contact
960            */
961            @Override
962            public java.lang.String getJobTitle() {
963                    return _contact.getJobTitle();
964            }
965    
966            /**
967            * Sets the job title of this contact.
968            *
969            * @param jobTitle the job title of this contact
970            */
971            @Override
972            public void setJobTitle(java.lang.String jobTitle) {
973                    _contact.setJobTitle(jobTitle);
974            }
975    
976            /**
977            * Returns the job class of this contact.
978            *
979            * @return the job class of this contact
980            */
981            @Override
982            public java.lang.String getJobClass() {
983                    return _contact.getJobClass();
984            }
985    
986            /**
987            * Sets the job class of this contact.
988            *
989            * @param jobClass the job class of this contact
990            */
991            @Override
992            public void setJobClass(java.lang.String jobClass) {
993                    _contact.setJobClass(jobClass);
994            }
995    
996            /**
997            * Returns the hours of operation of this contact.
998            *
999            * @return the hours of operation of this contact
1000            */
1001            @Override
1002            public java.lang.String getHoursOfOperation() {
1003                    return _contact.getHoursOfOperation();
1004            }
1005    
1006            /**
1007            * Sets the hours of operation of this contact.
1008            *
1009            * @param hoursOfOperation the hours of operation of this contact
1010            */
1011            @Override
1012            public void setHoursOfOperation(java.lang.String hoursOfOperation) {
1013                    _contact.setHoursOfOperation(hoursOfOperation);
1014            }
1015    
1016            @Override
1017            public boolean isNew() {
1018                    return _contact.isNew();
1019            }
1020    
1021            @Override
1022            public void setNew(boolean n) {
1023                    _contact.setNew(n);
1024            }
1025    
1026            @Override
1027            public boolean isCachedModel() {
1028                    return _contact.isCachedModel();
1029            }
1030    
1031            @Override
1032            public void setCachedModel(boolean cachedModel) {
1033                    _contact.setCachedModel(cachedModel);
1034            }
1035    
1036            @Override
1037            public boolean isEscapedModel() {
1038                    return _contact.isEscapedModel();
1039            }
1040    
1041            @Override
1042            public java.io.Serializable getPrimaryKeyObj() {
1043                    return _contact.getPrimaryKeyObj();
1044            }
1045    
1046            @Override
1047            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
1048                    _contact.setPrimaryKeyObj(primaryKeyObj);
1049            }
1050    
1051            @Override
1052            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
1053                    return _contact.getExpandoBridge();
1054            }
1055    
1056            @Override
1057            public void setExpandoBridgeAttributes(
1058                    com.liferay.portal.model.BaseModel<?> baseModel) {
1059                    _contact.setExpandoBridgeAttributes(baseModel);
1060            }
1061    
1062            @Override
1063            public void setExpandoBridgeAttributes(
1064                    com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) {
1065                    _contact.setExpandoBridgeAttributes(expandoBridge);
1066            }
1067    
1068            @Override
1069            public void setExpandoBridgeAttributes(
1070                    com.liferay.portal.service.ServiceContext serviceContext) {
1071                    _contact.setExpandoBridgeAttributes(serviceContext);
1072            }
1073    
1074            @Override
1075            public java.lang.Object clone() {
1076                    return new ContactWrapper((Contact)_contact.clone());
1077            }
1078    
1079            @Override
1080            public int compareTo(com.liferay.portal.model.Contact contact) {
1081                    return _contact.compareTo(contact);
1082            }
1083    
1084            @Override
1085            public int hashCode() {
1086                    return _contact.hashCode();
1087            }
1088    
1089            @Override
1090            public com.liferay.portal.model.CacheModel<com.liferay.portal.model.Contact> toCacheModel() {
1091                    return _contact.toCacheModel();
1092            }
1093    
1094            @Override
1095            public com.liferay.portal.model.Contact toEscapedModel() {
1096                    return new ContactWrapper(_contact.toEscapedModel());
1097            }
1098    
1099            @Override
1100            public com.liferay.portal.model.Contact toUnescapedModel() {
1101                    return new ContactWrapper(_contact.toUnescapedModel());
1102            }
1103    
1104            @Override
1105            public java.lang.String toString() {
1106                    return _contact.toString();
1107            }
1108    
1109            @Override
1110            public java.lang.String toXmlString() {
1111                    return _contact.toXmlString();
1112            }
1113    
1114            @Override
1115            public void persist()
1116                    throws com.liferay.portal.kernel.exception.SystemException {
1117                    _contact.persist();
1118            }
1119    
1120            @Override
1121            public java.lang.String getFullName() {
1122                    return _contact.getFullName();
1123            }
1124    
1125            @Override
1126            public boolean isUser() {
1127                    return _contact.isUser();
1128            }
1129    
1130            @Override
1131            public boolean equals(Object obj) {
1132                    if (this == obj) {
1133                            return true;
1134                    }
1135    
1136                    if (!(obj instanceof ContactWrapper)) {
1137                            return false;
1138                    }
1139    
1140                    ContactWrapper contactWrapper = (ContactWrapper)obj;
1141    
1142                    if (Validator.equals(_contact, contactWrapper._contact)) {
1143                            return true;
1144                    }
1145    
1146                    return false;
1147            }
1148    
1149            /**
1150             * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel}
1151             */
1152            public Contact getWrappedContact() {
1153                    return _contact;
1154            }
1155    
1156            @Override
1157            public Contact getWrappedModel() {
1158                    return _contact;
1159            }
1160    
1161            @Override
1162            public void resetOriginalValues() {
1163                    _contact.resetOriginalValues();
1164            }
1165    
1166            private Contact _contact;
1167    }