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