001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.trash.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.kernel.util.Validator;
026    import com.liferay.portal.model.CacheModel;
027    import com.liferay.portal.model.impl.BaseModelImpl;
028    import com.liferay.portal.service.ServiceContext;
029    import com.liferay.portal.util.PortalUtil;
030    
031    import com.liferay.portlet.expando.model.ExpandoBridge;
032    import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil;
033    import com.liferay.portlet.trash.model.TrashEntry;
034    import com.liferay.portlet.trash.model.TrashEntryModel;
035    import com.liferay.portlet.trash.model.TrashEntrySoap;
036    
037    import java.io.Serializable;
038    
039    import java.sql.Types;
040    
041    import java.util.ArrayList;
042    import java.util.Date;
043    import java.util.HashMap;
044    import java.util.List;
045    import java.util.Map;
046    
047    /**
048     * The base model implementation for the TrashEntry service. Represents a row in the "TrashEntry" database table, with each column mapped to a property of this class.
049     *
050     * <p>
051     * This implementation and its corresponding interface {@link com.liferay.portlet.trash.model.TrashEntryModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link TrashEntryImpl}.
052     * </p>
053     *
054     * @author Brian Wing Shun Chan
055     * @see TrashEntryImpl
056     * @see com.liferay.portlet.trash.model.TrashEntry
057     * @see com.liferay.portlet.trash.model.TrashEntryModel
058     * @generated
059     */
060    @JSON(strict = true)
061    public class TrashEntryModelImpl extends BaseModelImpl<TrashEntry>
062            implements TrashEntryModel {
063            /*
064             * NOTE FOR DEVELOPERS:
065             *
066             * Never modify or reference this class directly. All methods that expect a trash entry model instance should use the {@link com.liferay.portlet.trash.model.TrashEntry} interface instead.
067             */
068            public static final String TABLE_NAME = "TrashEntry";
069            public static final Object[][] TABLE_COLUMNS = {
070                            { "entryId", Types.BIGINT },
071                            { "groupId", Types.BIGINT },
072                            { "companyId", Types.BIGINT },
073                            { "userId", Types.BIGINT },
074                            { "userName", Types.VARCHAR },
075                            { "createDate", Types.TIMESTAMP },
076                            { "classNameId", Types.BIGINT },
077                            { "classPK", Types.BIGINT },
078                            { "systemEventSetKey", Types.BIGINT },
079                            { "typeSettings", Types.CLOB },
080                            { "status", Types.INTEGER }
081                    };
082            public static final String TABLE_SQL_CREATE = "create table TrashEntry (entryId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,classNameId LONG,classPK LONG,systemEventSetKey LONG,typeSettings TEXT null,status INTEGER)";
083            public static final String TABLE_SQL_DROP = "drop table TrashEntry";
084            public static final String ORDER_BY_JPQL = " ORDER BY trashEntry.createDate DESC";
085            public static final String ORDER_BY_SQL = " ORDER BY TrashEntry.createDate DESC";
086            public static final String DATA_SOURCE = "liferayDataSource";
087            public static final String SESSION_FACTORY = "liferaySessionFactory";
088            public static final String TX_MANAGER = "liferayTransactionManager";
089            public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.portal.util.PropsUtil.get(
090                                    "value.object.entity.cache.enabled.com.liferay.portlet.trash.model.TrashEntry"),
091                            true);
092            public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.portal.util.PropsUtil.get(
093                                    "value.object.finder.cache.enabled.com.liferay.portlet.trash.model.TrashEntry"),
094                            true);
095            public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.portal.util.PropsUtil.get(
096                                    "value.object.column.bitmask.enabled.com.liferay.portlet.trash.model.TrashEntry"),
097                            true);
098            public static long CLASSNAMEID_COLUMN_BITMASK = 1L;
099            public static long CLASSPK_COLUMN_BITMASK = 2L;
100            public static long COMPANYID_COLUMN_BITMASK = 4L;
101            public static long CREATEDATE_COLUMN_BITMASK = 8L;
102            public static long GROUPID_COLUMN_BITMASK = 16L;
103    
104            /**
105             * Converts the soap model instance into a normal model instance.
106             *
107             * @param soapModel the soap model instance to convert
108             * @return the normal model instance
109             */
110            public static TrashEntry toModel(TrashEntrySoap soapModel) {
111                    if (soapModel == null) {
112                            return null;
113                    }
114    
115                    TrashEntry model = new TrashEntryImpl();
116    
117                    model.setEntryId(soapModel.getEntryId());
118                    model.setGroupId(soapModel.getGroupId());
119                    model.setCompanyId(soapModel.getCompanyId());
120                    model.setUserId(soapModel.getUserId());
121                    model.setUserName(soapModel.getUserName());
122                    model.setCreateDate(soapModel.getCreateDate());
123                    model.setClassNameId(soapModel.getClassNameId());
124                    model.setClassPK(soapModel.getClassPK());
125                    model.setSystemEventSetKey(soapModel.getSystemEventSetKey());
126                    model.setTypeSettings(soapModel.getTypeSettings());
127                    model.setStatus(soapModel.getStatus());
128    
129                    return model;
130            }
131    
132            /**
133             * Converts the soap model instances into normal model instances.
134             *
135             * @param soapModels the soap model instances to convert
136             * @return the normal model instances
137             */
138            public static List<TrashEntry> toModels(TrashEntrySoap[] soapModels) {
139                    if (soapModels == null) {
140                            return null;
141                    }
142    
143                    List<TrashEntry> models = new ArrayList<TrashEntry>(soapModels.length);
144    
145                    for (TrashEntrySoap soapModel : soapModels) {
146                            models.add(toModel(soapModel));
147                    }
148    
149                    return models;
150            }
151    
152            public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.portal.util.PropsUtil.get(
153                                    "lock.expiration.time.com.liferay.portlet.trash.model.TrashEntry"));
154    
155            public TrashEntryModelImpl() {
156            }
157    
158            @Override
159            public long getPrimaryKey() {
160                    return _entryId;
161            }
162    
163            @Override
164            public void setPrimaryKey(long primaryKey) {
165                    setEntryId(primaryKey);
166            }
167    
168            @Override
169            public Serializable getPrimaryKeyObj() {
170                    return _entryId;
171            }
172    
173            @Override
174            public void setPrimaryKeyObj(Serializable primaryKeyObj) {
175                    setPrimaryKey(((Long)primaryKeyObj).longValue());
176            }
177    
178            @Override
179            public Class<?> getModelClass() {
180                    return TrashEntry.class;
181            }
182    
183            @Override
184            public String getModelClassName() {
185                    return TrashEntry.class.getName();
186            }
187    
188            @Override
189            public Map<String, Object> getModelAttributes() {
190                    Map<String, Object> attributes = new HashMap<String, Object>();
191    
192                    attributes.put("entryId", getEntryId());
193                    attributes.put("groupId", getGroupId());
194                    attributes.put("companyId", getCompanyId());
195                    attributes.put("userId", getUserId());
196                    attributes.put("userName", getUserName());
197                    attributes.put("createDate", getCreateDate());
198                    attributes.put("classNameId", getClassNameId());
199                    attributes.put("classPK", getClassPK());
200                    attributes.put("systemEventSetKey", getSystemEventSetKey());
201                    attributes.put("typeSettings", getTypeSettings());
202                    attributes.put("status", getStatus());
203    
204                    return attributes;
205            }
206    
207            @Override
208            public void setModelAttributes(Map<String, Object> attributes) {
209                    Long entryId = (Long)attributes.get("entryId");
210    
211                    if (entryId != null) {
212                            setEntryId(entryId);
213                    }
214    
215                    Long groupId = (Long)attributes.get("groupId");
216    
217                    if (groupId != null) {
218                            setGroupId(groupId);
219                    }
220    
221                    Long companyId = (Long)attributes.get("companyId");
222    
223                    if (companyId != null) {
224                            setCompanyId(companyId);
225                    }
226    
227                    Long userId = (Long)attributes.get("userId");
228    
229                    if (userId != null) {
230                            setUserId(userId);
231                    }
232    
233                    String userName = (String)attributes.get("userName");
234    
235                    if (userName != null) {
236                            setUserName(userName);
237                    }
238    
239                    Date createDate = (Date)attributes.get("createDate");
240    
241                    if (createDate != null) {
242                            setCreateDate(createDate);
243                    }
244    
245                    Long classNameId = (Long)attributes.get("classNameId");
246    
247                    if (classNameId != null) {
248                            setClassNameId(classNameId);
249                    }
250    
251                    Long classPK = (Long)attributes.get("classPK");
252    
253                    if (classPK != null) {
254                            setClassPK(classPK);
255                    }
256    
257                    Long systemEventSetKey = (Long)attributes.get("systemEventSetKey");
258    
259                    if (systemEventSetKey != null) {
260                            setSystemEventSetKey(systemEventSetKey);
261                    }
262    
263                    String typeSettings = (String)attributes.get("typeSettings");
264    
265                    if (typeSettings != null) {
266                            setTypeSettings(typeSettings);
267                    }
268    
269                    Integer status = (Integer)attributes.get("status");
270    
271                    if (status != null) {
272                            setStatus(status);
273                    }
274            }
275    
276            @JSON
277            @Override
278            public long getEntryId() {
279                    return _entryId;
280            }
281    
282            @Override
283            public void setEntryId(long entryId) {
284                    _entryId = entryId;
285            }
286    
287            @JSON
288            @Override
289            public long getGroupId() {
290                    return _groupId;
291            }
292    
293            @Override
294            public void setGroupId(long groupId) {
295                    _columnBitmask |= GROUPID_COLUMN_BITMASK;
296    
297                    if (!_setOriginalGroupId) {
298                            _setOriginalGroupId = true;
299    
300                            _originalGroupId = _groupId;
301                    }
302    
303                    _groupId = groupId;
304            }
305    
306            public long getOriginalGroupId() {
307                    return _originalGroupId;
308            }
309    
310            @JSON
311            @Override
312            public long getCompanyId() {
313                    return _companyId;
314            }
315    
316            @Override
317            public void setCompanyId(long companyId) {
318                    _columnBitmask |= COMPANYID_COLUMN_BITMASK;
319    
320                    if (!_setOriginalCompanyId) {
321                            _setOriginalCompanyId = true;
322    
323                            _originalCompanyId = _companyId;
324                    }
325    
326                    _companyId = companyId;
327            }
328    
329            public long getOriginalCompanyId() {
330                    return _originalCompanyId;
331            }
332    
333            @JSON
334            @Override
335            public long getUserId() {
336                    return _userId;
337            }
338    
339            @Override
340            public void setUserId(long userId) {
341                    _userId = userId;
342            }
343    
344            @Override
345            public String getUserUuid() throws SystemException {
346                    return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid);
347            }
348    
349            @Override
350            public void setUserUuid(String userUuid) {
351                    _userUuid = userUuid;
352            }
353    
354            @JSON
355            @Override
356            public String getUserName() {
357                    if (_userName == null) {
358                            return StringPool.BLANK;
359                    }
360                    else {
361                            return _userName;
362                    }
363            }
364    
365            @Override
366            public void setUserName(String userName) {
367                    _userName = userName;
368            }
369    
370            @JSON
371            @Override
372            public Date getCreateDate() {
373                    return _createDate;
374            }
375    
376            @Override
377            public void setCreateDate(Date createDate) {
378                    _columnBitmask = -1L;
379    
380                    if (_originalCreateDate == null) {
381                            _originalCreateDate = _createDate;
382                    }
383    
384                    _createDate = createDate;
385            }
386    
387            public Date getOriginalCreateDate() {
388                    return _originalCreateDate;
389            }
390    
391            @Override
392            public String getClassName() {
393                    if (getClassNameId() <= 0) {
394                            return StringPool.BLANK;
395                    }
396    
397                    return PortalUtil.getClassName(getClassNameId());
398            }
399    
400            @Override
401            public void setClassName(String className) {
402                    long classNameId = 0;
403    
404                    if (Validator.isNotNull(className)) {
405                            classNameId = PortalUtil.getClassNameId(className);
406                    }
407    
408                    setClassNameId(classNameId);
409            }
410    
411            @JSON
412            @Override
413            public long getClassNameId() {
414                    return _classNameId;
415            }
416    
417            @Override
418            public void setClassNameId(long classNameId) {
419                    _columnBitmask |= CLASSNAMEID_COLUMN_BITMASK;
420    
421                    if (!_setOriginalClassNameId) {
422                            _setOriginalClassNameId = true;
423    
424                            _originalClassNameId = _classNameId;
425                    }
426    
427                    _classNameId = classNameId;
428            }
429    
430            public long getOriginalClassNameId() {
431                    return _originalClassNameId;
432            }
433    
434            @JSON
435            @Override
436            public long getClassPK() {
437                    return _classPK;
438            }
439    
440            @Override
441            public void setClassPK(long classPK) {
442                    _columnBitmask |= CLASSPK_COLUMN_BITMASK;
443    
444                    if (!_setOriginalClassPK) {
445                            _setOriginalClassPK = true;
446    
447                            _originalClassPK = _classPK;
448                    }
449    
450                    _classPK = classPK;
451            }
452    
453            public long getOriginalClassPK() {
454                    return _originalClassPK;
455            }
456    
457            @JSON
458            @Override
459            public long getSystemEventSetKey() {
460                    return _systemEventSetKey;
461            }
462    
463            @Override
464            public void setSystemEventSetKey(long systemEventSetKey) {
465                    _systemEventSetKey = systemEventSetKey;
466            }
467    
468            @JSON
469            @Override
470            public String getTypeSettings() {
471                    if (_typeSettings == null) {
472                            return StringPool.BLANK;
473                    }
474                    else {
475                            return _typeSettings;
476                    }
477            }
478    
479            @Override
480            public void setTypeSettings(String typeSettings) {
481                    _typeSettings = typeSettings;
482            }
483    
484            @JSON
485            @Override
486            public int getStatus() {
487                    return _status;
488            }
489    
490            @Override
491            public void setStatus(int status) {
492                    _status = status;
493            }
494    
495            public long getColumnBitmask() {
496                    return _columnBitmask;
497            }
498    
499            @Override
500            public ExpandoBridge getExpandoBridge() {
501                    return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(),
502                            TrashEntry.class.getName(), getPrimaryKey());
503            }
504    
505            @Override
506            public void setExpandoBridgeAttributes(ServiceContext serviceContext) {
507                    ExpandoBridge expandoBridge = getExpandoBridge();
508    
509                    expandoBridge.setAttributes(serviceContext);
510            }
511    
512            @Override
513            public TrashEntry toEscapedModel() {
514                    if (_escapedModel == null) {
515                            _escapedModel = (TrashEntry)ProxyUtil.newProxyInstance(_classLoader,
516                                            _escapedModelInterfaces, new AutoEscapeBeanHandler(this));
517                    }
518    
519                    return _escapedModel;
520            }
521    
522            @Override
523            public Object clone() {
524                    TrashEntryImpl trashEntryImpl = new TrashEntryImpl();
525    
526                    trashEntryImpl.setEntryId(getEntryId());
527                    trashEntryImpl.setGroupId(getGroupId());
528                    trashEntryImpl.setCompanyId(getCompanyId());
529                    trashEntryImpl.setUserId(getUserId());
530                    trashEntryImpl.setUserName(getUserName());
531                    trashEntryImpl.setCreateDate(getCreateDate());
532                    trashEntryImpl.setClassNameId(getClassNameId());
533                    trashEntryImpl.setClassPK(getClassPK());
534                    trashEntryImpl.setSystemEventSetKey(getSystemEventSetKey());
535                    trashEntryImpl.setTypeSettings(getTypeSettings());
536                    trashEntryImpl.setStatus(getStatus());
537    
538                    trashEntryImpl.resetOriginalValues();
539    
540                    return trashEntryImpl;
541            }
542    
543            @Override
544            public int compareTo(TrashEntry trashEntry) {
545                    int value = 0;
546    
547                    value = DateUtil.compareTo(getCreateDate(), trashEntry.getCreateDate());
548    
549                    value = value * -1;
550    
551                    if (value != 0) {
552                            return value;
553                    }
554    
555                    return 0;
556            }
557    
558            @Override
559            public boolean equals(Object obj) {
560                    if (this == obj) {
561                            return true;
562                    }
563    
564                    if (!(obj instanceof TrashEntry)) {
565                            return false;
566                    }
567    
568                    TrashEntry trashEntry = (TrashEntry)obj;
569    
570                    long primaryKey = trashEntry.getPrimaryKey();
571    
572                    if (getPrimaryKey() == primaryKey) {
573                            return true;
574                    }
575                    else {
576                            return false;
577                    }
578            }
579    
580            @Override
581            public int hashCode() {
582                    return (int)getPrimaryKey();
583            }
584    
585            @Override
586            public void resetOriginalValues() {
587                    TrashEntryModelImpl trashEntryModelImpl = this;
588    
589                    trashEntryModelImpl._originalGroupId = trashEntryModelImpl._groupId;
590    
591                    trashEntryModelImpl._setOriginalGroupId = false;
592    
593                    trashEntryModelImpl._originalCompanyId = trashEntryModelImpl._companyId;
594    
595                    trashEntryModelImpl._setOriginalCompanyId = false;
596    
597                    trashEntryModelImpl._originalCreateDate = trashEntryModelImpl._createDate;
598    
599                    trashEntryModelImpl._originalClassNameId = trashEntryModelImpl._classNameId;
600    
601                    trashEntryModelImpl._setOriginalClassNameId = false;
602    
603                    trashEntryModelImpl._originalClassPK = trashEntryModelImpl._classPK;
604    
605                    trashEntryModelImpl._setOriginalClassPK = false;
606    
607                    trashEntryModelImpl._columnBitmask = 0;
608            }
609    
610            @Override
611            public CacheModel<TrashEntry> toCacheModel() {
612                    TrashEntryCacheModel trashEntryCacheModel = new TrashEntryCacheModel();
613    
614                    trashEntryCacheModel.entryId = getEntryId();
615    
616                    trashEntryCacheModel.groupId = getGroupId();
617    
618                    trashEntryCacheModel.companyId = getCompanyId();
619    
620                    trashEntryCacheModel.userId = getUserId();
621    
622                    trashEntryCacheModel.userName = getUserName();
623    
624                    String userName = trashEntryCacheModel.userName;
625    
626                    if ((userName != null) && (userName.length() == 0)) {
627                            trashEntryCacheModel.userName = null;
628                    }
629    
630                    Date createDate = getCreateDate();
631    
632                    if (createDate != null) {
633                            trashEntryCacheModel.createDate = createDate.getTime();
634                    }
635                    else {
636                            trashEntryCacheModel.createDate = Long.MIN_VALUE;
637                    }
638    
639                    trashEntryCacheModel.classNameId = getClassNameId();
640    
641                    trashEntryCacheModel.classPK = getClassPK();
642    
643                    trashEntryCacheModel.systemEventSetKey = getSystemEventSetKey();
644    
645                    trashEntryCacheModel.typeSettings = getTypeSettings();
646    
647                    String typeSettings = trashEntryCacheModel.typeSettings;
648    
649                    if ((typeSettings != null) && (typeSettings.length() == 0)) {
650                            trashEntryCacheModel.typeSettings = null;
651                    }
652    
653                    trashEntryCacheModel.status = getStatus();
654    
655                    return trashEntryCacheModel;
656            }
657    
658            @Override
659            public String toString() {
660                    StringBundler sb = new StringBundler(23);
661    
662                    sb.append("{entryId=");
663                    sb.append(getEntryId());
664                    sb.append(", groupId=");
665                    sb.append(getGroupId());
666                    sb.append(", companyId=");
667                    sb.append(getCompanyId());
668                    sb.append(", userId=");
669                    sb.append(getUserId());
670                    sb.append(", userName=");
671                    sb.append(getUserName());
672                    sb.append(", createDate=");
673                    sb.append(getCreateDate());
674                    sb.append(", classNameId=");
675                    sb.append(getClassNameId());
676                    sb.append(", classPK=");
677                    sb.append(getClassPK());
678                    sb.append(", systemEventSetKey=");
679                    sb.append(getSystemEventSetKey());
680                    sb.append(", typeSettings=");
681                    sb.append(getTypeSettings());
682                    sb.append(", status=");
683                    sb.append(getStatus());
684                    sb.append("}");
685    
686                    return sb.toString();
687            }
688    
689            @Override
690            public String toXmlString() {
691                    StringBundler sb = new StringBundler(37);
692    
693                    sb.append("<model><model-name>");
694                    sb.append("com.liferay.portlet.trash.model.TrashEntry");
695                    sb.append("</model-name>");
696    
697                    sb.append(
698                            "<column><column-name>entryId</column-name><column-value><![CDATA[");
699                    sb.append(getEntryId());
700                    sb.append("]]></column-value></column>");
701                    sb.append(
702                            "<column><column-name>groupId</column-name><column-value><![CDATA[");
703                    sb.append(getGroupId());
704                    sb.append("]]></column-value></column>");
705                    sb.append(
706                            "<column><column-name>companyId</column-name><column-value><![CDATA[");
707                    sb.append(getCompanyId());
708                    sb.append("]]></column-value></column>");
709                    sb.append(
710                            "<column><column-name>userId</column-name><column-value><![CDATA[");
711                    sb.append(getUserId());
712                    sb.append("]]></column-value></column>");
713                    sb.append(
714                            "<column><column-name>userName</column-name><column-value><![CDATA[");
715                    sb.append(getUserName());
716                    sb.append("]]></column-value></column>");
717                    sb.append(
718                            "<column><column-name>createDate</column-name><column-value><![CDATA[");
719                    sb.append(getCreateDate());
720                    sb.append("]]></column-value></column>");
721                    sb.append(
722                            "<column><column-name>classNameId</column-name><column-value><![CDATA[");
723                    sb.append(getClassNameId());
724                    sb.append("]]></column-value></column>");
725                    sb.append(
726                            "<column><column-name>classPK</column-name><column-value><![CDATA[");
727                    sb.append(getClassPK());
728                    sb.append("]]></column-value></column>");
729                    sb.append(
730                            "<column><column-name>systemEventSetKey</column-name><column-value><![CDATA[");
731                    sb.append(getSystemEventSetKey());
732                    sb.append("]]></column-value></column>");
733                    sb.append(
734                            "<column><column-name>typeSettings</column-name><column-value><![CDATA[");
735                    sb.append(getTypeSettings());
736                    sb.append("]]></column-value></column>");
737                    sb.append(
738                            "<column><column-name>status</column-name><column-value><![CDATA[");
739                    sb.append(getStatus());
740                    sb.append("]]></column-value></column>");
741    
742                    sb.append("</model>");
743    
744                    return sb.toString();
745            }
746    
747            private static ClassLoader _classLoader = TrashEntry.class.getClassLoader();
748            private static Class<?>[] _escapedModelInterfaces = new Class[] {
749                            TrashEntry.class
750                    };
751            private long _entryId;
752            private long _groupId;
753            private long _originalGroupId;
754            private boolean _setOriginalGroupId;
755            private long _companyId;
756            private long _originalCompanyId;
757            private boolean _setOriginalCompanyId;
758            private long _userId;
759            private String _userUuid;
760            private String _userName;
761            private Date _createDate;
762            private Date _originalCreateDate;
763            private long _classNameId;
764            private long _originalClassNameId;
765            private boolean _setOriginalClassNameId;
766            private long _classPK;
767            private long _originalClassPK;
768            private boolean _setOriginalClassPK;
769            private long _systemEventSetKey;
770            private String _typeSettings;
771            private int _status;
772            private long _columnBitmask;
773            private TrashEntry _escapedModel;
774    }