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    /**
019     * <p>
020     * This class is a wrapper for {@link RatingsStats}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       RatingsStats
025     * @generated
026     */
027    public class RatingsStatsWrapper implements RatingsStats {
028            public RatingsStatsWrapper(RatingsStats ratingsStats) {
029                    _ratingsStats = ratingsStats;
030            }
031    
032            public long getPrimaryKey() {
033                    return _ratingsStats.getPrimaryKey();
034            }
035    
036            public void setPrimaryKey(long pk) {
037                    _ratingsStats.setPrimaryKey(pk);
038            }
039    
040            public long getStatsId() {
041                    return _ratingsStats.getStatsId();
042            }
043    
044            public void setStatsId(long statsId) {
045                    _ratingsStats.setStatsId(statsId);
046            }
047    
048            public java.lang.String getClassName() {
049                    return _ratingsStats.getClassName();
050            }
051    
052            public long getClassNameId() {
053                    return _ratingsStats.getClassNameId();
054            }
055    
056            public void setClassNameId(long classNameId) {
057                    _ratingsStats.setClassNameId(classNameId);
058            }
059    
060            public long getClassPK() {
061                    return _ratingsStats.getClassPK();
062            }
063    
064            public void setClassPK(long classPK) {
065                    _ratingsStats.setClassPK(classPK);
066            }
067    
068            public int getTotalEntries() {
069                    return _ratingsStats.getTotalEntries();
070            }
071    
072            public void setTotalEntries(int totalEntries) {
073                    _ratingsStats.setTotalEntries(totalEntries);
074            }
075    
076            public double getTotalScore() {
077                    return _ratingsStats.getTotalScore();
078            }
079    
080            public void setTotalScore(double totalScore) {
081                    _ratingsStats.setTotalScore(totalScore);
082            }
083    
084            public double getAverageScore() {
085                    return _ratingsStats.getAverageScore();
086            }
087    
088            public void setAverageScore(double averageScore) {
089                    _ratingsStats.setAverageScore(averageScore);
090            }
091    
092            public com.liferay.portlet.ratings.model.RatingsStats toEscapedModel() {
093                    return _ratingsStats.toEscapedModel();
094            }
095    
096            public boolean isNew() {
097                    return _ratingsStats.isNew();
098            }
099    
100            public void setNew(boolean n) {
101                    _ratingsStats.setNew(n);
102            }
103    
104            public boolean isCachedModel() {
105                    return _ratingsStats.isCachedModel();
106            }
107    
108            public void setCachedModel(boolean cachedModel) {
109                    _ratingsStats.setCachedModel(cachedModel);
110            }
111    
112            public boolean isEscapedModel() {
113                    return _ratingsStats.isEscapedModel();
114            }
115    
116            public void setEscapedModel(boolean escapedModel) {
117                    _ratingsStats.setEscapedModel(escapedModel);
118            }
119    
120            public java.io.Serializable getPrimaryKeyObj() {
121                    return _ratingsStats.getPrimaryKeyObj();
122            }
123    
124            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
125                    return _ratingsStats.getExpandoBridge();
126            }
127    
128            public void setExpandoBridgeAttributes(
129                    com.liferay.portal.service.ServiceContext serviceContext) {
130                    _ratingsStats.setExpandoBridgeAttributes(serviceContext);
131            }
132    
133            public java.lang.Object clone() {
134                    return _ratingsStats.clone();
135            }
136    
137            public int compareTo(
138                    com.liferay.portlet.ratings.model.RatingsStats ratingsStats) {
139                    return _ratingsStats.compareTo(ratingsStats);
140            }
141    
142            public int hashCode() {
143                    return _ratingsStats.hashCode();
144            }
145    
146            public java.lang.String toString() {
147                    return _ratingsStats.toString();
148            }
149    
150            public java.lang.String toXmlString() {
151                    return _ratingsStats.toXmlString();
152            }
153    
154            public RatingsStats getWrappedRatingsStats() {
155                    return _ratingsStats;
156            }
157    
158            private RatingsStats _ratingsStats;
159    }