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 java.io.Serializable getPrimaryKeyObj() {
213 return _scLicense.getPrimaryKeyObj();
214 }
215
216 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
217 _scLicense.setPrimaryKeyObj(primaryKeyObj);
218 }
219
220 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
221 return _scLicense.getExpandoBridge();
222 }
223
224 public void setExpandoBridgeAttributes(
225 com.liferay.portal.service.ServiceContext serviceContext) {
226 _scLicense.setExpandoBridgeAttributes(serviceContext);
227 }
228
229 @Override
230 public java.lang.Object clone() {
231 return new SCLicenseWrapper((SCLicense)_scLicense.clone());
232 }
233
234 public int compareTo(
235 com.liferay.portlet.softwarecatalog.model.SCLicense scLicense) {
236 return _scLicense.compareTo(scLicense);
237 }
238
239 @Override
240 public int hashCode() {
241 return _scLicense.hashCode();
242 }
243
244 public com.liferay.portal.model.CacheModel<com.liferay.portlet.softwarecatalog.model.SCLicense> toCacheModel() {
245 return _scLicense.toCacheModel();
246 }
247
248 public com.liferay.portlet.softwarecatalog.model.SCLicense toEscapedModel() {
249 return new SCLicenseWrapper(_scLicense.toEscapedModel());
250 }
251
252 @Override
253 public java.lang.String toString() {
254 return _scLicense.toString();
255 }
256
257 public java.lang.String toXmlString() {
258 return _scLicense.toXmlString();
259 }
260
261 public void persist()
262 throws com.liferay.portal.kernel.exception.SystemException {
263 _scLicense.persist();
264 }
265
266 public SCLicense getWrappedSCLicense() {
267 return _scLicense;
268 }
269
270 public void resetOriginalValues() {
271 _scLicense.resetOriginalValues();
272 }
273
274 private SCLicense _scLicense;
275 }