You are on page 1of 8

Employee Information System Project Requirement Specifications

Infosys Limited

Requirement Specifications

COPYRIGHT NOTICE
All ideas and information contained in this document are the intellectual property of Education and Research Department, Infosys Limited. This document is not for general distribution and is meant for use only for the person they are specifically issued to. This document shall not be loaned to anyone, within or outside Infosys, including its customers. Copying or unauthori ed distribution of this document, in any form or means including electronic, mechanical, photocopying or otherwise is illegal.
Education and Research Department Infosys Limited Electronics City Hosur Road Bangalore - !" ##$% India& 'el( $" )* ) # *#!"-#+* ,a-( $" )* ) # *.!# ///&infy&com mailto(E0R1infy&com

C23,IDE3'I4L

5age #

Infosys Limited

Requirement Specifications

Bac !roun" # Employee Information System


'his document contains details of the pro6ect that has to 7e e-ecuted using the 276ect 2riented approach& 'he pro6ect is an Employee Information system to maintain the details a7out departments and employees&

$%

Business Requirements

'he follo/ing are the 7usiness requirements for this pro6ect( 'he data has to 7e maintained in a data7ase ta7les using a suita7le RDB8S 9e&g& 8icrosoft 4ccess:& 'he system should 7e designed using the 276ect 2riented 5aradigm& 'he frontend and 7usiness logic is to 7e coded using a suita7le 276ect 2riented language 9e&g& ;a<a: Sl " # . = Requirement Login Department Details 8aintenance Employee 8aster 8aintenance 'elephone Directory maintenance Reports Status implemented implemented 'o 7e implemented 922C: 'o 7e implemented 9I5: 'o 7e implemented 922C:

&%
Sl "

'ist of (iles supplie" )can mention or lea*e +lan ,


(ile 8yScanner&6a<a -escription 'his class contains the code for return an instance of Scanner o76ect& 'his instance is used for accepting input from the user 'his class contains the code for displaying the 8enu for the system& 4 collection of static methods are used& 'his class contains the code for user authentication 'his class contains the code for performing the Department maintenance functionality& 'his class contains the code for performing the Employee maintenance functionality& 'his class contains the code for displaying different reports for the system& 4 collection of static methods are used&

# . =

8enu&6a<a Login&6a<a Department&6a<a Employee&6a<a

Reports&6a<a

C23,IDE3'I4L

5age .

Infosys Limited

Requirement Specifications

8y8ain&6a<a

'his is the application launcher class&

.%

'o!in
Should accept the user name 9E-ample( >ser-"% >ser-# etc&: Should accept the pass/ord 9'he pass/ord should not 7e displayed on the screen: 4 case insensiti<e comparison is done for a user name and a case sensiti<e comparison is done for a pass/ord If the correct user id and pass/ord are supplied then% 8ain 8enu of 'elephone should 7e displayed If an in<alid user id or pass/ord are entered then the system should display error message ?Login Denied@ and should quit the application Login name and pass/ord should 7e stored in a login ta7le&

/%

-epartment -etails 0aintenance

'his module has three main functions( 1"" -epartment 4ccept the department name 'he department names should not e-ceed " characters and it should contain minimum . characters& 'he department name can contain only alpha7ets 9upper case or lo/er case:% 7lanA space% hyphen 9-: and ampersand 90:& 'he first character in the department name should 7e an upper case alpha7et Department names cannot 7e duplicated& Comparison should 7e case insensiti<e Bhen an in<alid department name is entered% display an error message and asA the user to reenter the department name 'he department codes should 7e generated 7y the system and the department code should start /ith "***& E<ery ne/ department added should get a " up num7er for the department code 'he department codes should 7e unique Bhen the user finishes adding ne/ departments% the control should return to the ?Department 8aintenance 8enu Screen@ after displaying a message ?Department Successfully 4dded@ 2p"ate -epartment Name Should not accept the details if the department ta7le file is empty& In such cases display a suita7le error message and the control should return to the ?Department 8aintenance Screen@ 4ccept the department Code

C23,IDE3'I4L

5age =

Infosys Limited

Requirement Specifications

4ccept the ne/ department name 'he accepted department code must 7e an e-isting department code 9should 7e e-isting in department ta7le: Bhen an in<alid department code is entered% display an error message and asA the user to reenter the department code Bhen a <alid department code is entered% display the e-isting department name 'he department names should not e-ceed " characters and it should contain minimum . characters& 'he department name can contain only alpha7ets 9upper case or lo/er case:% 7lanA space% hyphen 9-: and ampersand 90:& 'he first character in the department name should 7e an upper case alpha7et Department names cannot 7e duplicated& Comparison should 7e case insensiti<e Bhen an in<alid department name is entered% display an error message and asA the user to reenter the department name Bhen the user finishes updating the department name% the control should return to the ?Department 8aintenance 8enu Screen@ after displaying a message ?Department 3ame Successfully >pdated@

3ie4 all -epartments Should not display the details if the department ta7le is empty& In such cases display a suita7le error message and the control should return to the ?Department 8aintenance Screen@ Display all the departments along /ith the department codes in a ta7ular format

5%

Employee 0aster 0aintenance

'his module has three main functions( 1"" Ne4 Employee 4ll fields are mandatory& Should not accept the details if the department ta7le is empty& In such cases display a suita7le error message and the control should return to the ?Employee 8aintenance Screen@ 'he name of the Employee should not e-ceed # characters and it should contain minimum . characters& 'he employee name can contain only alpha7ets 9upper case and lo/er case:% 7lanA space% dot 9&: and an apostrophe& 'he first character must 7e an upper case alpha7et Bhen an in<alid name is entered% display an error message and asA the user to reenter the name 'he employee id should 7e = digits long&

C23,IDE3'I4L

5age

Infosys Limited

Requirement Specifications

'he employee id should start /ith """"& E<ery ne/ employee added should get a " up num7er for the employee id 'he employee ids should 7e unique 'he employee ids should 7e generated 7y the system Bhen the control comes to accepting the department code% list the e-isting department codes along /ith their names on the screen for selection of the proper department code Department Code must 7e a <alid code 9should 7e e-isting in department ta7le: Bhen an in<alid department code is entered% display an error message and asA the user to reenter the department code Display the department name /hen a <alid department code is entered 'he Location should not e-ceed characters 9E-ample( SDB-"% SDB-#%CEC% ILI etc&: and it should contain minimum . characters Bhen an in<alid location is entered% display an error message and asA the user to reenter the location Bhen the user finishes adding ne/ Employee% the control should return to the ?Employee 8aintenance 8enu Screen@ after displaying a message ?Employee Successfully 4dded@

2p"ate 'ocation Should not accept the details if the employee ta7le is empty& In such cases display a suita7le error message and the control should return to the ?Employee 8aintenance 8enu Screen@ 4ccept the employee id 4ccept the ne/ location 'he accepted employee id should 7e an e-isting employee id 9should 7e e-isting in employee ta7le: 'he Location should not e-ceed characters 9E-ample( SDB-"% SDB-#%CEC% ILI etc&: and it should contain minimum . characters Bhen an in<alid location is entered% display an error message and asA the user to reenter the location& If a <alid location is entered% display the e-isting location pertaining to the employee& Bhen the user finishes updating location% the control should return to the ?Employee 8aintenance Screen@ after displaying a message ?Location Successfully >pdated@ 3ie4 all Employees Display all the employees along /ith their department codes% employee id and other details in a ta7ular format & If the telephone num7er is not allocated for an employee then display ?NOT 1''OC1TE-@ under ?phone@ column
C23,IDE3'I4L 5age !

Infosys Limited

Requirement Specifications

6%

Telep7one -irectory 0aintenance

Notes8 To be implemented during Integrated !ro"ect Telep7one Num+er 1llocation Should not accept the details if the employee ta7le is empty& In such cases% display a suita7le error message and the control should return to the ?'elephone directory 8aintenance 8enu Screen@ 4ccept the employee id 'he accepted employee id should 7e an e-isting employee id 9should 7e e-isting in employee ta7le: If the employee id does not e-ist% an error message should 7e displayed and the control should return to the 'elephone Directory 8aintenance Screen If the employee is already allocated /ith a telephone num7er then asA the choice from the user 9E-ample( ?'elephone num7er is already allocated& Do you /ant to allocate a ne/ num7er 9DE3:@: 'he Location and Department 3ame 9for the employee: should 7e displayed 9,rom the information entered in the Employee 8aster screen:& >ser should not edit these fields 4llocate a se<en-digit telephone num7er and display it& 'he first telephone num7er should 7e "#.=**" and the ne-t telephone num7er should 7e "#.=**# and so on& 'he telephone num7er can 7e allocated to employees in any order& ,or e-ample% employee "**" might get the telephone num7er allocated 7efore "***& So the telephone num7er for employee "**" /ill 7e "#.=**" and for "***% it /ill 7e "#.=**#& Bhen the user finishes adding ne/ 'elephone 3um7er% the control should return to the ?'elephone directory 8aintenance 8enu Screen@

9%

Reports

'he ?Reports@ module should not display the details% if the employee ta7le is empty& In such cases% display a suita7le error message and the control should return to the ?Employee 8aintenance 8enu Screen@ -epartment Report Should display the department name and the total num7er of employees /orAing for the department 'he control should return to the ?Reports 8enu Screen@ Employee Report Should display employee id% employee name and the department name of all the employees /ho are allocated /ith a telephone

C23,IDE3'I4L

5age +

Infosys Limited

Requirement Specifications

'he control should return to the ?Reports 8enu Screen@

'ocation Report Should accept the location from the user and should display the employee id% employee name and department name for all the employees /ho 7elongs to that location& 4 suita7le error message should 7e displayed if a non e-isting location is entered 7y the user 'he control should return to the ?Reports 8enu Screen@

:%

Project Gui"elines

'he follo/ing are the e-pected deli<era7les for the de<elopers of this system >8L class diagrams to 7e implemented High le<el design document to 7e created& ,ront end functionalities to 7e designed and de<eloped Data7ase design and data entry& 'est plan document& 'he e-pected pro6ect team siFe is =- people& Each team mem7er is responsi7le for implementing at least one module& Each mem7er should do the high le<el design% Detailed Design and >nit 'est 5lans for hisEher module& 4ll the mem7ers should contri7ute to 8ain 8enu Design and integration of the modules& 4ll the mem7ers should contri7ute to integration test plan& 'he High Le<el Design and Detailed Design Documents should 7e in the supplied format& 'he design documents should 7e integrated and there should 7e only one design document for the entire pro6ect& 'here should 7e one e-cel file /ith different sheets containing the >nit 'est 5lans for each module and the Integration 'est 5lan&

C23,IDE3'I4L

5age )