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