001
014
015 package com.liferay.portlet.softwarecatalog.model;
016
017 import com.liferay.portal.model.ModelWrapper;
018
019
028 public class SCLicenseWrapper implements SCLicense, ModelWrapper<SCLicense> {
029 public SCLicenseWrapper(SCLicense scLicense) {
030 _scLicense = scLicense;
031 }
032
033 public Class<?> getModelClass() {
034 return SCLicense.class;
035 }
036
037 public String getModelClassName() {
038 return SCLicense.class.getName();
039 }
040
041
046 public long getPrimaryKey() {
047 return _scLicense.getPrimaryKey();
048 }
049
050
055 public void setPrimaryKey(long primaryKey) {
056 _scLicense.setPrimaryKey(primaryKey);
057 }
058
059
064 public long getLicenseId() {
065 return _scLicense.getLicenseId();
066 }
067
068
073 public void setLicenseId(long licenseId) {
074 _scLicense.setLicenseId(licenseId);
075 }
076
077
082 public java.lang.String getName() {
083 return _scLicense.getName();
084 }
085
086
091 public void setName(java.lang.String name) {
092 _scLicense.setName(name);
093 }
094
095
100 public java.lang.String getUrl() {
101 return _scLicense.getUrl();
102 }
103
104
109 public void setUrl(java.lang.String url) {
110 _scLicense.setUrl(url);
111 }
112
113
118 public boolean getOpenSource() {
119 return _scLicense.getOpenSource();
120 }
121
122
127 public boolean isOpenSource() {
128 return _scLicense.isOpenSource();
129 }
130
131
136 public void setOpenSource(boolean openSource) {
137 _scLicense.setOpenSource(openSource);
138 }
139
140
145 public boolean getActive() {
146 return _scLicense.getActive();
147 }
148
149
154 public boolean isActive() {
155 return _scLicense.isActive();
156 }
157
158
163 public void setActive(boolean active) {
164 _scLicense.setActive(active);
165 }
166
167
172 public boolean getRecommended() {
173 return _scLicense.getRecommended();
174 }
175
176
181 public boolean isRecommended() {
182 return _scLicense.isRecommended();
183 }
184
185
190 public void setRecommended(boolean recommended) {
191 _scLicense.setRecommended(recommended);
192 }
193
194 public boolean isNew() {
195 return _scLicense.isNew();
196 }
197
198 public void setNew(boolean n) {
199 _scLicense.setNew(n);
200 }
201
202 public boolean isCachedModel() {
203 return _scLicense.isCachedModel();
204 }
205
206 public void setCachedModel(boolean cachedModel) {
207 _scLicense.setCachedModel(cachedModel);
208 }
209
210 public boolean isEscapedModel() {
211 return _scLicense.isEscapedModel();
212 }
213
214 public java.io.Serializable getPrimaryKeyObj() {
215 return _scLicense.getPrimaryKeyObj();
216 }
217
218 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
219 _scLicense.setPrimaryKeyObj(primaryKeyObj);
220 }
221
222 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
223 return _scLicense.getExpandoBridge();
224 }
225
226 public void setExpandoBridgeAttributes(
227 com.liferay.portal.service.ServiceContext serviceContext) {
228 _scLicense.setExpandoBridgeAttributes(serviceContext);
229 }
230
231 @Override
232 public java.lang.Object clone() {
233 return new SCLicenseWrapper((SCLicense)_scLicense.clone());
234 }
235
236 public int compareTo(
237 com.liferay.portlet.softwarecatalog.model.SCLicense scLicense) {
238 return _scLicense.compareTo(scLicense);
239 }
240
241 @Override
242 public int hashCode() {
243 return _scLicense.hashCode();
244 }
245
246 public com.liferay.portal.model.CacheModel<com.liferay.portlet.softwarecatalog.model.SCLicense> toCacheModel() {
247 return _scLicense.toCacheModel();
248 }
249
250 public com.liferay.portlet.softwarecatalog.model.SCLicense toEscapedModel() {
251 return new SCLicenseWrapper(_scLicense.toEscapedModel());
252 }
253
254 @Override
255 public java.lang.String toString() {
256 return _scLicense.toString();
257 }
258
259 public java.lang.String toXmlString() {
260 return _scLicense.toXmlString();
261 }
262
263 public void persist()
264 throws com.liferay.portal.kernel.exception.SystemException {
265 _scLicense.persist();
266 }
267
268
271 public SCLicense getWrappedSCLicense() {
272 return _scLicense;
273 }
274
275 public SCLicense getWrappedModel() {
276 return _scLicense;
277 }
278
279 public void resetOriginalValues() {
280 _scLicense.resetOriginalValues();
281 }
282
283 private SCLicense _scLicense;
284 }