001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
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            /**
032            * Gets the primary key of this social equity setting.
033            *
034            * @return the primary key of this social equity setting
035            */
036            public long getPrimaryKey() {
037                    return _socialEquitySetting.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this social equity setting
042            *
043            * @param pk the primary key of this social equity setting
044            */
045            public void setPrimaryKey(long pk) {
046                    _socialEquitySetting.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the equity setting id of this social equity setting.
051            *
052            * @return the equity setting id of this social equity setting
053            */
054            public long getEquitySettingId() {
055                    return _socialEquitySetting.getEquitySettingId();
056            }
057    
058            /**
059            * Sets the equity setting id of this social equity setting.
060            *
061            * @param equitySettingId the equity setting id of this social equity setting
062            */
063            public void setEquitySettingId(long equitySettingId) {
064                    _socialEquitySetting.setEquitySettingId(equitySettingId);
065            }
066    
067            /**
068            * Gets the group id of this social equity setting.
069            *
070            * @return the group id of this social equity setting
071            */
072            public long getGroupId() {
073                    return _socialEquitySetting.getGroupId();
074            }
075    
076            /**
077            * Sets the group id of this social equity setting.
078            *
079            * @param groupId the group id of this social equity setting
080            */
081            public void setGroupId(long groupId) {
082                    _socialEquitySetting.setGroupId(groupId);
083            }
084    
085            /**
086            * Gets the company id of this social equity setting.
087            *
088            * @return the company id of this social equity setting
089            */
090            public long getCompanyId() {
091                    return _socialEquitySetting.getCompanyId();
092            }
093    
094            /**
095            * Sets the company id of this social equity setting.
096            *
097            * @param companyId the company id of this social equity setting
098            */
099            public void setCompanyId(long companyId) {
100                    _socialEquitySetting.setCompanyId(companyId);
101            }
102    
103            /**
104            * Gets the class name of the model instance this social equity setting is polymorphically associated with.
105            *
106            * @return the class name of the model instance this social equity setting is polymorphically associated with
107            */
108            public java.lang.String getClassName() {
109                    return _socialEquitySetting.getClassName();
110            }
111    
112            /**
113            * Gets the class name id of this social equity setting.
114            *
115            * @return the class name id of this social equity setting
116            */
117            public long getClassNameId() {
118                    return _socialEquitySetting.getClassNameId();
119            }
120    
121            /**
122            * Sets the class name id of this social equity setting.
123            *
124            * @param classNameId the class name id of this social equity setting
125            */
126            public void setClassNameId(long classNameId) {
127                    _socialEquitySetting.setClassNameId(classNameId);
128            }
129    
130            /**
131            * Gets the action id of this social equity setting.
132            *
133            * @return the action id of this social equity setting
134            */
135            public java.lang.String getActionId() {
136                    return _socialEquitySetting.getActionId();
137            }
138    
139            /**
140            * Sets the action id of this social equity setting.
141            *
142            * @param actionId the action id of this social equity setting
143            */
144            public void setActionId(java.lang.String actionId) {
145                    _socialEquitySetting.setActionId(actionId);
146            }
147    
148            /**
149            * Gets the daily limit of this social equity setting.
150            *
151            * @return the daily limit of this social equity setting
152            */
153            public int getDailyLimit() {
154                    return _socialEquitySetting.getDailyLimit();
155            }
156    
157            /**
158            * Sets the daily limit of this social equity setting.
159            *
160            * @param dailyLimit the daily limit of this social equity setting
161            */
162            public void setDailyLimit(int dailyLimit) {
163                    _socialEquitySetting.setDailyLimit(dailyLimit);
164            }
165    
166            /**
167            * Gets the lifespan of this social equity setting.
168            *
169            * @return the lifespan of this social equity setting
170            */
171            public int getLifespan() {
172                    return _socialEquitySetting.getLifespan();
173            }
174    
175            /**
176            * Sets the lifespan of this social equity setting.
177            *
178            * @param lifespan the lifespan of this social equity setting
179            */
180            public void setLifespan(int lifespan) {
181                    _socialEquitySetting.setLifespan(lifespan);
182            }
183    
184            /**
185            * Gets the type of this social equity setting.
186            *
187            * @return the type of this social equity setting
188            */
189            public int getType() {
190                    return _socialEquitySetting.getType();
191            }
192    
193            /**
194            * Sets the type of this social equity setting.
195            *
196            * @param type the type of this social equity setting
197            */
198            public void setType(int type) {
199                    _socialEquitySetting.setType(type);
200            }
201    
202            /**
203            * Gets the unique entry of this social equity setting.
204            *
205            * @return the unique entry of this social equity setting
206            */
207            public boolean getUniqueEntry() {
208                    return _socialEquitySetting.getUniqueEntry();
209            }
210    
211            /**
212            * Determines whether this social equity setting is unique entry.
213            *
214            * @return whether this social equity setting is unique entry
215            */
216            public boolean isUniqueEntry() {
217                    return _socialEquitySetting.isUniqueEntry();
218            }
219    
220            /**
221            * Sets whether this {$entity.humanName} is unique entry.
222            *
223            * @param uniqueEntry the unique entry of this social equity setting
224            */
225            public void setUniqueEntry(boolean uniqueEntry) {
226                    _socialEquitySetting.setUniqueEntry(uniqueEntry);
227            }
228    
229            /**
230            * Gets the value of this social equity setting.
231            *
232            * @return the value of this social equity setting
233            */
234            public int getValue() {
235                    return _socialEquitySetting.getValue();
236            }
237    
238            /**
239            * Sets the value of this social equity setting.
240            *
241            * @param value the value of this social equity setting
242            */
243            public void setValue(int value) {
244                    _socialEquitySetting.setValue(value);
245            }
246    
247            public boolean isNew() {
248                    return _socialEquitySetting.isNew();
249            }
250    
251            public void setNew(boolean n) {
252                    _socialEquitySetting.setNew(n);
253            }
254    
255            public boolean isCachedModel() {
256                    return _socialEquitySetting.isCachedModel();
257            }
258    
259            public void setCachedModel(boolean cachedModel) {
260                    _socialEquitySetting.setCachedModel(cachedModel);
261            }
262    
263            public boolean isEscapedModel() {
264                    return _socialEquitySetting.isEscapedModel();
265            }
266    
267            public void setEscapedModel(boolean escapedModel) {
268                    _socialEquitySetting.setEscapedModel(escapedModel);
269            }
270    
271            public java.io.Serializable getPrimaryKeyObj() {
272                    return _socialEquitySetting.getPrimaryKeyObj();
273            }
274    
275            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
276                    return _socialEquitySetting.getExpandoBridge();
277            }
278    
279            public void setExpandoBridgeAttributes(
280                    com.liferay.portal.service.ServiceContext serviceContext) {
281                    _socialEquitySetting.setExpandoBridgeAttributes(serviceContext);
282            }
283    
284            public java.lang.Object clone() {
285                    return _socialEquitySetting.clone();
286            }
287    
288            public int compareTo(
289                    com.liferay.portlet.social.model.SocialEquitySetting socialEquitySetting) {
290                    return _socialEquitySetting.compareTo(socialEquitySetting);
291            }
292    
293            public int hashCode() {
294                    return _socialEquitySetting.hashCode();
295            }
296    
297            public com.liferay.portlet.social.model.SocialEquitySetting toEscapedModel() {
298                    return _socialEquitySetting.toEscapedModel();
299            }
300    
301            public java.lang.String toString() {
302                    return _socialEquitySetting.toString();
303            }
304    
305            public java.lang.String toXmlString() {
306                    return _socialEquitySetting.toXmlString();
307            }
308    
309            public void update(
310                    com.liferay.portlet.social.model.SocialEquityActionMapping equityActionMapping) {
311                    _socialEquitySetting.update(equityActionMapping);
312            }
313    
314            public SocialEquitySetting getWrappedSocialEquitySetting() {
315                    return _socialEquitySetting;
316            }
317    
318            private SocialEquitySetting _socialEquitySetting;
319    }