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