1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portlet.polls.model;
16  
17  /**
18   * <a href="PollsQuestionSoap.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This class is a wrapper for {@link PollsQuestion}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       PollsQuestion
31   * @generated
32   */
33  public class PollsQuestionWrapper implements PollsQuestion {
34      public PollsQuestionWrapper(PollsQuestion pollsQuestion) {
35          _pollsQuestion = pollsQuestion;
36      }
37  
38      public long getPrimaryKey() {
39          return _pollsQuestion.getPrimaryKey();
40      }
41  
42      public void setPrimaryKey(long pk) {
43          _pollsQuestion.setPrimaryKey(pk);
44      }
45  
46      public java.lang.String getUuid() {
47          return _pollsQuestion.getUuid();
48      }
49  
50      public void setUuid(java.lang.String uuid) {
51          _pollsQuestion.setUuid(uuid);
52      }
53  
54      public long getQuestionId() {
55          return _pollsQuestion.getQuestionId();
56      }
57  
58      public void setQuestionId(long questionId) {
59          _pollsQuestion.setQuestionId(questionId);
60      }
61  
62      public long getGroupId() {
63          return _pollsQuestion.getGroupId();
64      }
65  
66      public void setGroupId(long groupId) {
67          _pollsQuestion.setGroupId(groupId);
68      }
69  
70      public long getCompanyId() {
71          return _pollsQuestion.getCompanyId();
72      }
73  
74      public void setCompanyId(long companyId) {
75          _pollsQuestion.setCompanyId(companyId);
76      }
77  
78      public long getUserId() {
79          return _pollsQuestion.getUserId();
80      }
81  
82      public void setUserId(long userId) {
83          _pollsQuestion.setUserId(userId);
84      }
85  
86      public java.lang.String getUserUuid()
87          throws com.liferay.portal.SystemException {
88          return _pollsQuestion.getUserUuid();
89      }
90  
91      public void setUserUuid(java.lang.String userUuid) {
92          _pollsQuestion.setUserUuid(userUuid);
93      }
94  
95      public java.lang.String getUserName() {
96          return _pollsQuestion.getUserName();
97      }
98  
99      public void setUserName(java.lang.String userName) {
100         _pollsQuestion.setUserName(userName);
101     }
102 
103     public java.util.Date getCreateDate() {
104         return _pollsQuestion.getCreateDate();
105     }
106 
107     public void setCreateDate(java.util.Date createDate) {
108         _pollsQuestion.setCreateDate(createDate);
109     }
110 
111     public java.util.Date getModifiedDate() {
112         return _pollsQuestion.getModifiedDate();
113     }
114 
115     public void setModifiedDate(java.util.Date modifiedDate) {
116         _pollsQuestion.setModifiedDate(modifiedDate);
117     }
118 
119     public java.lang.String getTitle() {
120         return _pollsQuestion.getTitle();
121     }
122 
123     public void setTitle(java.lang.String title) {
124         _pollsQuestion.setTitle(title);
125     }
126 
127     public java.lang.String getDescription() {
128         return _pollsQuestion.getDescription();
129     }
130 
131     public void setDescription(java.lang.String description) {
132         _pollsQuestion.setDescription(description);
133     }
134 
135     public java.util.Date getExpirationDate() {
136         return _pollsQuestion.getExpirationDate();
137     }
138 
139     public void setExpirationDate(java.util.Date expirationDate) {
140         _pollsQuestion.setExpirationDate(expirationDate);
141     }
142 
143     public java.util.Date getLastVoteDate() {
144         return _pollsQuestion.getLastVoteDate();
145     }
146 
147     public void setLastVoteDate(java.util.Date lastVoteDate) {
148         _pollsQuestion.setLastVoteDate(lastVoteDate);
149     }
150 
151     public boolean isNew() {
152         return _pollsQuestion.isNew();
153     }
154 
155     public boolean setNew(boolean n) {
156         return _pollsQuestion.setNew(n);
157     }
158 
159     public boolean isCachedModel() {
160         return _pollsQuestion.isCachedModel();
161     }
162 
163     public void setCachedModel(boolean cachedModel) {
164         _pollsQuestion.setCachedModel(cachedModel);
165     }
166 
167     public boolean isEscapedModel() {
168         return _pollsQuestion.isEscapedModel();
169     }
170 
171     public void setEscapedModel(boolean escapedModel) {
172         _pollsQuestion.setEscapedModel(escapedModel);
173     }
174 
175     public java.io.Serializable getPrimaryKeyObj() {
176         return _pollsQuestion.getPrimaryKeyObj();
177     }
178 
179     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
180         return _pollsQuestion.getExpandoBridge();
181     }
182 
183     public void setExpandoBridgeAttributes(
184         com.liferay.portal.service.ServiceContext serviceContext) {
185         _pollsQuestion.setExpandoBridgeAttributes(serviceContext);
186     }
187 
188     public java.lang.Object clone() {
189         return _pollsQuestion.clone();
190     }
191 
192     public int compareTo(
193         com.liferay.portlet.polls.model.PollsQuestion pollsQuestion) {
194         return _pollsQuestion.compareTo(pollsQuestion);
195     }
196 
197     public int hashCode() {
198         return _pollsQuestion.hashCode();
199     }
200 
201     public com.liferay.portlet.polls.model.PollsQuestion toEscapedModel() {
202         return _pollsQuestion.toEscapedModel();
203     }
204 
205     public java.lang.String toString() {
206         return _pollsQuestion.toString();
207     }
208 
209     public java.lang.String toXmlString() {
210         return _pollsQuestion.toXmlString();
211     }
212 
213     public java.util.List<com.liferay.portlet.polls.model.PollsChoice> getChoices()
214         throws com.liferay.portal.SystemException {
215         return _pollsQuestion.getChoices();
216     }
217 
218     public int getVotesCount() throws com.liferay.portal.SystemException {
219         return _pollsQuestion.getVotesCount();
220     }
221 
222     public boolean isExpired() {
223         return _pollsQuestion.isExpired();
224     }
225 
226     public PollsQuestion getWrappedPollsQuestion() {
227         return _pollsQuestion;
228     }
229 
230     private PollsQuestion _pollsQuestion;
231 }