FTGenericDictionaryProviderImpl


Abstract

A generic implementation of

Methods

-initWithDatabase:
Initialize this instance with its underlying database
-lookupEntryForKey:
-objectForKey:
-setObject
adds an entry to the dictionary
-setObject:forKey:
adds an entry to the dictionary

initWithDatabase:


Initialize this instance with its underlying database

- initWithDatabase: (BDBDatabase *) aDatabase;
Parameter Descriptions
aDatabase
database to use
method result
self

lookupEntryForKey:


- (BDBDatabaseEntry *) lookupEntryForKey: (id <NSCoding>) aKey;
Parameter Descriptions
aKey
key to look for
method result
return the entry related to the given key or nil if not existent.

objectForKey:


- objectForKey: (id <NSCoding>) aKey;
Parameter Descriptions
aKey
key to look for
method result
retrieve the object for the specified key or nil if not existent

setObject


adds an entry to the dictionary

See Also:
setObject:forKey:
- setObject: (id <NSCoding>) anObject forKey: (id <NSCoding>) aKey;
Parameter Descriptions
anObject
object to put for the given key
aKey
underlying key
Discussion

If an object for the given key already exists then it will be dropped


setObject:forKey:


adds an entry to the dictionary

See Also:
setObject
- setObject: (id <NSCoding>) anObject forKey: (id <NSCoding>) aKey;
Parameter Descriptions
anObject
object to put for the given key
aKey
underlying key
Discussion

If an object for the given key already exists then it will be dropped

(Last Updated August 27, 2006)