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 longNO_TIMESTAMP
Method Summary
longjdoGetTimeStamp()
Get the timestamp.
voidjdoSetTimeStamp(long timestamp)
Set the timestamp.

Field Detail

NO_TIMESTAMP

public static final long NO_TIMESTAMP

Method Detail

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.

jdoSetTimeStamp

public void jdoSetTimeStamp(long timestamp)
Set the timestamp.

Parameters: timestamp The timestamp

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