001
014
015 package com.liferay.portlet.ratings.model;
016
017
026 public class RatingsEntryWrapper implements RatingsEntry {
027 public RatingsEntryWrapper(RatingsEntry ratingsEntry) {
028 _ratingsEntry = ratingsEntry;
029 }
030
031 public Class<?> getModelClass() {
032 return RatingsEntry.class;
033 }
034
035 public String getModelClassName() {
036 return RatingsEntry.class.getName();
037 }
038
039
044 public long getPrimaryKey() {
045 return _ratingsEntry.getPrimaryKey();
046 }
047
048
053 public void setPrimaryKey(long primaryKey) {
054 _ratingsEntry.setPrimaryKey(primaryKey);
055 }
056
057
062 public long getEntryId() {
063 return _ratingsEntry.getEntryId();
064 }
065
066
071 public void setEntryId(long entryId) {
072 _ratingsEntry.setEntryId(entryId);
073 }
074
075
080 public long getCompanyId() {
081 return _ratingsEntry.getCompanyId();
082 }
083
084
089 public void setCompanyId(long companyId) {
090 _ratingsEntry.setCompanyId(companyId);
091 }
092
093
098 public long getUserId() {
099 return _ratingsEntry.getUserId();
100 }
101
102
107 public void setUserId(long userId) {
108 _ratingsEntry.setUserId(userId);
109 }
110
111
117 public java.lang.String getUserUuid()
118 throws com.liferay.portal.kernel.exception.SystemException {
119 return _ratingsEntry.getUserUuid();
120 }
121
122
127 public void setUserUuid(java.lang.String userUuid) {
128 _ratingsEntry.setUserUuid(userUuid);
129 }
130
131
136 public java.lang.String getUserName() {
137 return _ratingsEntry.getUserName();
138 }
139
140
145 public void setUserName(java.lang.String userName) {
146 _ratingsEntry.setUserName(userName);
147 }
148
149
154 public java.util.Date getCreateDate() {
155 return _ratingsEntry.getCreateDate();
156 }
157
158
163 public void setCreateDate(java.util.Date createDate) {
164 _ratingsEntry.setCreateDate(createDate);
165 }
166
167
172 public java.util.Date getModifiedDate() {
173 return _ratingsEntry.getModifiedDate();
174 }
175
176
181 public void setModifiedDate(java.util.Date modifiedDate) {
182 _ratingsEntry.setModifiedDate(modifiedDate);
183 }
184
185
190 public java.lang.String getClassName() {
191 return _ratingsEntry.getClassName();
192 }
193
194
199 public long getClassNameId() {
200 return _ratingsEntry.getClassNameId();
201 }
202
203
208 public void setClassNameId(long classNameId) {
209 _ratingsEntry.setClassNameId(classNameId);
210 }
211
212
217 public long getClassPK() {
218 return _ratingsEntry.getClassPK();
219 }
220
221
226 public void setClassPK(long classPK) {
227 _ratingsEntry.setClassPK(classPK);
228 }
229
230
235 public double getScore() {
236 return _ratingsEntry.getScore();
237 }
238
239
244 public void setScore(double score) {
245 _ratingsEntry.setScore(score);
246 }
247
248 public boolean isNew() {
249 return _ratingsEntry.isNew();
250 }
251
252 public void setNew(boolean n) {
253 _ratingsEntry.setNew(n);
254 }
255
256 public boolean isCachedModel() {
257 return _ratingsEntry.isCachedModel();
258 }
259
260 public void setCachedModel(boolean cachedModel) {
261 _ratingsEntry.setCachedModel(cachedModel);
262 }
263
264 public boolean isEscapedModel() {
265 return _ratingsEntry.isEscapedModel();
266 }
267
268 public java.io.Serializable getPrimaryKeyObj() {
269 return _ratingsEntry.getPrimaryKeyObj();
270 }
271
272 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
273 _ratingsEntry.setPrimaryKeyObj(primaryKeyObj);
274 }
275
276 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
277 return _ratingsEntry.getExpandoBridge();
278 }
279
280 public void setExpandoBridgeAttributes(
281 com.liferay.portal.service.ServiceContext serviceContext) {
282 _ratingsEntry.setExpandoBridgeAttributes(serviceContext);
283 }
284
285 @Override
286 public java.lang.Object clone() {
287 return new RatingsEntryWrapper((RatingsEntry)_ratingsEntry.clone());
288 }
289
290 public int compareTo(
291 com.liferay.portlet.ratings.model.RatingsEntry ratingsEntry) {
292 return _ratingsEntry.compareTo(ratingsEntry);
293 }
294
295 @Override
296 public int hashCode() {
297 return _ratingsEntry.hashCode();
298 }
299
300 public com.liferay.portal.model.CacheModel<com.liferay.portlet.ratings.model.RatingsEntry> toCacheModel() {
301 return _ratingsEntry.toCacheModel();
302 }
303
304 public com.liferay.portlet.ratings.model.RatingsEntry toEscapedModel() {
305 return new RatingsEntryWrapper(_ratingsEntry.toEscapedModel());
306 }
307
308 @Override
309 public java.lang.String toString() {
310 return _ratingsEntry.toString();
311 }
312
313 public java.lang.String toXmlString() {
314 return _ratingsEntry.toXmlString();
315 }
316
317 public void persist()
318 throws com.liferay.portal.kernel.exception.SystemException {
319 _ratingsEntry.persist();
320 }
321
322 public RatingsEntry getWrappedRatingsEntry() {
323 return _ratingsEntry;
324 }
325
326 public void resetOriginalValues() {
327 _ratingsEntry.resetOriginalValues();
328 }
329
330 private RatingsEntry _ratingsEntry;
331 }