001
014
015 package com.liferay.portlet.polls.model;
016
017
026 public class PollsChoiceWrapper implements PollsChoice {
027 public PollsChoiceWrapper(PollsChoice pollsChoice) {
028 _pollsChoice = pollsChoice;
029 }
030
031
036 public long getPrimaryKey() {
037 return _pollsChoice.getPrimaryKey();
038 }
039
040
045 public void setPrimaryKey(long pk) {
046 _pollsChoice.setPrimaryKey(pk);
047 }
048
049
054 public java.lang.String getUuid() {
055 return _pollsChoice.getUuid();
056 }
057
058
063 public void setUuid(java.lang.String uuid) {
064 _pollsChoice.setUuid(uuid);
065 }
066
067
072 public long getChoiceId() {
073 return _pollsChoice.getChoiceId();
074 }
075
076
081 public void setChoiceId(long choiceId) {
082 _pollsChoice.setChoiceId(choiceId);
083 }
084
085
090 public long getQuestionId() {
091 return _pollsChoice.getQuestionId();
092 }
093
094
099 public void setQuestionId(long questionId) {
100 _pollsChoice.setQuestionId(questionId);
101 }
102
103
108 public java.lang.String getName() {
109 return _pollsChoice.getName();
110 }
111
112
117 public void setName(java.lang.String name) {
118 _pollsChoice.setName(name);
119 }
120
121
126 public java.lang.String getDescription() {
127 return _pollsChoice.getDescription();
128 }
129
130
136 public java.lang.String getDescription(java.util.Locale locale) {
137 return _pollsChoice.getDescription(locale);
138 }
139
140
147 public java.lang.String getDescription(java.util.Locale locale,
148 boolean useDefault) {
149 return _pollsChoice.getDescription(locale, useDefault);
150 }
151
152
158 public java.lang.String getDescription(java.lang.String languageId) {
159 return _pollsChoice.getDescription(languageId);
160 }
161
162
169 public java.lang.String getDescription(java.lang.String languageId,
170 boolean useDefault) {
171 return _pollsChoice.getDescription(languageId, useDefault);
172 }
173
174
179 public java.util.Map<java.util.Locale, java.lang.String> getDescriptionMap() {
180 return _pollsChoice.getDescriptionMap();
181 }
182
183
188 public void setDescription(java.lang.String description) {
189 _pollsChoice.setDescription(description);
190 }
191
192
198 public void setDescription(java.util.Locale locale,
199 java.lang.String description) {
200 _pollsChoice.setDescription(locale, description);
201 }
202
203
208 public void setDescriptionMap(
209 java.util.Map<java.util.Locale, java.lang.String> descriptionMap) {
210 _pollsChoice.setDescriptionMap(descriptionMap);
211 }
212
213 public boolean isNew() {
214 return _pollsChoice.isNew();
215 }
216
217 public void setNew(boolean n) {
218 _pollsChoice.setNew(n);
219 }
220
221 public boolean isCachedModel() {
222 return _pollsChoice.isCachedModel();
223 }
224
225 public void setCachedModel(boolean cachedModel) {
226 _pollsChoice.setCachedModel(cachedModel);
227 }
228
229 public boolean isEscapedModel() {
230 return _pollsChoice.isEscapedModel();
231 }
232
233 public void setEscapedModel(boolean escapedModel) {
234 _pollsChoice.setEscapedModel(escapedModel);
235 }
236
237 public java.io.Serializable getPrimaryKeyObj() {
238 return _pollsChoice.getPrimaryKeyObj();
239 }
240
241 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
242 return _pollsChoice.getExpandoBridge();
243 }
244
245 public void setExpandoBridgeAttributes(
246 com.liferay.portal.service.ServiceContext serviceContext) {
247 _pollsChoice.setExpandoBridgeAttributes(serviceContext);
248 }
249
250 public java.lang.Object clone() {
251 return _pollsChoice.clone();
252 }
253
254 public int compareTo(
255 com.liferay.portlet.polls.model.PollsChoice pollsChoice) {
256 return _pollsChoice.compareTo(pollsChoice);
257 }
258
259 public int hashCode() {
260 return _pollsChoice.hashCode();
261 }
262
263 public com.liferay.portlet.polls.model.PollsChoice toEscapedModel() {
264 return _pollsChoice.toEscapedModel();
265 }
266
267 public java.lang.String toString() {
268 return _pollsChoice.toString();
269 }
270
271 public java.lang.String toXmlString() {
272 return _pollsChoice.toXmlString();
273 }
274
275 public int getVotesCount()
276 throws com.liferay.portal.kernel.exception.SystemException {
277 return _pollsChoice.getVotesCount();
278 }
279
280 public PollsChoice getWrappedPollsChoice() {
281 return _pollsChoice;
282 }
283
284 private PollsChoice _pollsChoice;
285 }