Public Member Functions | Properties

SimpleDBItem Class Reference

Item. More...

#import <SimpleDBItem.h>

List of all members.

Public Member Functions

(id) - init
 Default constructor for a new Item object.
(id) - initWithName:andAttributes:
 Constructs a new Item 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 item.
NSString * alternateNameEncoding
NSMutableArray * attributes
 A list of attributes.

Detailed Description

Item.


Member Function Documentation

- (void SimpleDBItem.)addAttribute: (SimpleDBAttribute *)  attribute  

Adds a single object to attributes.

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

- (NSString* SimpleDBItem.)description  

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

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

Default constructor for a new Item object.

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

- (id SimpleDBItem.)initWithName: (NSString *)  theName
andAttributes: (NSMutableArray *)  theAttributes 

Constructs a new Item object.

Callers should use properties to initialize any additional object members.

Parameters:
theName The name of the item.
theAttributes A list of attributes.

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