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