org.exolab.castor.jdo
Interface TimeStampable


public interface TimeStampable

A callback get/set the timestamp.

Version:
$Revision: 7091 $ $Date: 2003-03-03 00:05:44 -0700 (Mon, 03 Mar 2003) $
Author:
Oleg Nitz

Field Summary
static long NO_TIMESTAMP
           
 
Method Summary
 long jdoGetTimeStamp()
          Get the timestamp.
 void jdoSetTimeStamp(long timestamp)
          Set the timestamp.
 

Field Detail

NO_TIMESTAMP

public static final long NO_TIMESTAMP
See Also:
Constant Field Values
Method Detail

jdoSetTimeStamp

public void jdoSetTimeStamp(long timestamp)
Set the timestamp.

Parameters:
timestamp - The timestamp

jdoGetTimeStamp

public long jdoGetTimeStamp()
Get the timestamp. NOTE: immediately after the object creation this method must return 0, this is an indication of the new object.



Copyright 2008 null. All Rights Reserved.