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