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