Package org.exolab.castor.jdo
Interface TimeStampable
public interface TimeStampable
A call-back get/set the time stamp.
- Version:
- $Revision: 7644 $ $Date: 2003-03-03 00:05:44 -0700 (Mon, 03 Mar 2003) $
- Author:
- Oleg Nitz
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionlong
Get the time stamp.void
jdoSetTimeStamp
(long timestamp) Set the time stamp.
-
Field Details
-
NO_TIMESTAMP
static final long NO_TIMESTAMPDefault time stamp.- See Also:
-
-
Method Details
-
jdoSetTimeStamp
void jdoSetTimeStamp(long timestamp) Set the time stamp.- Parameters:
timestamp
- The time stamp
-
jdoGetTimeStamp
long jdoGetTimeStamp()Get the time stamp. NOTE: immediately after the object creation this method must return 0, this is an indication of the new object.- Returns:
- the current time stamp.
-