|
|
1.1 ! root 1: ! 2: #import <appkit/appkit.h> ! 3: #import <eointerface/eointerface.h> ! 4: #import <eoaccess/eoaccess.h> ! 5: ! 6: @interface Department:NSObject ! 7: { ! 8: NSString * DepartmentName; ! 9: int DeptId; ! 10: int LocationId; ! 11: id toFacility; ! 12: NSString * FacilityLocation; ! 13: NSArray * toEmployee; ! 14: ! 15: int averageSalary; ! 16: /* Average salary earned by employees in the department. ! 17: * This attribute is not defined in the Department ! 18: * table. ! 19: */ ! 20: ! 21: } ! 22: ! 23: ! 24: ! 25: /* ACCESSOR METHODS */ ! 26: ! 27: - (void)setDepartmentName:(NSString *)newName; ! 28: - (NSString *)DepartmentName; ! 29: - (void)setDeptId:(int)newId; ! 30: - (int)DeptId; ! 31: - (void)setLocationId:(int)value; ! 32: - (int)LocationId; ! 33: - (void)setToFacility:value; ! 34: - toFacility; ! 35: - (void)setFacilityLocation:(NSString *)value; ! 36: - (NSString *)FacilityLocation; ! 37: - (void)setToEmployee:(NSArray *)value; ! 38: - (NSArray *)toEmployee; ! 39: - (void) setAverageSalary:(int)aSalary; ! 40: - (int)averageSalary; ! 41: ! 42: @end
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.