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