001
014
015 package com.liferay.portlet.softwarecatalog.model.impl;
016
017 import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler;
018 import com.liferay.portal.kernel.exception.SystemException;
019 import com.liferay.portal.kernel.json.JSON;
020 import com.liferay.portal.kernel.util.DateUtil;
021 import com.liferay.portal.kernel.util.GetterUtil;
022 import com.liferay.portal.kernel.util.ProxyUtil;
023 import com.liferay.portal.kernel.util.StringBundler;
024 import com.liferay.portal.kernel.util.StringPool;
025 import com.liferay.portal.model.CacheModel;
026 import com.liferay.portal.model.impl.BaseModelImpl;
027 import com.liferay.portal.service.ServiceContext;
028 import com.liferay.portal.util.PortalUtil;
029
030 import com.liferay.portlet.expando.model.ExpandoBridge;
031 import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil;
032 import com.liferay.portlet.softwarecatalog.model.SCProductEntry;
033 import com.liferay.portlet.softwarecatalog.model.SCProductEntryModel;
034 import com.liferay.portlet.softwarecatalog.model.SCProductEntrySoap;
035
036 import java.io.Serializable;
037
038 import java.sql.Types;
039
040 import java.util.ArrayList;
041 import java.util.Date;
042 import java.util.List;
043
044
057 @JSON(strict = true)
058 public class SCProductEntryModelImpl extends BaseModelImpl<SCProductEntry>
059 implements SCProductEntryModel {
060
065 public static final String TABLE_NAME = "SCProductEntry";
066 public static final Object[][] TABLE_COLUMNS = {
067 { "productEntryId", Types.BIGINT },
068 { "groupId", Types.BIGINT },
069 { "companyId", Types.BIGINT },
070 { "userId", Types.BIGINT },
071 { "userName", Types.VARCHAR },
072 { "createDate", Types.TIMESTAMP },
073 { "modifiedDate", Types.TIMESTAMP },
074 { "name", Types.VARCHAR },
075 { "type_", Types.VARCHAR },
076 { "tags", Types.VARCHAR },
077 { "shortDescription", Types.VARCHAR },
078 { "longDescription", Types.VARCHAR },
079 { "pageURL", Types.VARCHAR },
080 { "author", Types.VARCHAR },
081 { "repoGroupId", Types.VARCHAR },
082 { "repoArtifactId", Types.VARCHAR }
083 };
084 public static final String TABLE_SQL_CREATE = "create table SCProductEntry (productEntryId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,name VARCHAR(75) null,type_ VARCHAR(75) null,tags VARCHAR(255) null,shortDescription STRING null,longDescription STRING null,pageURL STRING null,author VARCHAR(75) null,repoGroupId VARCHAR(75) null,repoArtifactId VARCHAR(75) null)";
085 public static final String TABLE_SQL_DROP = "drop table SCProductEntry";
086 public static final String ORDER_BY_JPQL = " ORDER BY scProductEntry.modifiedDate DESC, scProductEntry.name DESC";
087 public static final String ORDER_BY_SQL = " ORDER BY SCProductEntry.modifiedDate DESC, SCProductEntry.name DESC";
088 public static final String DATA_SOURCE = "liferayDataSource";
089 public static final String SESSION_FACTORY = "liferaySessionFactory";
090 public static final String TX_MANAGER = "liferayTransactionManager";
091 public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.portal.util.PropsUtil.get(
092 "value.object.entity.cache.enabled.com.liferay.portlet.softwarecatalog.model.SCProductEntry"),
093 true);
094 public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.portal.util.PropsUtil.get(
095 "value.object.finder.cache.enabled.com.liferay.portlet.softwarecatalog.model.SCProductEntry"),
096 true);
097 public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.portal.util.PropsUtil.get(
098 "value.object.column.bitmask.enabled.com.liferay.portlet.softwarecatalog.model.SCProductEntry"),
099 true);
100 public static long COMPANYID_COLUMN_BITMASK = 1L;
101 public static long GROUPID_COLUMN_BITMASK = 2L;
102 public static long REPOARTIFACTID_COLUMN_BITMASK = 4L;
103 public static long REPOGROUPID_COLUMN_BITMASK = 8L;
104 public static long USERID_COLUMN_BITMASK = 16L;
105
106
112 public static SCProductEntry toModel(SCProductEntrySoap soapModel) {
113 SCProductEntry model = new SCProductEntryImpl();
114
115 model.setProductEntryId(soapModel.getProductEntryId());
116 model.setGroupId(soapModel.getGroupId());
117 model.setCompanyId(soapModel.getCompanyId());
118 model.setUserId(soapModel.getUserId());
119 model.setUserName(soapModel.getUserName());
120 model.setCreateDate(soapModel.getCreateDate());
121 model.setModifiedDate(soapModel.getModifiedDate());
122 model.setName(soapModel.getName());
123 model.setType(soapModel.getType());
124 model.setTags(soapModel.getTags());
125 model.setShortDescription(soapModel.getShortDescription());
126 model.setLongDescription(soapModel.getLongDescription());
127 model.setPageURL(soapModel.getPageURL());
128 model.setAuthor(soapModel.getAuthor());
129 model.setRepoGroupId(soapModel.getRepoGroupId());
130 model.setRepoArtifactId(soapModel.getRepoArtifactId());
131
132 return model;
133 }
134
135
141 public static List<SCProductEntry> toModels(SCProductEntrySoap[] soapModels) {
142 List<SCProductEntry> models = new ArrayList<SCProductEntry>(soapModels.length);
143
144 for (SCProductEntrySoap soapModel : soapModels) {
145 models.add(toModel(soapModel));
146 }
147
148 return models;
149 }
150
151 public static final String MAPPING_TABLE_SCLICENSES_SCPRODUCTENTRIES_NAME = "SCLicenses_SCProductEntries";
152 public static final Object[][] MAPPING_TABLE_SCLICENSES_SCPRODUCTENTRIES_COLUMNS =
153 {
154 { "licenseId", Types.BIGINT },
155 { "productEntryId", Types.BIGINT }
156 };
157 public static final String MAPPING_TABLE_SCLICENSES_SCPRODUCTENTRIES_SQL_CREATE =
158 "create table SCLicenses_SCProductEntries (licenseId LONG not null,productEntryId LONG not null,primary key (licenseId, productEntryId))";
159 public static final boolean FINDER_CACHE_ENABLED_SCLICENSES_SCPRODUCTENTRIES =
160 GetterUtil.getBoolean(com.liferay.portal.util.PropsUtil.get(
161 "value.object.finder.cache.enabled.SCLicenses_SCProductEntries"),
162 true);
163 public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.portal.util.PropsUtil.get(
164 "lock.expiration.time.com.liferay.portlet.softwarecatalog.model.SCProductEntry"));
165
166 public SCProductEntryModelImpl() {
167 }
168
169 public long getPrimaryKey() {
170 return _productEntryId;
171 }
172
173 public void setPrimaryKey(long primaryKey) {
174 setProductEntryId(primaryKey);
175 }
176
177 public Serializable getPrimaryKeyObj() {
178 return new Long(_productEntryId);
179 }
180
181 public void setPrimaryKeyObj(Serializable primaryKeyObj) {
182 setPrimaryKey(((Long)primaryKeyObj).longValue());
183 }
184
185 public Class<?> getModelClass() {
186 return SCProductEntry.class;
187 }
188
189 public String getModelClassName() {
190 return SCProductEntry.class.getName();
191 }
192
193 @JSON
194 public long getProductEntryId() {
195 return _productEntryId;
196 }
197
198 public void setProductEntryId(long productEntryId) {
199 _productEntryId = productEntryId;
200 }
201
202 @JSON
203 public long getGroupId() {
204 return _groupId;
205 }
206
207 public void setGroupId(long groupId) {
208 _columnBitmask |= GROUPID_COLUMN_BITMASK;
209
210 if (!_setOriginalGroupId) {
211 _setOriginalGroupId = true;
212
213 _originalGroupId = _groupId;
214 }
215
216 _groupId = groupId;
217 }
218
219 public long getOriginalGroupId() {
220 return _originalGroupId;
221 }
222
223 @JSON
224 public long getCompanyId() {
225 return _companyId;
226 }
227
228 public void setCompanyId(long companyId) {
229 _columnBitmask |= COMPANYID_COLUMN_BITMASK;
230
231 if (!_setOriginalCompanyId) {
232 _setOriginalCompanyId = true;
233
234 _originalCompanyId = _companyId;
235 }
236
237 _companyId = companyId;
238 }
239
240 public long getOriginalCompanyId() {
241 return _originalCompanyId;
242 }
243
244 @JSON
245 public long getUserId() {
246 return _userId;
247 }
248
249 public void setUserId(long userId) {
250 _columnBitmask |= USERID_COLUMN_BITMASK;
251
252 if (!_setOriginalUserId) {
253 _setOriginalUserId = true;
254
255 _originalUserId = _userId;
256 }
257
258 _userId = userId;
259 }
260
261 public String getUserUuid() throws SystemException {
262 return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid);
263 }
264
265 public void setUserUuid(String userUuid) {
266 _userUuid = userUuid;
267 }
268
269 public long getOriginalUserId() {
270 return _originalUserId;
271 }
272
273 @JSON
274 public String getUserName() {
275 if (_userName == null) {
276 return StringPool.BLANK;
277 }
278 else {
279 return _userName;
280 }
281 }
282
283 public void setUserName(String userName) {
284 _userName = userName;
285 }
286
287 @JSON
288 public Date getCreateDate() {
289 return _createDate;
290 }
291
292 public void setCreateDate(Date createDate) {
293 _createDate = createDate;
294 }
295
296 @JSON
297 public Date getModifiedDate() {
298 return _modifiedDate;
299 }
300
301 public void setModifiedDate(Date modifiedDate) {
302 _modifiedDate = modifiedDate;
303 }
304
305 @JSON
306 public String getName() {
307 if (_name == null) {
308 return StringPool.BLANK;
309 }
310 else {
311 return _name;
312 }
313 }
314
315 public void setName(String name) {
316 _name = name;
317 }
318
319 @JSON
320 public String getType() {
321 if (_type == null) {
322 return StringPool.BLANK;
323 }
324 else {
325 return _type;
326 }
327 }
328
329 public void setType(String type) {
330 _type = type;
331 }
332
333 @JSON
334 public String getTags() {
335 if (_tags == null) {
336 return StringPool.BLANK;
337 }
338 else {
339 return _tags;
340 }
341 }
342
343 public void setTags(String tags) {
344 _tags = tags;
345 }
346
347 @JSON
348 public String getShortDescription() {
349 if (_shortDescription == null) {
350 return StringPool.BLANK;
351 }
352 else {
353 return _shortDescription;
354 }
355 }
356
357 public void setShortDescription(String shortDescription) {
358 _shortDescription = shortDescription;
359 }
360
361 @JSON
362 public String getLongDescription() {
363 if (_longDescription == null) {
364 return StringPool.BLANK;
365 }
366 else {
367 return _longDescription;
368 }
369 }
370
371 public void setLongDescription(String longDescription) {
372 _longDescription = longDescription;
373 }
374
375 @JSON
376 public String getPageURL() {
377 if (_pageURL == null) {
378 return StringPool.BLANK;
379 }
380 else {
381 return _pageURL;
382 }
383 }
384
385 public void setPageURL(String pageURL) {
386 _pageURL = pageURL;
387 }
388
389 @JSON
390 public String getAuthor() {
391 if (_author == null) {
392 return StringPool.BLANK;
393 }
394 else {
395 return _author;
396 }
397 }
398
399 public void setAuthor(String author) {
400 _author = author;
401 }
402
403 @JSON
404 public String getRepoGroupId() {
405 if (_repoGroupId == null) {
406 return StringPool.BLANK;
407 }
408 else {
409 return _repoGroupId;
410 }
411 }
412
413 public void setRepoGroupId(String repoGroupId) {
414 _columnBitmask |= REPOGROUPID_COLUMN_BITMASK;
415
416 if (_originalRepoGroupId == null) {
417 _originalRepoGroupId = _repoGroupId;
418 }
419
420 _repoGroupId = repoGroupId;
421 }
422
423 public String getOriginalRepoGroupId() {
424 return GetterUtil.getString(_originalRepoGroupId);
425 }
426
427 @JSON
428 public String getRepoArtifactId() {
429 if (_repoArtifactId == null) {
430 return StringPool.BLANK;
431 }
432 else {
433 return _repoArtifactId;
434 }
435 }
436
437 public void setRepoArtifactId(String repoArtifactId) {
438 _columnBitmask |= REPOARTIFACTID_COLUMN_BITMASK;
439
440 if (_originalRepoArtifactId == null) {
441 _originalRepoArtifactId = _repoArtifactId;
442 }
443
444 _repoArtifactId = repoArtifactId;
445 }
446
447 public String getOriginalRepoArtifactId() {
448 return GetterUtil.getString(_originalRepoArtifactId);
449 }
450
451 public long getColumnBitmask() {
452 return _columnBitmask;
453 }
454
455 @Override
456 public SCProductEntry toEscapedModel() {
457 if (_escapedModelProxy == null) {
458 _escapedModelProxy = (SCProductEntry)ProxyUtil.newProxyInstance(_classLoader,
459 _escapedModelProxyInterfaces,
460 new AutoEscapeBeanHandler(this));
461 }
462
463 return _escapedModelProxy;
464 }
465
466 @Override
467 public ExpandoBridge getExpandoBridge() {
468 if (_expandoBridge == null) {
469 _expandoBridge = ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(),
470 SCProductEntry.class.getName(), getPrimaryKey());
471 }
472
473 return _expandoBridge;
474 }
475
476 @Override
477 public void setExpandoBridgeAttributes(ServiceContext serviceContext) {
478 getExpandoBridge().setAttributes(serviceContext);
479 }
480
481 @Override
482 public Object clone() {
483 SCProductEntryImpl scProductEntryImpl = new SCProductEntryImpl();
484
485 scProductEntryImpl.setProductEntryId(getProductEntryId());
486 scProductEntryImpl.setGroupId(getGroupId());
487 scProductEntryImpl.setCompanyId(getCompanyId());
488 scProductEntryImpl.setUserId(getUserId());
489 scProductEntryImpl.setUserName(getUserName());
490 scProductEntryImpl.setCreateDate(getCreateDate());
491 scProductEntryImpl.setModifiedDate(getModifiedDate());
492 scProductEntryImpl.setName(getName());
493 scProductEntryImpl.setType(getType());
494 scProductEntryImpl.setTags(getTags());
495 scProductEntryImpl.setShortDescription(getShortDescription());
496 scProductEntryImpl.setLongDescription(getLongDescription());
497 scProductEntryImpl.setPageURL(getPageURL());
498 scProductEntryImpl.setAuthor(getAuthor());
499 scProductEntryImpl.setRepoGroupId(getRepoGroupId());
500 scProductEntryImpl.setRepoArtifactId(getRepoArtifactId());
501
502 scProductEntryImpl.resetOriginalValues();
503
504 return scProductEntryImpl;
505 }
506
507 public int compareTo(SCProductEntry scProductEntry) {
508 int value = 0;
509
510 value = DateUtil.compareTo(getModifiedDate(),
511 scProductEntry.getModifiedDate());
512
513 value = value * -1;
514
515 if (value != 0) {
516 return value;
517 }
518
519 value = getName().compareTo(scProductEntry.getName());
520
521 value = value * -1;
522
523 if (value != 0) {
524 return value;
525 }
526
527 return 0;
528 }
529
530 @Override
531 public boolean equals(Object obj) {
532 if (obj == null) {
533 return false;
534 }
535
536 SCProductEntry scProductEntry = null;
537
538 try {
539 scProductEntry = (SCProductEntry)obj;
540 }
541 catch (ClassCastException cce) {
542 return false;
543 }
544
545 long primaryKey = scProductEntry.getPrimaryKey();
546
547 if (getPrimaryKey() == primaryKey) {
548 return true;
549 }
550 else {
551 return false;
552 }
553 }
554
555 @Override
556 public int hashCode() {
557 return (int)getPrimaryKey();
558 }
559
560 @Override
561 public void resetOriginalValues() {
562 SCProductEntryModelImpl scProductEntryModelImpl = this;
563
564 scProductEntryModelImpl._originalGroupId = scProductEntryModelImpl._groupId;
565
566 scProductEntryModelImpl._setOriginalGroupId = false;
567
568 scProductEntryModelImpl._originalCompanyId = scProductEntryModelImpl._companyId;
569
570 scProductEntryModelImpl._setOriginalCompanyId = false;
571
572 scProductEntryModelImpl._originalUserId = scProductEntryModelImpl._userId;
573
574 scProductEntryModelImpl._setOriginalUserId = false;
575
576 scProductEntryModelImpl._originalRepoGroupId = scProductEntryModelImpl._repoGroupId;
577
578 scProductEntryModelImpl._originalRepoArtifactId = scProductEntryModelImpl._repoArtifactId;
579
580 scProductEntryModelImpl._columnBitmask = 0;
581 }
582
583 @Override
584 public CacheModel<SCProductEntry> toCacheModel() {
585 SCProductEntryCacheModel scProductEntryCacheModel = new SCProductEntryCacheModel();
586
587 scProductEntryCacheModel.productEntryId = getProductEntryId();
588
589 scProductEntryCacheModel.groupId = getGroupId();
590
591 scProductEntryCacheModel.companyId = getCompanyId();
592
593 scProductEntryCacheModel.userId = getUserId();
594
595 scProductEntryCacheModel.userName = getUserName();
596
597 String userName = scProductEntryCacheModel.userName;
598
599 if ((userName != null) && (userName.length() == 0)) {
600 scProductEntryCacheModel.userName = null;
601 }
602
603 Date createDate = getCreateDate();
604
605 if (createDate != null) {
606 scProductEntryCacheModel.createDate = createDate.getTime();
607 }
608 else {
609 scProductEntryCacheModel.createDate = Long.MIN_VALUE;
610 }
611
612 Date modifiedDate = getModifiedDate();
613
614 if (modifiedDate != null) {
615 scProductEntryCacheModel.modifiedDate = modifiedDate.getTime();
616 }
617 else {
618 scProductEntryCacheModel.modifiedDate = Long.MIN_VALUE;
619 }
620
621 scProductEntryCacheModel.name = getName();
622
623 String name = scProductEntryCacheModel.name;
624
625 if ((name != null) && (name.length() == 0)) {
626 scProductEntryCacheModel.name = null;
627 }
628
629 scProductEntryCacheModel.type = getType();
630
631 String type = scProductEntryCacheModel.type;
632
633 if ((type != null) && (type.length() == 0)) {
634 scProductEntryCacheModel.type = null;
635 }
636
637 scProductEntryCacheModel.tags = getTags();
638
639 String tags = scProductEntryCacheModel.tags;
640
641 if ((tags != null) && (tags.length() == 0)) {
642 scProductEntryCacheModel.tags = null;
643 }
644
645 scProductEntryCacheModel.shortDescription = getShortDescription();
646
647 String shortDescription = scProductEntryCacheModel.shortDescription;
648
649 if ((shortDescription != null) && (shortDescription.length() == 0)) {
650 scProductEntryCacheModel.shortDescription = null;
651 }
652
653 scProductEntryCacheModel.longDescription = getLongDescription();
654
655 String longDescription = scProductEntryCacheModel.longDescription;
656
657 if ((longDescription != null) && (longDescription.length() == 0)) {
658 scProductEntryCacheModel.longDescription = null;
659 }
660
661 scProductEntryCacheModel.pageURL = getPageURL();
662
663 String pageURL = scProductEntryCacheModel.pageURL;
664
665 if ((pageURL != null) && (pageURL.length() == 0)) {
666 scProductEntryCacheModel.pageURL = null;
667 }
668
669 scProductEntryCacheModel.author = getAuthor();
670
671 String author = scProductEntryCacheModel.author;
672
673 if ((author != null) && (author.length() == 0)) {
674 scProductEntryCacheModel.author = null;
675 }
676
677 scProductEntryCacheModel.repoGroupId = getRepoGroupId();
678
679 String repoGroupId = scProductEntryCacheModel.repoGroupId;
680
681 if ((repoGroupId != null) && (repoGroupId.length() == 0)) {
682 scProductEntryCacheModel.repoGroupId = null;
683 }
684
685 scProductEntryCacheModel.repoArtifactId = getRepoArtifactId();
686
687 String repoArtifactId = scProductEntryCacheModel.repoArtifactId;
688
689 if ((repoArtifactId != null) && (repoArtifactId.length() == 0)) {
690 scProductEntryCacheModel.repoArtifactId = null;
691 }
692
693 return scProductEntryCacheModel;
694 }
695
696 @Override
697 public String toString() {
698 StringBundler sb = new StringBundler(33);
699
700 sb.append("{productEntryId=");
701 sb.append(getProductEntryId());
702 sb.append(", groupId=");
703 sb.append(getGroupId());
704 sb.append(", companyId=");
705 sb.append(getCompanyId());
706 sb.append(", userId=");
707 sb.append(getUserId());
708 sb.append(", userName=");
709 sb.append(getUserName());
710 sb.append(", createDate=");
711 sb.append(getCreateDate());
712 sb.append(", modifiedDate=");
713 sb.append(getModifiedDate());
714 sb.append(", name=");
715 sb.append(getName());
716 sb.append(", type=");
717 sb.append(getType());
718 sb.append(", tags=");
719 sb.append(getTags());
720 sb.append(", shortDescription=");
721 sb.append(getShortDescription());
722 sb.append(", longDescription=");
723 sb.append(getLongDescription());
724 sb.append(", pageURL=");
725 sb.append(getPageURL());
726 sb.append(", author=");
727 sb.append(getAuthor());
728 sb.append(", repoGroupId=");
729 sb.append(getRepoGroupId());
730 sb.append(", repoArtifactId=");
731 sb.append(getRepoArtifactId());
732 sb.append("}");
733
734 return sb.toString();
735 }
736
737 public String toXmlString() {
738 StringBundler sb = new StringBundler(52);
739
740 sb.append("<model><model-name>");
741 sb.append("com.liferay.portlet.softwarecatalog.model.SCProductEntry");
742 sb.append("</model-name>");
743
744 sb.append(
745 "<column><column-name>productEntryId</column-name><column-value><![CDATA[");
746 sb.append(getProductEntryId());
747 sb.append("]]></column-value></column>");
748 sb.append(
749 "<column><column-name>groupId</column-name><column-value><![CDATA[");
750 sb.append(getGroupId());
751 sb.append("]]></column-value></column>");
752 sb.append(
753 "<column><column-name>companyId</column-name><column-value><![CDATA[");
754 sb.append(getCompanyId());
755 sb.append("]]></column-value></column>");
756 sb.append(
757 "<column><column-name>userId</column-name><column-value><![CDATA[");
758 sb.append(getUserId());
759 sb.append("]]></column-value></column>");
760 sb.append(
761 "<column><column-name>userName</column-name><column-value><![CDATA[");
762 sb.append(getUserName());
763 sb.append("]]></column-value></column>");
764 sb.append(
765 "<column><column-name>createDate</column-name><column-value><![CDATA[");
766 sb.append(getCreateDate());
767 sb.append("]]></column-value></column>");
768 sb.append(
769 "<column><column-name>modifiedDate</column-name><column-value><![CDATA[");
770 sb.append(getModifiedDate());
771 sb.append("]]></column-value></column>");
772 sb.append(
773 "<column><column-name>name</column-name><column-value><![CDATA[");
774 sb.append(getName());
775 sb.append("]]></column-value></column>");
776 sb.append(
777 "<column><column-name>type</column-name><column-value><![CDATA[");
778 sb.append(getType());
779 sb.append("]]></column-value></column>");
780 sb.append(
781 "<column><column-name>tags</column-name><column-value><![CDATA[");
782 sb.append(getTags());
783 sb.append("]]></column-value></column>");
784 sb.append(
785 "<column><column-name>shortDescription</column-name><column-value><![CDATA[");
786 sb.append(getShortDescription());
787 sb.append("]]></column-value></column>");
788 sb.append(
789 "<column><column-name>longDescription</column-name><column-value><![CDATA[");
790 sb.append(getLongDescription());
791 sb.append("]]></column-value></column>");
792 sb.append(
793 "<column><column-name>pageURL</column-name><column-value><![CDATA[");
794 sb.append(getPageURL());
795 sb.append("]]></column-value></column>");
796 sb.append(
797 "<column><column-name>author</column-name><column-value><![CDATA[");
798 sb.append(getAuthor());
799 sb.append("]]></column-value></column>");
800 sb.append(
801 "<column><column-name>repoGroupId</column-name><column-value><![CDATA[");
802 sb.append(getRepoGroupId());
803 sb.append("]]></column-value></column>");
804 sb.append(
805 "<column><column-name>repoArtifactId</column-name><column-value><![CDATA[");
806 sb.append(getRepoArtifactId());
807 sb.append("]]></column-value></column>");
808
809 sb.append("</model>");
810
811 return sb.toString();
812 }
813
814 private static ClassLoader _classLoader = SCProductEntry.class.getClassLoader();
815 private static Class<?>[] _escapedModelProxyInterfaces = new Class[] {
816 SCProductEntry.class
817 };
818 private long _productEntryId;
819 private long _groupId;
820 private long _originalGroupId;
821 private boolean _setOriginalGroupId;
822 private long _companyId;
823 private long _originalCompanyId;
824 private boolean _setOriginalCompanyId;
825 private long _userId;
826 private String _userUuid;
827 private long _originalUserId;
828 private boolean _setOriginalUserId;
829 private String _userName;
830 private Date _createDate;
831 private Date _modifiedDate;
832 private String _name;
833 private String _type;
834 private String _tags;
835 private String _shortDescription;
836 private String _longDescription;
837 private String _pageURL;
838 private String _author;
839 private String _repoGroupId;
840 private String _originalRepoGroupId;
841 private String _repoArtifactId;
842 private String _originalRepoArtifactId;
843 private transient ExpandoBridge _expandoBridge;
844 private long _columnBitmask;
845 private SCProductEntry _escapedModelProxy;
846 }