1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.polls.model;
16  
17  
18  /**
19   * <a href="PollsQuestionSoap.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link PollsQuestion}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       PollsQuestion
32   * @generated
33   */
34  public class PollsQuestionWrapper implements PollsQuestion {
35      public PollsQuestionWrapper(PollsQuestion pollsQuestion) {
36          _pollsQuestion = pollsQuestion;
37      }
38  
39      public long getPrimaryKey() {
40          return _pollsQuestion.getPrimaryKey();
41      }
42  
43      public void setPrimaryKey(long pk) {
44          _pollsQuestion.setPrimaryKey(pk);
45      }
46  
47      public java.lang.String getUuid() {
48          return _pollsQuestion.getUuid();
49      }
50  
51      public void setUuid(java.lang.String uuid) {
52          _pollsQuestion.setUuid(uuid);
53      }
54  
55      public long getQuestionId() {
56          return _pollsQuestion.getQuestionId();
57      }
58  
59      public void setQuestionId(long questionId) {
60          _pollsQuestion.setQuestionId(questionId);
61      }
62  
63      public long getGroupId() {
64          return _pollsQuestion.getGroupId();
65      }
66  
67      public void setGroupId(long groupId) {
68          _pollsQuestion.setGroupId(groupId);
69      }
70  
71      public long getCompanyId() {
72          return _pollsQuestion.getCompanyId();
73      }
74  
75      public void setCompanyId(long companyId) {
76          _pollsQuestion.setCompanyId(companyId);
77      }
78  
79      public long getUserId() {
80          return _pollsQuestion.getUserId();
81      }
82  
83      public void setUserId(long userId) {
84          _pollsQuestion.setUserId(userId);
85      }
86  
87      public java.lang.String getUserUuid()
88          throws com.liferay.portal.kernel.exception.SystemException {
89          return _pollsQuestion.getUserUuid();
90      }
91  
92      public void setUserUuid(java.lang.String userUuid) {
93          _pollsQuestion.setUserUuid(userUuid);
94      }
95  
96      public java.lang.String getUserName() {
97          return _pollsQuestion.getUserName();
98      }
99  
100     public void setUserName(java.lang.String userName) {
101         _pollsQuestion.setUserName(userName);
102     }
103 
104     public java.util.Date getCreateDate() {
105         return _pollsQuestion.getCreateDate();
106     }
107 
108     public void setCreateDate(java.util.Date createDate) {
109         _pollsQuestion.setCreateDate(createDate);
110     }
111 
112     public java.util.Date getModifiedDate() {
113         return _pollsQuestion.getModifiedDate();
114     }
115 
116     public void setModifiedDate(java.util.Date modifiedDate) {
117         _pollsQuestion.setModifiedDate(modifiedDate);
118     }
119 
120     public java.lang.String getTitle() {
121         return _pollsQuestion.getTitle();
122     }
123 
124     public java.lang.String getTitle(java.util.Locale locale) {
125         return _pollsQuestion.getTitle(locale);
126     }
127 
128     public java.lang.String getTitle(java.util.Locale locale, boolean useDefault) {
129         return _pollsQuestion.getTitle(locale, useDefault);
130     }
131 
132     public java.lang.String getTitle(java.lang.String languageId) {
133         return _pollsQuestion.getTitle(languageId);
134     }
135 
136     public java.lang.String getTitle(java.lang.String languageId,
137         boolean useDefault) {
138         return _pollsQuestion.getTitle(languageId, useDefault);
139     }
140 
141     public java.util.Map<java.util.Locale, java.lang.String> getTitleMap() {
142         return _pollsQuestion.getTitleMap();
143     }
144 
145     public void setTitle(java.lang.String title) {
146         _pollsQuestion.setTitle(title);
147     }
148 
149     public void setTitle(java.util.Locale locale, java.lang.String title) {
150         _pollsQuestion.setTitle(locale, title);
151     }
152 
153     public void setTitleMap(
154         java.util.Map<java.util.Locale, java.lang.String> titleMap) {
155         _pollsQuestion.setTitleMap(titleMap);
156     }
157 
158     public java.lang.String getDescription() {
159         return _pollsQuestion.getDescription();
160     }
161 
162     public java.lang.String getDescription(java.util.Locale locale) {
163         return _pollsQuestion.getDescription(locale);
164     }
165 
166     public java.lang.String getDescription(java.util.Locale locale,
167         boolean useDefault) {
168         return _pollsQuestion.getDescription(locale, useDefault);
169     }
170 
171     public java.lang.String getDescription(java.lang.String languageId) {
172         return _pollsQuestion.getDescription(languageId);
173     }
174 
175     public java.lang.String getDescription(java.lang.String languageId,
176         boolean useDefault) {
177         return _pollsQuestion.getDescription(languageId, useDefault);
178     }
179 
180     public java.util.Map<java.util.Locale, java.lang.String> getDescriptionMap() {
181         return _pollsQuestion.getDescriptionMap();
182     }
183 
184     public void setDescription(java.lang.String description) {
185         _pollsQuestion.setDescription(description);
186     }
187 
188     public void setDescription(java.util.Locale locale,
189         java.lang.String description) {
190         _pollsQuestion.setDescription(locale, description);
191     }
192 
193     public void setDescriptionMap(
194         java.util.Map<java.util.Locale, java.lang.String> descriptionMap) {
195         _pollsQuestion.setDescriptionMap(descriptionMap);
196     }
197 
198     public java.util.Date getExpirationDate() {
199         return _pollsQuestion.getExpirationDate();
200     }
201 
202     public void setExpirationDate(java.util.Date expirationDate) {
203         _pollsQuestion.setExpirationDate(expirationDate);
204     }
205 
206     public java.util.Date getLastVoteDate() {
207         return _pollsQuestion.getLastVoteDate();
208     }
209 
210     public void setLastVoteDate(java.util.Date lastVoteDate) {
211         _pollsQuestion.setLastVoteDate(lastVoteDate);
212     }
213 
214     public com.liferay.portlet.polls.model.PollsQuestion toEscapedModel() {
215         return _pollsQuestion.toEscapedModel();
216     }
217 
218     public boolean isNew() {
219         return _pollsQuestion.isNew();
220     }
221 
222     public boolean setNew(boolean n) {
223         return _pollsQuestion.setNew(n);
224     }
225 
226     public boolean isCachedModel() {
227         return _pollsQuestion.isCachedModel();
228     }
229 
230     public void setCachedModel(boolean cachedModel) {
231         _pollsQuestion.setCachedModel(cachedModel);
232     }
233 
234     public boolean isEscapedModel() {
235         return _pollsQuestion.isEscapedModel();
236     }
237 
238     public void setEscapedModel(boolean escapedModel) {
239         _pollsQuestion.setEscapedModel(escapedModel);
240     }
241 
242     public java.io.Serializable getPrimaryKeyObj() {
243         return _pollsQuestion.getPrimaryKeyObj();
244     }
245 
246     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
247         return _pollsQuestion.getExpandoBridge();
248     }
249 
250     public void setExpandoBridgeAttributes(
251         com.liferay.portal.service.ServiceContext serviceContext) {
252         _pollsQuestion.setExpandoBridgeAttributes(serviceContext);
253     }
254 
255     public java.lang.Object clone() {
256         return _pollsQuestion.clone();
257     }
258 
259     public int compareTo(
260         com.liferay.portlet.polls.model.PollsQuestion pollsQuestion) {
261         return _pollsQuestion.compareTo(pollsQuestion);
262     }
263 
264     public int hashCode() {
265         return _pollsQuestion.hashCode();
266     }
267 
268     public java.lang.String toString() {
269         return _pollsQuestion.toString();
270     }
271 
272     public java.lang.String toXmlString() {
273         return _pollsQuestion.toXmlString();
274     }
275 
276     public java.util.List<com.liferay.portlet.polls.model.PollsChoice> getChoices()
277         throws com.liferay.portal.kernel.exception.SystemException {
278         return _pollsQuestion.getChoices();
279     }
280 
281     public int getVotesCount()
282         throws com.liferay.portal.kernel.exception.SystemException {
283         return _pollsQuestion.getVotesCount();
284     }
285 
286     public boolean isExpired() {
287         return _pollsQuestion.isExpired();
288     }
289 
290     public PollsQuestion getWrappedPollsQuestion() {
291         return _pollsQuestion;
292     }
293 
294     private PollsQuestion _pollsQuestion;
295 }