Uml Ooad
Uml Ooad
No:4
PROBLEM STATEMENT: The Any Where Any Time Advance Reservation system is the online ticket reserving system where the passengers can reserve the tickets for their travel, cancel the reserved ticket and they can view the status of the ticket before travelling. The passenger who is reserving the ticket in AWATAR unless they are the member of AWATAR .The passenger can reserve the ticket by giving the required detail in the form and submit it for the processing .They can reserve for at the max for five members and a single ticket is provided for them. The administrator the AWATAR can control the ticket reservation and the accounts of the passengers who are signing up in AWATAR. The administrator can reset the seats, fares of the tickets, and generates the PNR number for the ticket that are reserved. The sole control of the system is handled by the administrator. The printer prints the tickets that are reserved by the passenger. The passenger can sign-up for only one time and he can sign in for any number of times for reserving, cancelling and viewing the tickets. The AWATAR system provides flexibility for the persons based on the age, the passengers are fared based on the age and the place of travelling. This makes ease of use in using AWATAR system. The system tracks for the database any number of times for reserving, cancelling and status viewing. The passenger can see the status of the classes that are available in the train which he is going to travel by noticing the number of seats details from the display board. The cancellation of the tickets is also very easy so that the passenger can cancel the tickets that he has booked.
PROBLEM REQUIREMENTS: 1. Basic Requirements: 1) Source place. 2) Destination place. 3) Date of journey. 2. Functional Requirements: 1) Details of passengers. 2) Details of the coach.
3) Pay the amount using visa card or debit card. 4) Give out the balance 5) Show the detail of ticket. 3. Non-Functional Requirements: 1) Trading system failure. 2) Unavailability of date. 3) Coach Unavailability 4) Insufficient amount for making payment. 5) Unavailability of berth.
Class Diagram:
Activity Diagram:
Sequence Diagram:
Collaboration Diagram:
Deployment Diagram:
LOGIN FORM:
MAIN FORM: Private Sub Command1_Click() Form2.Show Form1.Hide End Sub Private Sub Command2_Click() End End Sub ENTRY FORM: Public a As New NewClass Private Sub Command1_Click() a.viewdetails End Sub Private Sub Command2_Click()
Form4.Show Form2.Hide End Sub Private Sub Command3_Click() Form5.Show Form2.Hide End Sub Private Sub Command4_Click() End End Sub Private Sub Form_Load() Set a = New NewClass End Sub TRAIN DETAILS FORM: Private Sub Command1_Click () Form2.Show Form3.Hide End Sub RESERVATION FORM: Public B As New System Public a As New NewClass Private Sub Combo2_Click() Form4.Label11.Caption = Form4.Combo2.Text End Sub Private Sub Command1_Click() a.reservation End Sub Private Sub Command2_Click() End End Sub Private Sub Command3_Click() B.delete End Sub Private Sub Command4_Click() Form2.Show Form4.Hide End Sub Private Sub Form_Load()
Set B = New System Set a = New NewClass End Sub CANCELLATION FORM: Public a As New NewClass Public B As New System Private Sub Command1_Click() B.update End Sub Private Sub Command2_Click() a.cancellation End Sub Private Sub Command3_Click() Form2.Show Form5.Hide End Sub Private Sub Command4_Click() End End Sub Private Sub Form_Load() Set a = New NewClass Set B = New System End Sub
CLASS MODULE: NEW CLASS: Option Explicit Dim db As Database Dim rs As Recordset Public Sub viewdetails() Form3.Show End Sub Public Sub reservation() Set db = OpenDatabase("D:\06bei7876\OnlineRail\railway.mdb") Set rs = db.OpenRecordset("details") rs.AddNew rs(1) = Form4.Text1.Text
rs(2) = Form4.Text2.Text rs(3) = Form4.Text3.Text rs(4) = Form4.Text7.Text rs(5) = Form4.Label11.Caption rs(6) = Form4.Text4.Text rs(7) = Form4.Text5.Text rs(8) = Form4.Text6.Text rs.update MsgBox "YOUR TICKET IS RESERVED" End Sub Public Sub cancellation() Set db = OpenDatabase("D:\06bei7876\OnlineRail\railway.mdb") Set rs = db.OpenRecordset("details") rs.MoveFirst While rs.EOF = False If rs(1) = Form5.Text1.Text Then rs.delete MsgBox " YOUR TICKET IS CANCELLED" Form5.Text1.Text = "" Form5.Label6.Caption = "" Form5.Label7.Caption = "" Form5.Label8.Caption = "" End If rs.MoveNext Wend End Sub SYSTEM: Option Explicit Dim db As Database Dim rs As Recordset Public Sub update() Set db = OpenDatabase("D:\06bei7876\OnlineRail\railway.mdb") Set rs = db.OpenRecordset("details") rs.MoveFirst While rs.EOF = False If rs(1) = Form5.Text1.Text Then Form5.Label6.Caption = rs(4) Form5.Label7.Caption = rs(8) Form5.Label8.Caption = rs(5)
End If rs.MoveNext Wend End Sub Public Sub delete() Form4.Text1.Text = "" Form4.Text2.Text = "" Form4.Text3.Text = "" Form4.Text4.Text = "" Form4.Text5.Text = "" Form4.Text6.Text = "" Form4.Label10.Caption = "" Form4.Label11.Caption = "" End Sub
SCREEN SHOTS:
FORM 1
FORM 2
FORM 3
FORM 4
FORM 5
FORM 6
SOFTWARE TESTING: TEST CASE REPORT: TEST CASE NAME: Train number Availability OBJECTIVE: Usability Test TEST CASES: SCENARIO 1: Train Number: 6655 EXPECTED OUTPUT: Error Message TEST RESULT ACTUAL OUTPUT: Train number not available
CONCLUSION:
Thus the application on student mark list analysis system is developed using rational
rose and implemented using visual basic. The main aspects that are behind this application is that
they enabled us to bring out the new ideas that sustained within us for many days. This application enables the student to retrieve their student details and mark details at anywhere with a system.