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