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