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="PollsChoiceSoap.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 PollsChoice}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       PollsChoice
32   * @generated
33   */
34  public class PollsChoiceWrapper implements PollsChoice {
35      public PollsChoiceWrapper(PollsChoice pollsChoice) {
36          _pollsChoice = pollsChoice;
37      }
38  
39      public long getPrimaryKey() {
40          return _pollsChoice.getPrimaryKey();
41      }
42  
43      public void setPrimaryKey(long pk) {
44          _pollsChoice.setPrimaryKey(pk);
45      }
46  
47      public java.lang.String getUuid() {
48          return _pollsChoice.getUuid();
49      }
50  
51      public void setUuid(java.lang.String uuid) {
52          _pollsChoice.setUuid(uuid);
53      }
54  
55      public long getChoiceId() {
56          return _pollsChoice.getChoiceId();
57      }
58  
59      public void setChoiceId(long choiceId) {
60          _pollsChoice.setChoiceId(choiceId);
61      }
62  
63      public long getQuestionId() {
64          return _pollsChoice.getQuestionId();
65      }
66  
67      public void setQuestionId(long questionId) {
68          _pollsChoice.setQuestionId(questionId);
69      }
70  
71      public java.lang.String getName() {
72          return _pollsChoice.getName();
73      }
74  
75      public void setName(java.lang.String name) {
76          _pollsChoice.setName(name);
77      }
78  
79      public java.lang.String getDescription() {
80          return _pollsChoice.getDescription();
81      }
82  
83      public java.lang.String getDescription(java.util.Locale locale) {
84          return _pollsChoice.getDescription(locale);
85      }
86  
87      public java.lang.String getDescription(java.util.Locale locale,
88          boolean useDefault) {
89          return _pollsChoice.getDescription(locale, useDefault);
90      }
91  
92      public java.lang.String getDescription(java.lang.String languageId) {
93          return _pollsChoice.getDescription(languageId);
94      }
95  
96      public java.lang.String getDescription(java.lang.String languageId,
97          boolean useDefault) {
98          return _pollsChoice.getDescription(languageId, useDefault);
99      }
100 
101     public java.util.Map<java.util.Locale, String> getDescriptionMap() {
102         return _pollsChoice.getDescriptionMap();
103     }
104 
105     public void setDescription(java.lang.String description) {
106         _pollsChoice.setDescription(description);
107     }
108 
109     public void setDescription(java.util.Locale locale,
110         java.lang.String description) {
111         _pollsChoice.setDescription(locale, description);
112     }
113 
114     public void setDescriptionMap(
115         java.util.Map<java.util.Locale, String> descriptionMap) {
116         _pollsChoice.setDescriptionMap(descriptionMap);
117     }
118 
119     public com.liferay.portlet.polls.model.PollsChoice toEscapedModel() {
120         return _pollsChoice.toEscapedModel();
121     }
122 
123     public boolean isNew() {
124         return _pollsChoice.isNew();
125     }
126 
127     public boolean setNew(boolean n) {
128         return _pollsChoice.setNew(n);
129     }
130 
131     public boolean isCachedModel() {
132         return _pollsChoice.isCachedModel();
133     }
134 
135     public void setCachedModel(boolean cachedModel) {
136         _pollsChoice.setCachedModel(cachedModel);
137     }
138 
139     public boolean isEscapedModel() {
140         return _pollsChoice.isEscapedModel();
141     }
142 
143     public void setEscapedModel(boolean escapedModel) {
144         _pollsChoice.setEscapedModel(escapedModel);
145     }
146 
147     public java.io.Serializable getPrimaryKeyObj() {
148         return _pollsChoice.getPrimaryKeyObj();
149     }
150 
151     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
152         return _pollsChoice.getExpandoBridge();
153     }
154 
155     public void setExpandoBridgeAttributes(
156         com.liferay.portal.service.ServiceContext serviceContext) {
157         _pollsChoice.setExpandoBridgeAttributes(serviceContext);
158     }
159 
160     public java.lang.Object clone() {
161         return _pollsChoice.clone();
162     }
163 
164     public int compareTo(
165         com.liferay.portlet.polls.model.PollsChoice pollsChoice) {
166         return _pollsChoice.compareTo(pollsChoice);
167     }
168 
169     public int hashCode() {
170         return _pollsChoice.hashCode();
171     }
172 
173     public java.lang.String toString() {
174         return _pollsChoice.toString();
175     }
176 
177     public java.lang.String toXmlString() {
178         return _pollsChoice.toXmlString();
179     }
180 
181     public int getVotesCount()
182         throws com.liferay.portal.kernel.exception.SystemException {
183         return _pollsChoice.getVotesCount();
184     }
185 
186     public PollsChoice getWrappedPollsChoice() {
187         return _pollsChoice;
188     }
189 
190     private PollsChoice _pollsChoice;
191 }