001
014
015 package com.liferay.portlet.softwarecatalog.model;
016
017 import com.liferay.portal.model.ModelWrapper;
018
019 import java.util.Date;
020 import java.util.HashMap;
021 import java.util.Map;
022
023
032 public class SCFrameworkVersionWrapper implements SCFrameworkVersion,
033 ModelWrapper<SCFrameworkVersion> {
034 public SCFrameworkVersionWrapper(SCFrameworkVersion scFrameworkVersion) {
035 _scFrameworkVersion = scFrameworkVersion;
036 }
037
038 public Class<?> getModelClass() {
039 return SCFrameworkVersion.class;
040 }
041
042 public String getModelClassName() {
043 return SCFrameworkVersion.class.getName();
044 }
045
046 public Map<String, Object> getModelAttributes() {
047 Map<String, Object> attributes = new HashMap<String, Object>();
048
049 attributes.put("frameworkVersionId", getFrameworkVersionId());
050 attributes.put("groupId", getGroupId());
051 attributes.put("companyId", getCompanyId());
052 attributes.put("userId", getUserId());
053 attributes.put("userName", getUserName());
054 attributes.put("createDate", getCreateDate());
055 attributes.put("modifiedDate", getModifiedDate());
056 attributes.put("name", getName());
057 attributes.put("url", getUrl());
058 attributes.put("active", getActive());
059 attributes.put("priority", getPriority());
060
061 return attributes;
062 }
063
064 public void setModelAttributes(Map<String, Object> attributes) {
065 Long frameworkVersionId = (Long)attributes.get("frameworkVersionId");
066
067 if (frameworkVersionId != null) {
068 setFrameworkVersionId(frameworkVersionId);
069 }
070
071 Long groupId = (Long)attributes.get("groupId");
072
073 if (groupId != null) {
074 setGroupId(groupId);
075 }
076
077 Long companyId = (Long)attributes.get("companyId");
078
079 if (companyId != null) {
080 setCompanyId(companyId);
081 }
082
083 Long userId = (Long)attributes.get("userId");
084
085 if (userId != null) {
086 setUserId(userId);
087 }
088
089 String userName = (String)attributes.get("userName");
090
091 if (userName != null) {
092 setUserName(userName);
093 }
094
095 Date createDate = (Date)attributes.get("createDate");
096
097 if (createDate != null) {
098 setCreateDate(createDate);
099 }
100
101 Date modifiedDate = (Date)attributes.get("modifiedDate");
102
103 if (modifiedDate != null) {
104 setModifiedDate(modifiedDate);
105 }
106
107 String name = (String)attributes.get("name");
108
109 if (name != null) {
110 setName(name);
111 }
112
113 String url = (String)attributes.get("url");
114
115 if (url != null) {
116 setUrl(url);
117 }
118
119 Boolean active = (Boolean)attributes.get("active");
120
121 if (active != null) {
122 setActive(active);
123 }
124
125 Integer priority = (Integer)attributes.get("priority");
126
127 if (priority != null) {
128 setPriority(priority);
129 }
130 }
131
132
137 public long getPrimaryKey() {
138 return _scFrameworkVersion.getPrimaryKey();
139 }
140
141
146 public void setPrimaryKey(long primaryKey) {
147 _scFrameworkVersion.setPrimaryKey(primaryKey);
148 }
149
150
155 public long getFrameworkVersionId() {
156 return _scFrameworkVersion.getFrameworkVersionId();
157 }
158
159
164 public void setFrameworkVersionId(long frameworkVersionId) {
165 _scFrameworkVersion.setFrameworkVersionId(frameworkVersionId);
166 }
167
168
173 public long getGroupId() {
174 return _scFrameworkVersion.getGroupId();
175 }
176
177
182 public void setGroupId(long groupId) {
183 _scFrameworkVersion.setGroupId(groupId);
184 }
185
186
191 public long getCompanyId() {
192 return _scFrameworkVersion.getCompanyId();
193 }
194
195
200 public void setCompanyId(long companyId) {
201 _scFrameworkVersion.setCompanyId(companyId);
202 }
203
204
209 public long getUserId() {
210 return _scFrameworkVersion.getUserId();
211 }
212
213
218 public void setUserId(long userId) {
219 _scFrameworkVersion.setUserId(userId);
220 }
221
222
228 public java.lang.String getUserUuid()
229 throws com.liferay.portal.kernel.exception.SystemException {
230 return _scFrameworkVersion.getUserUuid();
231 }
232
233
238 public void setUserUuid(java.lang.String userUuid) {
239 _scFrameworkVersion.setUserUuid(userUuid);
240 }
241
242
247 public java.lang.String getUserName() {
248 return _scFrameworkVersion.getUserName();
249 }
250
251
256 public void setUserName(java.lang.String userName) {
257 _scFrameworkVersion.setUserName(userName);
258 }
259
260
265 public java.util.Date getCreateDate() {
266 return _scFrameworkVersion.getCreateDate();
267 }
268
269
274 public void setCreateDate(java.util.Date createDate) {
275 _scFrameworkVersion.setCreateDate(createDate);
276 }
277
278
283 public java.util.Date getModifiedDate() {
284 return _scFrameworkVersion.getModifiedDate();
285 }
286
287
292 public void setModifiedDate(java.util.Date modifiedDate) {
293 _scFrameworkVersion.setModifiedDate(modifiedDate);
294 }
295
296
301 public java.lang.String getName() {
302 return _scFrameworkVersion.getName();
303 }
304
305
310 public void setName(java.lang.String name) {
311 _scFrameworkVersion.setName(name);
312 }
313
314
319 public java.lang.String getUrl() {
320 return _scFrameworkVersion.getUrl();
321 }
322
323
328 public void setUrl(java.lang.String url) {
329 _scFrameworkVersion.setUrl(url);
330 }
331
332
337 public boolean getActive() {
338 return _scFrameworkVersion.getActive();
339 }
340
341
346 public boolean isActive() {
347 return _scFrameworkVersion.isActive();
348 }
349
350
355 public void setActive(boolean active) {
356 _scFrameworkVersion.setActive(active);
357 }
358
359
364 public int getPriority() {
365 return _scFrameworkVersion.getPriority();
366 }
367
368
373 public void setPriority(int priority) {
374 _scFrameworkVersion.setPriority(priority);
375 }
376
377 public boolean isNew() {
378 return _scFrameworkVersion.isNew();
379 }
380
381 public void setNew(boolean n) {
382 _scFrameworkVersion.setNew(n);
383 }
384
385 public boolean isCachedModel() {
386 return _scFrameworkVersion.isCachedModel();
387 }
388
389 public void setCachedModel(boolean cachedModel) {
390 _scFrameworkVersion.setCachedModel(cachedModel);
391 }
392
393 public boolean isEscapedModel() {
394 return _scFrameworkVersion.isEscapedModel();
395 }
396
397 public java.io.Serializable getPrimaryKeyObj() {
398 return _scFrameworkVersion.getPrimaryKeyObj();
399 }
400
401 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
402 _scFrameworkVersion.setPrimaryKeyObj(primaryKeyObj);
403 }
404
405 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
406 return _scFrameworkVersion.getExpandoBridge();
407 }
408
409 public void setExpandoBridgeAttributes(
410 com.liferay.portal.service.ServiceContext serviceContext) {
411 _scFrameworkVersion.setExpandoBridgeAttributes(serviceContext);
412 }
413
414 @Override
415 public java.lang.Object clone() {
416 return new SCFrameworkVersionWrapper((SCFrameworkVersion)_scFrameworkVersion.clone());
417 }
418
419 public int compareTo(
420 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion) {
421 return _scFrameworkVersion.compareTo(scFrameworkVersion);
422 }
423
424 @Override
425 public int hashCode() {
426 return _scFrameworkVersion.hashCode();
427 }
428
429 public com.liferay.portal.model.CacheModel<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> toCacheModel() {
430 return _scFrameworkVersion.toCacheModel();
431 }
432
433 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion toEscapedModel() {
434 return new SCFrameworkVersionWrapper(_scFrameworkVersion.toEscapedModel());
435 }
436
437 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion toUnescapedModel() {
438 return new SCFrameworkVersionWrapper(_scFrameworkVersion.toUnescapedModel());
439 }
440
441 @Override
442 public java.lang.String toString() {
443 return _scFrameworkVersion.toString();
444 }
445
446 public java.lang.String toXmlString() {
447 return _scFrameworkVersion.toXmlString();
448 }
449
450 public void persist()
451 throws com.liferay.portal.kernel.exception.SystemException {
452 _scFrameworkVersion.persist();
453 }
454
455
458 public SCFrameworkVersion getWrappedSCFrameworkVersion() {
459 return _scFrameworkVersion;
460 }
461
462 public SCFrameworkVersion getWrappedModel() {
463 return _scFrameworkVersion;
464 }
465
466 public void resetOriginalValues() {
467 _scFrameworkVersion.resetOriginalValues();
468 }
469
470 private SCFrameworkVersion _scFrameworkVersion;
471 }