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