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 void setDescription(java.lang.String description) {
84          _pollsChoice.setDescription(description);
85      }
86  
87      public com.liferay.portlet.polls.model.PollsChoice toEscapedModel() {
88          return _pollsChoice.toEscapedModel();
89      }
90  
91      public boolean isNew() {
92          return _pollsChoice.isNew();
93      }
94  
95      public boolean setNew(boolean n) {
96          return _pollsChoice.setNew(n);
97      }
98  
99      public boolean isCachedModel() {
100         return _pollsChoice.isCachedModel();
101     }
102 
103     public void setCachedModel(boolean cachedModel) {
104         _pollsChoice.setCachedModel(cachedModel);
105     }
106 
107     public boolean isEscapedModel() {
108         return _pollsChoice.isEscapedModel();
109     }
110 
111     public void setEscapedModel(boolean escapedModel) {
112         _pollsChoice.setEscapedModel(escapedModel);
113     }
114 
115     public java.io.Serializable getPrimaryKeyObj() {
116         return _pollsChoice.getPrimaryKeyObj();
117     }
118 
119     public java.lang.Object clone() {
120         return _pollsChoice.clone();
121     }
122 
123     public int compareTo(
124         com.liferay.portlet.polls.model.PollsChoice pollsChoice) {
125         return _pollsChoice.compareTo(pollsChoice);
126     }
127 
128     public int hashCode() {
129         return _pollsChoice.hashCode();
130     }
131 
132     public java.lang.String toString() {
133         return _pollsChoice.toString();
134     }
135 
136     public java.lang.String toXmlString() {
137         return _pollsChoice.toXmlString();
138     }
139 
140     public int getVotesCount() throws com.liferay.portal.SystemException {
141         return _pollsChoice.getVotesCount();
142     }
143 
144     public PollsChoice getWrappedPollsChoice() {
145         return _pollsChoice;
146     }
147 
148     private PollsChoice _pollsChoice;
149 }