Item. More...
#import <SimpleDBItem.h>
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. |
Item.
- (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.
- (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.
theName | The name of the item. | |
theAttributes | A list of attributes. |