Public Member Functions | Properties

SimpleDBReplaceableItem Class Reference

Replaceable Item. More...

#import <SimpleDBReplaceableItem.h>

List of all members.

Public Member Functions

(id) - init
 Default constructor for a new ReplaceableItem object.
(id) - initWithName:
 Constructs a new ReplaceableItem object.
(id) - initWithName:andAttributes:
 Constructs a new ReplaceableItem object.
(void) - addAttribute:
 Adds a single object to attributes.
(NSString *) - description
 Returns a string representation of this object; useful for testing and debugging.

Properties

NSString * name
 The name of the replaceable item.
NSMutableArray * attributes
 The list of attributes for a replaceable item.

Detailed Description

Replaceable Item.


Member Function Documentation

- (void SimpleDBReplaceableItem.)addAttribute: (SimpleDBReplaceableAttribute *)  attribute  

Adds a single object to attributes.

This function will alloc and init attributes if not already done.

- (NSString* SimpleDBReplaceableItem.)description  

Returns a string representation of this object; useful for testing and debugging.

Returns:
A string representation of this object.
- (id SimpleDBReplaceableItem.)init  

Default constructor for a new ReplaceableItem object.

Callers should use the property methods to initialize this object after creating it.

- (id SimpleDBReplaceableItem.)initWithName: (NSString *)  theName  

Constructs a new ReplaceableItem object.

Callers should use properties to initialize any additional object members.

Parameters:
theName The name of the replaceable item.
- (id SimpleDBReplaceableItem.)initWithName: (NSString *)  theName
andAttributes: (NSMutableArray *)  theAttributes 

Constructs a new ReplaceableItem object.

Callers should use properties to initialize any additional object members.

Parameters:
theName The name of the replaceable item.
theAttributes The list of attributes for a replaceable item.

The documentation for this class was generated from the following file: