Information Technology Reference
In-Depth Information
Class Name: HRM
Attributes:
Person-id : Method(person-id) /*output part*/
Name : Method(name) /*output part*/
Location : Method(location) /*output part*/
Preferred-Working-Area : Method(preferred-working-area)
/*output part*/
Project-Directorate : Method(project-directorate)
/*output part*/
Person-Directorate : Method(person-directorate)
/*output part*/
Staff-Type : Method(staff-type) /*output part*/
Age: Method(age) /*output part*/
Job-Required-Age : Method(job-required-age)/*output part*/
Availability : Method(availability) /*output part*/
Average-Grade : Method(average-grade) /*output part*/
Job-Required-Skill-1 : Method(job-required-skill-1)
/*output part*/
Person-Skill-1 : Method(person-skill-1) /*output part*/
Job-Required-Skill-2 : Method(job-required-skill-2)
/*output part*/
Person-Skill-2 : Method(person-skill-2) /*output part*/
Find-Employee: Method(find-employees) /* input part */
Methods:
person-id() : text; {…………}
name() : text; {…………}
location() : text; {…………}
preferred-working-area() : text; {…………}
project-directorate() : text; {…………}
person-directorate() : text; {…………}
staff-type() : text; {…………}
age():number; {…………}
job-required-age() : number; {…………}
availability ():text; {…………}
average-grade ():text; {…………}
job-required-skill-1() : text; {…………}
person-skill-1 ():text; {…………}
job-required-skill-2 ():text; {…………}
person-skill-2():text; {……}
find-employee():text; {……..}
Fig. 8.11 11 HRM ES coupling class
The same process will happen in the DB coupling class. For example, the method
for the “Name” attribute of Personnel coupling class will be like:
Personnel.name(): Te xt;
{
/* input part attribute variable */
/* temp = temporary memory. */
Receive ( temp , standard-IO-stream);
Save( temp , Personnel.name);
Search WWH ::




Custom Search