Public Member Functions | Properties

Event Class Reference

This class stores all the attributes of an event. More...

#import <Event.h>

List of all members.

Public Member Functions

(id) - copyWithZone:
 Used to copy or clone the same object.

Properties

NSString * title
 the title of the event
NSString * location
 the location of the event
NSString * dateAndTimeString
 the dateAndTime of the event as a string
NSDate * date
 the date and time of the event as a NSDate
NSString * peerName
 the name of the peer who inserted this event
NSInteger peerId
 the unique peerID of the peer who inserted this event
NSInteger eventId
 the unique eventID of this event

Detailed Description

This class stores all the attributes of an event.


Member Function Documentation

- (id) copyWithZone: (NSZone *)  zone

Used to copy or clone the same object.

NSCopying protocol method implementation

Parameters:
zonedefault zone
Returns:
new copied object

Property Documentation

- (NSDate *) date [read, write, retain]

the date and time of the event as a NSDate

- (NSString *) dateAndTimeString [read, write, retain]

the dateAndTime of the event as a string

- (NSInteger) eventId [read, write, assign]

the unique eventID of this event

- (NSString *) location [read, write, retain]

the location of the event

- (NSInteger) peerId [read, write, assign]

the unique peerID of the peer who inserted this event

- (NSString *) peerName [read, write, retain]

the name of the peer who inserted this event

- (NSString *) title [read, write, retain]

the title of the event


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Properties