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="RatingsStatsSoap.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 RatingsStats}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       RatingsStats
40   * @generated
41   */
42  public class RatingsStatsWrapper implements RatingsStats {
43      public RatingsStatsWrapper(RatingsStats ratingsStats) {
44          _ratingsStats = ratingsStats;
45      }
46  
47      public long getPrimaryKey() {
48          return _ratingsStats.getPrimaryKey();
49      }
50  
51      public void setPrimaryKey(long pk) {
52          _ratingsStats.setPrimaryKey(pk);
53      }
54  
55      public long getStatsId() {
56          return _ratingsStats.getStatsId();
57      }
58  
59      public void setStatsId(long statsId) {
60          _ratingsStats.setStatsId(statsId);
61      }
62  
63      public java.lang.String getClassName() {
64          return _ratingsStats.getClassName();
65      }
66  
67      public long getClassNameId() {
68          return _ratingsStats.getClassNameId();
69      }
70  
71      public void setClassNameId(long classNameId) {
72          _ratingsStats.setClassNameId(classNameId);
73      }
74  
75      public long getClassPK() {
76          return _ratingsStats.getClassPK();
77      }
78  
79      public void setClassPK(long classPK) {
80          _ratingsStats.setClassPK(classPK);
81      }
82  
83      public int getTotalEntries() {
84          return _ratingsStats.getTotalEntries();
85      }
86  
87      public void setTotalEntries(int totalEntries) {
88          _ratingsStats.setTotalEntries(totalEntries);
89      }
90  
91      public double getTotalScore() {
92          return _ratingsStats.getTotalScore();
93      }
94  
95      public void setTotalScore(double totalScore) {
96          _ratingsStats.setTotalScore(totalScore);
97      }
98  
99      public double getAverageScore() {
100         return _ratingsStats.getAverageScore();
101     }
102 
103     public void setAverageScore(double averageScore) {
104         _ratingsStats.setAverageScore(averageScore);
105     }
106 
107     public com.liferay.portlet.ratings.model.RatingsStats toEscapedModel() {
108         return _ratingsStats.toEscapedModel();
109     }
110 
111     public boolean isNew() {
112         return _ratingsStats.isNew();
113     }
114 
115     public boolean setNew(boolean n) {
116         return _ratingsStats.setNew(n);
117     }
118 
119     public boolean isCachedModel() {
120         return _ratingsStats.isCachedModel();
121     }
122 
123     public void setCachedModel(boolean cachedModel) {
124         _ratingsStats.setCachedModel(cachedModel);
125     }
126 
127     public boolean isEscapedModel() {
128         return _ratingsStats.isEscapedModel();
129     }
130 
131     public void setEscapedModel(boolean escapedModel) {
132         _ratingsStats.setEscapedModel(escapedModel);
133     }
134 
135     public java.io.Serializable getPrimaryKeyObj() {
136         return _ratingsStats.getPrimaryKeyObj();
137     }
138 
139     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
140         return _ratingsStats.getExpandoBridge();
141     }
142 
143     public void setExpandoBridgeAttributes(
144         com.liferay.portal.service.ServiceContext serviceContext) {
145         _ratingsStats.setExpandoBridgeAttributes(serviceContext);
146     }
147 
148     public java.lang.Object clone() {
149         return _ratingsStats.clone();
150     }
151 
152     public int compareTo(
153         com.liferay.portlet.ratings.model.RatingsStats ratingsStats) {
154         return _ratingsStats.compareTo(ratingsStats);
155     }
156 
157     public int hashCode() {
158         return _ratingsStats.hashCode();
159     }
160 
161     public java.lang.String toString() {
162         return _ratingsStats.toString();
163     }
164 
165     public java.lang.String toXmlString() {
166         return _ratingsStats.toXmlString();
167     }
168 
169     public RatingsStats getWrappedRatingsStats() {
170         return _ratingsStats;
171     }
172 
173     private RatingsStats _ratingsStats;
174 }