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