001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.ratings.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link RatingsStats}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       RatingsStats
024     * @generated
025     */
026    public class RatingsStatsWrapper implements RatingsStats {
027            public RatingsStatsWrapper(RatingsStats ratingsStats) {
028                    _ratingsStats = ratingsStats;
029            }
030    
031            public long getPrimaryKey() {
032                    return _ratingsStats.getPrimaryKey();
033            }
034    
035            public void setPrimaryKey(long pk) {
036                    _ratingsStats.setPrimaryKey(pk);
037            }
038    
039            public long getStatsId() {
040                    return _ratingsStats.getStatsId();
041            }
042    
043            public void setStatsId(long statsId) {
044                    _ratingsStats.setStatsId(statsId);
045            }
046    
047            public java.lang.String getClassName() {
048                    return _ratingsStats.getClassName();
049            }
050    
051            public long getClassNameId() {
052                    return _ratingsStats.getClassNameId();
053            }
054    
055            public void setClassNameId(long classNameId) {
056                    _ratingsStats.setClassNameId(classNameId);
057            }
058    
059            public long getClassPK() {
060                    return _ratingsStats.getClassPK();
061            }
062    
063            public void setClassPK(long classPK) {
064                    _ratingsStats.setClassPK(classPK);
065            }
066    
067            public int getTotalEntries() {
068                    return _ratingsStats.getTotalEntries();
069            }
070    
071            public void setTotalEntries(int totalEntries) {
072                    _ratingsStats.setTotalEntries(totalEntries);
073            }
074    
075            public double getTotalScore() {
076                    return _ratingsStats.getTotalScore();
077            }
078    
079            public void setTotalScore(double totalScore) {
080                    _ratingsStats.setTotalScore(totalScore);
081            }
082    
083            public double getAverageScore() {
084                    return _ratingsStats.getAverageScore();
085            }
086    
087            public void setAverageScore(double averageScore) {
088                    _ratingsStats.setAverageScore(averageScore);
089            }
090    
091            public com.liferay.portlet.ratings.model.RatingsStats toEscapedModel() {
092                    return _ratingsStats.toEscapedModel();
093            }
094    
095            public boolean isNew() {
096                    return _ratingsStats.isNew();
097            }
098    
099            public void setNew(boolean n) {
100                    _ratingsStats.setNew(n);
101            }
102    
103            public boolean isCachedModel() {
104                    return _ratingsStats.isCachedModel();
105            }
106    
107            public void setCachedModel(boolean cachedModel) {
108                    _ratingsStats.setCachedModel(cachedModel);
109            }
110    
111            public boolean isEscapedModel() {
112                    return _ratingsStats.isEscapedModel();
113            }
114    
115            public void setEscapedModel(boolean escapedModel) {
116                    _ratingsStats.setEscapedModel(escapedModel);
117            }
118    
119            public java.io.Serializable getPrimaryKeyObj() {
120                    return _ratingsStats.getPrimaryKeyObj();
121            }
122    
123            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
124                    return _ratingsStats.getExpandoBridge();
125            }
126    
127            public void setExpandoBridgeAttributes(
128                    com.liferay.portal.service.ServiceContext serviceContext) {
129                    _ratingsStats.setExpandoBridgeAttributes(serviceContext);
130            }
131    
132            public java.lang.Object clone() {
133                    return _ratingsStats.clone();
134            }
135    
136            public int compareTo(
137                    com.liferay.portlet.ratings.model.RatingsStats ratingsStats) {
138                    return _ratingsStats.compareTo(ratingsStats);
139            }
140    
141            public int hashCode() {
142                    return _ratingsStats.hashCode();
143            }
144    
145            public java.lang.String toString() {
146                    return _ratingsStats.toString();
147            }
148    
149            public java.lang.String toXmlString() {
150                    return _ratingsStats.toXmlString();
151            }
152    
153            public RatingsStats getWrappedRatingsStats() {
154                    return _ratingsStats;
155            }
156    
157            private RatingsStats _ratingsStats;
158    }