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