2 Copyright (C) 2000-2004 SKYRIX Software AG
4 This file is part of OpenGroupware.org.
6 OGo is free software; you can redistribute it and/or modify it under
7 the terms of the GNU Lesser General Public License as published by the
8 Free Software Foundation; either version 2, or (at your option) any
11 OGo is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
14 License for more details.
16 You should have received a copy of the GNU Lesser General Public
17 License along with OGo; see the file COPYING. If not, write to the
18 Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
23 #ifndef __NGiCal_iCalEntityObject_H__
24 #define __NGiCal_iCalEntityObject_H__
26 #include <NGiCal/iCalObject.h>
31 This is a common base class for tasks and appointments which share a lot of
35 @class NSCalendarDate, NSMutableArray, NSString, NSArray, NSNumber;
38 @interface iCalEntityObject : iCalObject
42 NSTimeInterval timestamp;
43 NSCalendarDate *created;
44 NSCalendarDate *lastModified;
45 NSCalendarDate *startDate;
46 NSString *accessClass;
48 NSMutableArray *alarms;
49 iCalPerson *organizer;
50 NSMutableArray *attendees;
59 - (void)setUid:(NSString *)_value;
62 - (void)setSummary:(NSString *)_value;
63 - (NSString *)summary;
65 - (void)setLocation:(NSString *)_value;
66 - (NSString *)location;
68 - (void)setComment:(NSString *)_value;
69 - (NSString *)comment;
71 - (void)setTimeStampAsDate:(NSCalendarDate *)_date;
72 - (NSCalendarDate *)timeStampAsDate;
74 - (void)setStartDate:(NSCalendarDate *)_date;
75 - (NSCalendarDate *)startDate;
77 - (void)setLastModified:(NSCalendarDate *)_value;
78 - (NSCalendarDate *)lastModified;
80 - (void)setCreated:(NSCalendarDate *)_value;
81 - (NSCalendarDate *)created;
83 - (void)setAccessClass:(NSString *)_value;
84 - (NSString *)accessClass;
86 - (void)setPriority:(NSString *)_value;
87 - (NSString *)priority;
89 - (void)setSequence:(NSNumber *)_value; /* this is an int */
90 - (NSNumber *)sequence;
92 - (void)setOrganizer:(iCalPerson *)_organizer;
93 - (iCalPerson *)organizer;
95 - (void)setStatus:(NSString *)_value;
98 - (void)removeAllAttendees;
99 - (void)addToAttendees:(iCalPerson *)_person;
100 - (NSArray *)attendees;
102 - (void)removeAllAlarms;
103 - (void)addToAlarms:(id)_alarm;
109 #endif /* __NGiCal_iCalEntityObject_H__ */