Procedure:1) Add the class diagram to the browser
a. Open the previous model.
b. Add the “Flight Details”, then class diagram under the use-case realization in the browser, and then open the diagram.
2) Add the classes to the diagram.
View the “Flight Details” collaboration diagram to determine the classes to add to the class diagram. Do not include actors in your class diagram. Actors exist outside the system.
3) Add associations.
a. Use the collaboration diagram to determine the relationships between the classes
b. Look at the object links and the direction of communication.
c. From the diagram toolbar in the class diagram, check the unidirectional association icon and the drag the mouse from the sending class to the receiving class.
4) Add role names and multiplicity
Double click the association draw the entity class and the control class.
a. From the general tad type in the role A field and then click the role A detailed tab to add role A’s multiplicity from the multiplicity list, click 0..1 .
b. Click the role B detailed tab to add role B’s multiplicity from the multiplicity list, click 0...1 .
Try to add multiplicity between the boundary classes by right clicking the association.
Result:Thus a class diagram to show the classes and relationships that participates in the basic flow of use-case For Online Airway Ticket Reservation.