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