This is Program.m in view mode; [Download] [Up]
// Program.m
//
// Created on Fri Jun 07 19:11:35 PDT 1996 by NeXT EOModeler.app Version
#import "Program.h"
@implementation Program
#ifdef ACCESSOR_METHODS
- (void)setProgramId:(int)value
{
[self willChange];
programId = value;
}
- (int)programId { return programId; }
- (void)setTitle:(NSString *)value
{
[self willChange];
[title autorelease];
title = [value retain];
}
- (NSString *)title { return title; }
- (void)setBroadcastDate:(NSCalendarDate *)value
{
[self willChange];
[broadcastDate autorelease];
broadcastDate = [value retain];
}
- (NSCalendarDate *)broadcastDate { return broadcastDate; }
- (void)setCost:(NSDecimalNumber *)value
{
[self willChange];
[cost autorelease];
cost = [value retain];
}
- (NSDecimalNumber *)cost { return cost; }
- (void)setChannel:value
{
// A TO-ONE relationship.
[self willChange];
[channel autorelease];
channel = [value retain];
}
- channel { return channel; }
#endif
- (void)dealloc
{
[title autorelease];
[broadcastDate autorelease];
[cost autorelease];
[channel autorelease];
[super dealloc];
}
@end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.