org.exolab.castor.jdo
Interface TimeStampable


public interface TimeStampable

A callback get/set the timestamp.

Version:
$Revision: 1.1.1.1 $ $Date: 2003/03/03 07:08:08 $
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.



Intalio Inc. (C) 1999-2004. All rights reserved http://www.intalio.com