001
014
015 package com.liferay.portlet.softwarecatalog.model;
016
017
026 public class SCLicenseWrapper implements SCLicense {
027 public SCLicenseWrapper(SCLicense scLicense) {
028 _scLicense = scLicense;
029 }
030
031 public Class<?> getModelClass() {
032 return SCLicense.class;
033 }
034
035 public String getModelClassName() {
036 return SCLicense.class.getName();
037 }
038
039
044 public long getPrimaryKey() {
045 return _scLicense.getPrimaryKey();
046 }
047
048
053 public void setPrimaryKey(long primaryKey) {
054 _scLicense.setPrimaryKey(primaryKey);
055 }
056
057
062 public long getLicenseId() {
063 return _scLicense.getLicenseId();
064 }
065
066
071 public void setLicenseId(long licenseId) {
072 _scLicense.setLicenseId(licenseId);
073 }
074
075
080 public java.lang.String getName() {
081 return _scLicense.getName();
082 }
083
084
089 public void setName(java.lang.String name) {
090 _scLicense.setName(name);
091 }
092
093
098 public java.lang.String getUrl() {
099 return _scLicense.getUrl();
100 }
101
102
107 public void setUrl(java.lang.String url) {
108 _scLicense.setUrl(url);
109 }
110
111
116 public boolean getOpenSource() {
117 return _scLicense.getOpenSource();
118 }
119
120
125 public boolean isOpenSource() {
126 return _scLicense.isOpenSource();
127 }
128
129
134 public void setOpenSource(boolean openSource) {
135 _scLicense.setOpenSource(openSource);
136 }
137
138
143 public boolean getActive() {
144 return _scLicense.getActive();
145 }
146
147
152 public boolean isActive() {
153 return _scLicense.isActive();
154 }
155
156
161 public void setActive(boolean active) {
162 _scLicense.setActive(active);
163 }
164
165
170 public boolean getRecommended() {
171 return _scLicense.getRecommended();
172 }
173
174
179 public boolean isRecommended() {
180 return _scLicense.isRecommended();
181 }
182
183
188 public void setRecommended(boolean recommended) {
189 _scLicense.setRecommended(recommended);
190 }
191
192 public boolean isNew() {
193 return _scLicense.isNew();
194 }
195
196 public void setNew(boolean n) {
197 _scLicense.setNew(n);
198 }
199
200 public boolean isCachedModel() {
201 return _scLicense.isCachedModel();
202 }
203
204 public void setCachedModel(boolean cachedModel) {
205 _scLicense.setCachedModel(cachedModel);
206 }
207
208 public boolean isEscapedModel() {
209 return _scLicense.isEscapedModel();
210 }
211
212 public void setEscapedModel(boolean escapedModel) {
213 _scLicense.setEscapedModel(escapedModel);
214 }
215
216 public java.io.Serializable getPrimaryKeyObj() {
217 return _scLicense.getPrimaryKeyObj();
218 }
219
220 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
221 _scLicense.setPrimaryKeyObj(primaryKeyObj);
222 }
223
224 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
225 return _scLicense.getExpandoBridge();
226 }
227
228 public void setExpandoBridgeAttributes(
229 com.liferay.portal.service.ServiceContext serviceContext) {
230 _scLicense.setExpandoBridgeAttributes(serviceContext);
231 }
232
233 @Override
234 public java.lang.Object clone() {
235 return new SCLicenseWrapper((SCLicense)_scLicense.clone());
236 }
237
238 public int compareTo(
239 com.liferay.portlet.softwarecatalog.model.SCLicense scLicense) {
240 return _scLicense.compareTo(scLicense);
241 }
242
243 @Override
244 public int hashCode() {
245 return _scLicense.hashCode();
246 }
247
248 public com.liferay.portal.model.CacheModel<com.liferay.portlet.softwarecatalog.model.SCLicense> toCacheModel() {
249 return _scLicense.toCacheModel();
250 }
251
252 public com.liferay.portlet.softwarecatalog.model.SCLicense toEscapedModel() {
253 return new SCLicenseWrapper(_scLicense.toEscapedModel());
254 }
255
256 @Override
257 public java.lang.String toString() {
258 return _scLicense.toString();
259 }
260
261 public java.lang.String toXmlString() {
262 return _scLicense.toXmlString();
263 }
264
265 public void persist()
266 throws com.liferay.portal.kernel.exception.SystemException {
267 _scLicense.persist();
268 }
269
270 public SCLicense getWrappedSCLicense() {
271 return _scLicense;
272 }
273
274 public void resetOriginalValues() {
275 _scLicense.resetOriginalValues();
276 }
277
278 private SCLicense _scLicense;
279 }