001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.polls.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link PollsQuestion}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       PollsQuestion
024     * @generated
025     */
026    public class PollsQuestionWrapper implements PollsQuestion {
027            public PollsQuestionWrapper(PollsQuestion pollsQuestion) {
028                    _pollsQuestion = pollsQuestion;
029            }
030    
031            public long getPrimaryKey() {
032                    return _pollsQuestion.getPrimaryKey();
033            }
034    
035            public void setPrimaryKey(long pk) {
036                    _pollsQuestion.setPrimaryKey(pk);
037            }
038    
039            public java.lang.String getUuid() {
040                    return _pollsQuestion.getUuid();
041            }
042    
043            public void setUuid(java.lang.String uuid) {
044                    _pollsQuestion.setUuid(uuid);
045            }
046    
047            public long getQuestionId() {
048                    return _pollsQuestion.getQuestionId();
049            }
050    
051            public void setQuestionId(long questionId) {
052                    _pollsQuestion.setQuestionId(questionId);
053            }
054    
055            public long getGroupId() {
056                    return _pollsQuestion.getGroupId();
057            }
058    
059            public void setGroupId(long groupId) {
060                    _pollsQuestion.setGroupId(groupId);
061            }
062    
063            public long getCompanyId() {
064                    return _pollsQuestion.getCompanyId();
065            }
066    
067            public void setCompanyId(long companyId) {
068                    _pollsQuestion.setCompanyId(companyId);
069            }
070    
071            public long getUserId() {
072                    return _pollsQuestion.getUserId();
073            }
074    
075            public void setUserId(long userId) {
076                    _pollsQuestion.setUserId(userId);
077            }
078    
079            public java.lang.String getUserUuid()
080                    throws com.liferay.portal.kernel.exception.SystemException {
081                    return _pollsQuestion.getUserUuid();
082            }
083    
084            public void setUserUuid(java.lang.String userUuid) {
085                    _pollsQuestion.setUserUuid(userUuid);
086            }
087    
088            public java.lang.String getUserName() {
089                    return _pollsQuestion.getUserName();
090            }
091    
092            public void setUserName(java.lang.String userName) {
093                    _pollsQuestion.setUserName(userName);
094            }
095    
096            public java.util.Date getCreateDate() {
097                    return _pollsQuestion.getCreateDate();
098            }
099    
100            public void setCreateDate(java.util.Date createDate) {
101                    _pollsQuestion.setCreateDate(createDate);
102            }
103    
104            public java.util.Date getModifiedDate() {
105                    return _pollsQuestion.getModifiedDate();
106            }
107    
108            public void setModifiedDate(java.util.Date modifiedDate) {
109                    _pollsQuestion.setModifiedDate(modifiedDate);
110            }
111    
112            public java.lang.String getTitle() {
113                    return _pollsQuestion.getTitle();
114            }
115    
116            public java.lang.String getTitle(java.util.Locale locale) {
117                    return _pollsQuestion.getTitle(locale);
118            }
119    
120            public java.lang.String getTitle(java.util.Locale locale, boolean useDefault) {
121                    return _pollsQuestion.getTitle(locale, useDefault);
122            }
123    
124            public java.lang.String getTitle(java.lang.String languageId) {
125                    return _pollsQuestion.getTitle(languageId);
126            }
127    
128            public java.lang.String getTitle(java.lang.String languageId,
129                    boolean useDefault) {
130                    return _pollsQuestion.getTitle(languageId, useDefault);
131            }
132    
133            public java.util.Map<java.util.Locale, java.lang.String> getTitleMap() {
134                    return _pollsQuestion.getTitleMap();
135            }
136    
137            public void setTitle(java.lang.String title) {
138                    _pollsQuestion.setTitle(title);
139            }
140    
141            public void setTitle(java.util.Locale locale, java.lang.String title) {
142                    _pollsQuestion.setTitle(locale, title);
143            }
144    
145            public void setTitleMap(
146                    java.util.Map<java.util.Locale, java.lang.String> titleMap) {
147                    _pollsQuestion.setTitleMap(titleMap);
148            }
149    
150            public java.lang.String getDescription() {
151                    return _pollsQuestion.getDescription();
152            }
153    
154            public java.lang.String getDescription(java.util.Locale locale) {
155                    return _pollsQuestion.getDescription(locale);
156            }
157    
158            public java.lang.String getDescription(java.util.Locale locale,
159                    boolean useDefault) {
160                    return _pollsQuestion.getDescription(locale, useDefault);
161            }
162    
163            public java.lang.String getDescription(java.lang.String languageId) {
164                    return _pollsQuestion.getDescription(languageId);
165            }
166    
167            public java.lang.String getDescription(java.lang.String languageId,
168                    boolean useDefault) {
169                    return _pollsQuestion.getDescription(languageId, useDefault);
170            }
171    
172            public java.util.Map<java.util.Locale, java.lang.String> getDescriptionMap() {
173                    return _pollsQuestion.getDescriptionMap();
174            }
175    
176            public void setDescription(java.lang.String description) {
177                    _pollsQuestion.setDescription(description);
178            }
179    
180            public void setDescription(java.util.Locale locale,
181                    java.lang.String description) {
182                    _pollsQuestion.setDescription(locale, description);
183            }
184    
185            public void setDescriptionMap(
186                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap) {
187                    _pollsQuestion.setDescriptionMap(descriptionMap);
188            }
189    
190            public java.util.Date getExpirationDate() {
191                    return _pollsQuestion.getExpirationDate();
192            }
193    
194            public void setExpirationDate(java.util.Date expirationDate) {
195                    _pollsQuestion.setExpirationDate(expirationDate);
196            }
197    
198            public java.util.Date getLastVoteDate() {
199                    return _pollsQuestion.getLastVoteDate();
200            }
201    
202            public void setLastVoteDate(java.util.Date lastVoteDate) {
203                    _pollsQuestion.setLastVoteDate(lastVoteDate);
204            }
205    
206            public com.liferay.portlet.polls.model.PollsQuestion toEscapedModel() {
207                    return _pollsQuestion.toEscapedModel();
208            }
209    
210            public boolean isNew() {
211                    return _pollsQuestion.isNew();
212            }
213    
214            public void setNew(boolean n) {
215                    _pollsQuestion.setNew(n);
216            }
217    
218            public boolean isCachedModel() {
219                    return _pollsQuestion.isCachedModel();
220            }
221    
222            public void setCachedModel(boolean cachedModel) {
223                    _pollsQuestion.setCachedModel(cachedModel);
224            }
225    
226            public boolean isEscapedModel() {
227                    return _pollsQuestion.isEscapedModel();
228            }
229    
230            public void setEscapedModel(boolean escapedModel) {
231                    _pollsQuestion.setEscapedModel(escapedModel);
232            }
233    
234            public java.io.Serializable getPrimaryKeyObj() {
235                    return _pollsQuestion.getPrimaryKeyObj();
236            }
237    
238            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
239                    return _pollsQuestion.getExpandoBridge();
240            }
241    
242            public void setExpandoBridgeAttributes(
243                    com.liferay.portal.service.ServiceContext serviceContext) {
244                    _pollsQuestion.setExpandoBridgeAttributes(serviceContext);
245            }
246    
247            public java.lang.Object clone() {
248                    return _pollsQuestion.clone();
249            }
250    
251            public int compareTo(
252                    com.liferay.portlet.polls.model.PollsQuestion pollsQuestion) {
253                    return _pollsQuestion.compareTo(pollsQuestion);
254            }
255    
256            public int hashCode() {
257                    return _pollsQuestion.hashCode();
258            }
259    
260            public java.lang.String toString() {
261                    return _pollsQuestion.toString();
262            }
263    
264            public java.lang.String toXmlString() {
265                    return _pollsQuestion.toXmlString();
266            }
267    
268            public java.util.List<com.liferay.portlet.polls.model.PollsChoice> getChoices()
269                    throws com.liferay.portal.kernel.exception.SystemException {
270                    return _pollsQuestion.getChoices();
271            }
272    
273            public int getVotesCount()
274                    throws com.liferay.portal.kernel.exception.SystemException {
275                    return _pollsQuestion.getVotesCount();
276            }
277    
278            public boolean isExpired() {
279                    return _pollsQuestion.isExpired();
280            }
281    
282            public PollsQuestion getWrappedPollsQuestion() {
283                    return _pollsQuestion;
284            }
285    
286            private PollsQuestion _pollsQuestion;
287    }