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