0% found this document useful (0 votes)
220 views

Use Case Diagram: Actor

The document describes procedures for creating several UML diagrams for a Bus Booking System, including: use case diagram, class diagram, sequence diagram, collaboration diagram, activity diagram, state chart diagram, component diagram, and deployment diagram. Diagrams are created using Rational Rose and include elements specific to each diagram type like actors, use cases, classes, objects, states, components, and devices.

Uploaded by

JAYANTHI B
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
220 views

Use Case Diagram: Actor

The document describes procedures for creating several UML diagrams for a Bus Booking System, including: use case diagram, class diagram, sequence diagram, collaboration diagram, activity diagram, state chart diagram, component diagram, and deployment diagram. Diagrams are created using Rational Rose and include elements specific to each diagram type like actors, use cases, classes, objects, states, components, and devices.

Uploaded by

JAYANTHI B
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 14

USE CASE DIAGRAM

AIM:

To draw the use case diagram for the Bus Booking System.

PROCEDURE:

1. A use case diagram can contain actors (things outside the system). It relationships
between actors and uses cases in the system. It including associations, dependencies
and generalization.
2. Use case diagram can be used during analysis to capture the system requirements and
how the system should work. It can be used to specify the behavior of system as
implemented.
3. Click browser use case diagram.
4. On the toolbar double click the use case diagram icon.
Actor:
Actor represents the system users.
Use case:
Use case is the sequence of events performed by system in response to trigger.
5. Flow of even, associations, dependencies and generalizations.
6. Click <new> from list of right.
7. Click ok.
8. Type the diagram title. Click ok.
CLASS DIAGRAM

AIM
To design Class diagram for the Bus Booking System.

PROCEDURE
Class diagrams contain icons representing classes, interfaces and their relationships.
1. Click BrowseClass Diagrams, where class is the diagram type.
2. In the resulting dialog box, select a view from the list on the left.
3. Click<new> from the list on the right. Click OK.
5. Type the diagram title. If you do not enter a title, the diagram is labelled untitled.
6. Click OK.
To select multiple icons:
Press and hold the CONTROL or SHIFT key and click each icon to be selected.(Or)
1. Point near the border of one of the icons to be selected.
2. Left-drag to create a dashed selection box around the icons you want to select.
3. Release the left mouse button.
Class Diagram:
SEQUENCE AND COLLABORATION DIAGRAM

AIM:
To design sequence and collaboration diagram for the Bus Booking System.

PROCEDURE:

SEQUENCE DIAGRAM:
1. Select the logical view package in the browser window and right click it.
2. Select NewSequence diagram.
3. Add actor and classes to the diagram.
4. Add object messages to the diagrams.
5. Add responsibilities to object message. Right click the object message and then click
the responsibility from the list of existing responsibilities.
6. Save the sequence diagram.

COLLABORATION DIAGRAM:
1. Open the corresponding sequence Diagram.
2. Press F5 to auto generate the Collaboration diagram and arrange the diagram elements.
3. Save the Collaboration diagram.
Collaboration Diagram:
Sequence Diagram:
ACTIVITY DIAGRAM

AIM:

To create an activity diagram for the Bus Booking System.

PROCEDURE:

1. Open rational rose enterprise edition.


2. In the browser, right-click any model element except for attributes associations or
model elements that appear in the component view.
3. Click New Activity Diagram.
4. Rename or double click to display the New Diagram icon in the browser.
5. Another way to create an activity diagram:
6. Click the Browse State machine Diagram button from the toolbar.
7. Click Newselect the Activity Diagram check box in the New State Machine dialog
box.
8. Enter the activity diagram title and click OK.
9. A new window with suitable toolbox containing different styles appears for creating
activity diagram.
10. Rounded rectangle represents the state of a project.
11. The diamond represents decision.
12. When an operation symbol appears within an activity diagram or state diagram, it
indicates execution of program.
13. Save the diagram and terminate.
STATE CHART DIAGRAM

AIM:
To create a state chart diagram for the Bus Booking System.
ALGORITHM:

1. Open rational rose enterprise edition.


2. Then right click the logical view to open a new state chart diagram.
3. A new window with suitable toolbox containing different styles appears for creating
state chart diagram.
4. Rounded rectangle represents state of project.
5. The state is a set of values that describes an object at a specific point in time and is
represented by state symbols.
6. Transitions are represented by arrows connecting state symbols.
7. This diagram shows sequence of states that an object goes through during its lifetime
in response to messages.
8. Save and terminate.
COMPONENT DIAGRAM

AIM:
To draw component diagram for the Hotel Management System.
PROCEDURE:
1. A component diagram can contains component packages, components, interfaces, and
dependency relationships. Component diagram provide a physical view of the current
model.
2. Select the component view package in the browser window and right click it.
3. Select New Component Diagram.
4. Add components to the diagram.
5. Add links between the components to the diagram.
6. To arrange the components align with the user workspace in the rational rose package.
7. Type the diagram title. Click ok.
8. Save the component Diagram.
DEPLOYMENT DIAGRAM

AIM:

To draw deployment diagram for the Hotel Management System.

PROCEDURE:
1. A deployment diagram shows processors, devices and connections. Each model contains a
single deployment diagram, which shows the connections between its processors and
devices and allocation of processes to processors.
2. It consists of the connection specification device and processor specifications.
3. Select the component view package in the browser window and right click it.
4. Select New→ Deployment Diagram.
5. Add deployment components to the diagram and add links between the deployment
components
6. Select processor and device to own the diagram.
7. Save the Deployment Diagram.
8. Type the diagram title. Click save and ok.

You might also like