com.bea.p13n.common
Interface Timestamped


public interface Timestamped

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

See Also
Timestamp

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

Method Detail

getTime

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

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.


Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.