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