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    /**
019     * <p>
020     * This class is a wrapper for {@link PollsVote}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       PollsVote
025     * @generated
026     */
027    public class PollsVoteWrapper implements PollsVote {
028            public PollsVoteWrapper(PollsVote pollsVote) {
029                    _pollsVote = pollsVote;
030            }
031    
032            public long getPrimaryKey() {
033                    return _pollsVote.getPrimaryKey();
034            }
035    
036            public void setPrimaryKey(long pk) {
037                    _pollsVote.setPrimaryKey(pk);
038            }
039    
040            public long getVoteId() {
041                    return _pollsVote.getVoteId();
042            }
043    
044            public void setVoteId(long voteId) {
045                    _pollsVote.setVoteId(voteId);
046            }
047    
048            public long getUserId() {
049                    return _pollsVote.getUserId();
050            }
051    
052            public void setUserId(long userId) {
053                    _pollsVote.setUserId(userId);
054            }
055    
056            public java.lang.String getUserUuid()
057                    throws com.liferay.portal.kernel.exception.SystemException {
058                    return _pollsVote.getUserUuid();
059            }
060    
061            public void setUserUuid(java.lang.String userUuid) {
062                    _pollsVote.setUserUuid(userUuid);
063            }
064    
065            public long getQuestionId() {
066                    return _pollsVote.getQuestionId();
067            }
068    
069            public void setQuestionId(long questionId) {
070                    _pollsVote.setQuestionId(questionId);
071            }
072    
073            public long getChoiceId() {
074                    return _pollsVote.getChoiceId();
075            }
076    
077            public void setChoiceId(long choiceId) {
078                    _pollsVote.setChoiceId(choiceId);
079            }
080    
081            public java.util.Date getVoteDate() {
082                    return _pollsVote.getVoteDate();
083            }
084    
085            public void setVoteDate(java.util.Date voteDate) {
086                    _pollsVote.setVoteDate(voteDate);
087            }
088    
089            public com.liferay.portlet.polls.model.PollsVote toEscapedModel() {
090                    return _pollsVote.toEscapedModel();
091            }
092    
093            public boolean isNew() {
094                    return _pollsVote.isNew();
095            }
096    
097            public void setNew(boolean n) {
098                    _pollsVote.setNew(n);
099            }
100    
101            public boolean isCachedModel() {
102                    return _pollsVote.isCachedModel();
103            }
104    
105            public void setCachedModel(boolean cachedModel) {
106                    _pollsVote.setCachedModel(cachedModel);
107            }
108    
109            public boolean isEscapedModel() {
110                    return _pollsVote.isEscapedModel();
111            }
112    
113            public void setEscapedModel(boolean escapedModel) {
114                    _pollsVote.setEscapedModel(escapedModel);
115            }
116    
117            public java.io.Serializable getPrimaryKeyObj() {
118                    return _pollsVote.getPrimaryKeyObj();
119            }
120    
121            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
122                    return _pollsVote.getExpandoBridge();
123            }
124    
125            public void setExpandoBridgeAttributes(
126                    com.liferay.portal.service.ServiceContext serviceContext) {
127                    _pollsVote.setExpandoBridgeAttributes(serviceContext);
128            }
129    
130            public java.lang.Object clone() {
131                    return _pollsVote.clone();
132            }
133    
134            public int compareTo(com.liferay.portlet.polls.model.PollsVote pollsVote) {
135                    return _pollsVote.compareTo(pollsVote);
136            }
137    
138            public int hashCode() {
139                    return _pollsVote.hashCode();
140            }
141    
142            public java.lang.String toString() {
143                    return _pollsVote.toString();
144            }
145    
146            public java.lang.String toXmlString() {
147                    return _pollsVote.toXmlString();
148            }
149    
150            public com.liferay.portlet.polls.model.PollsChoice getChoice()
151                    throws com.liferay.portal.kernel.exception.PortalException,
152                            com.liferay.portal.kernel.exception.SystemException {
153                    return _pollsVote.getChoice();
154            }
155    
156            public PollsVote getWrappedPollsVote() {
157                    return _pollsVote;
158            }
159    
160            private PollsVote _pollsVote;
161    }