Vous êtes sur la page 1sur 71

Event List

1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. Student wants to join the Dance Academy. In house student wants to join a new dance course. Student wants to cancel the admission. Student wants to change details. Appointment of choreographer. Choreographer wants to change details. Academy wants to add new course. Academy wants to change course details. Academy wants to assign students to the stage show. Academy wants to do changes in the batch. Academy wants the student enrolled report. Academy wants choreographer report. Academy wants stage show report. Academy wants progress char/report. Reports on exams to be conducted. Academy wants to pay salary to the choreographer

Event Table
Sr. no 1 Event Student wants to join the academy In house Student wants to join the new course Student wants to cancel admission Trigger New student Source Student Activity Add new Student details Update an information of student details Delete student enrolled record and stage show record Update student details Create new choreographe r record Update order Change Details Response Destinatio n Academy

Request to join a course by in house student Request to cancel request admission

Student

Student details confirmatio n Course Academy joined

Student

Receptioni st

Student wants to change details Appointmen t of choreograp her Choreograp her wants to change details Academy wants to change course details Academy wants to create new stage show Assign student to stage show Academy wants to do

Request to change student details New choreograp her Request to update choreograp her details New course

Student

Change Details

Student

Choreogr apher

Admin

Choreogr apher

Receptioni st

Admin

New stage show

Academy

1. Get Course id 2. Add new dance form specific course Create a new stage show

Academy

Academy

10

Assignmen t of student to stage show Request to update

student

Academy

1.Assign stage show 2.Get stage show details 1.Get the batch details

Admin

Batch details are

Academy

11

12

13

14

15

16

17

changes in batch Academy wants student enrolled report Academy wants choreograp her report Academy wants stage show report Academy wants progress chart report Academy conducts exams on particular courses Student want to pay fees Academy pays salary to choreograp her

batch details End of month

----------

2.Update the batch details Generate student enrolled report Generate choreographe r report Generate stage show report Generate progress report 1.Get the student ID 2.Get the course details 1. Get student id 2.Pay fees 1.Get the choreographe r id 2.Give salary

updated Student enrolled report Academy

End of month

----------

Choreogra pher report

Academy

End of month End of year

---------

Stage show report Progress chart report

Academy

--------

Academy

Conduct exam on course

Academy

Student

Payment of fees Give salary

Student

Receipt

Academy

Academy

Salary slip

Choreogra pher

Entity Relation Diagram:


A graphical model of the data needed by a system, including things about which information is stored & the relationships among them, produced in structured analysis & information engineering. ER Diagram represents entities or tables and their relationships with one onother.

Symbols:

Exactly One(mandatory)

Zero

Zero or many

One or more(mandatory)

Zero or one(optional)s

Connection between components. An arrow generally indicates a flow from one component to another

ERDIAGRAM
1. Student takes admission in Academy and choreographer joins the Academy

Address Name

Stud_id Phone

Student

Takes admision

Name

Addres

Phone

Academy

Addres Name

Phone Stud_id

Choreographer

Joins

2. Student and choreographer select Dance Course

Addres Name

Stud_id Phone no

Student

Selects

Dance_id Dance_type

Dance Course

Addres Name

Phone no

Stud_id

Choreographer

Chooses

3. Academy Provides Batches to student

Name

Addres Phone no

Academy

Provides

Batch_id Batch_name

Batches

Addres Name

Stud_id Phone no

Student

Joins

4. Student pays fees to Academy & Academy gives salary to choreographer


Addres Name Phone no Total_Fees Fees_paid Stud_id

Student

Pays

Fees

Gives
Phone no

Name

Addres

Academy

Address Name

Phone no Stud_id Total_salary

Gives

Salary_given

Choreographer

To

Salary

5. Academy organizes Stage Show

Addres Name

Phone no

Academy

Organizes

Name

Stage Show

Use Case Diagram:


Use case diagram describes the behavior of the system from users point of view. It provides functional description of system and its major processes .it also provides graphic description is the user of a system and what kind of interaction of take place within the system. 1) ActorAn actor portrays any entity that performs certain roles in system. An actor in use case diagram interacts with the use case. It is shown outside the system hierarchy. It is denoted by

2) Use caseA use case is a visual representation of a business functionality in a system .each use case is the sequence of transaction performed by the system. It is shown as ellipse in use case diagram. It is denoted by

3) System BoundaryA system boundary defines the scope of what a system will be. a system cannot have infinite functionality. A system boundary defines the limits of the system. The system boundary is shown as a rectangle spanning all the use case in the system. It is denoted by

4) AssociationThis is used to show the participation of actor in use case. It is denoted by Relationships in Use Case1) IncludesInclude is used when 2 or more share some common portion in the flow of events. The stereotype <<include>> identifies relationship include. The arrowhead points towards child usecase which is included in the parent usecase.

2) ExtendIn an extend relationship between two usecases. The child use case adds to the existing functionality an characteristics of the parent usecase. It is represented as <<extend>>. 3) GeneralizationA generalization relationship is also a parent child relationship between the two usecase. The child usecase in the generalization relationship has the underlying business process meaning but is an enhancement of the parent use case. It is represented by

USE CASE DIAGRAM


1. Student Usecase

Student related usecases Lookup students existence

<<include>> Create new admission <<include>> Lookup for courses

Receptionist

Update student details Student Delete students enrolled record <<include>>

Delete student record <<include>> Delete student stage show

2. Assign Applicant to Stage Show Use Case

Update Stage Show details

Assign Applicant to Stage Show

<<include> >

Academy <<include>> Create new Applicant Stage Show Record

3. Choreographer UseCase
Appointment of choreographer

<<include>> Assign Choreographer to DanceForm

Choreographer

<<include>>

Receptionist

Appoint choreographer to batch

4. Batch UseCase
Create new batch

<<include>>

Lookup for courses


<<include>>

Management

Generate Batch Details

Receptionist

5. Dance Form and course Usecase

Course updation Sub system Get Dance_id


<

<<include>> Update course details

Dance Form Updation System Create dance form specific courses Receptionist Update dance form specific courses Management

Create stage show

5. Report Generation Use Case

Report Generation subsystem


Generate Student Report

Generate Batch Report

Generate Course Report Receptionist Managment

Generate Choreographer Report

Generate Stage Show Report

Use Case Description


1. Student Subsystem y y y y When a new Applicant /Student turns up for enquiry or for admission, admin adds his/her details , if required. If an existing student has made changes in personal details, then updates his/her record. If a student has cancelled admission and that record is not required, then student record is deleted by admin. If admin wants to check for the details of a student he can do so by selecting the ID or Name of the student.

2. Choreographer Subsystem y y y y y When a new choreographer comes to join the academy for teaching his/her new record is created. Admin selects the appropriate choreographer ID from the available ID. An identity card is generated and given to the choreographer. A record is maintained with the admin. If admin wants to search choreographer he can do so based on various criteria. An dance course and batch is given to the choreographer by admin.

3. Dance Course Subsystem y y y y y y When admin adds a new dance course, its details are stored. If admin wants to add description for the dance course, he can do so. If the course details are no longer required, admin deletes the course details. If course is to be updated, admin lookups for the course id and a new record is created if it non-existing. Admin adds the appropriate details for the course. Admin can view his current courses of dance by selecting course name or combination of course name and course type or all courses.

4. Batch Subsystem y y y y y When admin add a new batch, its details are stored. If admin wants to add students in the batch, he can do so. If batch details are no longer required admin deletes the batch details. Admin adds the appropriate details for the course. Admin can view his current batches of dance by selecting batch name or batch id or all batches.

Activity Diagram
Defination: Activity Diagram are useful for analyzing a usecase by
describing what actions needs to be take place a complicated sequncial algoritham & modeling applications with parallel processes.

Elements of Class Diagram 1. Intial Activity


This show the starting point or 1st activity of the flow& denoted by solid circle.

2. Activity
Represented by a rectangle rounded edges.

Activity Description 3. Transition


When the activity state is completed precessing moves to another activity state.Transitions are use to mark this movement.

4. Decision
It is represented by a diamond with the option written on either side of the arraw emeragiong from the diamond. 5. Synchronization Bar [fork & join] Activity can be done in parallel to split precessing(fork) to represent processing when multiple activites are being complicated(join) sysnchronization bars used.It is denoted by a solid rectangle.

6. Final Activity
The end of the activity diagram is shown by a bulls eye symbol.An activity diagram can have zero or more final nodes.It is denoted by

ACTIVITY DIAGRAM 1. Student comes to take admission

Comes to take admission

Checks for availability

Get the batch details

Admission full

[False]

Give admission to the student

Create new student record

Update the student enrolled record

2. Student comes to take admission


Choreographer Receptionist

Comes to join the academy Checks for availability

No vacancy for choreographer

Joins the academy

Create new choreographer record

Assigned to the course and batch

3. Student Cancels the admission


Student Receptionist

Request for cancellation of admission Checks details of student

Validate student

[False]

Invalid student

Cancels admission

Delete Student enrolled record

Delete stage show record

Class Diagram
Defination: A class diagram is a disgram showing a collection of classes and
interfaces along with the collaborations and relationships among classes and interfaces.

Elements of Class Diagram


The class name typically has the first alphabet capitalized. If you class has more than more one word and capitalize the first alphabet of both words and join the two. For eg.: Customer A list of attributes of your class goes in here. The Syntax is:attribute:Type=deafult value (if any) For eg.customerId:int A list of methods goes here.The Syntax is: MethodName(list of param.)Return type For e.g.String createBill();

Class

List of Attributes/Variables

List of Methods

CLASS DIAGRAM
:Student -string

+string -int -string -date -int

Stud_id Name Phone_no Address Join_date Age

Has

:Student Enrolled -string Stud_en_id +string Stud_id -string co_id -date Enr_date GenerateReport()

CreatenewStudent() AssignToStageshow()
1..*

Joins *

Assigned to
1..*

-string +string -int -float -string -string

:Course Co_id Name Duration fees Description batch_id

1..*

Gets
*

:Stageshow -string Ss_id +string Name -string Place -int Requirement -date Date CreateStageshow() UpdateStageshow() GenerateShowreport()

UpdateCourseDeatils()
1 Has

:Batch -string batch_id +string BatchName -date Date Day1 Day1Time Day2 Day2Time CreateNewBatch() GenerateBatchReport()

1..*

:Choreographer -string Ch_id +string Name -int Phone_no -string Address -date Join_date -int Experience -string Co_id AppointChoreographer() Generate Chreport()

Object Diagram
Defination: Object Diagrams describe the static structure of a system at a
particular time.Objects and Links are the constituents of Object Diagrams.An Object diagram focuses on some particular set of object instances and attriubutes,and the links between the instances.

OBJECT DIAGRAM

:Student Stud_id: s101 Name: Priya Phone_no: 9975982959 Address: Ambernath Join_date: 14/05/2010 Age: 20
1..*

Has

:Student Enrolled Stud_en_id: SE101 Stud_id: S101 co_id: C101 Enr_date: 14/05/2010

:Course
*

Joins

Assigned to
1..*

Co_id: C101 Name: BharatNatyam Duration: 4yrs Fees: 3000rs Description: Classical
1

1..*

Gets

:Stage show Ss_id: SS101 Name: ClassicalShow Place: Mulund Requirement: 10 Date: 7/oct/2011

:Batch Batch_id: b1 BatchName: Regular Date: 29/05/2010 Day1 4pm to 6pm Day2 4.30pmto 6.30pm

Has

1..*

:Choreographer Ch_id: Ch101 Name: Ragini Phone_no: 9765378443 Address: Mumbra Join_date: 20/06/09 Experience: 5yrs Co_id: C101

Sequence Diagram
Defination: A Sequencedisgram depicts the sequence of action that occur in
system.A Sequence disgram is two dimensional nature on the horizontal axis it shows the life of the object that it represents on the vertical axis it shows the sequence of interaction of these objects.

Elements of Class Diagram i)Class role


class role despects the way an object will behave.

Object Name:className

Or ClassName

ii)Actor
An external entity that interacts with the system denoted by

iii)Lifeline
Lifeline are the vertical dashline that oindicate the objects present over time

iv)Messages
Messages are the arraw that represents communication between the objects.Each message send to a class invokes a method or a operation on that class.

v)Types of message i)Syncronous


The sender send massage to the receiver & wait for the procedure completion of the receiver.

ii)Simple
One object sends the message to the passive objects.

SEQUENCE DIAGRAM 1. Student Admission

:Student Create new record Student Receptionist


:Dance

Course :Batch

Reque st for admiss ion

Existing student then verify record

Look up for Dance course

Update Batch details

2. Cancellation of admission

:Student Student Receptionist :Student Enrolled :Batch

:StudStageSho w Request to cancel the admissio n Verify the student record

Get student enrolled

Delete student enrolled record

Update Batch details

Delete studen t record

Delete student stagesho w record

3.Update of student details


:Student

Student

Receptionist

Student wants to change details

Verify student details

Update student details

4. Update course details


:Dance Course

Academy

Receptionist

Academy wants to change the course details

Get the course id

Update course details

5. Create a new Course


:Dance

Course

Academy

Receptionist

Get course id Academy wants to add new course

Create a dance form specific course Course Created

6. Choreographer appointment
:Dance Course

:Choreographe r Create a new choreographer report Choreographer Receptionist

Appointment of choreographer Assign choreographer to Dance

Choreographer chooses a dance course

7. Update choreographer details

:Choreographer

Choreographer

Receptionist

Change in choreographer details

Verify choreographer Update choreographer details

8. Create a stage show


:Stage show Create new stage show Academy Receptionist

Academy wants to add a new stage show

Stage show created

9. Assignment of student to stage show.


:Student
:Stage show

Academy

Receptionist

Academy wants to assign student to stage show

Assign stage show

Get stage show details

10. Create new batch

:Choreographer

:Choreographer

Academy

Receptionist

Academy wants to create new batch

Look up for course Batch created

Create a new batch

11. Check Batch Details

:Course

:Batch

Academy

Receptionist

Academy wants to check batch details

Look up for courses Batch details

Get Batch details

12. Generate student enrolled summary

:Report Academy
* :Student Enrolled

:Student

:Batch

Generate enrolled student report

Get student Details

Calculate Total Student()

Get batch Details

Addto Report() Report

13. Choreographer summary report

:Report Academy

:Choreographer

:Dance Course

Generate Choreographer report

Get s Dance Course Details

Calculate Total Choreograph er and choreographe r salary()

Add to Report() Report

14. Stage Show report

:Report Academy
*

:Stage Show

:StudStage Show

Generate Stage Show report

Get s Stage show Details

Calculate Total Student Provided()

Add to Report() Report

State Diagram
Defination: State Diagram are used to help a developer to understand any
complex functionality or business flow of the system.

Elements of Class Diagram 1. Initial State


This shows the starting point or 1st activity of the flow denoted by solid circle. This is also called as pseudo state

2. State
Represents the state of the object at an instance of time denoted by a rectangle with rounded corners & compartments.

3. Transition
An arrow indicates the object to transit from one state to the other. The actual trigger event an action causing the transition are written to declare the arrow separate by a slash

Event[guared condition]/action

4. Final State
The end of the State Diagram is shown by bulls eye symbol also called the final State. Final State is another example of pseudo state.

STATE DIAGRAM 1. Student comes to take the admission

[Admissions given]
Idle Student request for item

[Admissions are full ] [Seat Available]

Check availability of seat in batch

Give admission

Create student record

Create Student enrolled record

2. Choreographer comes to join the academy

[Choreographer has joined]


Idle

Choreographer request for join

[No Vacancy]
Give the job

Check availability

Create choreographer record

Component Diagram
Defination: A Component Diagram shows the organizations and
dependencies among software components, including source code components, binary code components, and executable components.

Elements of Component Diagram


A component is a physical & replaceable part of a system that conforms and provides the realization of a set of interfaces. Graphically, a component is rendered as a rectangle with tabs, usually including only its name A Component Diagram shows the organizations and dependencies among software components, including source code components, binary code components, and executable components. A Component Diagram shows the organizations and dependencies among software components, including source code components, binary code components, and executable components.

Body
Relation/Association

Specification

COMPONENT DIAGRAM

Student Subsystem

Choreographer Subsystem

Dance Academy Subsystem

Dance Course Subsystem

Batch Subsystem

Deployment Diagram
Defination: A Deployement Diagram shows the physical layout of various
hardware components or nodes that compose as well as distribution of executable programs on the hardware.

Elements of Deployment Diagram 1. Node


A node is a generic name for any piece of hardware represented by a cube The nodes can be following types:

i)

Processor: a processor is a node that can execute a component.


PC <<processor>>

ii)

Device: such as printer, monitor that cannot execute components.


Modem <<Device>>

DEPLOYEMENT DIAGRAM
Has

<<Academy>> Dance course Management

<<Choreographer>> Choreograp her Subsystem

Giving admission to student

Teaching dance to student

Teaching Dance

Get Salary

Has

Has

Teaches

<<Student>> Student Subsystem

<<Dance Course>> Dance course Subsystem

Attending sessions in academy

Pay the fees

Dance course Deatils

Package Diagram
Defination: A Packag Diagram is a high-level diagram similar in concept to
the traditional approach of system flow chart.The objective of a package diagram is to identify the major components of a complete system.

Elements of Package Diagram


1.The tabbed pane identifies the major system and the subsystem.It enclosure of a subsystem witin the primary system.Subsystem may be nested to any level of depth

Package Name
2.The arraw is denpendancy arraw.The arraw tail is connected to the package that is dependent and the arrowhead is connected to the independent package.

PACKAGE DIAGRAM
Choreographer support system

Choreographer Subsystem

Batch Subsystem

Choreographer Maintenance subsystem Dance Management System

Availability of Choreographer

Student support system

Course Subsystem

Batch Subsystem

Student Maintenance subsystem

Program Flow charts & System flow chart PROGRAM LISTING


1. DBConnection:
This is a java class which contains the connection string which help to connect the system with the data base. An object of this class is called on every form to establish the connection.

2. StartPage:
This Form is displayed first on the running the project which gives introduction of the project

3. ProgressBar:
This form is called on the click of load button on the StartPage. This form loads the System.

4. LoginForm:
This window is displayed as soon as the system is loaded and allows to select the type of the user.

5. ForgotPassword:
This form allows us to get our password with the help of security Question if we have forgot it.

6. ChangePass:
This form allows to change the passwords

7. AdminMenu:
This form is visible only if the Admin login.

8. Menu:
This form is visible on the login of Admin as well as Employee.

9. AddStudentRecord:
This form allows to add Student details.

10. AddChoreoRecord:

This form allows to add Choreographer details.

11. AddBatchDetails:
This form allows to add Batch details.

12. AddDanceCourse:
This form allows to add Dance course details.

13.

AddStageShow:
This form allows to add Stage show details.

14. AddEmployee:
This form allows to add Employee details

15. AppointChoreographer:
This form allows to add the details of newly appointed choreographer.

16. UpdateStudRecord:
This form allow us to search a particular record of the student according to its name or id and update it.

17. UpdateChoreographer:
This form allow us to search a particular record of the choreographer according to its name or id and update it.

18. UpdateBatch:
This form allow us to search a particular record of the Batch according to its name and update it.

19. UpdateDanceCourse:
This form allow us to search a particular record of the Dance course according to its name and update it.

20. DeleteAStudentRecord:
This form allow us to search a particular record of the student according to its name or id and delete it.

21. DeleteChoreoRecord:
This form allow us to search a particular record of the choreographer according to its name or id and delete it.

22. PayFees:

This form allows us to search the details of the student according to its Id who want ot pay fees and also display the details of the Fees paid and generates the Fee Receipt.

23. EmployeeSalary:
This form allows us to search the details of the Employee according to its Id to whom the salary is to be given and then generates the salary slip.

24. ChoreoSalary:
This form allows us to search the details of the Choreographer according to its Id to whom the salary is to be given and then generates the salary slip.

25. IndianDances:
This form displays the catalog for Indian Dance Form.

26. WesternDances:
This form displays the catalog for Western Dance Form.

27. AboutUs:
This form displays the information of the system.

28. StudReport:
This form displays the student report.

29. ChoreoReport:
This form displays the choreographer report.

30. BatchReport:
This form displays the Batch report.

31. DanceCourseReport:
This form displays the Dance Course report.

32. StageShowReport:
This form displays the Stage Show report.

33. EmpSalReport:
This form displays the Employee salary report.

34. ChoreoSalReport:
This form displays the Choreographer salary report.

35. ChoreoReport:
This form displays gives us the ooption to view the choreographer or employee Salary report monthly or combined with all records.

36. MonthlyEmpSalReport:
This form displays the monthly salary Report of the employee.

37. MonthlyChoreoSalReport:
This form displays the monthly salary Report of the choreographer.

REPORT LISTING
1. StudReport:
This report contains all the details of the Student with Batch name and course name. Details include the student name, address, etc.

2. ChoreoReport:
This report contains all the details of the Choreographer with Batch name and course name. Details include the choreographer name, address, etc.

3. BatchReport:
This report contains all the details of the Batch with Batch name, capacity of the Batch and the starting date.

4. DanceCourseReport:
This report contains all the details of the dance course with the course name, capacity, duration and fees of the course.

5. StageShowReport:
This report contains all the details of the Stage Show with the Stage Show name, Organisation name,Start Date, Phone number, Requirement, and Location.

6. ChoreSalReport:
This report contains all the yearly details of the salary of the choreographer with the choreographer name, id ,salary, etc

7. EmpSalReport:
This report contains all the yearly details of the salary of the employee with the employee name, id, salary, etc.

8. MonthlyEmpSalReport:
This report contains the monthly details of the salary of the employees with employee name, id salary,etc.

9. MonthlyChoreoSalReport:
This report contains the monthly details of the salary of the Choreographer name,id,salary,etc.

FUNCTIONS
1. public void clear()
 Description: This method clears all the Text Boxes that are mentioned in it.

2. public void Enable()  Description: This method enables all the Text Boxes that are
mentioned in it.

3. public void Disable()


 Description: This method disables all the Text Boxes that are mentioned in it.

4. public void fillcomboboxName()


 Description: This method fill the mentioned combo box name of the choreographer or student as mentioned in the query written inside it.

5. public void fillcomboboxCourse()


 Description: This method fill the mentioned combo box Dance Course name as mentioned in the query written inside it.

6. public void fillcomboboxBatch()


 Description: This method fill the mentioned combo box Batch name as mentioned in the query written inside it.

NAMING CONVENTIONS
1. All Forms are named using the camel-case naming convention, i.e,

the first character of the first word in the name is small and the first character of all other words are in capital. e.g. AddStudRecord,DeleteStudRecord, etc.
2. The Hungarian notation is used for naming controls.

e.g. 1. txtStudentID for Textbox 2. cmbEmpName for Combo box 3. lblName for Label 4. rdoStudId for Radio Button and so on.
3. At places where the task performed by a piece of code is difficult to

recognize, the task is written as a comment just above the piece of code or adjacent to the line performing the task.

MENU TREE
Menu y Student  Add  Update  Delete y Choreographer  Add  Update  Delete y Batch  Add  Update y Course  Add  Update y Stage Show  Add y Report  Student report  Choreographer report  Batch report  Course report  Stage Show report y Catalog  Indian Dance  Western Dance y Help  Help

 About us y Exit  Logout  Exit AdminMenu y AppointChoreographer  Appoint  Give Salary y Appoint Employee  Appoint  Give Salary y Reports  Choreographer Salary Report  Employee Salary Report y Help  Content y Exit  Logout
 Exit