001    /**
002     * Copyright (c) 2000-2012 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.asset.model;
016    
017    import com.liferay.portal.model.ModelWrapper;
018    
019    /**
020     * <p>
021     * This class is a wrapper for {@link AssetTagStats}.
022     * </p>
023     *
024     * @author    Brian Wing Shun Chan
025     * @see       AssetTagStats
026     * @generated
027     */
028    public class AssetTagStatsWrapper implements AssetTagStats,
029            ModelWrapper<AssetTagStats> {
030            public AssetTagStatsWrapper(AssetTagStats assetTagStats) {
031                    _assetTagStats = assetTagStats;
032            }
033    
034            public Class<?> getModelClass() {
035                    return AssetTagStats.class;
036            }
037    
038            public String getModelClassName() {
039                    return AssetTagStats.class.getName();
040            }
041    
042            /**
043            * Returns the primary key of this asset tag stats.
044            *
045            * @return the primary key of this asset tag stats
046            */
047            public long getPrimaryKey() {
048                    return _assetTagStats.getPrimaryKey();
049            }
050    
051            /**
052            * Sets the primary key of this asset tag stats.
053            *
054            * @param primaryKey the primary key of this asset tag stats
055            */
056            public void setPrimaryKey(long primaryKey) {
057                    _assetTagStats.setPrimaryKey(primaryKey);
058            }
059    
060            /**
061            * Returns the tag stats ID of this asset tag stats.
062            *
063            * @return the tag stats ID of this asset tag stats
064            */
065            public long getTagStatsId() {
066                    return _assetTagStats.getTagStatsId();
067            }
068    
069            /**
070            * Sets the tag stats ID of this asset tag stats.
071            *
072            * @param tagStatsId the tag stats ID of this asset tag stats
073            */
074            public void setTagStatsId(long tagStatsId) {
075                    _assetTagStats.setTagStatsId(tagStatsId);
076            }
077    
078            /**
079            * Returns the tag ID of this asset tag stats.
080            *
081            * @return the tag ID of this asset tag stats
082            */
083            public long getTagId() {
084                    return _assetTagStats.getTagId();
085            }
086    
087            /**
088            * Sets the tag ID of this asset tag stats.
089            *
090            * @param tagId the tag ID of this asset tag stats
091            */
092            public void setTagId(long tagId) {
093                    _assetTagStats.setTagId(tagId);
094            }
095    
096            /**
097            * Returns the fully qualified class name of this asset tag stats.
098            *
099            * @return the fully qualified class name of this asset tag stats
100            */
101            public java.lang.String getClassName() {
102                    return _assetTagStats.getClassName();
103            }
104    
105            /**
106            * Returns the class name ID of this asset tag stats.
107            *
108            * @return the class name ID of this asset tag stats
109            */
110            public long getClassNameId() {
111                    return _assetTagStats.getClassNameId();
112            }
113    
114            /**
115            * Sets the class name ID of this asset tag stats.
116            *
117            * @param classNameId the class name ID of this asset tag stats
118            */
119            public void setClassNameId(long classNameId) {
120                    _assetTagStats.setClassNameId(classNameId);
121            }
122    
123            /**
124            * Returns the asset count of this asset tag stats.
125            *
126            * @return the asset count of this asset tag stats
127            */
128            public int getAssetCount() {
129                    return _assetTagStats.getAssetCount();
130            }
131    
132            /**
133            * Sets the asset count of this asset tag stats.
134            *
135            * @param assetCount the asset count of this asset tag stats
136            */
137            public void setAssetCount(int assetCount) {
138                    _assetTagStats.setAssetCount(assetCount);
139            }
140    
141            public boolean isNew() {
142                    return _assetTagStats.isNew();
143            }
144    
145            public void setNew(boolean n) {
146                    _assetTagStats.setNew(n);
147            }
148    
149            public boolean isCachedModel() {
150                    return _assetTagStats.isCachedModel();
151            }
152    
153            public void setCachedModel(boolean cachedModel) {
154                    _assetTagStats.setCachedModel(cachedModel);
155            }
156    
157            public boolean isEscapedModel() {
158                    return _assetTagStats.isEscapedModel();
159            }
160    
161            public java.io.Serializable getPrimaryKeyObj() {
162                    return _assetTagStats.getPrimaryKeyObj();
163            }
164    
165            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
166                    _assetTagStats.setPrimaryKeyObj(primaryKeyObj);
167            }
168    
169            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
170                    return _assetTagStats.getExpandoBridge();
171            }
172    
173            public void setExpandoBridgeAttributes(
174                    com.liferay.portal.service.ServiceContext serviceContext) {
175                    _assetTagStats.setExpandoBridgeAttributes(serviceContext);
176            }
177    
178            @Override
179            public java.lang.Object clone() {
180                    return new AssetTagStatsWrapper((AssetTagStats)_assetTagStats.clone());
181            }
182    
183            public int compareTo(
184                    com.liferay.portlet.asset.model.AssetTagStats assetTagStats) {
185                    return _assetTagStats.compareTo(assetTagStats);
186            }
187    
188            @Override
189            public int hashCode() {
190                    return _assetTagStats.hashCode();
191            }
192    
193            public com.liferay.portal.model.CacheModel<com.liferay.portlet.asset.model.AssetTagStats> toCacheModel() {
194                    return _assetTagStats.toCacheModel();
195            }
196    
197            public com.liferay.portlet.asset.model.AssetTagStats toEscapedModel() {
198                    return new AssetTagStatsWrapper(_assetTagStats.toEscapedModel());
199            }
200    
201            @Override
202            public java.lang.String toString() {
203                    return _assetTagStats.toString();
204            }
205    
206            public java.lang.String toXmlString() {
207                    return _assetTagStats.toXmlString();
208            }
209    
210            public void persist()
211                    throws com.liferay.portal.kernel.exception.SystemException {
212                    _assetTagStats.persist();
213            }
214    
215            /**
216             * @deprecated Renamed to {@link #getWrappedModel}
217             */
218            public AssetTagStats getWrappedAssetTagStats() {
219                    return _assetTagStats;
220            }
221    
222            public AssetTagStats getWrappedModel() {
223                    return _assetTagStats;
224            }
225    
226            public void resetOriginalValues() {
227                    _assetTagStats.resetOriginalValues();
228            }
229    
230            private AssetTagStats _assetTagStats;
231    }