001    /**
002     * Copyright (c) 2000-2011 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    /**
018     * <p>
019     * This class is a wrapper for {@link MDRRuleGroupInstance}.
020     * </p>
021     *
022     * @author    Edward C. Han
023     * @see       MDRRuleGroupInstance
024     * @generated
025     */
026    public class MDRRuleGroupInstanceWrapper implements MDRRuleGroupInstance {
027            public MDRRuleGroupInstanceWrapper(
028                    MDRRuleGroupInstance mdrRuleGroupInstance) {
029                    _mdrRuleGroupInstance = mdrRuleGroupInstance;
030            }
031    
032            public Class<?> getModelClass() {
033                    return MDRRuleGroupInstance.class;
034            }
035    
036            public String getModelClassName() {
037                    return MDRRuleGroupInstance.class.getName();
038            }
039    
040            /**
041            * Returns the primary key of this m d r rule group instance.
042            *
043            * @return the primary key of this m d r rule group instance
044            */
045            public long getPrimaryKey() {
046                    return _mdrRuleGroupInstance.getPrimaryKey();
047            }
048    
049            /**
050            * Sets the primary key of this m d r rule group instance.
051            *
052            * @param primaryKey the primary key of this m d r rule group instance
053            */
054            public void setPrimaryKey(long primaryKey) {
055                    _mdrRuleGroupInstance.setPrimaryKey(primaryKey);
056            }
057    
058            /**
059            * Returns the uuid of this m d r rule group instance.
060            *
061            * @return the uuid of this m d r rule group instance
062            */
063            public java.lang.String getUuid() {
064                    return _mdrRuleGroupInstance.getUuid();
065            }
066    
067            /**
068            * Sets the uuid of this m d r rule group instance.
069            *
070            * @param uuid the uuid of this m d r rule group instance
071            */
072            public void setUuid(java.lang.String uuid) {
073                    _mdrRuleGroupInstance.setUuid(uuid);
074            }
075    
076            /**
077            * Returns the rule group instance ID of this m d r rule group instance.
078            *
079            * @return the rule group instance ID of this m d r rule group instance
080            */
081            public long getRuleGroupInstanceId() {
082                    return _mdrRuleGroupInstance.getRuleGroupInstanceId();
083            }
084    
085            /**
086            * Sets the rule group instance ID of this m d r rule group instance.
087            *
088            * @param ruleGroupInstanceId the rule group instance ID of this m d r rule group instance
089            */
090            public void setRuleGroupInstanceId(long ruleGroupInstanceId) {
091                    _mdrRuleGroupInstance.setRuleGroupInstanceId(ruleGroupInstanceId);
092            }
093    
094            /**
095            * Returns the group ID of this m d r rule group instance.
096            *
097            * @return the group ID of this m d r rule group instance
098            */
099            public long getGroupId() {
100                    return _mdrRuleGroupInstance.getGroupId();
101            }
102    
103            /**
104            * Sets the group ID of this m d r rule group instance.
105            *
106            * @param groupId the group ID of this m d r rule group instance
107            */
108            public void setGroupId(long groupId) {
109                    _mdrRuleGroupInstance.setGroupId(groupId);
110            }
111    
112            /**
113            * Returns the company ID of this m d r rule group instance.
114            *
115            * @return the company ID of this m d r rule group instance
116            */
117            public long getCompanyId() {
118                    return _mdrRuleGroupInstance.getCompanyId();
119            }
120    
121            /**
122            * Sets the company ID of this m d r rule group instance.
123            *
124            * @param companyId the company ID of this m d r rule group instance
125            */
126            public void setCompanyId(long companyId) {
127                    _mdrRuleGroupInstance.setCompanyId(companyId);
128            }
129    
130            /**
131            * Returns the user ID of this m d r rule group instance.
132            *
133            * @return the user ID of this m d r rule group instance
134            */
135            public long getUserId() {
136                    return _mdrRuleGroupInstance.getUserId();
137            }
138    
139            /**
140            * Sets the user ID of this m d r rule group instance.
141            *
142            * @param userId the user ID of this m d r rule group instance
143            */
144            public void setUserId(long userId) {
145                    _mdrRuleGroupInstance.setUserId(userId);
146            }
147    
148            /**
149            * Returns the user uuid of this m d r rule group instance.
150            *
151            * @return the user uuid of this m d r rule group instance
152            * @throws SystemException if a system exception occurred
153            */
154            public java.lang.String getUserUuid()
155                    throws com.liferay.portal.kernel.exception.SystemException {
156                    return _mdrRuleGroupInstance.getUserUuid();
157            }
158    
159            /**
160            * Sets the user uuid of this m d r rule group instance.
161            *
162            * @param userUuid the user uuid of this m d r rule group instance
163            */
164            public void setUserUuid(java.lang.String userUuid) {
165                    _mdrRuleGroupInstance.setUserUuid(userUuid);
166            }
167    
168            /**
169            * Returns the user name of this m d r rule group instance.
170            *
171            * @return the user name of this m d r rule group instance
172            */
173            public java.lang.String getUserName() {
174                    return _mdrRuleGroupInstance.getUserName();
175            }
176    
177            /**
178            * Sets the user name of this m d r rule group instance.
179            *
180            * @param userName the user name of this m d r rule group instance
181            */
182            public void setUserName(java.lang.String userName) {
183                    _mdrRuleGroupInstance.setUserName(userName);
184            }
185    
186            /**
187            * Returns the create date of this m d r rule group instance.
188            *
189            * @return the create date of this m d r rule group instance
190            */
191            public java.util.Date getCreateDate() {
192                    return _mdrRuleGroupInstance.getCreateDate();
193            }
194    
195            /**
196            * Sets the create date of this m d r rule group instance.
197            *
198            * @param createDate the create date of this m d r rule group instance
199            */
200            public void setCreateDate(java.util.Date createDate) {
201                    _mdrRuleGroupInstance.setCreateDate(createDate);
202            }
203    
204            /**
205            * Returns the modified date of this m d r rule group instance.
206            *
207            * @return the modified date of this m d r rule group instance
208            */
209            public java.util.Date getModifiedDate() {
210                    return _mdrRuleGroupInstance.getModifiedDate();
211            }
212    
213            /**
214            * Sets the modified date of this m d r rule group instance.
215            *
216            * @param modifiedDate the modified date of this m d r rule group instance
217            */
218            public void setModifiedDate(java.util.Date modifiedDate) {
219                    _mdrRuleGroupInstance.setModifiedDate(modifiedDate);
220            }
221    
222            /**
223            * Returns the fully qualified class name of this m d r rule group instance.
224            *
225            * @return the fully qualified class name of this m d r rule group instance
226            */
227            public java.lang.String getClassName() {
228                    return _mdrRuleGroupInstance.getClassName();
229            }
230    
231            /**
232            * Returns the class name ID of this m d r rule group instance.
233            *
234            * @return the class name ID of this m d r rule group instance
235            */
236            public long getClassNameId() {
237                    return _mdrRuleGroupInstance.getClassNameId();
238            }
239    
240            /**
241            * Sets the class name ID of this m d r rule group instance.
242            *
243            * @param classNameId the class name ID of this m d r rule group instance
244            */
245            public void setClassNameId(long classNameId) {
246                    _mdrRuleGroupInstance.setClassNameId(classNameId);
247            }
248    
249            /**
250            * Returns the class p k of this m d r rule group instance.
251            *
252            * @return the class p k of this m d r rule group instance
253            */
254            public long getClassPK() {
255                    return _mdrRuleGroupInstance.getClassPK();
256            }
257    
258            /**
259            * Sets the class p k of this m d r rule group instance.
260            *
261            * @param classPK the class p k of this m d r rule group instance
262            */
263            public void setClassPK(long classPK) {
264                    _mdrRuleGroupInstance.setClassPK(classPK);
265            }
266    
267            /**
268            * Returns the rule group ID of this m d r rule group instance.
269            *
270            * @return the rule group ID of this m d r rule group instance
271            */
272            public long getRuleGroupId() {
273                    return _mdrRuleGroupInstance.getRuleGroupId();
274            }
275    
276            /**
277            * Sets the rule group ID of this m d r rule group instance.
278            *
279            * @param ruleGroupId the rule group ID of this m d r rule group instance
280            */
281            public void setRuleGroupId(long ruleGroupId) {
282                    _mdrRuleGroupInstance.setRuleGroupId(ruleGroupId);
283            }
284    
285            /**
286            * Returns the priority of this m d r rule group instance.
287            *
288            * @return the priority of this m d r rule group instance
289            */
290            public int getPriority() {
291                    return _mdrRuleGroupInstance.getPriority();
292            }
293    
294            /**
295            * Sets the priority of this m d r rule group instance.
296            *
297            * @param priority the priority of this m d r rule group instance
298            */
299            public void setPriority(int priority) {
300                    _mdrRuleGroupInstance.setPriority(priority);
301            }
302    
303            public boolean isNew() {
304                    return _mdrRuleGroupInstance.isNew();
305            }
306    
307            public void setNew(boolean n) {
308                    _mdrRuleGroupInstance.setNew(n);
309            }
310    
311            public boolean isCachedModel() {
312                    return _mdrRuleGroupInstance.isCachedModel();
313            }
314    
315            public void setCachedModel(boolean cachedModel) {
316                    _mdrRuleGroupInstance.setCachedModel(cachedModel);
317            }
318    
319            public boolean isEscapedModel() {
320                    return _mdrRuleGroupInstance.isEscapedModel();
321            }
322    
323            public java.io.Serializable getPrimaryKeyObj() {
324                    return _mdrRuleGroupInstance.getPrimaryKeyObj();
325            }
326    
327            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
328                    _mdrRuleGroupInstance.setPrimaryKeyObj(primaryKeyObj);
329            }
330    
331            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
332                    return _mdrRuleGroupInstance.getExpandoBridge();
333            }
334    
335            public void setExpandoBridgeAttributes(
336                    com.liferay.portal.service.ServiceContext serviceContext) {
337                    _mdrRuleGroupInstance.setExpandoBridgeAttributes(serviceContext);
338            }
339    
340            @Override
341            public java.lang.Object clone() {
342                    return new MDRRuleGroupInstanceWrapper((MDRRuleGroupInstance)_mdrRuleGroupInstance.clone());
343            }
344    
345            public int compareTo(
346                    com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance mdrRuleGroupInstance) {
347                    return _mdrRuleGroupInstance.compareTo(mdrRuleGroupInstance);
348            }
349    
350            @Override
351            public int hashCode() {
352                    return _mdrRuleGroupInstance.hashCode();
353            }
354    
355            public com.liferay.portal.model.CacheModel<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance> toCacheModel() {
356                    return _mdrRuleGroupInstance.toCacheModel();
357            }
358    
359            public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance toEscapedModel() {
360                    return new MDRRuleGroupInstanceWrapper(_mdrRuleGroupInstance.toEscapedModel());
361            }
362    
363            @Override
364            public java.lang.String toString() {
365                    return _mdrRuleGroupInstance.toString();
366            }
367    
368            public java.lang.String toXmlString() {
369                    return _mdrRuleGroupInstance.toXmlString();
370            }
371    
372            public void persist()
373                    throws com.liferay.portal.kernel.exception.SystemException {
374                    _mdrRuleGroupInstance.persist();
375            }
376    
377            public MDRRuleGroupInstance getWrappedMDRRuleGroupInstance() {
378                    return _mdrRuleGroupInstance;
379            }
380    
381            public void resetOriginalValues() {
382                    _mdrRuleGroupInstance.resetOriginalValues();
383            }
384    
385            private MDRRuleGroupInstance _mdrRuleGroupInstance;
386    }