1 / 11

Object-oriented modeling Communication diagrams

Object-oriented modeling Communication diagrams. Karolina Muszyńska. Based on : S. Wrycza, B. Marcinkowski, K. Wyrzykowski „Język UML 2.0 w modelowaniu SI”. Object Modeling. Dynamic view – communication diagrams role of communication diagrams basic concepts

urvi
Download Presentation

Object-oriented modeling Communication diagrams

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Object-oriented modelingCommunication diagrams Karolina Muszyńska Based on: S. Wrycza, B. Marcinkowski, K. Wyrzykowski „Język UML 2.0 w modelowaniu SI”

  2. Object Modeling • Dynamic view – communication diagrams • role of communication diagrams • basic concepts • comparison of concepts in sequence and communication diagrams • examples

  3. Communication Diagram –role • Communication diagram is a kind of interaction diagram, describing structural relationships among system classifiers taking part in the interaction and interchange of messages between them. • Communication diagram includes two closely related elements: • structural organization of classifiers expressed by associations • interaction among classifiers realized by messages assigned to specified associations • Communication diagrams are isomorphic with sequence diagrams which means that one type of diagram can be transformed into the other type without loss of any important information.

  4. Communication Diagrams –basic concepts Basic concepts common for both communication and sequence diagrams: classifier message Basic concept specific only for communication diagram: association – same meaning as in the class diagram

  5. Communication Diagrams – rules When creating communication diagrams the following rules should be observed: • every message must be numbered and have a name indicating the operation to be executed by the object-recipient, • the necessary features of a message within the communication diagram are: message type and message direction, • in case of overflow of the diagram with messages an aggregated information can be made by grouping the messages of the same type and flow direction

  6. Communication Diagrams –basic concepts Classifier(actor, object, interface, package) Association Message

  7. Communication and Sequence Diagrams comparison of selected concepts

  8. Communication Diagrams – advanced concepts Multiple object Multiple objects represent a set of objects of a specified class Reference to multiple objects has an iterative character (can indicate iteration)

  9. Communication Diagrams – examples

  10. Communication Diagrams – examples

  11. Building a communication diagram Identification of classifiers Specification of relationships among classifiers and connecting them using associations Identification and naming of messages sent among classifiers Specification of types of messages and their numbering Adding advanced concepts (multiple objects, conditions, etc.) Optional aggregation of messages of same types and directions

More Related