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