# Methods

`-addObject`
  adds an object to the dictionary. Replaces an existing one if there is one already defined for the given key
`-allKeys`
`-close`
  closes this dictionary. After this call the dictionary may not be used any more
`-initWithServiceLoader`
`-initWithServiceLoader:usingDatabase:`
`-objectForKey:`
  returns the object for the given key
`-serviceId`
`-serviceVersion`
`-setObject:forKey:`
  adds an object to the dictionary. Replaces an existing one if there is one already defined for the given key
`-version`

### addObject

adds an object to the dictionary. Replaces an existing one if there is one already defined for the given key

See Also:

> setObject:forKey:

>     - setObject: (id <NSCoding>) anObject forKey: (id <NSCoding>) aKey;

##### Parameter Descriptions

> `anObject`
>   object to add
> `aKey`
>   underlying key

method result
  self

### allKeys

>     - (id <ECIterator>) allKeys;

method result
  all keys

### close

closes this dictionary. After this call the dictionary may not be used any more

>     - (void) close;

### initWithServiceLoader

See Also:

> initWithServiceLoader:usingDatabase:

>     - initWithServiceLoader: (id <FTServiceLoader>) aServiceLoader usingDatabase: (FTDictionaryServiceDB *) aDB;

##### Parameter Descriptions

> `aServiceLoader`
>   underlying service loader

method result
  self

### initWithServiceLoader:usingDatabase:

See Also:

> initWithServiceLoader

>     - initWithServiceLoader: (id <FTServiceLoader>) aServiceLoader usingDatabase: (FTDictionaryServiceDB *) aDB;

##### Parameter Descriptions

> `aServiceLoader`
>   underlying service loader

### objectForKey:

returns the object for the given key

>     - objectForKey: (id) aKey;

##### Parameter Descriptions

> `aKey`
>   underlying key

method result
  object for specified key

### serviceId

>     - (NSString *) serviceId;

method result
  identifier for this services

### serviceVersion

See Also:

> version

>     - (id <FTVersion>) serviceVersion;

### setObject:forKey:

adds an object to the dictionary. Replaces an existing one if there is one already defined for the given key

See Also:

> addObject

>     - setObject: (id <NSCoding>) anObject forKey: (id <NSCoding>) aKey;

##### Parameter Descriptions

> `anObject`
>   object to add
> `aKey`
>   underlying key

### version

See Also:

> serviceVersion

>     - (id <FTVersion>) serviceVersion;

method result
  return the version of this service

(Last Updated June 13, 2006)