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 Details

NO_TIMESTAMP

public static final long NO_TIMESTAMP
Field Value:
0L

Method Details

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