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