Uml Class Diagram For Railway Reservation System

Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy .

Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.






  • Home

  • Explore

  • Presentation Courses

  • PowerPoint Courses
  • by LinkedIn Learning

Successfully reported this slideshow.

We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.


Online railway reservation system

College of Engineering, Pune
(An Autonomous Institute of Government of Maharashtra)
Wellesley Road, Shivajinagar, Pune 411...

INDEX
1. ABSTRACT 1
2. REQUIREMENTS: 2
2.1 FUNCTIONAL REQUIREMENTS
2.2 NON FUNCTIONAL REQUIREMENTS
2.3 TECHNICAL REQUIREME...

1
ABSTRACT
The railway reservation system is software for the purpose of reserving train
seats at any time and from anywhe...

2
REQUIREMENTS:
2.1 Functional requirements
1. Secure registration and profile management facilities for Customers
2. Secu...

3
3.1 CLASS DIAGRAM:
A class diagram is description of set of objects that share same attributes,
operations, methods, rel...

4
3. Database
This class is the major part of the system which contains all the information
about trains, customers, admin...

5
3.2 OBJECT DIAGRAM:
Object diagram describes the static structure of the system at any instant. In our
case a registered...

6
3.3 USE CASE DIAGRAM:
A use case describes an interaction with actors as a sequence of messages between
the system and o...

7
3.4 ACTIVITY DIAGRAM:
WITHOUT SWIM LANE

8
3.4 ACTIVITY DIAGRAM:
WITH SWIM LANE
ACTIVITIES:
1. User login and authentication
2. Select train, book ticket and pay
3...

9
3.5 STATECHART:

10
STATES :
1. Authentication and logged in
2. Train availability
3. Book ticket
4. Payment
5. Show ticket
6. History
7. C...

11
3.6 SEQUENCE DIAGRAM:
A sequence diagram shows a set of messages arranged in time sequence. Each
classifier role is sho...

12
3.7 COLLABORATION DIAGRAM:
A collaboration is a description of a collection of objects that interact to implement
some ...

13
3.8 DEPLOYMENT DIAGRAM:
Deployment diagrams are a set of nodes and their relationships. These nodes are
physical entiti...

14
3.9 PACKAGE DIAGRAM:
Package diagram is UML structure diagram which shows packages and
dependency between packages. Thi...
Upcoming SlideShare

Loading in …5
×


1





Like this document? Why not share!
  • Share
  • Email
  •  

  •  
  • Colloboration diagram railway reser...

    Colloboration diagram railway reser…
    by muthumeenakshim
    9239 views

  • Online Railway Reservation

    Online Railway Reservation
    by Siddharth Nath
    27956 views

  • Railway booking & management system

    Railway booking & management system
    by Nikhil Raj
    8701 views

  • enhanced er diagram

    enhanced er diagram
    by CHANDRA BHUSHAN
    29854 views

  • Railway reservation system

    Railway reservation system
    by Abhishek yadav
    2328 views

  • DFMA design for manufacturing and a...

    DFMA design for manufacturing and a…
    by Automated Manufac…
    30269 views

Share SlideShare


  • Facebook
  • Twitter
  • LinkedIn




Show related SlideShares at end














Online railway reservation system


13,289 views






Published on


  • 0 Comments



  • 12 Likes


  • Statistics


  • Notes

    • Full Name

      Full Name



      Comment goes here.

        



      Delete
      Reply
      Block

      Are you sure you want to
      Yes
      No

      Your message goes here



    • Be the first to comment

    • guruprasaath2

      guru prasaath


      ,
      Student at Kongu Arts and Science College



    • SowmyaK52

      SowmyaK52





    • ShivaliSrivastava8

      Shivali Srivastava





    • Harmanpreetkaur66

      Harmanpreet kaur


      ,
      Student at Institute for Management Studies, IET Bhaddal



    • AkhilMajety1

      Akhil Majety





    Show More


    Online railway reservation system

    1. 1.
      College of Engineering, Pune
      (An Autonomous Institute of Government of Maharashtra)
      Wellesley Road, Shivajinagar, Pune 411005
      THIRD YEAR COMPUTER ENGINEERING
      SOFTWARE ENGINEERING PROJECT
      RAILWAY RESERVATION SYSTEM
      SUBMITTED BY GUIDED BY
      RITESH NEVE (111203055) PROF. SHIKHA GUPTA
      RAJENDRA KADAM (111203050)
      NINAD RAJPUT (111203052)

    2. 2.

      INDEX
      1. ABSTRACT 1
      2. REQUIREMENTS: 2
      2.1 FUNCTIONAL REQUIREMENTS
      2.2 NON FUNCTIONAL REQUIREMENTS
      2.3 TECHNICAL REQUIREMENTS
      3. DIAGRAMS:
      3.1 CLASS DIAGRAM 3
      3.2 OBJECT DIGRAM 5
      3.3 USE CASE DIAGRAM 6
      3.4 ACTIVITY DIAGRAM
      -WITH SWIM LANE 7
      -WITHOUT SWIM LANE 8
      3.5 STATECHART DIAGRAM 9
      3.6 SEQUENCE DIAGRAM 11
      3.7 COLLABORATION DIAGRAM 12
      3.8 DEPLOYMENT DIAGRAM 13
      3.9 PACKAGE DIAGRAM 14

    3. 3.

      1
      ABSTRACT
      The railway reservation system is software for the purpose of reserving train
      seats at any time and from anywhere. This application provides us complete
      information about a train between specified source and destination. This
      application gives current status of reservations of particular train, fares for different
      classes of train and also waiting status. For this application, a visitor must register
      to avail the service. In this system, train records are maintained and retrieved.
      Administrator monitors all users and their transactions. Administrator has complete
      access to database and can add train or cancel train or add station for particular
      train or skip a station for train. There are several payment options for user like
      credit card, debit card and a user can also cancel ticket. This application also
      provides current position of train i.e. name of stations between which the train is
      currently running. It provides familiar and attractive interface with inserting and
      reporting capabilities.

    4. 4.

      2
      REQUIREMENTS:
      2.1 Functional requirements
      1. Secure registration and profile management facilities for Customers
      2. Secured mechanism for Payment
      3. Account management
      2.2 Non-functional requirements
      1. Performance
      2. Quality
      3. Secure access of confidential data (user’s details).
      4. 24 X 7 availability
      2.3 Technical requirements
      1. Browser
      2. Apache server
      3. MySQL
      4. PHP
      5. javascript
      6. HTML & CSS

    5. 5.

      3
      3.1 CLASS DIAGRAM:
      A class diagram is description of set of objects that share same attributes,
      operations, methods, relationships and semantics.
      In our project following classes are identified –
      1. User
      This class consists of both registered user and visitor. A visitor must register
      to avail the service.
      2. Admin
      This class consists of administrators to manage a system in different areas.

    6. 6.

      4
      3. Database
      This class is the major part of the system which contains all the information
      about trains, customers, administrators.
      4. Train
      This class contains the data about trains i.e. Train id, train name, source,
      destination, position.
      5. Ticket
      This class contains the data about tickets i.e. PNR, Status, no. of persons,
      date.
      MULTIPLICITY:
      1. User – database
      This relationship is many to one since so many users can access the one
      railway database.
      2. Train – user
      This relationship is one to many since many users can travel by a single
      train.
      3. Admin – database
      This relationship is many to one since so many Administrators can handle
      single database.
      4. User – ticket
      This relationship is one to many since one user can book many tickets.
      5. Train – database
      This relationship is many to one since so many Administrators can handle
      single database.

    7. 7.

      5
      3.2 OBJECT DIAGRAM:
      Object diagram describes the static structure of the system at any instant. In our
      case a registered users “Ritesh” and “Rajendra” access the database to see the
      details of book ticket. Ritesh books a ticket from pune to mumbai by Sahyadri
      express. Rajendra books a ticket from Delhi to Mumbai by Rajdhani express.
      Pundlik is administrator with Admin_id = 1.

    8. 8.

      6
      3.3 USE CASE DIAGRAM:
      A use case describes an interaction with actors as a sequence of messages between
      the system and one or more actors. The term actor includes humans, as well as
      other computer systems and processes.
      The use case diagram is having following three actors
      1. Visitor: – Visitor must register to use the service.
      2. Registered user: – A registered user can Login, book ticket, cancel ticket, pay
      and inquire ticket.
      3. Administrator: – Administrator maintains the database. Administrator can add
      train or station, remove train or station from database.

    9. 9.

      7
      3.4 ACTIVITY DIAGRAM:
      WITHOUT SWIM LANE

    10. 10.

      8
      3.4 ACTIVITY DIAGRAM:
      WITH SWIM LANE
      ACTIVITIES:
      1. User login and authentication
      2. Select train, book ticket and pay
      3. Select ticket, cancel ticket and refund
      4. Logout

    11. 11.

      9
      3.5 STATECHART:

    12. 12.

      10
      STATES :
      1. Authentication and logged in
      2. Train availability
      3. Book ticket
      4. Payment
      5. Show ticket
      6. History
      7. Cancel ticket
      8. Refund
      9. Logout
      TRANSITIONS :
      1. Authenticate – Logged in
      2. Logged in – Enter train details – Train availability – Enter passenger details
      – Booking ticket – Enter payment info – Pay – Show ticket – Logout
      3. Logged in – Check previous tickets – Cancel ticket – Refund – Logout

    13. 13.

      11
      3.6 SEQUENCE DIAGRAM:
      A sequence diagram shows a set of messages arranged in time sequence. Each
      classifier role is shown as a lifeline—that is, a vertical line that represents the role
      over time through the entire interaction. Messages are shown as arrows between
      lifelines. A sequence diagram can show a scenario that is, an individual history of a
      transaction. User logging in gets authenticated. On successful authentication,
      he/she can book ticket or cancel ticket. While booking the user will be shown a
      new ticket and pay accordingly. A message is displayed on successful payment.
      While canceling a ticket, user gets refund. This whole sequence has been captured
      by sequence diagram.

    14. 14.

      12
      3.7 COLLABORATION DIAGRAM:
      A collaboration is a description of a collection of objects that interact to implement
      some behavior within a context. It describes a society of cooperating objects
      assembled to carry out some purpose. A collaboration contains slots that are filled
      by objects and links at run time. A collaboration slot is called a role because it
      describes the purpose of an object or link within the collaboration. Given is the
      collaboration diagram. In which collaboration of user are shown, that include the
      entire process of user logging, booking the new ticket, canceling ticket.

    15. 15.

      13
      3.8 DEPLOYMENT DIAGRAM:
      Deployment diagrams are a set of nodes and their relationships. These nodes are
      physical entities where the components are deployed. The deployment view
      represents the arrangement of runtime component instances on node instances. A
      node is a runtime resource, such as a computer, device, or memory. This view
      permits the consequences of distribution and resource allocation to be assessed.
      Deployment diagrams are used for visualizing deployment view of a system. This
      is generally used by the deployment team. So the deployment diagrams are used to
      describe the static view of system. When we are going to build a software intensive
      system, you have to consider both its logical and physical dimensions. On the
      logical side, you'll find things such as classes, interfaces, collaborations,
      interactions, and state machines. On the physical side, we'll find components and
      node which are used in the deployment diagram.

    16. 16.

      14
      3.9 PACKAGE DIAGRAM:
      Package diagram is UML structure diagram which shows packages and
      dependency between packages. This diagram shows different views of system.
      Basically package is a collection of classes and use cases. Packages contain top-
      level model elements, such as classes and their relationships, state machines, use
      case graphs, interactions, and collaborations anything not contained in some other
      element. Elements such as attributes, operations, states, lifelines, and messages are
      contained in other elements and do not appear as direct contents of packages.

    Recommended

    • Learning PowerPoint 2016

      Learning PowerPoint 2016

      Online Course – LinkedIn Learning

    • Learning to Teach Online

      Learning to Teach Online

      Online Course – LinkedIn Learning

    • PowerPoint: From Outline to Presentation

      PowerPoint: From Outline to Presentation

      Online Course – LinkedIn Learning

    • Colloboration diagram railway reservation system
      Colloboration diagram railway reservation system
      muthumeenakshim

    • Online Railway Reservation
      Online Railway Reservation
      Siddharth Nath

    • Railway booking & management system
      Railway booking & management system
      Nikhil Raj

    • enhanced er diagram
      enhanced er diagram
      CHANDRA BHUSHAN

    • Railway reservation system
      Railway reservation system
      Abhishek yadav

    • DFMA design for manufacturing and assembly
      DFMA design for manufacturing and assembly
      Automated Manufacturing Engineering Dept.

    • Documentation of railway reservation system
      Documentation of railway reservation system
      Sandip Murari

    ×

    Pages


    Implement RAILWAY RESERVATION SYSTEM SOFTWARE COMPONENT LAB WITH RATIONAL ROSE software


     





    OBJECTIVES:
    To analyze the problem gather the requirements and implement railway reservation system and to model the data using UML diagram.
    Phase 1: Problem analysis:
    The system maintain a ticket database which allow user or passenger to
    View railway catalog Register the ticket
    Cancel the tickets The passenger enter the details and its details are valid, then the system searches seat availability for specifications based on the availability of tickets ,the system provide the way for alternatives.
    Phase 2:

    Functional Requirement analysis:

    Participant: Person who log on the quiz system.
    System controller: Evaluates the answers and displays score to user.

    Identifying actors and usecases:
    1.employee
    Database
    Salary
    2.controller
    Database
    Netpay
    Deductions

    Phase 3:
    The various data modeling techniques which are implemented in the payroll processing system are
    Use case diagram
    Class diagram
    Collaboration diagram
    Sequence diagram
    State chart diagram
    Activity diagram
    Component diagram

    Phase 4:
    The software is now designed in rational rose and skeleton code is generated in VBC++
    Phase 5:

    Implementation:
    Use case diagram
    p align=”center”> Implement RAILWAY RESERVATION SYSTEM SOFTWARE COMPONENT LAB WITH RATIONAL ROSE software
    class Diagram

    Implement RAILWAY RESERVATION SYSTEM SOFTWARE COMPONENT LAB WITH RATIONAL ROSE software Collabrationg Diagram
    Implement RAILWAY RESERVATION SYSTEM SOFTWARE COMPONENT LAB WITH RATIONAL ROSE software Sequece Diagram
    Implement RAILWAY RESERVATION SYSTEM SOFTWARE COMPONENT LAB WITH RATIONAL ROSE software Sequence Diagram
    Implement RAILWAY RESERVATION SYSTEM SOFTWARE COMPONENT LAB WITH RATIONAL ROSE software Activity Diagram
    Implement RAILWAY RESERVATION SYSTEM SOFTWARE COMPONENT LAB WITH RATIONAL ROSE software
    Implement RAILWAY RESERVATION SYSTEM SOFTWARE COMPONENT LAB WITH RATIONAL ROSE software Component Diagram
    Implement RAILWAY RESERVATION SYSTEM SOFTWARE COMPONENT LAB WITH RATIONAL ROSE software
    Source code

    EMPLOYEES.CPP
    #include “employee.h”
    //##ModelId=4892E25D03C8
    employee::ticket reservation()

    //##ModelId=4892E27703B9
    employee::ticket cancellation()

    EMPLOYEES.H
    #ifndef EMPLOYEE_H_HEADER_INCLUDED_B763996F
    #define EMPLOYEE_H_HEADER_INCLUDED_B763996F
    //##ModelId=4892E1E7004E
    class employee

    public:
    //##ModelId=4892E25D03C8
    ticket reservation();
    //##ModelId=4892E27703B9
    ticket cancellation();
    private:
    //##ModelId=4892E1F70399
    train details string();
    //##ModelId=4892E224029F
    ticket details number();
    //##ModelId=4892E23F01D4
    check avail num();
    ;
    #endif

    RAILWAY CATALOG.CPP
    #include “railway catalog1.h”
    //##ModelId=48A15329007D
    railway catalog::railway timings()

    //##ModelId=48A15331035B
    railway catalog::exit()

    RAILWAY CATOLOG.H
    #ifndef RAILWAY_CATALOG1_H_HEADER_INCLUDED_B75EA146
    #define RAILWAY_CATALOG1_H_HEADER_INCLUDED_B75EA146
    //##ModelId=48A15296030D
    class railway catalog

    public:
    //##ModelId=48A15329007D
    railway timings();
    //##ModelId=48A15331035B
    exit();
    private:
    //##ModelId=48A153120148
    railway details string;
    //##ModelId=48A1531C006D
    ticket details number;
    ;
    #endif

    TRAVELLERS.CPP
    #include “traveller.h”
    //##ModelId=4892E1C20109
    traveller::login()

    //##ModelId=4892EF8003D8
    traveller::register()

    TRAVELLERS.H
    #ifndef TRAVELLER_H_HEADER_INCLUDED_B763D6B3
    #define TRAVELLER_H_HEADER_INCLUDED_B763D6B3
    //##ModelId=4892E097002E
    class traveller

    public:
    //##ModelId=4892E1C20109
    login();
    //##ModelId=4892EF8003D8
    register();
    private:
    //##ModelId=4892E0A703B9
    name string();
    //##ModelId=4892E0D90177
    address string();
    //##ModelId=4892E0E8032C
    age number();
    ;
    #endif


    No comments:

    Write comments

    Pages

    • Programs
    • MCA Syllabus
    • HSC What next?
    • About Us
    • Contact Us







    UML Diagrams for Railway Reservation

    Unified Modelling Language Practicals. This Subject is called as UML in Mumbai University MCA Colleges. Below is the case study of it for the construction of different UML diagrams


    Case Study :-RAILWAY RESERVATION SYSTEM

    Railway Reservation System is a system used for booking tickets over internet.Any Customer Can book tickets for different trains.Customer can book a ticket only if the tickets are available.Customer searches for the availability of tickets then if the tickets are available he books the tickets by initially filling details in a form.Tickets can be booked in two ways by i-ticket or by e-ticket booking.


    In case of i-ticket booking customer can book the tickets online and the tickets are couriered to Particular customer at their address.But in case of e-ticket booking and cancelling tickets are booked and cancelled online sitting at the home and customer himself has to take print of the ticket but in both the cases amount for tickets are deducted from customers account. 

    For cancellation of ticket the customer has to go at reservation office than fill cancellation form and ask the clerk to cancel the ticket than the refund is transferred to customer account.After booking ticket the customer has to checkout by paying fare amount to clerk.
    Use Case Diagram :- Railway Reservation
    ACTIVITY DIAGRAM FOR BOOKING
    TICKET:
    ACTIVITY DIAGRAM FOR CANCEL
    TICKET:
    CLASS DIAGRAM FOR RAILWAY
    RESERVATION SYSTEM:
    COLLABORATION DIAGRAM FOR CANCEL
    TICKET:
    COLLABORATION DIAGRAM FOR BOOKING
    TICKET:
    SEQUENCE DIAGRAM FOR CANCEL
    TICKET:
    SEQUENCE DIAGRAM FOR BOOKING
    TICKET:
    DEPLOYMENT DIAGRAM
    FOR RAILWAY RESERVATION SYSTEM:

    COMPONENT DIAGRAM FOR RAILWAY
    RESERVATION SYSTEM :

    16 comments:

    1. Vishwakarma Rakesh 7 April 2012 at 14:32

      i want uml case study on HOSTEL MANAGEMENT SYSTEM

      pls upload on this blog..

      Thank u….

      Reply Delete

      Replies

      1. SS Sagar 7 April 2012 at 20:20

        Vishwakarma Rakesh. All this UML diagrams are/were part of my curriculum. Will surely upload if I find it in my archives

        Delete

      2. Vishwakarma Rakesh 9 April 2012 at 00:00

        thank you sir….!!!!!!!

        Delete

      3. Reply

    2. Thumbs_uP 5 August 2012 at 13:22

      Wow. This was useful!

      Reply Delete

      Replies

      1. SS Sagar 6 August 2012 at 09:49

        Thanks a lot for the comments. Keep following this site.

        Delete

      2. Reply

    3. Shrinithi 9 August 2012 at 07:47

      THANK YOU 🙂 IT WAS USEFULL…!!!

      Reply Delete

      Replies

      1. SS Sagar 9 August 2012 at 19:50

        You are Welcome…. Keep following…..

        Delete

      2. Reply

    4. Ganesh Sonawane 5 October 2012 at 14:11

      Its really helping…..
      But please include State diagram, Package diagram, Object diagram and Communication diagram……

      Reply Delete

    5. vijayaprabakaran 28 January 2013 at 22:45

      i want the uml diagrams for warehouse management system.
      please anyone can send me to my mail id as soon as possible
      email id: [email protected]

      Reply Delete

    6. Swapnil Mehetre 12 July 2013 at 14:42

      khupach cha… 😉

      Reply Delete

    7. THINK IT AND TRY IT 16 April 2014 at 23:31

      thank u very much…………… 🙂

      Reply Delete

    8. sjeet0033 27 December 2015 at 23:54

      Thanks alot bhai jaann buraaaaahhh everyone is saying its difficult here is my project ready in 10 mins. Cheers

      Reply Delete

    9. Dalton Tyson 2 March 2016 at 15:20

      Hi,
      Thanks for the information about this Really nice Post.

      indian railway ticket booking

      Reply Delete

    10. Ghanendra Yadav 22 March 2016 at 13:14

      thanks bhai (bro)

      Reply Delete

    11. raghav sehgal 28 April 2016 at 01:13

      Nice blog…
      Give more examples on another system

      Reply Delete

    12. Saniya Binal 2 December 2016 at 15:23

      very nice info thanks to share with us. IRCTC train ticket booking can be done online and its very easy.

      Reply Delete

    Add comment
    Load more…

    Newer Post


    Older Post

    Home

       Download