org.exolab.castor.jdo

Interface TimeStampable

public interface TimeStampable

A callback get/set the timestamp.

Version: $Revision: 5951 $ $Date: 2003-03-03 00:05:44 -0700 (Mon, 03 Mar 2003) $

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-2006. All rights reserved http://www.intalio.com