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