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, 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(java.util.Map<java.util.Locale, String> titleMap) {
154         _pollsQuestion.setTitleMap(titleMap);
155     }
156 
157     public java.lang.String getDescription() {
158         return _pollsQuestion.getDescription();
159     }
160 
161     public java.lang.String getDescription(java.util.Locale locale) {
162         return _pollsQuestion.getDescription(locale);
163     }
164 
165     public java.lang.String getDescription(java.util.Locale locale,
166         boolean useDefault) {
167         return _pollsQuestion.getDescription(locale, useDefault);
168     }
169 
170     public java.lang.String getDescription(java.lang.String languageId) {
171         return _pollsQuestion.getDescription(languageId);
172     }
173 
174     public java.lang.String getDescription(java.lang.String languageId,
175         boolean useDefault) {
176         return _pollsQuestion.getDescription(languageId, useDefault);
177     }
178 
179     public java.util.Map<java.util.Locale, String> getDescriptionMap() {
180         return _pollsQuestion.getDescriptionMap();
181     }
182 
183     public void setDescription(java.lang.String description) {
184         _pollsQuestion.setDescription(description);
185     }
186 
187     public void setDescription(java.util.Locale locale,
188         java.lang.String description) {
189         _pollsQuestion.setDescription(locale, description);
190     }
191 
192     public void setDescriptionMap(
193         java.util.Map<java.util.Locale, String> descriptionMap) {
194         _pollsQuestion.setDescriptionMap(descriptionMap);
195     }
196 
197     public java.util.Date getExpirationDate() {
198         return _pollsQuestion.getExpirationDate();
199     }
200 
201     public void setExpirationDate(java.util.Date expirationDate) {
202         _pollsQuestion.setExpirationDate(expirationDate);
203     }
204 
205     public java.util.Date getLastVoteDate() {
206         return _pollsQuestion.getLastVoteDate();
207     }
208 
209     public void setLastVoteDate(java.util.Date lastVoteDate) {
210         _pollsQuestion.setLastVoteDate(lastVoteDate);
211     }
212 
213     public com.liferay.portlet.polls.model.PollsQuestion toEscapedModel() {
214         return _pollsQuestion.toEscapedModel();
215     }
216 
217     public boolean isNew() {
218         return _pollsQuestion.isNew();
219     }
220 
221     public boolean setNew(boolean n) {
222         return _pollsQuestion.setNew(n);
223     }
224 
225     public boolean isCachedModel() {
226         return _pollsQuestion.isCachedModel();
227     }
228 
229     public void setCachedModel(boolean cachedModel) {
230         _pollsQuestion.setCachedModel(cachedModel);
231     }
232 
233     public boolean isEscapedModel() {
234         return _pollsQuestion.isEscapedModel();
235     }
236 
237     public void setEscapedModel(boolean escapedModel) {
238         _pollsQuestion.setEscapedModel(escapedModel);
239     }
240 
241     public java.io.Serializable getPrimaryKeyObj() {
242         return _pollsQuestion.getPrimaryKeyObj();
243     }
244 
245     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
246         return _pollsQuestion.getExpandoBridge();
247     }
248 
249     public void setExpandoBridgeAttributes(
250         com.liferay.portal.service.ServiceContext serviceContext) {
251         _pollsQuestion.setExpandoBridgeAttributes(serviceContext);
252     }
253 
254     public java.lang.Object clone() {
255         return _pollsQuestion.clone();
256     }
257 
258     public int compareTo(
259         com.liferay.portlet.polls.model.PollsQuestion pollsQuestion) {
260         return _pollsQuestion.compareTo(pollsQuestion);
261     }
262 
263     public int hashCode() {
264         return _pollsQuestion.hashCode();
265     }
266 
267     public java.lang.String toString() {
268         return _pollsQuestion.toString();
269     }
270 
271     public java.lang.String toXmlString() {
272         return _pollsQuestion.toXmlString();
273     }
274 
275     public java.util.List<com.liferay.portlet.polls.model.PollsChoice> getChoices()
276         throws com.liferay.portal.kernel.exception.SystemException {
277         return _pollsQuestion.getChoices();
278     }
279 
280     public int getVotesCount()
281         throws com.liferay.portal.kernel.exception.SystemException {
282         return _pollsQuestion.getVotesCount();
283     }
284 
285     public boolean isExpired() {
286         return _pollsQuestion.isExpired();
287     }
288 
289     public PollsQuestion getWrappedPollsQuestion() {
290         return _pollsQuestion;
291     }
292 
293     private PollsQuestion _pollsQuestion;
294 }