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