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