Use Case Diagram: Actor
Use Case Diagram: Actor
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 BrowseClass 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 NewSequence 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:
PROCEDURE:
AIM:
To create a state chart diagram for the Bus Booking System.
ALGORITHM:
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:
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.