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