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