ca.uhn.cache
Interface IDataItem

All Known Implementing Classes:
DataItem

public interface IDataItem

Represents an individual item stored by a cache. It is only defined in terms of a ParamSpace (see getProjection()).

Version:
$Revision: 1.1 $ updated on $Date: 2005/01/24 22:52:08 $ by $Author: bryan_tripp $
Author:
Bryan Tripp

Method Summary
 java.lang.String getId()
           
 java.util.Date getLastUpdate()
           
 IQuery getProjection()
           
 java.io.Serializable getValue()
           
 VolatilityEnum getVolatility()
           
 

Method Detail

getProjection

public IQuery getProjection()
Returns:
the location of the IDataItem in the (implicitly) associated ParamSpace

getId

public java.lang.String getId()
Returns:
a unique ID for the data item (assigned by the IDataSource that created this IDataItem)

getValue

public java.io.Serializable getValue()
Returns:
the domain-specific value wrapped by this IDataItem

getVolatility

public VolatilityEnum getVolatility()
Returns:
the item's volatility.

getLastUpdate

public java.util.Date getLastUpdate()
Returns:
the time at which the item was last updated (recent end of possible range if unknown)


Copyright © 2004-2005 University Health Network. All Rights Reserved.