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 Modifier and Type Field Description static long
NO_TIMESTAMP
Default time stamp.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
jdoGetTimeStamp()
Get the time stamp.void
jdoSetTimeStamp(long timestamp)
Set the time stamp.
-
-
-
Field Detail
-
NO_TIMESTAMP
static final long NO_TIMESTAMP
Default time stamp.- See Also:
- Constant Field Values
-
-
Method Detail
-
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.
-
-