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 SCProductVersion}.
022     * </p>
023     *
024     * @author    Brian Wing Shun Chan
025     * @see       SCProductVersion
026     * @generated
027     */
028    public class SCProductVersionWrapper implements SCProductVersion,
029            ModelWrapper<SCProductVersion> {
030            public SCProductVersionWrapper(SCProductVersion scProductVersion) {
031                    _scProductVersion = scProductVersion;
032            }
033    
034            public Class<?> getModelClass() {
035                    return SCProductVersion.class;
036            }
037    
038            public String getModelClassName() {
039                    return SCProductVersion.class.getName();
040            }
041    
042            /**
043            * Returns the primary key of this s c product version.
044            *
045            * @return the primary key of this s c product version
046            */
047            public long getPrimaryKey() {
048                    return _scProductVersion.getPrimaryKey();
049            }
050    
051            /**
052            * Sets the primary key of this s c product version.
053            *
054            * @param primaryKey the primary key of this s c product version
055            */
056            public void setPrimaryKey(long primaryKey) {
057                    _scProductVersion.setPrimaryKey(primaryKey);
058            }
059    
060            /**
061            * Returns the product version ID of this s c product version.
062            *
063            * @return the product version ID of this s c product version
064            */
065            public long getProductVersionId() {
066                    return _scProductVersion.getProductVersionId();
067            }
068    
069            /**
070            * Sets the product version ID of this s c product version.
071            *
072            * @param productVersionId the product version ID of this s c product version
073            */
074            public void setProductVersionId(long productVersionId) {
075                    _scProductVersion.setProductVersionId(productVersionId);
076            }
077    
078            /**
079            * Returns the company ID of this s c product version.
080            *
081            * @return the company ID of this s c product version
082            */
083            public long getCompanyId() {
084                    return _scProductVersion.getCompanyId();
085            }
086    
087            /**
088            * Sets the company ID of this s c product version.
089            *
090            * @param companyId the company ID of this s c product version
091            */
092            public void setCompanyId(long companyId) {
093                    _scProductVersion.setCompanyId(companyId);
094            }
095    
096            /**
097            * Returns the user ID of this s c product version.
098            *
099            * @return the user ID of this s c product version
100            */
101            public long getUserId() {
102                    return _scProductVersion.getUserId();
103            }
104    
105            /**
106            * Sets the user ID of this s c product version.
107            *
108            * @param userId the user ID of this s c product version
109            */
110            public void setUserId(long userId) {
111                    _scProductVersion.setUserId(userId);
112            }
113    
114            /**
115            * Returns the user uuid of this s c product version.
116            *
117            * @return the user uuid of this s c product version
118            * @throws SystemException if a system exception occurred
119            */
120            public java.lang.String getUserUuid()
121                    throws com.liferay.portal.kernel.exception.SystemException {
122                    return _scProductVersion.getUserUuid();
123            }
124    
125            /**
126            * Sets the user uuid of this s c product version.
127            *
128            * @param userUuid the user uuid of this s c product version
129            */
130            public void setUserUuid(java.lang.String userUuid) {
131                    _scProductVersion.setUserUuid(userUuid);
132            }
133    
134            /**
135            * Returns the user name of this s c product version.
136            *
137            * @return the user name of this s c product version
138            */
139            public java.lang.String getUserName() {
140                    return _scProductVersion.getUserName();
141            }
142    
143            /**
144            * Sets the user name of this s c product version.
145            *
146            * @param userName the user name of this s c product version
147            */
148            public void setUserName(java.lang.String userName) {
149                    _scProductVersion.setUserName(userName);
150            }
151    
152            /**
153            * Returns the create date of this s c product version.
154            *
155            * @return the create date of this s c product version
156            */
157            public java.util.Date getCreateDate() {
158                    return _scProductVersion.getCreateDate();
159            }
160    
161            /**
162            * Sets the create date of this s c product version.
163            *
164            * @param createDate the create date of this s c product version
165            */
166            public void setCreateDate(java.util.Date createDate) {
167                    _scProductVersion.setCreateDate(createDate);
168            }
169    
170            /**
171            * Returns the modified date of this s c product version.
172            *
173            * @return the modified date of this s c product version
174            */
175            public java.util.Date getModifiedDate() {
176                    return _scProductVersion.getModifiedDate();
177            }
178    
179            /**
180            * Sets the modified date of this s c product version.
181            *
182            * @param modifiedDate the modified date of this s c product version
183            */
184            public void setModifiedDate(java.util.Date modifiedDate) {
185                    _scProductVersion.setModifiedDate(modifiedDate);
186            }
187    
188            /**
189            * Returns the product entry ID of this s c product version.
190            *
191            * @return the product entry ID of this s c product version
192            */
193            public long getProductEntryId() {
194                    return _scProductVersion.getProductEntryId();
195            }
196    
197            /**
198            * Sets the product entry ID of this s c product version.
199            *
200            * @param productEntryId the product entry ID of this s c product version
201            */
202            public void setProductEntryId(long productEntryId) {
203                    _scProductVersion.setProductEntryId(productEntryId);
204            }
205    
206            /**
207            * Returns the version of this s c product version.
208            *
209            * @return the version of this s c product version
210            */
211            public java.lang.String getVersion() {
212                    return _scProductVersion.getVersion();
213            }
214    
215            /**
216            * Sets the version of this s c product version.
217            *
218            * @param version the version of this s c product version
219            */
220            public void setVersion(java.lang.String version) {
221                    _scProductVersion.setVersion(version);
222            }
223    
224            /**
225            * Returns the change log of this s c product version.
226            *
227            * @return the change log of this s c product version
228            */
229            public java.lang.String getChangeLog() {
230                    return _scProductVersion.getChangeLog();
231            }
232    
233            /**
234            * Sets the change log of this s c product version.
235            *
236            * @param changeLog the change log of this s c product version
237            */
238            public void setChangeLog(java.lang.String changeLog) {
239                    _scProductVersion.setChangeLog(changeLog);
240            }
241    
242            /**
243            * Returns the download page u r l of this s c product version.
244            *
245            * @return the download page u r l of this s c product version
246            */
247            public java.lang.String getDownloadPageURL() {
248                    return _scProductVersion.getDownloadPageURL();
249            }
250    
251            /**
252            * Sets the download page u r l of this s c product version.
253            *
254            * @param downloadPageURL the download page u r l of this s c product version
255            */
256            public void setDownloadPageURL(java.lang.String downloadPageURL) {
257                    _scProductVersion.setDownloadPageURL(downloadPageURL);
258            }
259    
260            /**
261            * Returns the direct download u r l of this s c product version.
262            *
263            * @return the direct download u r l of this s c product version
264            */
265            public java.lang.String getDirectDownloadURL() {
266                    return _scProductVersion.getDirectDownloadURL();
267            }
268    
269            /**
270            * Sets the direct download u r l of this s c product version.
271            *
272            * @param directDownloadURL the direct download u r l of this s c product version
273            */
274            public void setDirectDownloadURL(java.lang.String directDownloadURL) {
275                    _scProductVersion.setDirectDownloadURL(directDownloadURL);
276            }
277    
278            /**
279            * Returns the repo store artifact of this s c product version.
280            *
281            * @return the repo store artifact of this s c product version
282            */
283            public boolean getRepoStoreArtifact() {
284                    return _scProductVersion.getRepoStoreArtifact();
285            }
286    
287            /**
288            * Returns <code>true</code> if this s c product version is repo store artifact.
289            *
290            * @return <code>true</code> if this s c product version is repo store artifact; <code>false</code> otherwise
291            */
292            public boolean isRepoStoreArtifact() {
293                    return _scProductVersion.isRepoStoreArtifact();
294            }
295    
296            /**
297            * Sets whether this s c product version is repo store artifact.
298            *
299            * @param repoStoreArtifact the repo store artifact of this s c product version
300            */
301            public void setRepoStoreArtifact(boolean repoStoreArtifact) {
302                    _scProductVersion.setRepoStoreArtifact(repoStoreArtifact);
303            }
304    
305            public boolean isNew() {
306                    return _scProductVersion.isNew();
307            }
308    
309            public void setNew(boolean n) {
310                    _scProductVersion.setNew(n);
311            }
312    
313            public boolean isCachedModel() {
314                    return _scProductVersion.isCachedModel();
315            }
316    
317            public void setCachedModel(boolean cachedModel) {
318                    _scProductVersion.setCachedModel(cachedModel);
319            }
320    
321            public boolean isEscapedModel() {
322                    return _scProductVersion.isEscapedModel();
323            }
324    
325            public java.io.Serializable getPrimaryKeyObj() {
326                    return _scProductVersion.getPrimaryKeyObj();
327            }
328    
329            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
330                    _scProductVersion.setPrimaryKeyObj(primaryKeyObj);
331            }
332    
333            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
334                    return _scProductVersion.getExpandoBridge();
335            }
336    
337            public void setExpandoBridgeAttributes(
338                    com.liferay.portal.service.ServiceContext serviceContext) {
339                    _scProductVersion.setExpandoBridgeAttributes(serviceContext);
340            }
341    
342            @Override
343            public java.lang.Object clone() {
344                    return new SCProductVersionWrapper((SCProductVersion)_scProductVersion.clone());
345            }
346    
347            public int compareTo(
348                    com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion) {
349                    return _scProductVersion.compareTo(scProductVersion);
350            }
351    
352            @Override
353            public int hashCode() {
354                    return _scProductVersion.hashCode();
355            }
356    
357            public com.liferay.portal.model.CacheModel<com.liferay.portlet.softwarecatalog.model.SCProductVersion> toCacheModel() {
358                    return _scProductVersion.toCacheModel();
359            }
360    
361            public com.liferay.portlet.softwarecatalog.model.SCProductVersion toEscapedModel() {
362                    return new SCProductVersionWrapper(_scProductVersion.toEscapedModel());
363            }
364    
365            @Override
366            public java.lang.String toString() {
367                    return _scProductVersion.toString();
368            }
369    
370            public java.lang.String toXmlString() {
371                    return _scProductVersion.toXmlString();
372            }
373    
374            public void persist()
375                    throws com.liferay.portal.kernel.exception.SystemException {
376                    _scProductVersion.persist();
377            }
378    
379            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions()
380                    throws com.liferay.portal.kernel.exception.SystemException {
381                    return _scProductVersion.getFrameworkVersions();
382            }
383    
384            public com.liferay.portlet.softwarecatalog.model.SCProductEntry getProductEntry() {
385                    return _scProductVersion.getProductEntry();
386            }
387    
388            /**
389             * @deprecated Renamed to {@link #getWrappedModel}
390             */
391            public SCProductVersion getWrappedSCProductVersion() {
392                    return _scProductVersion;
393            }
394    
395            public SCProductVersion getWrappedModel() {
396                    return _scProductVersion;
397            }
398    
399            public void resetOriginalValues() {
400                    _scProductVersion.resetOriginalValues();
401            }
402    
403            private SCProductVersion _scProductVersion;
404    }