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.softwarecatalog.model;
016    
017    import com.liferay.portal.model.ModelWrapper;
018    
019    /**
020     * <p>
021     * This class is a wrapper for {@link SCProductScreenshot}.
022     * </p>
023     *
024     * @author    Brian Wing Shun Chan
025     * @see       SCProductScreenshot
026     * @generated
027     */
028    public class SCProductScreenshotWrapper implements SCProductScreenshot,
029            ModelWrapper<SCProductScreenshot> {
030            public SCProductScreenshotWrapper(SCProductScreenshot scProductScreenshot) {
031                    _scProductScreenshot = scProductScreenshot;
032            }
033    
034            public Class<?> getModelClass() {
035                    return SCProductScreenshot.class;
036            }
037    
038            public String getModelClassName() {
039                    return SCProductScreenshot.class.getName();
040            }
041    
042            /**
043            * Returns the primary key of this s c product screenshot.
044            *
045            * @return the primary key of this s c product screenshot
046            */
047            public long getPrimaryKey() {
048                    return _scProductScreenshot.getPrimaryKey();
049            }
050    
051            /**
052            * Sets the primary key of this s c product screenshot.
053            *
054            * @param primaryKey the primary key of this s c product screenshot
055            */
056            public void setPrimaryKey(long primaryKey) {
057                    _scProductScreenshot.setPrimaryKey(primaryKey);
058            }
059    
060            /**
061            * Returns the product screenshot ID of this s c product screenshot.
062            *
063            * @return the product screenshot ID of this s c product screenshot
064            */
065            public long getProductScreenshotId() {
066                    return _scProductScreenshot.getProductScreenshotId();
067            }
068    
069            /**
070            * Sets the product screenshot ID of this s c product screenshot.
071            *
072            * @param productScreenshotId the product screenshot ID of this s c product screenshot
073            */
074            public void setProductScreenshotId(long productScreenshotId) {
075                    _scProductScreenshot.setProductScreenshotId(productScreenshotId);
076            }
077    
078            /**
079            * Returns the company ID of this s c product screenshot.
080            *
081            * @return the company ID of this s c product screenshot
082            */
083            public long getCompanyId() {
084                    return _scProductScreenshot.getCompanyId();
085            }
086    
087            /**
088            * Sets the company ID of this s c product screenshot.
089            *
090            * @param companyId the company ID of this s c product screenshot
091            */
092            public void setCompanyId(long companyId) {
093                    _scProductScreenshot.setCompanyId(companyId);
094            }
095    
096            /**
097            * Returns the group ID of this s c product screenshot.
098            *
099            * @return the group ID of this s c product screenshot
100            */
101            public long getGroupId() {
102                    return _scProductScreenshot.getGroupId();
103            }
104    
105            /**
106            * Sets the group ID of this s c product screenshot.
107            *
108            * @param groupId the group ID of this s c product screenshot
109            */
110            public void setGroupId(long groupId) {
111                    _scProductScreenshot.setGroupId(groupId);
112            }
113    
114            /**
115            * Returns the product entry ID of this s c product screenshot.
116            *
117            * @return the product entry ID of this s c product screenshot
118            */
119            public long getProductEntryId() {
120                    return _scProductScreenshot.getProductEntryId();
121            }
122    
123            /**
124            * Sets the product entry ID of this s c product screenshot.
125            *
126            * @param productEntryId the product entry ID of this s c product screenshot
127            */
128            public void setProductEntryId(long productEntryId) {
129                    _scProductScreenshot.setProductEntryId(productEntryId);
130            }
131    
132            /**
133            * Returns the thumbnail ID of this s c product screenshot.
134            *
135            * @return the thumbnail ID of this s c product screenshot
136            */
137            public long getThumbnailId() {
138                    return _scProductScreenshot.getThumbnailId();
139            }
140    
141            /**
142            * Sets the thumbnail ID of this s c product screenshot.
143            *
144            * @param thumbnailId the thumbnail ID of this s c product screenshot
145            */
146            public void setThumbnailId(long thumbnailId) {
147                    _scProductScreenshot.setThumbnailId(thumbnailId);
148            }
149    
150            /**
151            * Returns the full image ID of this s c product screenshot.
152            *
153            * @return the full image ID of this s c product screenshot
154            */
155            public long getFullImageId() {
156                    return _scProductScreenshot.getFullImageId();
157            }
158    
159            /**
160            * Sets the full image ID of this s c product screenshot.
161            *
162            * @param fullImageId the full image ID of this s c product screenshot
163            */
164            public void setFullImageId(long fullImageId) {
165                    _scProductScreenshot.setFullImageId(fullImageId);
166            }
167    
168            /**
169            * Returns the priority of this s c product screenshot.
170            *
171            * @return the priority of this s c product screenshot
172            */
173            public int getPriority() {
174                    return _scProductScreenshot.getPriority();
175            }
176    
177            /**
178            * Sets the priority of this s c product screenshot.
179            *
180            * @param priority the priority of this s c product screenshot
181            */
182            public void setPriority(int priority) {
183                    _scProductScreenshot.setPriority(priority);
184            }
185    
186            public boolean isNew() {
187                    return _scProductScreenshot.isNew();
188            }
189    
190            public void setNew(boolean n) {
191                    _scProductScreenshot.setNew(n);
192            }
193    
194            public boolean isCachedModel() {
195                    return _scProductScreenshot.isCachedModel();
196            }
197    
198            public void setCachedModel(boolean cachedModel) {
199                    _scProductScreenshot.setCachedModel(cachedModel);
200            }
201    
202            public boolean isEscapedModel() {
203                    return _scProductScreenshot.isEscapedModel();
204            }
205    
206            public java.io.Serializable getPrimaryKeyObj() {
207                    return _scProductScreenshot.getPrimaryKeyObj();
208            }
209    
210            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
211                    _scProductScreenshot.setPrimaryKeyObj(primaryKeyObj);
212            }
213    
214            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
215                    return _scProductScreenshot.getExpandoBridge();
216            }
217    
218            public void setExpandoBridgeAttributes(
219                    com.liferay.portal.service.ServiceContext serviceContext) {
220                    _scProductScreenshot.setExpandoBridgeAttributes(serviceContext);
221            }
222    
223            @Override
224            public java.lang.Object clone() {
225                    return new SCProductScreenshotWrapper((SCProductScreenshot)_scProductScreenshot.clone());
226            }
227    
228            public int compareTo(
229                    com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot) {
230                    return _scProductScreenshot.compareTo(scProductScreenshot);
231            }
232    
233            @Override
234            public int hashCode() {
235                    return _scProductScreenshot.hashCode();
236            }
237    
238            public com.liferay.portal.model.CacheModel<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> toCacheModel() {
239                    return _scProductScreenshot.toCacheModel();
240            }
241    
242            public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot toEscapedModel() {
243                    return new SCProductScreenshotWrapper(_scProductScreenshot.toEscapedModel());
244            }
245    
246            @Override
247            public java.lang.String toString() {
248                    return _scProductScreenshot.toString();
249            }
250    
251            public java.lang.String toXmlString() {
252                    return _scProductScreenshot.toXmlString();
253            }
254    
255            public void persist()
256                    throws com.liferay.portal.kernel.exception.SystemException {
257                    _scProductScreenshot.persist();
258            }
259    
260            /**
261             * @deprecated Renamed to {@link #getWrappedModel}
262             */
263            public SCProductScreenshot getWrappedSCProductScreenshot() {
264                    return _scProductScreenshot;
265            }
266    
267            public SCProductScreenshot getWrappedModel() {
268                    return _scProductScreenshot;
269            }
270    
271            public void resetOriginalValues() {
272                    _scProductScreenshot.resetOriginalValues();
273            }
274    
275            private SCProductScreenshot _scProductScreenshot;
276    }