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 SocialActivityAchievement}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       SocialActivityAchievement
024     * @generated
025     */
026    public class SocialActivityAchievementWrapper
027            implements SocialActivityAchievement {
028            public SocialActivityAchievementWrapper(
029                    SocialActivityAchievement socialActivityAchievement) {
030                    _socialActivityAchievement = socialActivityAchievement;
031            }
032    
033            public Class<?> getModelClass() {
034                    return SocialActivityAchievement.class;
035            }
036    
037            public String getModelClassName() {
038                    return SocialActivityAchievement.class.getName();
039            }
040    
041            /**
042            * Returns the primary key of this social activity achievement.
043            *
044            * @return the primary key of this social activity achievement
045            */
046            public long getPrimaryKey() {
047                    return _socialActivityAchievement.getPrimaryKey();
048            }
049    
050            /**
051            * Sets the primary key of this social activity achievement.
052            *
053            * @param primaryKey the primary key of this social activity achievement
054            */
055            public void setPrimaryKey(long primaryKey) {
056                    _socialActivityAchievement.setPrimaryKey(primaryKey);
057            }
058    
059            /**
060            * Returns the activity achievement ID of this social activity achievement.
061            *
062            * @return the activity achievement ID of this social activity achievement
063            */
064            public long getActivityAchievementId() {
065                    return _socialActivityAchievement.getActivityAchievementId();
066            }
067    
068            /**
069            * Sets the activity achievement ID of this social activity achievement.
070            *
071            * @param activityAchievementId the activity achievement ID of this social activity achievement
072            */
073            public void setActivityAchievementId(long activityAchievementId) {
074                    _socialActivityAchievement.setActivityAchievementId(activityAchievementId);
075            }
076    
077            /**
078            * Returns the group ID of this social activity achievement.
079            *
080            * @return the group ID of this social activity achievement
081            */
082            public long getGroupId() {
083                    return _socialActivityAchievement.getGroupId();
084            }
085    
086            /**
087            * Sets the group ID of this social activity achievement.
088            *
089            * @param groupId the group ID of this social activity achievement
090            */
091            public void setGroupId(long groupId) {
092                    _socialActivityAchievement.setGroupId(groupId);
093            }
094    
095            /**
096            * Returns the company ID of this social activity achievement.
097            *
098            * @return the company ID of this social activity achievement
099            */
100            public long getCompanyId() {
101                    return _socialActivityAchievement.getCompanyId();
102            }
103    
104            /**
105            * Sets the company ID of this social activity achievement.
106            *
107            * @param companyId the company ID of this social activity achievement
108            */
109            public void setCompanyId(long companyId) {
110                    _socialActivityAchievement.setCompanyId(companyId);
111            }
112    
113            /**
114            * Returns the user ID of this social activity achievement.
115            *
116            * @return the user ID of this social activity achievement
117            */
118            public long getUserId() {
119                    return _socialActivityAchievement.getUserId();
120            }
121    
122            /**
123            * Sets the user ID of this social activity achievement.
124            *
125            * @param userId the user ID of this social activity achievement
126            */
127            public void setUserId(long userId) {
128                    _socialActivityAchievement.setUserId(userId);
129            }
130    
131            /**
132            * Returns the user uuid of this social activity achievement.
133            *
134            * @return the user uuid of this social activity achievement
135            * @throws SystemException if a system exception occurred
136            */
137            public java.lang.String getUserUuid()
138                    throws com.liferay.portal.kernel.exception.SystemException {
139                    return _socialActivityAchievement.getUserUuid();
140            }
141    
142            /**
143            * Sets the user uuid of this social activity achievement.
144            *
145            * @param userUuid the user uuid of this social activity achievement
146            */
147            public void setUserUuid(java.lang.String userUuid) {
148                    _socialActivityAchievement.setUserUuid(userUuid);
149            }
150    
151            /**
152            * Returns the create date of this social activity achievement.
153            *
154            * @return the create date of this social activity achievement
155            */
156            public long getCreateDate() {
157                    return _socialActivityAchievement.getCreateDate();
158            }
159    
160            /**
161            * Sets the create date of this social activity achievement.
162            *
163            * @param createDate the create date of this social activity achievement
164            */
165            public void setCreateDate(long createDate) {
166                    _socialActivityAchievement.setCreateDate(createDate);
167            }
168    
169            /**
170            * Returns the name of this social activity achievement.
171            *
172            * @return the name of this social activity achievement
173            */
174            public java.lang.String getName() {
175                    return _socialActivityAchievement.getName();
176            }
177    
178            /**
179            * Sets the name of this social activity achievement.
180            *
181            * @param name the name of this social activity achievement
182            */
183            public void setName(java.lang.String name) {
184                    _socialActivityAchievement.setName(name);
185            }
186    
187            /**
188            * Returns the first in group of this social activity achievement.
189            *
190            * @return the first in group of this social activity achievement
191            */
192            public boolean getFirstInGroup() {
193                    return _socialActivityAchievement.getFirstInGroup();
194            }
195    
196            /**
197            * Returns <code>true</code> if this social activity achievement is first in group.
198            *
199            * @return <code>true</code> if this social activity achievement is first in group; <code>false</code> otherwise
200            */
201            public boolean isFirstInGroup() {
202                    return _socialActivityAchievement.isFirstInGroup();
203            }
204    
205            /**
206            * Sets whether this social activity achievement is first in group.
207            *
208            * @param firstInGroup the first in group of this social activity achievement
209            */
210            public void setFirstInGroup(boolean firstInGroup) {
211                    _socialActivityAchievement.setFirstInGroup(firstInGroup);
212            }
213    
214            public boolean isNew() {
215                    return _socialActivityAchievement.isNew();
216            }
217    
218            public void setNew(boolean n) {
219                    _socialActivityAchievement.setNew(n);
220            }
221    
222            public boolean isCachedModel() {
223                    return _socialActivityAchievement.isCachedModel();
224            }
225    
226            public void setCachedModel(boolean cachedModel) {
227                    _socialActivityAchievement.setCachedModel(cachedModel);
228            }
229    
230            public boolean isEscapedModel() {
231                    return _socialActivityAchievement.isEscapedModel();
232            }
233    
234            public java.io.Serializable getPrimaryKeyObj() {
235                    return _socialActivityAchievement.getPrimaryKeyObj();
236            }
237    
238            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
239                    _socialActivityAchievement.setPrimaryKeyObj(primaryKeyObj);
240            }
241    
242            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
243                    return _socialActivityAchievement.getExpandoBridge();
244            }
245    
246            public void setExpandoBridgeAttributes(
247                    com.liferay.portal.service.ServiceContext serviceContext) {
248                    _socialActivityAchievement.setExpandoBridgeAttributes(serviceContext);
249            }
250    
251            @Override
252            public java.lang.Object clone() {
253                    return new SocialActivityAchievementWrapper((SocialActivityAchievement)_socialActivityAchievement.clone());
254            }
255    
256            public int compareTo(
257                    com.liferay.portlet.social.model.SocialActivityAchievement socialActivityAchievement) {
258                    return _socialActivityAchievement.compareTo(socialActivityAchievement);
259            }
260    
261            @Override
262            public int hashCode() {
263                    return _socialActivityAchievement.hashCode();
264            }
265    
266            public com.liferay.portal.model.CacheModel<com.liferay.portlet.social.model.SocialActivityAchievement> toCacheModel() {
267                    return _socialActivityAchievement.toCacheModel();
268            }
269    
270            public com.liferay.portlet.social.model.SocialActivityAchievement toEscapedModel() {
271                    return new SocialActivityAchievementWrapper(_socialActivityAchievement.toEscapedModel());
272            }
273    
274            @Override
275            public java.lang.String toString() {
276                    return _socialActivityAchievement.toString();
277            }
278    
279            public java.lang.String toXmlString() {
280                    return _socialActivityAchievement.toXmlString();
281            }
282    
283            public void persist()
284                    throws com.liferay.portal.kernel.exception.SystemException {
285                    _socialActivityAchievement.persist();
286            }
287    
288            public SocialActivityAchievement getWrappedSocialActivityAchievement() {
289                    return _socialActivityAchievement;
290            }
291    
292            public void resetOriginalValues() {
293                    _socialActivityAchievement.resetOriginalValues();
294            }
295    
296            private SocialActivityAchievement _socialActivityAchievement;
297    }