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