ERSimpleEvent Class Reference

Inherits er::calendar::ERCalendarEvent.

Collaboration diagram for ERSimpleEvent:

Collaboration graph
[legend]

List of all members.

Public Member Functions

NSTimestamp endTime ()
 ERSimpleEvent (NSTimestamp aStartTime, NSTimestamp anEndTime, String aSummary, String aUniqueId)
int repeatCount ()
int repeatDayOfWeek ()
int repeatDayOfWeekInMonth ()
NSArray repeatDaysOfMonth ()
int repeatFrequency ()
int sequence ()
NSTimestamp startTime ()
String status ()
String summary ()
String uniqueId ()
boolean wholeDay ()

Protected Attributes

NSTimestamp endTime
NSTimestamp startTime
String status
String summary
String uniqueId
boolean wholeDay


Detailed Description

ERSimpleEvent is an simple implementation of an event class, implementing the ERCalendarEvent interface, for use by the ERPublishCalendarPage component.

ERSimpleEvent objects can be created corresponding to your events and added to ERPublishCalendarPage to create a calendar.

Subclass ERSimpleEvent if more advanced features are needed.

Author:
Johan Carlberg <johan@oops.se>
Version:
1.0, 2002-09-30

Constructor & Destructor Documentation

ERSimpleEvent ( NSTimestamp  aStartTime,
NSTimestamp  anEndTime,
String  aSummary,
String  aUniqueId 
)

Parameters:
aStartTime start time of this event
anEndTime end time of this event
aSummary summary or textual description of this event
aUniqueId a persistent, globally unique identifier for this event
See also:
ERCalendarEvent.startTime

ERCalendarEvent.endTime

ERCalendarEvent.summary

ERCalendarEvent.uniqueId


Member Function Documentation

NSTimestamp endTime (  ) 

Returns:
the end time of this event as specified in the constructor
See also:
ERCalendarEvent.endTime

Implements ERCalendarEvent.

int repeatCount (  ) 

Returns:
1 indicating a one-time event (although this method is never called since repeatFrequency always return 0).
See also:
repeatFrequency

Implements ERCalendarEvent.

int repeatDayOfWeek (  ) 

Returns:
0 indicating unspecified day of week (although this method is never called since repeatFrequency always returns 0).
See also:
repeatFrequency

Implements ERCalendarEvent.

int repeatDayOfWeekInMonth (  ) 

Returns:
0 indicating unspecified day of week in month (although this method is never called since repeatFrequency always returns 0).
See also:
repeatFrequency

Implements ERCalendarEvent.

NSArray repeatDaysOfMonth (  ) 

Returns:
null indicating unspecified days within a month (although this method is never called since repeatFrequency always returns 0.
See also:
repeatFrequency

Implements ERCalendarEvent.

int repeatFrequency (  ) 

Returns:
0 indicating a non-repeating event. ERSimpleEvent doesn't support repeating events.

Implements ERCalendarEvent.

int sequence (  ) 

Returns:
the change counter of this event. Computed from the current time, and will increase every ten seconds.
See also:
ERCalendarEvent.sequence

Implements ERCalendarEvent.

NSTimestamp startTime (  ) 

Returns:
the start time of this event as specified in the constructor
See also:
ERCalendarEvent.startTime

Implements ERCalendarEvent.

String status (  ) 

Returns:
null since ERSimpleEvent doesn't support event status.
See also:
ERCalendarEvent.status

Implements ERCalendarEvent.

String summary (  ) 

Returns:
the summary of this event as specified in the constructor
See also:
ERCalendarEvent.summary

Implements ERCalendarEvent.

String uniqueId (  ) 

Returns:
the unique id of this event as specified in the constructor
See also:
ERCalendarEvent.uniqueId

Implements ERCalendarEvent.

boolean wholeDay (  ) 

Returns:
always returns false. ERSimpleEvent doesn't support whole-day events.
See also:
ERCalendarEvent.wholeDay

Implements ERCalendarEvent.


Member Data Documentation

NSTimestamp endTime [protected]

NSTimestamp startTime [protected]

String status [protected]

String summary [protected]

String uniqueId [protected]

boolean wholeDay [protected]


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

Generated on Sat May 26 06:42:45 2012 for Project Wonder by  doxygen 1.5.8