Replaceable Item. More...
#import <SimpleDBReplaceableItem.h>
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. |
Replaceable Item.
- (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.
- (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.
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.
theName | The name of the replaceable item. | |
theAttributes | The list of attributes for a replaceable item. |