1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.ratings.model;
24  
25  
26  /**
27   * <a href="RatingsEntrySoap.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link RatingsEntry}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       RatingsEntry
40   * @generated
41   */
42  public class RatingsEntryWrapper implements RatingsEntry {
43      public RatingsEntryWrapper(RatingsEntry ratingsEntry) {
44          _ratingsEntry = ratingsEntry;
45      }
46  
47      public long getPrimaryKey() {
48          return _ratingsEntry.getPrimaryKey();
49      }
50  
51      public void setPrimaryKey(long pk) {
52          _ratingsEntry.setPrimaryKey(pk);
53      }
54  
55      public long getEntryId() {
56          return _ratingsEntry.getEntryId();
57      }
58  
59      public void setEntryId(long entryId) {
60          _ratingsEntry.setEntryId(entryId);
61      }
62  
63      public long getCompanyId() {
64          return _ratingsEntry.getCompanyId();
65      }
66  
67      public void setCompanyId(long companyId) {
68          _ratingsEntry.setCompanyId(companyId);
69      }
70  
71      public long getUserId() {
72          return _ratingsEntry.getUserId();
73      }
74  
75      public void setUserId(long userId) {
76          _ratingsEntry.setUserId(userId);
77      }
78  
79      public java.lang.String getUserUuid()
80          throws com.liferay.portal.SystemException {
81          return _ratingsEntry.getUserUuid();
82      }
83  
84      public void setUserUuid(java.lang.String userUuid) {
85          _ratingsEntry.setUserUuid(userUuid);
86      }
87  
88      public java.lang.String getUserName() {
89          return _ratingsEntry.getUserName();
90      }
91  
92      public void setUserName(java.lang.String userName) {
93          _ratingsEntry.setUserName(userName);
94      }
95  
96      public java.util.Date getCreateDate() {
97          return _ratingsEntry.getCreateDate();
98      }
99  
100     public void setCreateDate(java.util.Date createDate) {
101         _ratingsEntry.setCreateDate(createDate);
102     }
103 
104     public java.util.Date getModifiedDate() {
105         return _ratingsEntry.getModifiedDate();
106     }
107 
108     public void setModifiedDate(java.util.Date modifiedDate) {
109         _ratingsEntry.setModifiedDate(modifiedDate);
110     }
111 
112     public java.lang.String getClassName() {
113         return _ratingsEntry.getClassName();
114     }
115 
116     public long getClassNameId() {
117         return _ratingsEntry.getClassNameId();
118     }
119 
120     public void setClassNameId(long classNameId) {
121         _ratingsEntry.setClassNameId(classNameId);
122     }
123 
124     public long getClassPK() {
125         return _ratingsEntry.getClassPK();
126     }
127 
128     public void setClassPK(long classPK) {
129         _ratingsEntry.setClassPK(classPK);
130     }
131 
132     public double getScore() {
133         return _ratingsEntry.getScore();
134     }
135 
136     public void setScore(double score) {
137         _ratingsEntry.setScore(score);
138     }
139 
140     public com.liferay.portlet.ratings.model.RatingsEntry toEscapedModel() {
141         return _ratingsEntry.toEscapedModel();
142     }
143 
144     public boolean isNew() {
145         return _ratingsEntry.isNew();
146     }
147 
148     public boolean setNew(boolean n) {
149         return _ratingsEntry.setNew(n);
150     }
151 
152     public boolean isCachedModel() {
153         return _ratingsEntry.isCachedModel();
154     }
155 
156     public void setCachedModel(boolean cachedModel) {
157         _ratingsEntry.setCachedModel(cachedModel);
158     }
159 
160     public boolean isEscapedModel() {
161         return _ratingsEntry.isEscapedModel();
162     }
163 
164     public void setEscapedModel(boolean escapedModel) {
165         _ratingsEntry.setEscapedModel(escapedModel);
166     }
167 
168     public java.io.Serializable getPrimaryKeyObj() {
169         return _ratingsEntry.getPrimaryKeyObj();
170     }
171 
172     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
173         return _ratingsEntry.getExpandoBridge();
174     }
175 
176     public void setExpandoBridgeAttributes(
177         com.liferay.portal.service.ServiceContext serviceContext) {
178         _ratingsEntry.setExpandoBridgeAttributes(serviceContext);
179     }
180 
181     public java.lang.Object clone() {
182         return _ratingsEntry.clone();
183     }
184 
185     public int compareTo(
186         com.liferay.portlet.ratings.model.RatingsEntry ratingsEntry) {
187         return _ratingsEntry.compareTo(ratingsEntry);
188     }
189 
190     public int hashCode() {
191         return _ratingsEntry.hashCode();
192     }
193 
194     public java.lang.String toString() {
195         return _ratingsEntry.toString();
196     }
197 
198     public java.lang.String toXmlString() {
199         return _ratingsEntry.toXmlString();
200     }
201 
202     public RatingsEntry getWrappedRatingsEntry() {
203         return _ratingsEntry;
204     }
205 
206     private RatingsEntry _ratingsEntry;
207 }