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
036 public long getPrimaryKey() {
037 return _pollsVote.getPrimaryKey();
038 }
039
040
045 public void setPrimaryKey(long pk) {
046 _pollsVote.setPrimaryKey(pk);
047 }
048
049
054 public long getVoteId() {
055 return _pollsVote.getVoteId();
056 }
057
058
063 public void setVoteId(long voteId) {
064 _pollsVote.setVoteId(voteId);
065 }
066
067
072 public long getUserId() {
073 return _pollsVote.getUserId();
074 }
075
076
081 public void setUserId(long userId) {
082 _pollsVote.setUserId(userId);
083 }
084
085
091 public java.lang.String getUserUuid()
092 throws com.liferay.portal.kernel.exception.SystemException {
093 return _pollsVote.getUserUuid();
094 }
095
096
101 public void setUserUuid(java.lang.String userUuid) {
102 _pollsVote.setUserUuid(userUuid);
103 }
104
105
110 public long getQuestionId() {
111 return _pollsVote.getQuestionId();
112 }
113
114
119 public void setQuestionId(long questionId) {
120 _pollsVote.setQuestionId(questionId);
121 }
122
123
128 public long getChoiceId() {
129 return _pollsVote.getChoiceId();
130 }
131
132
137 public void setChoiceId(long choiceId) {
138 _pollsVote.setChoiceId(choiceId);
139 }
140
141
146 public java.util.Date getVoteDate() {
147 return _pollsVote.getVoteDate();
148 }
149
150
155 public void setVoteDate(java.util.Date voteDate) {
156 _pollsVote.setVoteDate(voteDate);
157 }
158
159 public boolean isNew() {
160 return _pollsVote.isNew();
161 }
162
163 public void setNew(boolean n) {
164 _pollsVote.setNew(n);
165 }
166
167 public boolean isCachedModel() {
168 return _pollsVote.isCachedModel();
169 }
170
171 public void setCachedModel(boolean cachedModel) {
172 _pollsVote.setCachedModel(cachedModel);
173 }
174
175 public boolean isEscapedModel() {
176 return _pollsVote.isEscapedModel();
177 }
178
179 public void setEscapedModel(boolean escapedModel) {
180 _pollsVote.setEscapedModel(escapedModel);
181 }
182
183 public java.io.Serializable getPrimaryKeyObj() {
184 return _pollsVote.getPrimaryKeyObj();
185 }
186
187 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
188 return _pollsVote.getExpandoBridge();
189 }
190
191 public void setExpandoBridgeAttributes(
192 com.liferay.portal.service.ServiceContext serviceContext) {
193 _pollsVote.setExpandoBridgeAttributes(serviceContext);
194 }
195
196 public java.lang.Object clone() {
197 return _pollsVote.clone();
198 }
199
200 public int compareTo(com.liferay.portlet.polls.model.PollsVote pollsVote) {
201 return _pollsVote.compareTo(pollsVote);
202 }
203
204 public int hashCode() {
205 return _pollsVote.hashCode();
206 }
207
208 public com.liferay.portlet.polls.model.PollsVote toEscapedModel() {
209 return _pollsVote.toEscapedModel();
210 }
211
212 public java.lang.String toString() {
213 return _pollsVote.toString();
214 }
215
216 public java.lang.String toXmlString() {
217 return _pollsVote.toXmlString();
218 }
219
220 public com.liferay.portlet.polls.model.PollsChoice getChoice()
221 throws com.liferay.portal.kernel.exception.PortalException,
222 com.liferay.portal.kernel.exception.SystemException {
223 return _pollsVote.getChoice();
224 }
225
226 public PollsVote getWrappedPollsVote() {
227 return _pollsVote;
228 }
229
230 private PollsVote _pollsVote;
231 }