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