Timestamped Interface

com.bea.p13n.common
Timestamped Interface

public interface Timestamped

An interface for associating Timestamp instances with indicies. This interface provides both read and write access to associated Timestamps.

Related Topics

Timestamp

Method Summary

public Timestamp
getTime(int index)
Returns the timestamp associated with a given index.
public void
setTime(int index, Timestamp timestamp)
Associates a timestamp with a given index.

Method Detail

getTime(int) Method

public Timestamp getTime(int index)
Returns the timestamp associated with a given index.

Parameters

index
the index of the desired timestamp.

Returns

the timestamp associated with the given index.

setTime(int, Timestamp) Method

public void setTime(int index, 
                    Timestamp timestamp)
Associates a timestamp with a given index.

Parameters

index
an index with which to associate the timestamp.
timestamp
the target timestamp.