UML Weekend Crash Course™ - To Parent Directory

UML Weekend Crash Course™ - To Parent Directory UML Weekend Crash Course™ - To Parent Directory

crnarupa.singidunum.ac.rs
from crnarupa.singidunum.ac.rs More from this publisher
01.01.2015 Views

Session 3—How to Approach the UML 33 Encapsulation of an object requires you to hide: The implementation that provides the behavior requested through the interface The data within the object that provides the structure that supports its behavior, and tracks the condition of the object, its state, at any given point in time REVIEW The UML includes specifications for nine different diagrams used to document different perspectives of a software solution from project inception to installation and maintenance. Packages provide a means to organize your work. The Component and Deployment diagrams are specific to implementation. The remaining seven diagrams are used to model requirements and the design. Views provide a means of organizing these seven UML diagrams by their features and applications, thus making it easier to identify the right tool for the right job. The Functional View employs the Use Case and Activity diagrams to describe the behavior of the system. The Static View includes the Class and Object diagrams to define all the resources of the system. The Dynamic View includes the Sequence and Collaboration diagrams, also known as interaction diagrams, to define how objects work together to respond to the environment, and the Statechart diagram, which describes how and why an object changes over time. An object is an abstraction, a representation of something in the real world. An object can describe its own structure and its current state. An object knows what it can do and what can be done to it. Encapsulation defines a way to organize an object definition (a class). QUIZ YOURSELF 1. Why is the Static View called static (See “Static View.”) 2. Describe the purpose of the Class diagram. (See “Static View.”) 3. What diagrams are used to represent the Dynamic View (See “Dynamic View.”) 4. What is illustrated in the Sequence diagram (See “Dynamic View.”) 5. How can using multiple views help you (See “Three views.”) 6. What is an abstraction (See “Abstraction.”) 7. What does it mean to encapsulate an object (See “Encapsulation.”)

Session 3—How to Approach the <strong>UML</strong> 33<br />

Encapsulation of an object requires you to hide:<br />

The implementation that provides the behavior requested through the interface<br />

The data within the object that provides the structure that supports its behavior,<br />

and tracks the condition of the object, its state, at any given point in time<br />

REVIEW<br />

The <strong>UML</strong> includes specifications for nine different diagrams used to document different<br />

perspectives of a software solution from project inception to installation and maintenance.<br />

Packages provide a means to organize your work. The Component and Deployment diagrams<br />

are specific to implementation. The remaining seven diagrams are used to model requirements<br />

and the design. Views provide a means of organizing these seven <strong>UML</strong> diagrams by their features<br />

and applications, thus making it easier to identify the right tool for the right job.<br />

The Functional View employs the Use Case and Activity diagrams to describe the<br />

behavior of the system.<br />

The Static View includes the Class and Object diagrams to define all the resources of<br />

the system.<br />

The Dynamic View includes the Sequence and Collaboration diagrams, also known as<br />

interaction diagrams, to define how objects work together to respond to the environment,<br />

and the Statechart diagram, which describes how and why an object<br />

changes over time.<br />

An object is an abstraction, a representation of something in the real world.<br />

An object can describe its own structure and its current state.<br />

An object knows what it can do and what can be done to it.<br />

Encapsulation defines a way to organize an object definition (a class).<br />

QUIZ YOURSELF<br />

1. Why is the Static View called static (See “Static View.”)<br />

2. Describe the purpose of the Class diagram. (See “Static View.”)<br />

3. What diagrams are used to represent the Dynamic View (See “Dynamic View.”)<br />

4. What is illustrated in the Sequence diagram (See “Dynamic View.”)<br />

5. How can using multiple views help you (See “Three views.”)<br />

6. What is an abstraction (See “Abstraction.”)<br />

7. What does it mean to encapsulate an object (See “Encapsulation.”)

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

Saved successfully!

Ooh no, something went wrong!