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