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