Chapter 11 – The Object-Oriented Approach to Design: Use Case RealizationSolutions to End-of-Chapter MaterialReview Questions1. Which three models are most used to do object-oriented design?Design class diagrams, interaction diagrams, and package diagrams are the three models that are used to capture design specifications. 2. Why do we say that design is “use-case driven?”Design is done on a use case-by-use case basis. Each use case is considered and designed independently of the other use cases. 3. Four icons, or shortcuts, can be used to depict different types of classes. List the four icons, describe what each means, and show the symbol for each.An entity classis the design identifier for a problem domain class. Its icon is a circle on a flat plate. CustomerA boundary classis a class that is specifically designed to live on the system’s automation boundary. Its icon is a circle with a T attached to the side. OrderWindowA control classis a class that mediates between the boundary classes and the entity classes. Its icon is a circle with an attached arrow. UseCaseHandlerA data access classis a class that is used to retrieve data from and send data to a database. Its icon is a circle with two extended arms.

This
preview
has intentionally blurred sections.
Sign up to view the full version.

OrderDBReader4. List the elements included in a method signature. Give an example of a method signature with all elements listed correctly. A method signatureshows all of the information needed to invoke (or call) the method. It shows the format of the message that must be sent, which consists of the following:method visibility, method name, type-expression, and method parameter list (incoming arguments). Example: +calculateAmount : float (startDate, endDate)5. What is the notation used to indicate a stereotype? Show an example of a stereotyped class. The notation for a stereotype is the name of the stereotype surrounded by guillemets. «boundary»OrderWindow6. What is meant by navigation visibility? How is it shown in UML? How is it implemented in programming code? Navigation visibility is the ability for one object to view and interact with another object. With navigation visibility, a class can access the methods of another class.

This is the end of the preview.
Sign up
to
access the rest of the document.