public interface AutoTrackChanged
changed
property whenever
the object is written to the datastore.
This interface is implemented by persistence-capable (a.k.a. entity) classes. If an object
implementing this interface is written to the datastore (inserted or updated), the
AutoTrackLifecycleListener
automatically invokes the setChanged(Date)
method.
AutoTrackLifecycleListener
Modifier and Type | Method and Description |
---|---|
Date |
getChanged()
Gets the timestamp of when this entity was last changed.
|
void |
setChanged(Date changed)
Sets the timestamp of when this entity was last changed.
|
Date getChanged()
null
.void setChanged(Date changed)
changed
- the timestamp of when this entity was last changed. Must not be null
.Copyright © 2013-2014. All Rights Reserved.