001    /**
002     * Copyright (c) 2000-2010 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 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            public long getPrimaryKey() {
032                    return _scLicense.getPrimaryKey();
033            }
034    
035            public void setPrimaryKey(long pk) {
036                    _scLicense.setPrimaryKey(pk);
037            }
038    
039            public long getLicenseId() {
040                    return _scLicense.getLicenseId();
041            }
042    
043            public void setLicenseId(long licenseId) {
044                    _scLicense.setLicenseId(licenseId);
045            }
046    
047            public java.lang.String getName() {
048                    return _scLicense.getName();
049            }
050    
051            public void setName(java.lang.String name) {
052                    _scLicense.setName(name);
053            }
054    
055            public java.lang.String getUrl() {
056                    return _scLicense.getUrl();
057            }
058    
059            public void setUrl(java.lang.String url) {
060                    _scLicense.setUrl(url);
061            }
062    
063            public boolean getOpenSource() {
064                    return _scLicense.getOpenSource();
065            }
066    
067            public boolean isOpenSource() {
068                    return _scLicense.isOpenSource();
069            }
070    
071            public void setOpenSource(boolean openSource) {
072                    _scLicense.setOpenSource(openSource);
073            }
074    
075            public boolean getActive() {
076                    return _scLicense.getActive();
077            }
078    
079            public boolean isActive() {
080                    return _scLicense.isActive();
081            }
082    
083            public void setActive(boolean active) {
084                    _scLicense.setActive(active);
085            }
086    
087            public boolean getRecommended() {
088                    return _scLicense.getRecommended();
089            }
090    
091            public boolean isRecommended() {
092                    return _scLicense.isRecommended();
093            }
094    
095            public void setRecommended(boolean recommended) {
096                    _scLicense.setRecommended(recommended);
097            }
098    
099            public com.liferay.portlet.softwarecatalog.model.SCLicense toEscapedModel() {
100                    return _scLicense.toEscapedModel();
101            }
102    
103            public boolean isNew() {
104                    return _scLicense.isNew();
105            }
106    
107            public void setNew(boolean n) {
108                    _scLicense.setNew(n);
109            }
110    
111            public boolean isCachedModel() {
112                    return _scLicense.isCachedModel();
113            }
114    
115            public void setCachedModel(boolean cachedModel) {
116                    _scLicense.setCachedModel(cachedModel);
117            }
118    
119            public boolean isEscapedModel() {
120                    return _scLicense.isEscapedModel();
121            }
122    
123            public void setEscapedModel(boolean escapedModel) {
124                    _scLicense.setEscapedModel(escapedModel);
125            }
126    
127            public java.io.Serializable getPrimaryKeyObj() {
128                    return _scLicense.getPrimaryKeyObj();
129            }
130    
131            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
132                    return _scLicense.getExpandoBridge();
133            }
134    
135            public void setExpandoBridgeAttributes(
136                    com.liferay.portal.service.ServiceContext serviceContext) {
137                    _scLicense.setExpandoBridgeAttributes(serviceContext);
138            }
139    
140            public java.lang.Object clone() {
141                    return _scLicense.clone();
142            }
143    
144            public int compareTo(
145                    com.liferay.portlet.softwarecatalog.model.SCLicense scLicense) {
146                    return _scLicense.compareTo(scLicense);
147            }
148    
149            public int hashCode() {
150                    return _scLicense.hashCode();
151            }
152    
153            public java.lang.String toString() {
154                    return _scLicense.toString();
155            }
156    
157            public java.lang.String toXmlString() {
158                    return _scLicense.toXmlString();
159            }
160    
161            public SCLicense getWrappedSCLicense() {
162                    return _scLicense;
163            }
164    
165            private SCLicense _scLicense;
166    }