001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portal.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link Contact}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       Contact
024     * @generated
025     */
026    public class ContactWrapper implements Contact {
027            public ContactWrapper(Contact contact) {
028                    _contact = contact;
029            }
030    
031            /**
032            * Gets the primary key of this contact.
033            *
034            * @return the primary key of this contact
035            */
036            public long getPrimaryKey() {
037                    return _contact.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this contact
042            *
043            * @param pk the primary key of this contact
044            */
045            public void setPrimaryKey(long pk) {
046                    _contact.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the contact id of this contact.
051            *
052            * @return the contact id of this contact
053            */
054            public long getContactId() {
055                    return _contact.getContactId();
056            }
057    
058            /**
059            * Sets the contact id of this contact.
060            *
061            * @param contactId the contact id of this contact
062            */
063            public void setContactId(long contactId) {
064                    _contact.setContactId(contactId);
065            }
066    
067            /**
068            * Gets the company id of this contact.
069            *
070            * @return the company id of this contact
071            */
072            public long getCompanyId() {
073                    return _contact.getCompanyId();
074            }
075    
076            /**
077            * Sets the company id of this contact.
078            *
079            * @param companyId the company id of this contact
080            */
081            public void setCompanyId(long companyId) {
082                    _contact.setCompanyId(companyId);
083            }
084    
085            /**
086            * Gets the user id of this contact.
087            *
088            * @return the user id of this contact
089            */
090            public long getUserId() {
091                    return _contact.getUserId();
092            }
093    
094            /**
095            * Sets the user id of this contact.
096            *
097            * @param userId the user id of this contact
098            */
099            public void setUserId(long userId) {
100                    _contact.setUserId(userId);
101            }
102    
103            /**
104            * Gets the user uuid of this contact.
105            *
106            * @return the user uuid of this contact
107            * @throws SystemException if a system exception occurred
108            */
109            public java.lang.String getUserUuid()
110                    throws com.liferay.portal.kernel.exception.SystemException {
111                    return _contact.getUserUuid();
112            }
113    
114            /**
115            * Sets the user uuid of this contact.
116            *
117            * @param userUuid the user uuid of this contact
118            */
119            public void setUserUuid(java.lang.String userUuid) {
120                    _contact.setUserUuid(userUuid);
121            }
122    
123            /**
124            * Gets the user name of this contact.
125            *
126            * @return the user name of this contact
127            */
128            public java.lang.String getUserName() {
129                    return _contact.getUserName();
130            }
131    
132            /**
133            * Sets the user name of this contact.
134            *
135            * @param userName the user name of this contact
136            */
137            public void setUserName(java.lang.String userName) {
138                    _contact.setUserName(userName);
139            }
140    
141            /**
142            * Gets the create date of this contact.
143            *
144            * @return the create date of this contact
145            */
146            public java.util.Date getCreateDate() {
147                    return _contact.getCreateDate();
148            }
149    
150            /**
151            * Sets the create date of this contact.
152            *
153            * @param createDate the create date of this contact
154            */
155            public void setCreateDate(java.util.Date createDate) {
156                    _contact.setCreateDate(createDate);
157            }
158    
159            /**
160            * Gets the modified date of this contact.
161            *
162            * @return the modified date of this contact
163            */
164            public java.util.Date getModifiedDate() {
165                    return _contact.getModifiedDate();
166            }
167    
168            /**
169            * Sets the modified date of this contact.
170            *
171            * @param modifiedDate the modified date of this contact
172            */
173            public void setModifiedDate(java.util.Date modifiedDate) {
174                    _contact.setModifiedDate(modifiedDate);
175            }
176    
177            /**
178            * Gets the account id of this contact.
179            *
180            * @return the account id of this contact
181            */
182            public long getAccountId() {
183                    return _contact.getAccountId();
184            }
185    
186            /**
187            * Sets the account id of this contact.
188            *
189            * @param accountId the account id of this contact
190            */
191            public void setAccountId(long accountId) {
192                    _contact.setAccountId(accountId);
193            }
194    
195            /**
196            * Gets the parent contact id of this contact.
197            *
198            * @return the parent contact id of this contact
199            */
200            public long getParentContactId() {
201                    return _contact.getParentContactId();
202            }
203    
204            /**
205            * Sets the parent contact id of this contact.
206            *
207            * @param parentContactId the parent contact id of this contact
208            */
209            public void setParentContactId(long parentContactId) {
210                    _contact.setParentContactId(parentContactId);
211            }
212    
213            /**
214            * Gets the first name of this contact.
215            *
216            * @return the first name of this contact
217            */
218            public java.lang.String getFirstName() {
219                    return _contact.getFirstName();
220            }
221    
222            /**
223            * Sets the first name of this contact.
224            *
225            * @param firstName the first name of this contact
226            */
227            public void setFirstName(java.lang.String firstName) {
228                    _contact.setFirstName(firstName);
229            }
230    
231            /**
232            * Gets the middle name of this contact.
233            *
234            * @return the middle name of this contact
235            */
236            public java.lang.String getMiddleName() {
237                    return _contact.getMiddleName();
238            }
239    
240            /**
241            * Sets the middle name of this contact.
242            *
243            * @param middleName the middle name of this contact
244            */
245            public void setMiddleName(java.lang.String middleName) {
246                    _contact.setMiddleName(middleName);
247            }
248    
249            /**
250            * Gets the last name of this contact.
251            *
252            * @return the last name of this contact
253            */
254            public java.lang.String getLastName() {
255                    return _contact.getLastName();
256            }
257    
258            /**
259            * Sets the last name of this contact.
260            *
261            * @param lastName the last name of this contact
262            */
263            public void setLastName(java.lang.String lastName) {
264                    _contact.setLastName(lastName);
265            }
266    
267            /**
268            * Gets the prefix id of this contact.
269            *
270            * @return the prefix id of this contact
271            */
272            public int getPrefixId() {
273                    return _contact.getPrefixId();
274            }
275    
276            /**
277            * Sets the prefix id of this contact.
278            *
279            * @param prefixId the prefix id of this contact
280            */
281            public void setPrefixId(int prefixId) {
282                    _contact.setPrefixId(prefixId);
283            }
284    
285            /**
286            * Gets the suffix id of this contact.
287            *
288            * @return the suffix id of this contact
289            */
290            public int getSuffixId() {
291                    return _contact.getSuffixId();
292            }
293    
294            /**
295            * Sets the suffix id of this contact.
296            *
297            * @param suffixId the suffix id of this contact
298            */
299            public void setSuffixId(int suffixId) {
300                    _contact.setSuffixId(suffixId);
301            }
302    
303            /**
304            * Gets the male of this contact.
305            *
306            * @return the male of this contact
307            */
308            public boolean getMale() {
309                    return _contact.getMale();
310            }
311    
312            /**
313            * Determines whether this contact is male.
314            *
315            * @return whether this contact is male
316            */
317            public boolean isMale() {
318                    return _contact.isMale();
319            }
320    
321            /**
322            * Sets whether this {$entity.humanName} is male.
323            *
324            * @param male the male of this contact
325            */
326            public void setMale(boolean male) {
327                    _contact.setMale(male);
328            }
329    
330            /**
331            * Gets the birthday of this contact.
332            *
333            * @return the birthday of this contact
334            */
335            public java.util.Date getBirthday() {
336                    return _contact.getBirthday();
337            }
338    
339            /**
340            * Sets the birthday of this contact.
341            *
342            * @param birthday the birthday of this contact
343            */
344            public void setBirthday(java.util.Date birthday) {
345                    _contact.setBirthday(birthday);
346            }
347    
348            /**
349            * Gets the sms sn of this contact.
350            *
351            * @return the sms sn of this contact
352            */
353            public java.lang.String getSmsSn() {
354                    return _contact.getSmsSn();
355            }
356    
357            /**
358            * Sets the sms sn of this contact.
359            *
360            * @param smsSn the sms sn of this contact
361            */
362            public void setSmsSn(java.lang.String smsSn) {
363                    _contact.setSmsSn(smsSn);
364            }
365    
366            /**
367            * Gets the aim sn of this contact.
368            *
369            * @return the aim sn of this contact
370            */
371            public java.lang.String getAimSn() {
372                    return _contact.getAimSn();
373            }
374    
375            /**
376            * Sets the aim sn of this contact.
377            *
378            * @param aimSn the aim sn of this contact
379            */
380            public void setAimSn(java.lang.String aimSn) {
381                    _contact.setAimSn(aimSn);
382            }
383    
384            /**
385            * Gets the facebook sn of this contact.
386            *
387            * @return the facebook sn of this contact
388            */
389            public java.lang.String getFacebookSn() {
390                    return _contact.getFacebookSn();
391            }
392    
393            /**
394            * Sets the facebook sn of this contact.
395            *
396            * @param facebookSn the facebook sn of this contact
397            */
398            public void setFacebookSn(java.lang.String facebookSn) {
399                    _contact.setFacebookSn(facebookSn);
400            }
401    
402            /**
403            * Gets the icq sn of this contact.
404            *
405            * @return the icq sn of this contact
406            */
407            public java.lang.String getIcqSn() {
408                    return _contact.getIcqSn();
409            }
410    
411            /**
412            * Sets the icq sn of this contact.
413            *
414            * @param icqSn the icq sn of this contact
415            */
416            public void setIcqSn(java.lang.String icqSn) {
417                    _contact.setIcqSn(icqSn);
418            }
419    
420            /**
421            * Gets the jabber sn of this contact.
422            *
423            * @return the jabber sn of this contact
424            */
425            public java.lang.String getJabberSn() {
426                    return _contact.getJabberSn();
427            }
428    
429            /**
430            * Sets the jabber sn of this contact.
431            *
432            * @param jabberSn the jabber sn of this contact
433            */
434            public void setJabberSn(java.lang.String jabberSn) {
435                    _contact.setJabberSn(jabberSn);
436            }
437    
438            /**
439            * Gets the msn sn of this contact.
440            *
441            * @return the msn sn of this contact
442            */
443            public java.lang.String getMsnSn() {
444                    return _contact.getMsnSn();
445            }
446    
447            /**
448            * Sets the msn sn of this contact.
449            *
450            * @param msnSn the msn sn of this contact
451            */
452            public void setMsnSn(java.lang.String msnSn) {
453                    _contact.setMsnSn(msnSn);
454            }
455    
456            /**
457            * Gets the my space sn of this contact.
458            *
459            * @return the my space sn of this contact
460            */
461            public java.lang.String getMySpaceSn() {
462                    return _contact.getMySpaceSn();
463            }
464    
465            /**
466            * Sets the my space sn of this contact.
467            *
468            * @param mySpaceSn the my space sn of this contact
469            */
470            public void setMySpaceSn(java.lang.String mySpaceSn) {
471                    _contact.setMySpaceSn(mySpaceSn);
472            }
473    
474            /**
475            * Gets the skype sn of this contact.
476            *
477            * @return the skype sn of this contact
478            */
479            public java.lang.String getSkypeSn() {
480                    return _contact.getSkypeSn();
481            }
482    
483            /**
484            * Sets the skype sn of this contact.
485            *
486            * @param skypeSn the skype sn of this contact
487            */
488            public void setSkypeSn(java.lang.String skypeSn) {
489                    _contact.setSkypeSn(skypeSn);
490            }
491    
492            /**
493            * Gets the twitter sn of this contact.
494            *
495            * @return the twitter sn of this contact
496            */
497            public java.lang.String getTwitterSn() {
498                    return _contact.getTwitterSn();
499            }
500    
501            /**
502            * Sets the twitter sn of this contact.
503            *
504            * @param twitterSn the twitter sn of this contact
505            */
506            public void setTwitterSn(java.lang.String twitterSn) {
507                    _contact.setTwitterSn(twitterSn);
508            }
509    
510            /**
511            * Gets the ym sn of this contact.
512            *
513            * @return the ym sn of this contact
514            */
515            public java.lang.String getYmSn() {
516                    return _contact.getYmSn();
517            }
518    
519            /**
520            * Sets the ym sn of this contact.
521            *
522            * @param ymSn the ym sn of this contact
523            */
524            public void setYmSn(java.lang.String ymSn) {
525                    _contact.setYmSn(ymSn);
526            }
527    
528            /**
529            * Gets the employee status id of this contact.
530            *
531            * @return the employee status id of this contact
532            */
533            public java.lang.String getEmployeeStatusId() {
534                    return _contact.getEmployeeStatusId();
535            }
536    
537            /**
538            * Sets the employee status id of this contact.
539            *
540            * @param employeeStatusId the employee status id of this contact
541            */
542            public void setEmployeeStatusId(java.lang.String employeeStatusId) {
543                    _contact.setEmployeeStatusId(employeeStatusId);
544            }
545    
546            /**
547            * Gets the employee number of this contact.
548            *
549            * @return the employee number of this contact
550            */
551            public java.lang.String getEmployeeNumber() {
552                    return _contact.getEmployeeNumber();
553            }
554    
555            /**
556            * Sets the employee number of this contact.
557            *
558            * @param employeeNumber the employee number of this contact
559            */
560            public void setEmployeeNumber(java.lang.String employeeNumber) {
561                    _contact.setEmployeeNumber(employeeNumber);
562            }
563    
564            /**
565            * Gets the job title of this contact.
566            *
567            * @return the job title of this contact
568            */
569            public java.lang.String getJobTitle() {
570                    return _contact.getJobTitle();
571            }
572    
573            /**
574            * Sets the job title of this contact.
575            *
576            * @param jobTitle the job title of this contact
577            */
578            public void setJobTitle(java.lang.String jobTitle) {
579                    _contact.setJobTitle(jobTitle);
580            }
581    
582            /**
583            * Gets the job class of this contact.
584            *
585            * @return the job class of this contact
586            */
587            public java.lang.String getJobClass() {
588                    return _contact.getJobClass();
589            }
590    
591            /**
592            * Sets the job class of this contact.
593            *
594            * @param jobClass the job class of this contact
595            */
596            public void setJobClass(java.lang.String jobClass) {
597                    _contact.setJobClass(jobClass);
598            }
599    
600            /**
601            * Gets the hours of operation of this contact.
602            *
603            * @return the hours of operation of this contact
604            */
605            public java.lang.String getHoursOfOperation() {
606                    return _contact.getHoursOfOperation();
607            }
608    
609            /**
610            * Sets the hours of operation of this contact.
611            *
612            * @param hoursOfOperation the hours of operation of this contact
613            */
614            public void setHoursOfOperation(java.lang.String hoursOfOperation) {
615                    _contact.setHoursOfOperation(hoursOfOperation);
616            }
617    
618            public boolean isNew() {
619                    return _contact.isNew();
620            }
621    
622            public void setNew(boolean n) {
623                    _contact.setNew(n);
624            }
625    
626            public boolean isCachedModel() {
627                    return _contact.isCachedModel();
628            }
629    
630            public void setCachedModel(boolean cachedModel) {
631                    _contact.setCachedModel(cachedModel);
632            }
633    
634            public boolean isEscapedModel() {
635                    return _contact.isEscapedModel();
636            }
637    
638            public void setEscapedModel(boolean escapedModel) {
639                    _contact.setEscapedModel(escapedModel);
640            }
641    
642            public java.io.Serializable getPrimaryKeyObj() {
643                    return _contact.getPrimaryKeyObj();
644            }
645    
646            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
647                    return _contact.getExpandoBridge();
648            }
649    
650            public void setExpandoBridgeAttributes(
651                    com.liferay.portal.service.ServiceContext serviceContext) {
652                    _contact.setExpandoBridgeAttributes(serviceContext);
653            }
654    
655            public java.lang.Object clone() {
656                    return _contact.clone();
657            }
658    
659            public int compareTo(com.liferay.portal.model.Contact contact) {
660                    return _contact.compareTo(contact);
661            }
662    
663            public int hashCode() {
664                    return _contact.hashCode();
665            }
666    
667            public com.liferay.portal.model.Contact toEscapedModel() {
668                    return _contact.toEscapedModel();
669            }
670    
671            public java.lang.String toString() {
672                    return _contact.toString();
673            }
674    
675            public java.lang.String toXmlString() {
676                    return _contact.toXmlString();
677            }
678    
679            public java.lang.String getFullName() {
680                    return _contact.getFullName();
681            }
682    
683            public Contact getWrappedContact() {
684                    return _contact;
685            }
686    
687            private Contact _contact;
688    }