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