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.social.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link SocialEquitySetting}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       SocialEquitySetting
024     * @generated
025     */
026    public class SocialEquitySettingWrapper implements SocialEquitySetting {
027            public SocialEquitySettingWrapper(SocialEquitySetting socialEquitySetting) {
028                    _socialEquitySetting = socialEquitySetting;
029            }
030    
031            public Class<?> getModelClass() {
032                    return SocialEquitySetting.class;
033            }
034    
035            public String getModelClassName() {
036                    return SocialEquitySetting.class.getName();
037            }
038    
039            /**
040            * Returns the primary key of this social equity setting.
041            *
042            * @return the primary key of this social equity setting
043            */
044            public long getPrimaryKey() {
045                    return _socialEquitySetting.getPrimaryKey();
046            }
047    
048            /**
049            * Sets the primary key of this social equity setting.
050            *
051            * @param primaryKey the primary key of this social equity setting
052            */
053            public void setPrimaryKey(long primaryKey) {
054                    _socialEquitySetting.setPrimaryKey(primaryKey);
055            }
056    
057            /**
058            * Returns the equity setting ID of this social equity setting.
059            *
060            * @return the equity setting ID of this social equity setting
061            */
062            public long getEquitySettingId() {
063                    return _socialEquitySetting.getEquitySettingId();
064            }
065    
066            /**
067            * Sets the equity setting ID of this social equity setting.
068            *
069            * @param equitySettingId the equity setting ID of this social equity setting
070            */
071            public void setEquitySettingId(long equitySettingId) {
072                    _socialEquitySetting.setEquitySettingId(equitySettingId);
073            }
074    
075            /**
076            * Returns the group ID of this social equity setting.
077            *
078            * @return the group ID of this social equity setting
079            */
080            public long getGroupId() {
081                    return _socialEquitySetting.getGroupId();
082            }
083    
084            /**
085            * Sets the group ID of this social equity setting.
086            *
087            * @param groupId the group ID of this social equity setting
088            */
089            public void setGroupId(long groupId) {
090                    _socialEquitySetting.setGroupId(groupId);
091            }
092    
093            /**
094            * Returns the company ID of this social equity setting.
095            *
096            * @return the company ID of this social equity setting
097            */
098            public long getCompanyId() {
099                    return _socialEquitySetting.getCompanyId();
100            }
101    
102            /**
103            * Sets the company ID of this social equity setting.
104            *
105            * @param companyId the company ID of this social equity setting
106            */
107            public void setCompanyId(long companyId) {
108                    _socialEquitySetting.setCompanyId(companyId);
109            }
110    
111            /**
112            * Returns the fully qualified class name of this social equity setting.
113            *
114            * @return the fully qualified class name of this social equity setting
115            */
116            public java.lang.String getClassName() {
117                    return _socialEquitySetting.getClassName();
118            }
119    
120            /**
121            * Returns the class name ID of this social equity setting.
122            *
123            * @return the class name ID of this social equity setting
124            */
125            public long getClassNameId() {
126                    return _socialEquitySetting.getClassNameId();
127            }
128    
129            /**
130            * Sets the class name ID of this social equity setting.
131            *
132            * @param classNameId the class name ID of this social equity setting
133            */
134            public void setClassNameId(long classNameId) {
135                    _socialEquitySetting.setClassNameId(classNameId);
136            }
137    
138            /**
139            * Returns the action ID of this social equity setting.
140            *
141            * @return the action ID of this social equity setting
142            */
143            public java.lang.String getActionId() {
144                    return _socialEquitySetting.getActionId();
145            }
146    
147            /**
148            * Sets the action ID of this social equity setting.
149            *
150            * @param actionId the action ID of this social equity setting
151            */
152            public void setActionId(java.lang.String actionId) {
153                    _socialEquitySetting.setActionId(actionId);
154            }
155    
156            /**
157            * Returns the daily limit of this social equity setting.
158            *
159            * @return the daily limit of this social equity setting
160            */
161            public int getDailyLimit() {
162                    return _socialEquitySetting.getDailyLimit();
163            }
164    
165            /**
166            * Sets the daily limit of this social equity setting.
167            *
168            * @param dailyLimit the daily limit of this social equity setting
169            */
170            public void setDailyLimit(int dailyLimit) {
171                    _socialEquitySetting.setDailyLimit(dailyLimit);
172            }
173    
174            /**
175            * Returns the lifespan of this social equity setting.
176            *
177            * @return the lifespan of this social equity setting
178            */
179            public int getLifespan() {
180                    return _socialEquitySetting.getLifespan();
181            }
182    
183            /**
184            * Sets the lifespan of this social equity setting.
185            *
186            * @param lifespan the lifespan of this social equity setting
187            */
188            public void setLifespan(int lifespan) {
189                    _socialEquitySetting.setLifespan(lifespan);
190            }
191    
192            /**
193            * Returns the type of this social equity setting.
194            *
195            * @return the type of this social equity setting
196            */
197            public int getType() {
198                    return _socialEquitySetting.getType();
199            }
200    
201            /**
202            * Sets the type of this social equity setting.
203            *
204            * @param type the type of this social equity setting
205            */
206            public void setType(int type) {
207                    _socialEquitySetting.setType(type);
208            }
209    
210            /**
211            * Returns the unique entry of this social equity setting.
212            *
213            * @return the unique entry of this social equity setting
214            */
215            public boolean getUniqueEntry() {
216                    return _socialEquitySetting.getUniqueEntry();
217            }
218    
219            /**
220            * Returns <code>true</code> if this social equity setting is unique entry.
221            *
222            * @return <code>true</code> if this social equity setting is unique entry; <code>false</code> otherwise
223            */
224            public boolean isUniqueEntry() {
225                    return _socialEquitySetting.isUniqueEntry();
226            }
227    
228            /**
229            * Sets whether this social equity setting is unique entry.
230            *
231            * @param uniqueEntry the unique entry of this social equity setting
232            */
233            public void setUniqueEntry(boolean uniqueEntry) {
234                    _socialEquitySetting.setUniqueEntry(uniqueEntry);
235            }
236    
237            /**
238            * Returns the value of this social equity setting.
239            *
240            * @return the value of this social equity setting
241            */
242            public int getValue() {
243                    return _socialEquitySetting.getValue();
244            }
245    
246            /**
247            * Sets the value of this social equity setting.
248            *
249            * @param value the value of this social equity setting
250            */
251            public void setValue(int value) {
252                    _socialEquitySetting.setValue(value);
253            }
254    
255            public boolean isNew() {
256                    return _socialEquitySetting.isNew();
257            }
258    
259            public void setNew(boolean n) {
260                    _socialEquitySetting.setNew(n);
261            }
262    
263            public boolean isCachedModel() {
264                    return _socialEquitySetting.isCachedModel();
265            }
266    
267            public void setCachedModel(boolean cachedModel) {
268                    _socialEquitySetting.setCachedModel(cachedModel);
269            }
270    
271            public boolean isEscapedModel() {
272                    return _socialEquitySetting.isEscapedModel();
273            }
274    
275            public java.io.Serializable getPrimaryKeyObj() {
276                    return _socialEquitySetting.getPrimaryKeyObj();
277            }
278    
279            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
280                    _socialEquitySetting.setPrimaryKeyObj(primaryKeyObj);
281            }
282    
283            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
284                    return _socialEquitySetting.getExpandoBridge();
285            }
286    
287            public void setExpandoBridgeAttributes(
288                    com.liferay.portal.service.ServiceContext serviceContext) {
289                    _socialEquitySetting.setExpandoBridgeAttributes(serviceContext);
290            }
291    
292            @Override
293            public java.lang.Object clone() {
294                    return new SocialEquitySettingWrapper((SocialEquitySetting)_socialEquitySetting.clone());
295            }
296    
297            public int compareTo(
298                    com.liferay.portlet.social.model.SocialEquitySetting socialEquitySetting) {
299                    return _socialEquitySetting.compareTo(socialEquitySetting);
300            }
301    
302            @Override
303            public int hashCode() {
304                    return _socialEquitySetting.hashCode();
305            }
306    
307            public com.liferay.portal.model.CacheModel<com.liferay.portlet.social.model.SocialEquitySetting> toCacheModel() {
308                    return _socialEquitySetting.toCacheModel();
309            }
310    
311            public com.liferay.portlet.social.model.SocialEquitySetting toEscapedModel() {
312                    return new SocialEquitySettingWrapper(_socialEquitySetting.toEscapedModel());
313            }
314    
315            @Override
316            public java.lang.String toString() {
317                    return _socialEquitySetting.toString();
318            }
319    
320            public java.lang.String toXmlString() {
321                    return _socialEquitySetting.toXmlString();
322            }
323    
324            public void persist()
325                    throws com.liferay.portal.kernel.exception.SystemException {
326                    _socialEquitySetting.persist();
327            }
328    
329            public void update(
330                    com.liferay.portlet.social.model.SocialEquityActionMapping equityActionMapping) {
331                    _socialEquitySetting.update(equityActionMapping);
332            }
333    
334            public SocialEquitySetting getWrappedSocialEquitySetting() {
335                    return _socialEquitySetting;
336            }
337    
338            public void resetOriginalValues() {
339                    _socialEquitySetting.resetOriginalValues();
340            }
341    
342            private SocialEquitySetting _socialEquitySetting;
343    }