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