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