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