1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.polls.model;
24  
25  
26  /**
27   * <a href="PollsQuestionSoap.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link PollsQuestion}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       PollsQuestion
40   * @generated
41   */
42  public class PollsQuestionWrapper implements PollsQuestion {
43      public PollsQuestionWrapper(PollsQuestion pollsQuestion) {
44          _pollsQuestion = pollsQuestion;
45      }
46  
47      public long getPrimaryKey() {
48          return _pollsQuestion.getPrimaryKey();
49      }
50  
51      public void setPrimaryKey(long pk) {
52          _pollsQuestion.setPrimaryKey(pk);
53      }
54  
55      public java.lang.String getUuid() {
56          return _pollsQuestion.getUuid();
57      }
58  
59      public void setUuid(java.lang.String uuid) {
60          _pollsQuestion.setUuid(uuid);
61      }
62  
63      public long getQuestionId() {
64          return _pollsQuestion.getQuestionId();
65      }
66  
67      public void setQuestionId(long questionId) {
68          _pollsQuestion.setQuestionId(questionId);
69      }
70  
71      public long getGroupId() {
72          return _pollsQuestion.getGroupId();
73      }
74  
75      public void setGroupId(long groupId) {
76          _pollsQuestion.setGroupId(groupId);
77      }
78  
79      public long getCompanyId() {
80          return _pollsQuestion.getCompanyId();
81      }
82  
83      public void setCompanyId(long companyId) {
84          _pollsQuestion.setCompanyId(companyId);
85      }
86  
87      public long getUserId() {
88          return _pollsQuestion.getUserId();
89      }
90  
91      public void setUserId(long userId) {
92          _pollsQuestion.setUserId(userId);
93      }
94  
95      public java.lang.String getUserUuid()
96          throws com.liferay.portal.SystemException {
97          return _pollsQuestion.getUserUuid();
98      }
99  
100     public void setUserUuid(java.lang.String userUuid) {
101         _pollsQuestion.setUserUuid(userUuid);
102     }
103 
104     public java.lang.String getUserName() {
105         return _pollsQuestion.getUserName();
106     }
107 
108     public void setUserName(java.lang.String userName) {
109         _pollsQuestion.setUserName(userName);
110     }
111 
112     public java.util.Date getCreateDate() {
113         return _pollsQuestion.getCreateDate();
114     }
115 
116     public void setCreateDate(java.util.Date createDate) {
117         _pollsQuestion.setCreateDate(createDate);
118     }
119 
120     public java.util.Date getModifiedDate() {
121         return _pollsQuestion.getModifiedDate();
122     }
123 
124     public void setModifiedDate(java.util.Date modifiedDate) {
125         _pollsQuestion.setModifiedDate(modifiedDate);
126     }
127 
128     public java.lang.String getTitle() {
129         return _pollsQuestion.getTitle();
130     }
131 
132     public void setTitle(java.lang.String title) {
133         _pollsQuestion.setTitle(title);
134     }
135 
136     public java.lang.String getDescription() {
137         return _pollsQuestion.getDescription();
138     }
139 
140     public void setDescription(java.lang.String description) {
141         _pollsQuestion.setDescription(description);
142     }
143 
144     public java.util.Date getExpirationDate() {
145         return _pollsQuestion.getExpirationDate();
146     }
147 
148     public void setExpirationDate(java.util.Date expirationDate) {
149         _pollsQuestion.setExpirationDate(expirationDate);
150     }
151 
152     public java.util.Date getLastVoteDate() {
153         return _pollsQuestion.getLastVoteDate();
154     }
155 
156     public void setLastVoteDate(java.util.Date lastVoteDate) {
157         _pollsQuestion.setLastVoteDate(lastVoteDate);
158     }
159 
160     public com.liferay.portlet.polls.model.PollsQuestion toEscapedModel() {
161         return _pollsQuestion.toEscapedModel();
162     }
163 
164     public boolean isNew() {
165         return _pollsQuestion.isNew();
166     }
167 
168     public boolean setNew(boolean n) {
169         return _pollsQuestion.setNew(n);
170     }
171 
172     public boolean isCachedModel() {
173         return _pollsQuestion.isCachedModel();
174     }
175 
176     public void setCachedModel(boolean cachedModel) {
177         _pollsQuestion.setCachedModel(cachedModel);
178     }
179 
180     public boolean isEscapedModel() {
181         return _pollsQuestion.isEscapedModel();
182     }
183 
184     public void setEscapedModel(boolean escapedModel) {
185         _pollsQuestion.setEscapedModel(escapedModel);
186     }
187 
188     public java.io.Serializable getPrimaryKeyObj() {
189         return _pollsQuestion.getPrimaryKeyObj();
190     }
191 
192     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
193         return _pollsQuestion.getExpandoBridge();
194     }
195 
196     public void setExpandoBridgeAttributes(
197         com.liferay.portal.service.ServiceContext serviceContext) {
198         _pollsQuestion.setExpandoBridgeAttributes(serviceContext);
199     }
200 
201     public java.lang.Object clone() {
202         return _pollsQuestion.clone();
203     }
204 
205     public int compareTo(
206         com.liferay.portlet.polls.model.PollsQuestion pollsQuestion) {
207         return _pollsQuestion.compareTo(pollsQuestion);
208     }
209 
210     public int hashCode() {
211         return _pollsQuestion.hashCode();
212     }
213 
214     public java.lang.String toString() {
215         return _pollsQuestion.toString();
216     }
217 
218     public java.lang.String toXmlString() {
219         return _pollsQuestion.toXmlString();
220     }
221 
222     public java.util.List<com.liferay.portlet.polls.model.PollsChoice> getChoices()
223         throws com.liferay.portal.SystemException {
224         return _pollsQuestion.getChoices();
225     }
226 
227     public int getVotesCount() throws com.liferay.portal.SystemException {
228         return _pollsQuestion.getVotesCount();
229     }
230 
231     public boolean isExpired() {
232         return _pollsQuestion.isExpired();
233     }
234 
235     public PollsQuestion getWrappedPollsQuestion() {
236         return _pollsQuestion;
237     }
238 
239     private PollsQuestion _pollsQuestion;
240 }