00001
00002
00003
00004
00005
00006
00007
00008
00009 #import "GtdFolder.h"
00010
00011
00012 @implementation GtdFolder
00013
00014 @synthesize uid;
00015 @synthesize title;
00016 @synthesize private;
00017 @synthesize archived;
00018 @synthesize order;
00019
00020 - (id)init {
00021 if (self = [super init]) {
00022 title = nil;
00023 uid = -1;
00024 private = NO;
00025 archived = NO;
00026 order = -1;
00027 }
00028 return self;
00029 }
00030
00031 - (void) dealloc {
00032 [title release];
00033 [super dealloc];
00034 }
00035
00036 - (NSString *)description {
00037 return [NSString stringWithFormat:@"<GtdFolder folderId='%i' title='%@' private='%i' archived='%i' order='%i'>", uid, title, private, archived, order];
00038 }
00039
00040
00041 @end