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