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