001    /**
002     * Copyright (c) 2000-2010 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 SCLicense}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       SCLicense
024     * @generated
025     */
026    public class SCLicenseWrapper implements SCLicense {
027            public SCLicenseWrapper(SCLicense scLicense) {
028                    _scLicense = scLicense;
029            }
030    
031            /**
032            * Gets the primary key of this s c license.
033            *
034            * @return the primary key of this s c license
035            */
036            public long getPrimaryKey() {
037                    return _scLicense.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this s c license
042            *
043            * @param pk the primary key of this s c license
044            */
045            public void setPrimaryKey(long pk) {
046                    _scLicense.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the license id of this s c license.
051            *
052            * @return the license id of this s c license
053            */
054            public long getLicenseId() {
055                    return _scLicense.getLicenseId();
056            }
057    
058            /**
059            * Sets the license id of this s c license.
060            *
061            * @param licenseId the license id of this s c license
062            */
063            public void setLicenseId(long licenseId) {
064                    _scLicense.setLicenseId(licenseId);
065            }
066    
067            /**
068            * Gets the name of this s c license.
069            *
070            * @return the name of this s c license
071            */
072            public java.lang.String getName() {
073                    return _scLicense.getName();
074            }
075    
076            /**
077            * Sets the name of this s c license.
078            *
079            * @param name the name of this s c license
080            */
081            public void setName(java.lang.String name) {
082                    _scLicense.setName(name);
083            }
084    
085            /**
086            * Gets the url of this s c license.
087            *
088            * @return the url of this s c license
089            */
090            public java.lang.String getUrl() {
091                    return _scLicense.getUrl();
092            }
093    
094            /**
095            * Sets the url of this s c license.
096            *
097            * @param url the url of this s c license
098            */
099            public void setUrl(java.lang.String url) {
100                    _scLicense.setUrl(url);
101            }
102    
103            /**
104            * Gets the open source of this s c license.
105            *
106            * @return the open source of this s c license
107            */
108            public boolean getOpenSource() {
109                    return _scLicense.getOpenSource();
110            }
111    
112            /**
113            * Determines whether this s c license is open source.
114            *
115            * @return whether this s c license is open source
116            */
117            public boolean isOpenSource() {
118                    return _scLicense.isOpenSource();
119            }
120    
121            /**
122            * Sets whether this {$entity.humanName} is open source.
123            *
124            * @param openSource the open source of this s c license
125            */
126            public void setOpenSource(boolean openSource) {
127                    _scLicense.setOpenSource(openSource);
128            }
129    
130            /**
131            * Gets the active of this s c license.
132            *
133            * @return the active of this s c license
134            */
135            public boolean getActive() {
136                    return _scLicense.getActive();
137            }
138    
139            /**
140            * Determines whether this s c license is active.
141            *
142            * @return whether this s c license is active
143            */
144            public boolean isActive() {
145                    return _scLicense.isActive();
146            }
147    
148            /**
149            * Sets whether this {$entity.humanName} is active.
150            *
151            * @param active the active of this s c license
152            */
153            public void setActive(boolean active) {
154                    _scLicense.setActive(active);
155            }
156    
157            /**
158            * Gets the recommended of this s c license.
159            *
160            * @return the recommended of this s c license
161            */
162            public boolean getRecommended() {
163                    return _scLicense.getRecommended();
164            }
165    
166            /**
167            * Determines whether this s c license is recommended.
168            *
169            * @return whether this s c license is recommended
170            */
171            public boolean isRecommended() {
172                    return _scLicense.isRecommended();
173            }
174    
175            /**
176            * Sets whether this {$entity.humanName} is recommended.
177            *
178            * @param recommended the recommended of this s c license
179            */
180            public void setRecommended(boolean recommended) {
181                    _scLicense.setRecommended(recommended);
182            }
183    
184            public boolean isNew() {
185                    return _scLicense.isNew();
186            }
187    
188            public void setNew(boolean n) {
189                    _scLicense.setNew(n);
190            }
191    
192            public boolean isCachedModel() {
193                    return _scLicense.isCachedModel();
194            }
195    
196            public void setCachedModel(boolean cachedModel) {
197                    _scLicense.setCachedModel(cachedModel);
198            }
199    
200            public boolean isEscapedModel() {
201                    return _scLicense.isEscapedModel();
202            }
203    
204            public void setEscapedModel(boolean escapedModel) {
205                    _scLicense.setEscapedModel(escapedModel);
206            }
207    
208            public java.io.Serializable getPrimaryKeyObj() {
209                    return _scLicense.getPrimaryKeyObj();
210            }
211    
212            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
213                    return _scLicense.getExpandoBridge();
214            }
215    
216            public void setExpandoBridgeAttributes(
217                    com.liferay.portal.service.ServiceContext serviceContext) {
218                    _scLicense.setExpandoBridgeAttributes(serviceContext);
219            }
220    
221            public java.lang.Object clone() {
222                    return _scLicense.clone();
223            }
224    
225            public int compareTo(
226                    com.liferay.portlet.softwarecatalog.model.SCLicense scLicense) {
227                    return _scLicense.compareTo(scLicense);
228            }
229    
230            public int hashCode() {
231                    return _scLicense.hashCode();
232            }
233    
234            public com.liferay.portlet.softwarecatalog.model.SCLicense toEscapedModel() {
235                    return _scLicense.toEscapedModel();
236            }
237    
238            public java.lang.String toString() {
239                    return _scLicense.toString();
240            }
241    
242            public java.lang.String toXmlString() {
243                    return _scLicense.toXmlString();
244            }
245    
246            public SCLicense getWrappedSCLicense() {
247                    return _scLicense;
248            }
249    
250            private SCLicense _scLicense;
251    }