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