|
|
Sample Programs from NeXSTEP 3.3
#import <appkit/appkit.h>
#import <eointerface/eointerface.h>
#import <eoaccess/eoaccess.h>
@interface Department:NSObject
{
NSString * DepartmentName;
int DeptId;
int LocationId;
id toFacility;
NSString * FacilityLocation;
NSArray * toEmployee;
int averageSalary;
/* Average salary earned by employees in the department.
* This attribute is not defined in the Department
* table.
*/
}
/* ACCESSOR METHODS */
- (void)setDepartmentName:(NSString *)newName;
- (NSString *)DepartmentName;
- (void)setDeptId:(int)newId;
- (int)DeptId;
- (void)setLocationId:(int)value;
- (int)LocationId;
- (void)setToFacility:value;
- toFacility;
- (void)setFacilityLocation:(NSString *)value;
- (NSString *)FacilityLocation;
- (void)setToEmployee:(NSArray *)value;
- (NSArray *)toEmployee;
- (void) setAverageSalary:(int)aSalary;
- (int)averageSalary;
@end
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.