01.01.2015 Views

UML Weekend Crash Course™ - To Parent Directory

UML Weekend Crash Course™ - To Parent Directory

UML Weekend Crash Course™ - To Parent Directory

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

326<br />

Appendix A<br />

15. A Sequence diagram only models one scenario. An object may participate in many<br />

scenarios. So you need to use all the Sequence diagrams in which the object participates<br />

to build one complete Statechart diagram for the object.<br />

16. The Package diagram may be used just like any directory structure, to hold files of<br />

any type including <strong>UML</strong> diagrams, documentation, and sample documents. The<br />

most common usage is to organize the parts of the system into subsystems and<br />

finally down to the Class diagrams that model the resources of the system.<br />

17. The package stereotype helps to characterize the usage of the package. For<br />

example, the stereotype describes a package that will only<br />

contain classes and other packages that describe the makeup of the system. The<br />

stereotype characterizes the package as a repository for project<br />

work products.<br />

18. The dependency arrow shows that one or more classes in one package needs to<br />

interact with a class or classes in another package. The direction of the arrow indicates<br />

who has the need (the base of the arrow) and who supplies the help (the<br />

head of the arrow).<br />

19. The dependency stereotype describes the nature of the dependency. The<br />

stereotype indicates that at run time the dependent package will<br />

bring the class from the other package into itself to use along with its own classes.<br />

The stereotype indicates that the dependent package will want to call<br />

on the class or classes at run time without bringing them into itself.<br />

20. A package typically only contains other packages, a Class diagram.<br />

But it may contain any of the <strong>UML</strong> diagrams.<br />

21. Components represent the physical implementations of your software design.<br />

22. Deployment components, which are required to run the system. Work product<br />

components including models, source code, and data files used to create deployment<br />

components. Execution components, components created while running the<br />

application.<br />

23. One way to draw a component interface is to use a class with the stereotype<br />

attached to the component with a realization relationship. A second,<br />

more common technique, is to use a “lollipop” attached to the component by<br />

a realization relationship, which is shown simply as a solid line when the lollipop<br />

notation is used.<br />

24. Dependencies between components are drawn with the dashed arrow from the<br />

dependent component to the component it needs help from.<br />

25. A component may be built from one or more classes. The interfaces of the classes<br />

in the component make up the interface to the component.<br />

26. A node is a physical object that represents a processing resource. Most often, this<br />

means a computer of some type, but it may also mean a human resource.<br />

27. The connections are modeled as associations. The association is labeled with a<br />

stereotype that describes the type of connection.<br />

28. A node may contain components and objects (that is, only run time resources).<br />

29. An association between nodes represents a physical communication path like a<br />

cable. The dependency between components is a logical communication requirement.<br />

This is why the mapping of the components onto the nodes is so valuable.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!