001
014
015 package com.liferay.portlet.ratings.model;
016
017 import com.liferay.portal.model.ModelWrapper;
018
019
028 public class RatingsEntryWrapper implements RatingsEntry,
029 ModelWrapper<RatingsEntry> {
030 public RatingsEntryWrapper(RatingsEntry ratingsEntry) {
031 _ratingsEntry = ratingsEntry;
032 }
033
034 public Class<?> getModelClass() {
035 return RatingsEntry.class;
036 }
037
038 public String getModelClassName() {
039 return RatingsEntry.class.getName();
040 }
041
042
047 public long getPrimaryKey() {
048 return _ratingsEntry.getPrimaryKey();
049 }
050
051
056 public void setPrimaryKey(long primaryKey) {
057 _ratingsEntry.setPrimaryKey(primaryKey);
058 }
059
060
065 public long getEntryId() {
066 return _ratingsEntry.getEntryId();
067 }
068
069
074 public void setEntryId(long entryId) {
075 _ratingsEntry.setEntryId(entryId);
076 }
077
078
083 public long getCompanyId() {
084 return _ratingsEntry.getCompanyId();
085 }
086
087
092 public void setCompanyId(long companyId) {
093 _ratingsEntry.setCompanyId(companyId);
094 }
095
096
101 public long getUserId() {
102 return _ratingsEntry.getUserId();
103 }
104
105
110 public void setUserId(long userId) {
111 _ratingsEntry.setUserId(userId);
112 }
113
114
120 public java.lang.String getUserUuid()
121 throws com.liferay.portal.kernel.exception.SystemException {
122 return _ratingsEntry.getUserUuid();
123 }
124
125
130 public void setUserUuid(java.lang.String userUuid) {
131 _ratingsEntry.setUserUuid(userUuid);
132 }
133
134
139 public java.lang.String getUserName() {
140 return _ratingsEntry.getUserName();
141 }
142
143
148 public void setUserName(java.lang.String userName) {
149 _ratingsEntry.setUserName(userName);
150 }
151
152
157 public java.util.Date getCreateDate() {
158 return _ratingsEntry.getCreateDate();
159 }
160
161
166 public void setCreateDate(java.util.Date createDate) {
167 _ratingsEntry.setCreateDate(createDate);
168 }
169
170
175 public java.util.Date getModifiedDate() {
176 return _ratingsEntry.getModifiedDate();
177 }
178
179
184 public void setModifiedDate(java.util.Date modifiedDate) {
185 _ratingsEntry.setModifiedDate(modifiedDate);
186 }
187
188
193 public java.lang.String getClassName() {
194 return _ratingsEntry.getClassName();
195 }
196
197
202 public long getClassNameId() {
203 return _ratingsEntry.getClassNameId();
204 }
205
206
211 public void setClassNameId(long classNameId) {
212 _ratingsEntry.setClassNameId(classNameId);
213 }
214
215
220 public long getClassPK() {
221 return _ratingsEntry.getClassPK();
222 }
223
224
229 public void setClassPK(long classPK) {
230 _ratingsEntry.setClassPK(classPK);
231 }
232
233
238 public double getScore() {
239 return _ratingsEntry.getScore();
240 }
241
242
247 public void setScore(double score) {
248 _ratingsEntry.setScore(score);
249 }
250
251 public boolean isNew() {
252 return _ratingsEntry.isNew();
253 }
254
255 public void setNew(boolean n) {
256 _ratingsEntry.setNew(n);
257 }
258
259 public boolean isCachedModel() {
260 return _ratingsEntry.isCachedModel();
261 }
262
263 public void setCachedModel(boolean cachedModel) {
264 _ratingsEntry.setCachedModel(cachedModel);
265 }
266
267 public boolean isEscapedModel() {
268 return _ratingsEntry.isEscapedModel();
269 }
270
271 public java.io.Serializable getPrimaryKeyObj() {
272 return _ratingsEntry.getPrimaryKeyObj();
273 }
274
275 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
276 _ratingsEntry.setPrimaryKeyObj(primaryKeyObj);
277 }
278
279 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
280 return _ratingsEntry.getExpandoBridge();
281 }
282
283 public void setExpandoBridgeAttributes(
284 com.liferay.portal.service.ServiceContext serviceContext) {
285 _ratingsEntry.setExpandoBridgeAttributes(serviceContext);
286 }
287
288 @Override
289 public java.lang.Object clone() {
290 return new RatingsEntryWrapper((RatingsEntry)_ratingsEntry.clone());
291 }
292
293 public int compareTo(
294 com.liferay.portlet.ratings.model.RatingsEntry ratingsEntry) {
295 return _ratingsEntry.compareTo(ratingsEntry);
296 }
297
298 @Override
299 public int hashCode() {
300 return _ratingsEntry.hashCode();
301 }
302
303 public com.liferay.portal.model.CacheModel<com.liferay.portlet.ratings.model.RatingsEntry> toCacheModel() {
304 return _ratingsEntry.toCacheModel();
305 }
306
307 public com.liferay.portlet.ratings.model.RatingsEntry toEscapedModel() {
308 return new RatingsEntryWrapper(_ratingsEntry.toEscapedModel());
309 }
310
311 @Override
312 public java.lang.String toString() {
313 return _ratingsEntry.toString();
314 }
315
316 public java.lang.String toXmlString() {
317 return _ratingsEntry.toXmlString();
318 }
319
320 public void persist()
321 throws com.liferay.portal.kernel.exception.SystemException {
322 _ratingsEntry.persist();
323 }
324
325
328 public RatingsEntry getWrappedRatingsEntry() {
329 return _ratingsEntry;
330 }
331
332 public RatingsEntry getWrappedModel() {
333 return _ratingsEntry;
334 }
335
336 public void resetOriginalValues() {
337 _ratingsEntry.resetOriginalValues();
338 }
339
340 private RatingsEntry _ratingsEntry;
341 }