© 2004 BEA Systems, Inc.

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

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

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.

© 2004 BEA Systems, Inc.

Copyright © 2004 BEA Systems, Inc. All Rights Reserved