001
014
015 package com.liferay.portlet.polls.model;
016
017 import com.liferay.portal.model.ModelWrapper;
018
019
028 public class PollsVoteWrapper implements PollsVote, ModelWrapper<PollsVote> {
029 public PollsVoteWrapper(PollsVote pollsVote) {
030 _pollsVote = pollsVote;
031 }
032
033 public Class<?> getModelClass() {
034 return PollsVote.class;
035 }
036
037 public String getModelClassName() {
038 return PollsVote.class.getName();
039 }
040
041
046 public long getPrimaryKey() {
047 return _pollsVote.getPrimaryKey();
048 }
049
050
055 public void setPrimaryKey(long primaryKey) {
056 _pollsVote.setPrimaryKey(primaryKey);
057 }
058
059
064 public long getVoteId() {
065 return _pollsVote.getVoteId();
066 }
067
068
073 public void setVoteId(long voteId) {
074 _pollsVote.setVoteId(voteId);
075 }
076
077
082 public long getCompanyId() {
083 return _pollsVote.getCompanyId();
084 }
085
086
091 public void setCompanyId(long companyId) {
092 _pollsVote.setCompanyId(companyId);
093 }
094
095
100 public long getUserId() {
101 return _pollsVote.getUserId();
102 }
103
104
109 public void setUserId(long userId) {
110 _pollsVote.setUserId(userId);
111 }
112
113
119 public java.lang.String getUserUuid()
120 throws com.liferay.portal.kernel.exception.SystemException {
121 return _pollsVote.getUserUuid();
122 }
123
124
129 public void setUserUuid(java.lang.String userUuid) {
130 _pollsVote.setUserUuid(userUuid);
131 }
132
133
138 public java.lang.String getUserName() {
139 return _pollsVote.getUserName();
140 }
141
142
147 public void setUserName(java.lang.String userName) {
148 _pollsVote.setUserName(userName);
149 }
150
151
156 public java.util.Date getCreateDate() {
157 return _pollsVote.getCreateDate();
158 }
159
160
165 public void setCreateDate(java.util.Date createDate) {
166 _pollsVote.setCreateDate(createDate);
167 }
168
169
174 public java.util.Date getModifiedDate() {
175 return _pollsVote.getModifiedDate();
176 }
177
178
183 public void setModifiedDate(java.util.Date modifiedDate) {
184 _pollsVote.setModifiedDate(modifiedDate);
185 }
186
187
192 public long getQuestionId() {
193 return _pollsVote.getQuestionId();
194 }
195
196
201 public void setQuestionId(long questionId) {
202 _pollsVote.setQuestionId(questionId);
203 }
204
205
210 public long getChoiceId() {
211 return _pollsVote.getChoiceId();
212 }
213
214
219 public void setChoiceId(long choiceId) {
220 _pollsVote.setChoiceId(choiceId);
221 }
222
223
228 public java.util.Date getVoteDate() {
229 return _pollsVote.getVoteDate();
230 }
231
232
237 public void setVoteDate(java.util.Date voteDate) {
238 _pollsVote.setVoteDate(voteDate);
239 }
240
241 public boolean isNew() {
242 return _pollsVote.isNew();
243 }
244
245 public void setNew(boolean n) {
246 _pollsVote.setNew(n);
247 }
248
249 public boolean isCachedModel() {
250 return _pollsVote.isCachedModel();
251 }
252
253 public void setCachedModel(boolean cachedModel) {
254 _pollsVote.setCachedModel(cachedModel);
255 }
256
257 public boolean isEscapedModel() {
258 return _pollsVote.isEscapedModel();
259 }
260
261 public java.io.Serializable getPrimaryKeyObj() {
262 return _pollsVote.getPrimaryKeyObj();
263 }
264
265 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
266 _pollsVote.setPrimaryKeyObj(primaryKeyObj);
267 }
268
269 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
270 return _pollsVote.getExpandoBridge();
271 }
272
273 public void setExpandoBridgeAttributes(
274 com.liferay.portal.service.ServiceContext serviceContext) {
275 _pollsVote.setExpandoBridgeAttributes(serviceContext);
276 }
277
278 @Override
279 public java.lang.Object clone() {
280 return new PollsVoteWrapper((PollsVote)_pollsVote.clone());
281 }
282
283 public int compareTo(com.liferay.portlet.polls.model.PollsVote pollsVote) {
284 return _pollsVote.compareTo(pollsVote);
285 }
286
287 @Override
288 public int hashCode() {
289 return _pollsVote.hashCode();
290 }
291
292 public com.liferay.portal.model.CacheModel<com.liferay.portlet.polls.model.PollsVote> toCacheModel() {
293 return _pollsVote.toCacheModel();
294 }
295
296 public com.liferay.portlet.polls.model.PollsVote toEscapedModel() {
297 return new PollsVoteWrapper(_pollsVote.toEscapedModel());
298 }
299
300 @Override
301 public java.lang.String toString() {
302 return _pollsVote.toString();
303 }
304
305 public java.lang.String toXmlString() {
306 return _pollsVote.toXmlString();
307 }
308
309 public void persist()
310 throws com.liferay.portal.kernel.exception.SystemException {
311 _pollsVote.persist();
312 }
313
314 public com.liferay.portlet.polls.model.PollsChoice getChoice()
315 throws com.liferay.portal.kernel.exception.PortalException,
316 com.liferay.portal.kernel.exception.SystemException {
317 return _pollsVote.getChoice();
318 }
319
320
323 public PollsVote getWrappedPollsVote() {
324 return _pollsVote;
325 }
326
327 public PollsVote getWrappedModel() {
328 return _pollsVote;
329 }
330
331 public void resetOriginalValues() {
332 _pollsVote.resetOriginalValues();
333 }
334
335 private PollsVote _pollsVote;
336 }