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