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 getUserId() {
081 return _pollsVote.getUserId();
082 }
083
084
089 public void setUserId(long userId) {
090 _pollsVote.setUserId(userId);
091 }
092
093
099 public java.lang.String getUserUuid()
100 throws com.liferay.portal.kernel.exception.SystemException {
101 return _pollsVote.getUserUuid();
102 }
103
104
109 public void setUserUuid(java.lang.String userUuid) {
110 _pollsVote.setUserUuid(userUuid);
111 }
112
113
118 public long getQuestionId() {
119 return _pollsVote.getQuestionId();
120 }
121
122
127 public void setQuestionId(long questionId) {
128 _pollsVote.setQuestionId(questionId);
129 }
130
131
136 public long getChoiceId() {
137 return _pollsVote.getChoiceId();
138 }
139
140
145 public void setChoiceId(long choiceId) {
146 _pollsVote.setChoiceId(choiceId);
147 }
148
149
154 public java.util.Date getVoteDate() {
155 return _pollsVote.getVoteDate();
156 }
157
158
163 public void setVoteDate(java.util.Date voteDate) {
164 _pollsVote.setVoteDate(voteDate);
165 }
166
167 public boolean isNew() {
168 return _pollsVote.isNew();
169 }
170
171 public void setNew(boolean n) {
172 _pollsVote.setNew(n);
173 }
174
175 public boolean isCachedModel() {
176 return _pollsVote.isCachedModel();
177 }
178
179 public void setCachedModel(boolean cachedModel) {
180 _pollsVote.setCachedModel(cachedModel);
181 }
182
183 public boolean isEscapedModel() {
184 return _pollsVote.isEscapedModel();
185 }
186
187 public void setEscapedModel(boolean escapedModel) {
188 _pollsVote.setEscapedModel(escapedModel);
189 }
190
191 public java.io.Serializable getPrimaryKeyObj() {
192 return _pollsVote.getPrimaryKeyObj();
193 }
194
195 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
196 _pollsVote.setPrimaryKeyObj(primaryKeyObj);
197 }
198
199 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
200 return _pollsVote.getExpandoBridge();
201 }
202
203 public void setExpandoBridgeAttributes(
204 com.liferay.portal.service.ServiceContext serviceContext) {
205 _pollsVote.setExpandoBridgeAttributes(serviceContext);
206 }
207
208 @Override
209 public java.lang.Object clone() {
210 return new PollsVoteWrapper((PollsVote)_pollsVote.clone());
211 }
212
213 public int compareTo(com.liferay.portlet.polls.model.PollsVote pollsVote) {
214 return _pollsVote.compareTo(pollsVote);
215 }
216
217 @Override
218 public int hashCode() {
219 return _pollsVote.hashCode();
220 }
221
222 public com.liferay.portal.model.CacheModel<com.liferay.portlet.polls.model.PollsVote> toCacheModel() {
223 return _pollsVote.toCacheModel();
224 }
225
226 public com.liferay.portlet.polls.model.PollsVote toEscapedModel() {
227 return new PollsVoteWrapper(_pollsVote.toEscapedModel());
228 }
229
230 @Override
231 public java.lang.String toString() {
232 return _pollsVote.toString();
233 }
234
235 public java.lang.String toXmlString() {
236 return _pollsVote.toXmlString();
237 }
238
239 public void persist()
240 throws com.liferay.portal.kernel.exception.SystemException {
241 _pollsVote.persist();
242 }
243
244 public com.liferay.portlet.polls.model.PollsChoice getChoice()
245 throws com.liferay.portal.kernel.exception.PortalException,
246 com.liferay.portal.kernel.exception.SystemException {
247 return _pollsVote.getChoice();
248 }
249
250 public PollsVote getWrappedPollsVote() {
251 return _pollsVote;
252 }
253
254 public void resetOriginalValues() {
255 _pollsVote.resetOriginalValues();
256 }
257
258 private PollsVote _pollsVote;
259 }