org.jbind.xml.core.data
Interface IDataStore

All Known Subinterfaces:
IDataContext
All Known Implementing Classes:
DataContext

public interface IDataStore


Method Summary
 IAnyTypeData getIndexedData(IRef anIndexRef, java.lang.Object aKey)
          Gets a data object from an index.
 IAnyTypeData setIndexedData(IRef anIndexRef, java.lang.Object aKey, IAnyTypeData aData)
          Sets a data object in an index.
 

Method Detail

getIndexedData

public IAnyTypeData getIndexedData(IRef anIndexRef,
                                   java.lang.Object aKey)
Gets a data object from an index.

Parameters:
anIndexRef - (required).
aKey - (required).
Returns:
(optional).

setIndexedData

public IAnyTypeData setIndexedData(IRef anIndexRef,
                                   java.lang.Object aKey,
                                   IAnyTypeData aData)
Sets a data object in an index.

Parameters:
anIndexRef - (required).
aKey - (required).
aData - (required).
Returns:
(optional). The last data object that was stored at the same "address" is returned.