001    /**
002     * Copyright (c) 2000-2010 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.ratings.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link RatingsEntry}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       RatingsEntry
024     * @generated
025     */
026    public class RatingsEntryWrapper implements RatingsEntry {
027            public RatingsEntryWrapper(RatingsEntry ratingsEntry) {
028                    _ratingsEntry = ratingsEntry;
029            }
030    
031            /**
032            * Gets the primary key of this ratings entry.
033            *
034            * @return the primary key of this ratings entry
035            */
036            public long getPrimaryKey() {
037                    return _ratingsEntry.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this ratings entry
042            *
043            * @param pk the primary key of this ratings entry
044            */
045            public void setPrimaryKey(long pk) {
046                    _ratingsEntry.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the entry id of this ratings entry.
051            *
052            * @return the entry id of this ratings entry
053            */
054            public long getEntryId() {
055                    return _ratingsEntry.getEntryId();
056            }
057    
058            /**
059            * Sets the entry id of this ratings entry.
060            *
061            * @param entryId the entry id of this ratings entry
062            */
063            public void setEntryId(long entryId) {
064                    _ratingsEntry.setEntryId(entryId);
065            }
066    
067            /**
068            * Gets the company id of this ratings entry.
069            *
070            * @return the company id of this ratings entry
071            */
072            public long getCompanyId() {
073                    return _ratingsEntry.getCompanyId();
074            }
075    
076            /**
077            * Sets the company id of this ratings entry.
078            *
079            * @param companyId the company id of this ratings entry
080            */
081            public void setCompanyId(long companyId) {
082                    _ratingsEntry.setCompanyId(companyId);
083            }
084    
085            /**
086            * Gets the user id of this ratings entry.
087            *
088            * @return the user id of this ratings entry
089            */
090            public long getUserId() {
091                    return _ratingsEntry.getUserId();
092            }
093    
094            /**
095            * Sets the user id of this ratings entry.
096            *
097            * @param userId the user id of this ratings entry
098            */
099            public void setUserId(long userId) {
100                    _ratingsEntry.setUserId(userId);
101            }
102    
103            /**
104            * Gets the user uuid of this ratings entry.
105            *
106            * @return the user uuid of this ratings entry
107            * @throws SystemException if a system exception occurred
108            */
109            public java.lang.String getUserUuid()
110                    throws com.liferay.portal.kernel.exception.SystemException {
111                    return _ratingsEntry.getUserUuid();
112            }
113    
114            /**
115            * Sets the user uuid of this ratings entry.
116            *
117            * @param userUuid the user uuid of this ratings entry
118            */
119            public void setUserUuid(java.lang.String userUuid) {
120                    _ratingsEntry.setUserUuid(userUuid);
121            }
122    
123            /**
124            * Gets the user name of this ratings entry.
125            *
126            * @return the user name of this ratings entry
127            */
128            public java.lang.String getUserName() {
129                    return _ratingsEntry.getUserName();
130            }
131    
132            /**
133            * Sets the user name of this ratings entry.
134            *
135            * @param userName the user name of this ratings entry
136            */
137            public void setUserName(java.lang.String userName) {
138                    _ratingsEntry.setUserName(userName);
139            }
140    
141            /**
142            * Gets the create date of this ratings entry.
143            *
144            * @return the create date of this ratings entry
145            */
146            public java.util.Date getCreateDate() {
147                    return _ratingsEntry.getCreateDate();
148            }
149    
150            /**
151            * Sets the create date of this ratings entry.
152            *
153            * @param createDate the create date of this ratings entry
154            */
155            public void setCreateDate(java.util.Date createDate) {
156                    _ratingsEntry.setCreateDate(createDate);
157            }
158    
159            /**
160            * Gets the modified date of this ratings entry.
161            *
162            * @return the modified date of this ratings entry
163            */
164            public java.util.Date getModifiedDate() {
165                    return _ratingsEntry.getModifiedDate();
166            }
167    
168            /**
169            * Sets the modified date of this ratings entry.
170            *
171            * @param modifiedDate the modified date of this ratings entry
172            */
173            public void setModifiedDate(java.util.Date modifiedDate) {
174                    _ratingsEntry.setModifiedDate(modifiedDate);
175            }
176    
177            /**
178            * Gets the class name of the model instance this ratings entry is polymorphically associated with.
179            *
180            * @return the class name of the model instance this ratings entry is polymorphically associated with
181            */
182            public java.lang.String getClassName() {
183                    return _ratingsEntry.getClassName();
184            }
185    
186            /**
187            * Gets the class name id of this ratings entry.
188            *
189            * @return the class name id of this ratings entry
190            */
191            public long getClassNameId() {
192                    return _ratingsEntry.getClassNameId();
193            }
194    
195            /**
196            * Sets the class name id of this ratings entry.
197            *
198            * @param classNameId the class name id of this ratings entry
199            */
200            public void setClassNameId(long classNameId) {
201                    _ratingsEntry.setClassNameId(classNameId);
202            }
203    
204            /**
205            * Gets the class p k of this ratings entry.
206            *
207            * @return the class p k of this ratings entry
208            */
209            public long getClassPK() {
210                    return _ratingsEntry.getClassPK();
211            }
212    
213            /**
214            * Sets the class p k of this ratings entry.
215            *
216            * @param classPK the class p k of this ratings entry
217            */
218            public void setClassPK(long classPK) {
219                    _ratingsEntry.setClassPK(classPK);
220            }
221    
222            /**
223            * Gets the score of this ratings entry.
224            *
225            * @return the score of this ratings entry
226            */
227            public double getScore() {
228                    return _ratingsEntry.getScore();
229            }
230    
231            /**
232            * Sets the score of this ratings entry.
233            *
234            * @param score the score of this ratings entry
235            */
236            public void setScore(double score) {
237                    _ratingsEntry.setScore(score);
238            }
239    
240            public boolean isNew() {
241                    return _ratingsEntry.isNew();
242            }
243    
244            public void setNew(boolean n) {
245                    _ratingsEntry.setNew(n);
246            }
247    
248            public boolean isCachedModel() {
249                    return _ratingsEntry.isCachedModel();
250            }
251    
252            public void setCachedModel(boolean cachedModel) {
253                    _ratingsEntry.setCachedModel(cachedModel);
254            }
255    
256            public boolean isEscapedModel() {
257                    return _ratingsEntry.isEscapedModel();
258            }
259    
260            public void setEscapedModel(boolean escapedModel) {
261                    _ratingsEntry.setEscapedModel(escapedModel);
262            }
263    
264            public java.io.Serializable getPrimaryKeyObj() {
265                    return _ratingsEntry.getPrimaryKeyObj();
266            }
267    
268            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
269                    return _ratingsEntry.getExpandoBridge();
270            }
271    
272            public void setExpandoBridgeAttributes(
273                    com.liferay.portal.service.ServiceContext serviceContext) {
274                    _ratingsEntry.setExpandoBridgeAttributes(serviceContext);
275            }
276    
277            public java.lang.Object clone() {
278                    return _ratingsEntry.clone();
279            }
280    
281            public int compareTo(
282                    com.liferay.portlet.ratings.model.RatingsEntry ratingsEntry) {
283                    return _ratingsEntry.compareTo(ratingsEntry);
284            }
285    
286            public int hashCode() {
287                    return _ratingsEntry.hashCode();
288            }
289    
290            public com.liferay.portlet.ratings.model.RatingsEntry toEscapedModel() {
291                    return _ratingsEntry.toEscapedModel();
292            }
293    
294            public java.lang.String toString() {
295                    return _ratingsEntry.toString();
296            }
297    
298            public java.lang.String toXmlString() {
299                    return _ratingsEntry.toXmlString();
300            }
301    
302            public RatingsEntry getWrappedRatingsEntry() {
303                    return _ratingsEntry;
304            }
305    
306            private RatingsEntry _ratingsEntry;
307    }