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