1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.softwarecatalog.model;
24  
25  
26  /**
27   * <a href="SCLicenseSoap.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link SCLicense}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       SCLicense
40   * @generated
41   */
42  public class SCLicenseWrapper implements SCLicense {
43      public SCLicenseWrapper(SCLicense scLicense) {
44          _scLicense = scLicense;
45      }
46  
47      public long getPrimaryKey() {
48          return _scLicense.getPrimaryKey();
49      }
50  
51      public void setPrimaryKey(long pk) {
52          _scLicense.setPrimaryKey(pk);
53      }
54  
55      public long getLicenseId() {
56          return _scLicense.getLicenseId();
57      }
58  
59      public void setLicenseId(long licenseId) {
60          _scLicense.setLicenseId(licenseId);
61      }
62  
63      public java.lang.String getName() {
64          return _scLicense.getName();
65      }
66  
67      public void setName(java.lang.String name) {
68          _scLicense.setName(name);
69      }
70  
71      public java.lang.String getUrl() {
72          return _scLicense.getUrl();
73      }
74  
75      public void setUrl(java.lang.String url) {
76          _scLicense.setUrl(url);
77      }
78  
79      public boolean getOpenSource() {
80          return _scLicense.getOpenSource();
81      }
82  
83      public boolean isOpenSource() {
84          return _scLicense.isOpenSource();
85      }
86  
87      public void setOpenSource(boolean openSource) {
88          _scLicense.setOpenSource(openSource);
89      }
90  
91      public boolean getActive() {
92          return _scLicense.getActive();
93      }
94  
95      public boolean isActive() {
96          return _scLicense.isActive();
97      }
98  
99      public void setActive(boolean active) {
100         _scLicense.setActive(active);
101     }
102 
103     public boolean getRecommended() {
104         return _scLicense.getRecommended();
105     }
106 
107     public boolean isRecommended() {
108         return _scLicense.isRecommended();
109     }
110 
111     public void setRecommended(boolean recommended) {
112         _scLicense.setRecommended(recommended);
113     }
114 
115     public com.liferay.portlet.softwarecatalog.model.SCLicense toEscapedModel() {
116         return _scLicense.toEscapedModel();
117     }
118 
119     public boolean isNew() {
120         return _scLicense.isNew();
121     }
122 
123     public boolean setNew(boolean n) {
124         return _scLicense.setNew(n);
125     }
126 
127     public boolean isCachedModel() {
128         return _scLicense.isCachedModel();
129     }
130 
131     public void setCachedModel(boolean cachedModel) {
132         _scLicense.setCachedModel(cachedModel);
133     }
134 
135     public boolean isEscapedModel() {
136         return _scLicense.isEscapedModel();
137     }
138 
139     public void setEscapedModel(boolean escapedModel) {
140         _scLicense.setEscapedModel(escapedModel);
141     }
142 
143     public java.io.Serializable getPrimaryKeyObj() {
144         return _scLicense.getPrimaryKeyObj();
145     }
146 
147     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
148         return _scLicense.getExpandoBridge();
149     }
150 
151     public void setExpandoBridgeAttributes(
152         com.liferay.portal.service.ServiceContext serviceContext) {
153         _scLicense.setExpandoBridgeAttributes(serviceContext);
154     }
155 
156     public java.lang.Object clone() {
157         return _scLicense.clone();
158     }
159 
160     public int compareTo(
161         com.liferay.portlet.softwarecatalog.model.SCLicense scLicense) {
162         return _scLicense.compareTo(scLicense);
163     }
164 
165     public int hashCode() {
166         return _scLicense.hashCode();
167     }
168 
169     public java.lang.String toString() {
170         return _scLicense.toString();
171     }
172 
173     public java.lang.String toXmlString() {
174         return _scLicense.toXmlString();
175     }
176 
177     public SCLicense getWrappedSCLicense() {
178         return _scLicense;
179     }
180 
181     private SCLicense _scLicense;
182 }