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