Professional Documents
Culture Documents
commission rate is determined for each employee, and is one of the 10%, 15%, 25%, or 35%. One of the most requested features of the new system is employee reporting. Employees will be able to query the system for number of hours worked, totals of all hours billed to a project (i.e., charge number), total pay received year-to-date, remaining vacation time, etc. Employees can choose their method of payment. They can have their paycheck mailed to the postal address of their choice, or they can request direct deposit and have their paycheck deposited into a bank account of their choosing. The employee may also choose to pick their paycheck up at the office. The payroll administrator maintains employee informati9on. The payroll administration is responsible for adding new employees and changing all employee information such as name, address and payment classification (hourly salaried, commissioned), as well as running administrative reports. The payroll application will run automatically every Friday and on the last working day of the month. It will pay the appropriate employees on those days. The system will be told what date the employees are to be paid so it will generate payments for records from the last time the employee was paid to the specified date. The new system is being designed so that the payroll will always be generated automatically, and there will be no need for any manual intervention.
USECASE DIAGRAM: Usecase diagram is the typical diagram of the class diagram. It deals with the attribute and properties. It deals with attributes the employee is one of the actor, the commissioned employee. This above usecase diagram describes with the actors and usecases.
payroll login
system
CLASS DIAGRAM: A class diagram comprises of number of classes each with its own attributes and operations. We can represent inherited classes based upon the requirements with the arrow head representation. We can implement the concept of aggregation and generalization in the class diagram.
EmployeeClass name address enter timecard info() employee details() commissioned empl purchase order() choose payment method()
acme location windows based desktop payroll adminstration() employee() database maintains()
Payroll administrator name location maintains employee info() adding, deleting, changing empl info() payment classification() automatic generation of payment() paycheck providence() report delivery()
SEQUENCE DIAGRAM: Sequence diagram includes various entities interacting with each other. Each interaction is aided by a solid arrow head. The corresponding reply/response is given by dotted arrow lines. The life time of each object is represented by a vertical dotted line.
: EmployeeClass login
DATABASE
SYSTEM TESTING
BANK
PRINTER
SYSTEM
COLLABORATION DIARAM: We can automatically generate the collaboration diagram with the help of the function key F5. It represents the entity interaction as more generalized information.
: EmployeeClass BANK
PRINTER 5: sending time info 8: comission empl-purchase order 1: login 2: enter employeer details 3: timecard maintanence 9: flat salary emp-purchase order 6: printing time
SYSTEM
ACTIVITY DIAGRAM: An activity diagram illustrates the various points as an individual state or an activity in which each state is represented by a rounded rectangle. Starting point is signaled by start symbol and ended by a rounded solid circle. The flow between them is represented by means of arrow heads. All activities are represented by a rounded rectangle and states are represented by an elliptical rectangle. Login activity diagram:
start
login to proceed
Method of payment:
start
employee payment
choosing method
pick up paycheck
Purchase order:
start
end
Timecard activity
start
employee time card information calculating time and payment on every friday employee work by hour employee works more than 8 hrs
record the datre no of hours worked payment 1.5 times than normal rate
10
COMPONENT DIAGRAM: In the component diagram all the individual components are described as individual interacting components. Each component is correlated to its corresponding classes, in order to generate the code for each component.
Acme system
time card
commissioned employee
11
DEPLOYMENT DIAGRAM: In a deployment diagram the processor system is represented by a shaded cuboids and other systems are linked to the processor system are represented by a normal cuboids. Deployment is the process of assembling the system as an application that is to be installed and assembled.
Acme system
System monitor
Databas e
12
RESULT: Thus various phases of software development lifecycle is implemented for the payroll system using the rational software.
13