org.eclipse.ecf.storage
Interface IIDStoreAdapter


public interface IIDStoreAdapter

Adapter for retrieving ID name for storage.


Method Summary
 java.lang.String getNameForStorage()
          Get the ID name for storage.
 void initializeFromStorage(java.lang.String valueFromStorage)
          Set the name of the ID instace from storage.
 

Method Detail

getNameForStorage

java.lang.String getNameForStorage()
Get the ID name for storage.

Returns:
String name for storage. Must not return null.

initializeFromStorage

void initializeFromStorage(java.lang.String valueFromStorage)
                           throws IDCreateException
Set the name of the ID instace from storage.

Parameters:
valueFromStorage - the value from getNameForStorage().
Throws:
IDCreateException - throws in valueFromStorage cannot be used to initialize