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            @Override
457            public java.util.List<com.liferay.portlet.dynamicdatamapping.storage.Fields> getRecordsFieldsList()
458                    throws com.liferay.portal.kernel.exception.PortalException {
459                    return _ddlRecordSet.getRecordsFieldsList();
460            }
461    
462            /**
463            * Returns the scope of this d d l record set.
464            *
465            * @return the scope of this d d l record set
466            */
467            @Override
468            public int getScope() {
469                    return _ddlRecordSet.getScope();
470            }
471    
472            /**
473            * Returns the user ID of this d d l record set.
474            *
475            * @return the user ID of this d d l record set
476            */
477            @Override
478            public long getUserId() {
479                    return _ddlRecordSet.getUserId();
480            }
481    
482            /**
483            * Returns the user name of this d d l record set.
484            *
485            * @return the user name of this d d l record set
486            */
487            @Override
488            public java.lang.String getUserName() {
489                    return _ddlRecordSet.getUserName();
490            }
491    
492            /**
493            * Returns the user uuid of this d d l record set.
494            *
495            * @return the user uuid of this d d l record set
496            */
497            @Override
498            public java.lang.String getUserUuid() {
499                    return _ddlRecordSet.getUserUuid();
500            }
501    
502            /**
503            * Returns the uuid of this d d l record set.
504            *
505            * @return the uuid of this d d l record set
506            */
507            @Override
508            public java.lang.String getUuid() {
509                    return _ddlRecordSet.getUuid();
510            }
511    
512            @Override
513            public int hashCode() {
514                    return _ddlRecordSet.hashCode();
515            }
516    
517            @Override
518            public boolean isCachedModel() {
519                    return _ddlRecordSet.isCachedModel();
520            }
521    
522            @Override
523            public boolean isEscapedModel() {
524                    return _ddlRecordSet.isEscapedModel();
525            }
526    
527            @Override
528            public boolean isNew() {
529                    return _ddlRecordSet.isNew();
530            }
531    
532            @Override
533            public void persist() {
534                    _ddlRecordSet.persist();
535            }
536    
537            @Override
538            public void prepareLocalizedFieldsForImport()
539                    throws com.liferay.portal.LocaleException {
540                    _ddlRecordSet.prepareLocalizedFieldsForImport();
541            }
542    
543            @Override
544            public void prepareLocalizedFieldsForImport(
545                    java.util.Locale defaultImportLocale)
546                    throws com.liferay.portal.LocaleException {
547                    _ddlRecordSet.prepareLocalizedFieldsForImport(defaultImportLocale);
548            }
549    
550            @Override
551            public void setCachedModel(boolean cachedModel) {
552                    _ddlRecordSet.setCachedModel(cachedModel);
553            }
554    
555            /**
556            * Sets the company ID of this d d l record set.
557            *
558            * @param companyId the company ID of this d d l record set
559            */
560            @Override
561            public void setCompanyId(long companyId) {
562                    _ddlRecordSet.setCompanyId(companyId);
563            }
564    
565            /**
566            * Sets the create date of this d d l record set.
567            *
568            * @param createDate the create date of this d d l record set
569            */
570            @Override
571            public void setCreateDate(java.util.Date createDate) {
572                    _ddlRecordSet.setCreateDate(createDate);
573            }
574    
575            /**
576            * Sets the d d m structure ID of this d d l record set.
577            *
578            * @param DDMStructureId the d d m structure ID of this d d l record set
579            */
580            @Override
581            public void setDDMStructureId(long DDMStructureId) {
582                    _ddlRecordSet.setDDMStructureId(DDMStructureId);
583            }
584    
585            /**
586            * Sets the description of this d d l record set.
587            *
588            * @param description the description of this d d l record set
589            */
590            @Override
591            public void setDescription(java.lang.String description) {
592                    _ddlRecordSet.setDescription(description);
593            }
594    
595            /**
596            * Sets the localized description of this d d l record set in the language.
597            *
598            * @param description the localized description of this d d l record set
599            * @param locale the locale of the language
600            */
601            @Override
602            public void setDescription(java.lang.String description,
603                    java.util.Locale locale) {
604                    _ddlRecordSet.setDescription(description, locale);
605            }
606    
607            /**
608            * Sets the localized description of this d d l record set in the language, and sets the default locale.
609            *
610            * @param description the localized description of this d d l record set
611            * @param locale the locale of the language
612            * @param defaultLocale the default locale
613            */
614            @Override
615            public void setDescription(java.lang.String description,
616                    java.util.Locale locale, java.util.Locale defaultLocale) {
617                    _ddlRecordSet.setDescription(description, locale, defaultLocale);
618            }
619    
620            @Override
621            public void setDescriptionCurrentLanguageId(java.lang.String languageId) {
622                    _ddlRecordSet.setDescriptionCurrentLanguageId(languageId);
623            }
624    
625            /**
626            * Sets the localized descriptions of this d d l record set from the map of locales and localized descriptions.
627            *
628            * @param descriptionMap the locales and localized descriptions of this d d l record set
629            */
630            @Override
631            public void setDescriptionMap(
632                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap) {
633                    _ddlRecordSet.setDescriptionMap(descriptionMap);
634            }
635    
636            /**
637            * Sets the localized descriptions of this d d l record set from the map of locales and localized descriptions, and sets the default locale.
638            *
639            * @param descriptionMap the locales and localized descriptions of this d d l record set
640            * @param defaultLocale the default locale
641            */
642            @Override
643            public void setDescriptionMap(
644                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
645                    java.util.Locale defaultLocale) {
646                    _ddlRecordSet.setDescriptionMap(descriptionMap, defaultLocale);
647            }
648    
649            @Override
650            public void setExpandoBridgeAttributes(
651                    com.liferay.portal.model.BaseModel<?> baseModel) {
652                    _ddlRecordSet.setExpandoBridgeAttributes(baseModel);
653            }
654    
655            @Override
656            public void setExpandoBridgeAttributes(
657                    com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) {
658                    _ddlRecordSet.setExpandoBridgeAttributes(expandoBridge);
659            }
660    
661            @Override
662            public void setExpandoBridgeAttributes(
663                    com.liferay.portal.service.ServiceContext serviceContext) {
664                    _ddlRecordSet.setExpandoBridgeAttributes(serviceContext);
665            }
666    
667            /**
668            * Sets the group ID of this d d l record set.
669            *
670            * @param groupId the group ID of this d d l record set
671            */
672            @Override
673            public void setGroupId(long groupId) {
674                    _ddlRecordSet.setGroupId(groupId);
675            }
676    
677            /**
678            * Sets the min display rows of this d d l record set.
679            *
680            * @param minDisplayRows the min display rows of this d d l record set
681            */
682            @Override
683            public void setMinDisplayRows(int minDisplayRows) {
684                    _ddlRecordSet.setMinDisplayRows(minDisplayRows);
685            }
686    
687            /**
688            * Sets the modified date of this d d l record set.
689            *
690            * @param modifiedDate the modified date of this d d l record set
691            */
692            @Override
693            public void setModifiedDate(java.util.Date modifiedDate) {
694                    _ddlRecordSet.setModifiedDate(modifiedDate);
695            }
696    
697            /**
698            * Sets the name of this d d l record set.
699            *
700            * @param name the name of this d d l record set
701            */
702            @Override
703            public void setName(java.lang.String name) {
704                    _ddlRecordSet.setName(name);
705            }
706    
707            /**
708            * Sets the localized name of this d d l record set in the language.
709            *
710            * @param name the localized name of this d d l record set
711            * @param locale the locale of the language
712            */
713            @Override
714            public void setName(java.lang.String name, java.util.Locale locale) {
715                    _ddlRecordSet.setName(name, locale);
716            }
717    
718            /**
719            * Sets the localized name of this d d l record set in the language, and sets the default locale.
720            *
721            * @param name the localized name of this d d l record set
722            * @param locale the locale of the language
723            * @param defaultLocale the default locale
724            */
725            @Override
726            public void setName(java.lang.String name, java.util.Locale locale,
727                    java.util.Locale defaultLocale) {
728                    _ddlRecordSet.setName(name, locale, defaultLocale);
729            }
730    
731            @Override
732            public void setNameCurrentLanguageId(java.lang.String languageId) {
733                    _ddlRecordSet.setNameCurrentLanguageId(languageId);
734            }
735    
736            /**
737            * Sets the localized names of this d d l record set from the map of locales and localized names.
738            *
739            * @param nameMap the locales and localized names of this d d l record set
740            */
741            @Override
742            public void setNameMap(
743                    java.util.Map<java.util.Locale, java.lang.String> nameMap) {
744                    _ddlRecordSet.setNameMap(nameMap);
745            }
746    
747            /**
748            * Sets the localized names of this d d l record set from the map of locales and localized names, and sets the default locale.
749            *
750            * @param nameMap the locales and localized names of this d d l record set
751            * @param defaultLocale the default locale
752            */
753            @Override
754            public void setNameMap(
755                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
756                    java.util.Locale defaultLocale) {
757                    _ddlRecordSet.setNameMap(nameMap, defaultLocale);
758            }
759    
760            @Override
761            public void setNew(boolean n) {
762                    _ddlRecordSet.setNew(n);
763            }
764    
765            /**
766            * Sets the primary key of this d d l record set.
767            *
768            * @param primaryKey the primary key of this d d l record set
769            */
770            @Override
771            public void setPrimaryKey(long primaryKey) {
772                    _ddlRecordSet.setPrimaryKey(primaryKey);
773            }
774    
775            @Override
776            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
777                    _ddlRecordSet.setPrimaryKeyObj(primaryKeyObj);
778            }
779    
780            /**
781            * Sets the record set ID of this d d l record set.
782            *
783            * @param recordSetId the record set ID of this d d l record set
784            */
785            @Override
786            public void setRecordSetId(long recordSetId) {
787                    _ddlRecordSet.setRecordSetId(recordSetId);
788            }
789    
790            /**
791            * Sets the record set key of this d d l record set.
792            *
793            * @param recordSetKey the record set key of this d d l record set
794            */
795            @Override
796            public void setRecordSetKey(java.lang.String recordSetKey) {
797                    _ddlRecordSet.setRecordSetKey(recordSetKey);
798            }
799    
800            /**
801            * Sets the scope of this d d l record set.
802            *
803            * @param scope the scope of this d d l record set
804            */
805            @Override
806            public void setScope(int scope) {
807                    _ddlRecordSet.setScope(scope);
808            }
809    
810            /**
811            * Sets the user ID of this d d l record set.
812            *
813            * @param userId the user ID of this d d l record set
814            */
815            @Override
816            public void setUserId(long userId) {
817                    _ddlRecordSet.setUserId(userId);
818            }
819    
820            /**
821            * Sets the user name of this d d l record set.
822            *
823            * @param userName the user name of this d d l record set
824            */
825            @Override
826            public void setUserName(java.lang.String userName) {
827                    _ddlRecordSet.setUserName(userName);
828            }
829    
830            /**
831            * Sets the user uuid of this d d l record set.
832            *
833            * @param userUuid the user uuid of this d d l record set
834            */
835            @Override
836            public void setUserUuid(java.lang.String userUuid) {
837                    _ddlRecordSet.setUserUuid(userUuid);
838            }
839    
840            /**
841            * Sets the uuid of this d d l record set.
842            *
843            * @param uuid the uuid of this d d l record set
844            */
845            @Override
846            public void setUuid(java.lang.String uuid) {
847                    _ddlRecordSet.setUuid(uuid);
848            }
849    
850            @Override
851            public com.liferay.portal.model.CacheModel<com.liferay.portlet.dynamicdatalists.model.DDLRecordSet> toCacheModel() {
852                    return _ddlRecordSet.toCacheModel();
853            }
854    
855            @Override
856            public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet toEscapedModel() {
857                    return new DDLRecordSetWrapper(_ddlRecordSet.toEscapedModel());
858            }
859    
860            @Override
861            public java.lang.String toString() {
862                    return _ddlRecordSet.toString();
863            }
864    
865            @Override
866            public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet toUnescapedModel() {
867                    return new DDLRecordSetWrapper(_ddlRecordSet.toUnescapedModel());
868            }
869    
870            @Override
871            public java.lang.String toXmlString() {
872                    return _ddlRecordSet.toXmlString();
873            }
874    
875            @Override
876            public boolean equals(Object obj) {
877                    if (this == obj) {
878                            return true;
879                    }
880    
881                    if (!(obj instanceof DDLRecordSetWrapper)) {
882                            return false;
883                    }
884    
885                    DDLRecordSetWrapper ddlRecordSetWrapper = (DDLRecordSetWrapper)obj;
886    
887                    if (Validator.equals(_ddlRecordSet, ddlRecordSetWrapper._ddlRecordSet)) {
888                            return true;
889                    }
890    
891                    return false;
892            }
893    
894            @Override
895            public StagedModelType getStagedModelType() {
896                    return _ddlRecordSet.getStagedModelType();
897            }
898    
899            /**
900             * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel}
901             */
902            @Deprecated
903            public DDLRecordSet getWrappedDDLRecordSet() {
904                    return _ddlRecordSet;
905            }
906    
907            @Override
908            public DDLRecordSet getWrappedModel() {
909                    return _ddlRecordSet;
910            }
911    
912            @Override
913            public boolean isEntityCacheEnabled() {
914                    return _ddlRecordSet.isEntityCacheEnabled();
915            }
916    
917            @Override
918            public boolean isFinderCacheEnabled() {
919                    return _ddlRecordSet.isFinderCacheEnabled();
920            }
921    
922            @Override
923            public void resetOriginalValues() {
924                    _ddlRecordSet.resetOriginalValues();
925            }
926    
927            private final DDLRecordSet _ddlRecordSet;
928    }