![]() If a UML-related topic is not covered there, it is probably not all that necessary to cover it. ![]() For a more comprehensive explanation of UML, we recommend our favorite book on the topic, Martin Fowler’s UML Distilled: A Brief Guide to the Standard Object Modeling Language (Third Edition), which we referenced earlier in the chapter. In doing so, though, it might happen that one actor or two use cases appear in different diagrams.Īs mentioned, this chapter is not attempting to cover all aspects of UML. For this reason, you might want to create three distinct use-case diagrams. Putting everything in a single use-case diagram will likely make the diagram overly complex and hard to read. This is normally done to augment clarity and readability.Īs an example, imagine a scenario where you have 10 use cases (essentially, interactions with the system) and 4 actors (essentially, people or objects that interact with the system). At the same time, the same element (that is, the same use case or the same actor) can appear in multiple instances of the same diagram. Note that a UML document can contain multiple instances of the same diagram type-for example, multiple use-case diagrams. Shows what actors perform which action in the systemįigure 2-2, on the other hand, offers a hierarchical view of the UML diagrams. Shows the behavior of objects in a period of time ![]() Shows how the state of objects changes after events Shows how classes are split into logically related groups Shows a view of the system at a particular time Shows how components are mapped to hardware resources Shows classes, interfaces, and relationships within a system Shows the flow of operations in an activity Table 2-2 lists all UML diagrams available. Behavioral diagrams show collaborations among objects as required by the system. ![]() Structural diagrams define classes as well as their attributes, operations, and relationships. UML 2.0 has 13 different types of diagrams, articulated in two groups: structural and behavioral. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |