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