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