com.timeindexing.index
Interface ManagedIndexItem

All Superinterfaces:
IndexItem
All Known Subinterfaces:
ManagedFileIndexItem
All Known Implementing Classes:
FileIndexItem, IncoreIndexItem

public interface ManagedIndexItem
extends IndexItem

An interface for classes that need to manage IndexItems. It has the methods needed to manage an item in an index, but are not needed by the application layer.


Method Summary
 DataAbstraction getDataAbstraction()
          Get the DataAbstraction held by the IndexItem.
 ManagedIndexItem setIndex(Index index)
          Set the Index for an IndexItem
 ManagedIndexItem setLastAccessTime()
          Set the last access time of the item.
 ManagedIndexItem setPosition(AbsolutePosition position)
          Set the position for the index item in an index.
 
Methods inherited from interface com.timeindexing.index.IndexItem
follow, getAnnotations, getData, getDataSize, getDataTimestamp, getDataType, getIndex, getIndexTimestamp, getItemID, getLastAccessTime, getPosition, isReference
 

Method Detail

setIndex

public ManagedIndexItem setIndex(Index index)
Set the Index for an IndexItem


setPosition

public ManagedIndexItem setPosition(AbsolutePosition position)
Set the position for the index item in an index.


setLastAccessTime

public ManagedIndexItem setLastAccessTime()
Set the last access time of the item.


getDataAbstraction

public DataAbstraction getDataAbstraction()
Get the DataAbstraction held by the IndexItem.