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="PollsVoteSoap.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 PollsVote}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       PollsVote
32   * @generated
33   */
34  public class PollsVoteWrapper implements PollsVote {
35      public PollsVoteWrapper(PollsVote pollsVote) {
36          _pollsVote = pollsVote;
37      }
38  
39      public long getPrimaryKey() {
40          return _pollsVote.getPrimaryKey();
41      }
42  
43      public void setPrimaryKey(long pk) {
44          _pollsVote.setPrimaryKey(pk);
45      }
46  
47      public long getVoteId() {
48          return _pollsVote.getVoteId();
49      }
50  
51      public void setVoteId(long voteId) {
52          _pollsVote.setVoteId(voteId);
53      }
54  
55      public long getUserId() {
56          return _pollsVote.getUserId();
57      }
58  
59      public void setUserId(long userId) {
60          _pollsVote.setUserId(userId);
61      }
62  
63      public java.lang.String getUserUuid()
64          throws com.liferay.portal.kernel.exception.SystemException {
65          return _pollsVote.getUserUuid();
66      }
67  
68      public void setUserUuid(java.lang.String userUuid) {
69          _pollsVote.setUserUuid(userUuid);
70      }
71  
72      public long getQuestionId() {
73          return _pollsVote.getQuestionId();
74      }
75  
76      public void setQuestionId(long questionId) {
77          _pollsVote.setQuestionId(questionId);
78      }
79  
80      public long getChoiceId() {
81          return _pollsVote.getChoiceId();
82      }
83  
84      public void setChoiceId(long choiceId) {
85          _pollsVote.setChoiceId(choiceId);
86      }
87  
88      public java.util.Date getVoteDate() {
89          return _pollsVote.getVoteDate();
90      }
91  
92      public void setVoteDate(java.util.Date voteDate) {
93          _pollsVote.setVoteDate(voteDate);
94      }
95  
96      public com.liferay.portlet.polls.model.PollsVote toEscapedModel() {
97          return _pollsVote.toEscapedModel();
98      }
99  
100     public boolean isNew() {
101         return _pollsVote.isNew();
102     }
103 
104     public boolean setNew(boolean n) {
105         return _pollsVote.setNew(n);
106     }
107 
108     public boolean isCachedModel() {
109         return _pollsVote.isCachedModel();
110     }
111 
112     public void setCachedModel(boolean cachedModel) {
113         _pollsVote.setCachedModel(cachedModel);
114     }
115 
116     public boolean isEscapedModel() {
117         return _pollsVote.isEscapedModel();
118     }
119 
120     public void setEscapedModel(boolean escapedModel) {
121         _pollsVote.setEscapedModel(escapedModel);
122     }
123 
124     public java.io.Serializable getPrimaryKeyObj() {
125         return _pollsVote.getPrimaryKeyObj();
126     }
127 
128     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
129         return _pollsVote.getExpandoBridge();
130     }
131 
132     public void setExpandoBridgeAttributes(
133         com.liferay.portal.service.ServiceContext serviceContext) {
134         _pollsVote.setExpandoBridgeAttributes(serviceContext);
135     }
136 
137     public java.lang.Object clone() {
138         return _pollsVote.clone();
139     }
140 
141     public int compareTo(com.liferay.portlet.polls.model.PollsVote pollsVote) {
142         return _pollsVote.compareTo(pollsVote);
143     }
144 
145     public int hashCode() {
146         return _pollsVote.hashCode();
147     }
148 
149     public java.lang.String toString() {
150         return _pollsVote.toString();
151     }
152 
153     public java.lang.String toXmlString() {
154         return _pollsVote.toXmlString();
155     }
156 
157     public com.liferay.portlet.polls.model.PollsChoice getChoice()
158         throws com.liferay.portal.kernel.exception.PortalException,
159             com.liferay.portal.kernel.exception.SystemException {
160         return _pollsVote.getChoice();
161     }
162 
163     public PollsVote getWrappedPollsVote() {
164         return _pollsVote;
165     }
166 
167     private PollsVote _pollsVote;
168 }