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