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 PollsChoice}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       PollsChoice
024     * @generated
025     */
026    public class PollsChoiceWrapper implements PollsChoice {
027            public PollsChoiceWrapper(PollsChoice pollsChoice) {
028                    _pollsChoice = pollsChoice;
029            }
030    
031            public long getPrimaryKey() {
032                    return _pollsChoice.getPrimaryKey();
033            }
034    
035            public void setPrimaryKey(long pk) {
036                    _pollsChoice.setPrimaryKey(pk);
037            }
038    
039            public java.lang.String getUuid() {
040                    return _pollsChoice.getUuid();
041            }
042    
043            public void setUuid(java.lang.String uuid) {
044                    _pollsChoice.setUuid(uuid);
045            }
046    
047            public long getChoiceId() {
048                    return _pollsChoice.getChoiceId();
049            }
050    
051            public void setChoiceId(long choiceId) {
052                    _pollsChoice.setChoiceId(choiceId);
053            }
054    
055            public long getQuestionId() {
056                    return _pollsChoice.getQuestionId();
057            }
058    
059            public void setQuestionId(long questionId) {
060                    _pollsChoice.setQuestionId(questionId);
061            }
062    
063            public java.lang.String getName() {
064                    return _pollsChoice.getName();
065            }
066    
067            public void setName(java.lang.String name) {
068                    _pollsChoice.setName(name);
069            }
070    
071            public java.lang.String getDescription() {
072                    return _pollsChoice.getDescription();
073            }
074    
075            public java.lang.String getDescription(java.util.Locale locale) {
076                    return _pollsChoice.getDescription(locale);
077            }
078    
079            public java.lang.String getDescription(java.util.Locale locale,
080                    boolean useDefault) {
081                    return _pollsChoice.getDescription(locale, useDefault);
082            }
083    
084            public java.lang.String getDescription(java.lang.String languageId) {
085                    return _pollsChoice.getDescription(languageId);
086            }
087    
088            public java.lang.String getDescription(java.lang.String languageId,
089                    boolean useDefault) {
090                    return _pollsChoice.getDescription(languageId, useDefault);
091            }
092    
093            public java.util.Map<java.util.Locale, java.lang.String> getDescriptionMap() {
094                    return _pollsChoice.getDescriptionMap();
095            }
096    
097            public void setDescription(java.lang.String description) {
098                    _pollsChoice.setDescription(description);
099            }
100    
101            public void setDescription(java.util.Locale locale,
102                    java.lang.String description) {
103                    _pollsChoice.setDescription(locale, description);
104            }
105    
106            public void setDescriptionMap(
107                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap) {
108                    _pollsChoice.setDescriptionMap(descriptionMap);
109            }
110    
111            public com.liferay.portlet.polls.model.PollsChoice toEscapedModel() {
112                    return _pollsChoice.toEscapedModel();
113            }
114    
115            public boolean isNew() {
116                    return _pollsChoice.isNew();
117            }
118    
119            public void setNew(boolean n) {
120                    _pollsChoice.setNew(n);
121            }
122    
123            public boolean isCachedModel() {
124                    return _pollsChoice.isCachedModel();
125            }
126    
127            public void setCachedModel(boolean cachedModel) {
128                    _pollsChoice.setCachedModel(cachedModel);
129            }
130    
131            public boolean isEscapedModel() {
132                    return _pollsChoice.isEscapedModel();
133            }
134    
135            public void setEscapedModel(boolean escapedModel) {
136                    _pollsChoice.setEscapedModel(escapedModel);
137            }
138    
139            public java.io.Serializable getPrimaryKeyObj() {
140                    return _pollsChoice.getPrimaryKeyObj();
141            }
142    
143            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
144                    return _pollsChoice.getExpandoBridge();
145            }
146    
147            public void setExpandoBridgeAttributes(
148                    com.liferay.portal.service.ServiceContext serviceContext) {
149                    _pollsChoice.setExpandoBridgeAttributes(serviceContext);
150            }
151    
152            public java.lang.Object clone() {
153                    return _pollsChoice.clone();
154            }
155    
156            public int compareTo(
157                    com.liferay.portlet.polls.model.PollsChoice pollsChoice) {
158                    return _pollsChoice.compareTo(pollsChoice);
159            }
160    
161            public int hashCode() {
162                    return _pollsChoice.hashCode();
163            }
164    
165            public java.lang.String toString() {
166                    return _pollsChoice.toString();
167            }
168    
169            public java.lang.String toXmlString() {
170                    return _pollsChoice.toXmlString();
171            }
172    
173            public int getVotesCount()
174                    throws com.liferay.portal.kernel.exception.SystemException {
175                    return _pollsChoice.getVotesCount();
176            }
177    
178            public PollsChoice getWrappedPollsChoice() {
179                    return _pollsChoice;
180            }
181    
182            private PollsChoice _pollsChoice;
183    }