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