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