@NoBind public abstract class TimeTrackingModelBase<ID_TYPE,MODEL_TYPE extends ModelBase,TIMESTAMP_TYPE,TIMESTAMP_TYPE_RESOLVER extends org.osgl.Osgl.Function<TIMESTAMP_TYPE,java.lang.Long>> extends ModelBase<ID_TYPE,MODEL_TYPE> implements TimeTrackingModel<TIMESTAMP_TYPE,TIMESTAMP_TYPE_RESOLVER>, Timestamped
SimpleBean.ByteCodeEnhancer, SimpleBean.ByteCodeScanner, SimpleBean.MetaInfo, SimpleBean.MetaInfoManager
Constructor and Description |
---|
TimeTrackingModelBase() |
Modifier and Type | Method and Description |
---|---|
boolean |
_isNew()
Returns
true if the entity is just created in memory or been loaded from data storage |
long |
_timestamp()
Returns the timestamp of the data
|
_me, dao, dao, equals, getId, hashCode, idType, modelType, setId, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
_created, _created, _lastModified, _lastModified, _timestampType, _timestampTypeResolver
public boolean _isNew()
Model
Returns true
if the entity is just created in memory or been loaded from data storage
_isNew
in interface Model<ID_TYPE,MODEL_TYPE extends ModelBase>
public long _timestamp()
Timestamped
Returns the timestamp of the data
_timestamp
in interface Timestamped
Copyright © 2014–2017 ActFramework. All rights reserved.