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