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.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 void setTitle(java.lang.String title) {
125         _pollsQuestion.setTitle(title);
126     }
127 
128     public java.lang.String getDescription() {
129         return _pollsQuestion.getDescription();
130     }
131 
132     public void setDescription(java.lang.String description) {
133         _pollsQuestion.setDescription(description);
134     }
135 
136     public java.util.Date getExpirationDate() {
137         return _pollsQuestion.getExpirationDate();
138     }
139 
140     public void setExpirationDate(java.util.Date expirationDate) {
141         _pollsQuestion.setExpirationDate(expirationDate);
142     }
143 
144     public java.util.Date getLastVoteDate() {
145         return _pollsQuestion.getLastVoteDate();
146     }
147 
148     public void setLastVoteDate(java.util.Date lastVoteDate) {
149         _pollsQuestion.setLastVoteDate(lastVoteDate);
150     }
151 
152     public com.liferay.portlet.polls.model.PollsQuestion toEscapedModel() {
153         return _pollsQuestion.toEscapedModel();
154     }
155 
156     public boolean isNew() {
157         return _pollsQuestion.isNew();
158     }
159 
160     public boolean setNew(boolean n) {
161         return _pollsQuestion.setNew(n);
162     }
163 
164     public boolean isCachedModel() {
165         return _pollsQuestion.isCachedModel();
166     }
167 
168     public void setCachedModel(boolean cachedModel) {
169         _pollsQuestion.setCachedModel(cachedModel);
170     }
171 
172     public boolean isEscapedModel() {
173         return _pollsQuestion.isEscapedModel();
174     }
175 
176     public void setEscapedModel(boolean escapedModel) {
177         _pollsQuestion.setEscapedModel(escapedModel);
178     }
179 
180     public java.io.Serializable getPrimaryKeyObj() {
181         return _pollsQuestion.getPrimaryKeyObj();
182     }
183 
184     public java.lang.Object clone() {
185         return _pollsQuestion.clone();
186     }
187 
188     public int compareTo(
189         com.liferay.portlet.polls.model.PollsQuestion pollsQuestion) {
190         return _pollsQuestion.compareTo(pollsQuestion);
191     }
192 
193     public int hashCode() {
194         return _pollsQuestion.hashCode();
195     }
196 
197     public java.lang.String toString() {
198         return _pollsQuestion.toString();
199     }
200 
201     public java.lang.String toXmlString() {
202         return _pollsQuestion.toXmlString();
203     }
204 
205     public java.util.List<com.liferay.portlet.polls.model.PollsChoice> getChoices()
206         throws com.liferay.portal.SystemException {
207         return _pollsQuestion.getChoices();
208     }
209 
210     public int getVotesCount() throws com.liferay.portal.SystemException {
211         return _pollsQuestion.getVotesCount();
212     }
213 
214     public boolean isExpired() {
215         return _pollsQuestion.isExpired();
216     }
217 
218     public PollsQuestion getWrappedPollsQuestion() {
219         return _pollsQuestion;
220     }
221 
222     private PollsQuestion _pollsQuestion;
223 }