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