001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Determines 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 void setEscapedModel(boolean escapedModel) {
323                    _scProductVersion.setEscapedModel(escapedModel);
324            }
325    
326            public java.io.Serializable getPrimaryKeyObj() {
327                    return _scProductVersion.getPrimaryKeyObj();
328            }
329    
330            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
331                    _scProductVersion.setPrimaryKeyObj(primaryKeyObj);
332            }
333    
334            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
335                    return _scProductVersion.getExpandoBridge();
336            }
337    
338            public void setExpandoBridgeAttributes(
339                    com.liferay.portal.service.ServiceContext serviceContext) {
340                    _scProductVersion.setExpandoBridgeAttributes(serviceContext);
341            }
342    
343            @Override
344            public java.lang.Object clone() {
345                    return new SCProductVersionWrapper((SCProductVersion)_scProductVersion.clone());
346            }
347    
348            public int compareTo(
349                    com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion) {
350                    return _scProductVersion.compareTo(scProductVersion);
351            }
352    
353            @Override
354            public int hashCode() {
355                    return _scProductVersion.hashCode();
356            }
357    
358            public com.liferay.portal.model.CacheModel<com.liferay.portlet.softwarecatalog.model.SCProductVersion> toCacheModel() {
359                    return _scProductVersion.toCacheModel();
360            }
361    
362            public com.liferay.portlet.softwarecatalog.model.SCProductVersion toEscapedModel() {
363                    return new SCProductVersionWrapper(_scProductVersion.toEscapedModel());
364            }
365    
366            @Override
367            public java.lang.String toString() {
368                    return _scProductVersion.toString();
369            }
370    
371            public java.lang.String toXmlString() {
372                    return _scProductVersion.toXmlString();
373            }
374    
375            public void persist()
376                    throws com.liferay.portal.kernel.exception.SystemException {
377                    _scProductVersion.persist();
378            }
379    
380            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions()
381                    throws com.liferay.portal.kernel.exception.SystemException {
382                    return _scProductVersion.getFrameworkVersions();
383            }
384    
385            public com.liferay.portlet.softwarecatalog.model.SCProductEntry getProductEntry() {
386                    return _scProductVersion.getProductEntry();
387            }
388    
389            public SCProductVersion getWrappedSCProductVersion() {
390                    return _scProductVersion;
391            }
392    
393            public void resetOriginalValues() {
394                    _scProductVersion.resetOriginalValues();
395            }
396    
397            private SCProductVersion _scProductVersion;
398    }