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