Chapter 7- structural Diagram.pptx

Chapter 7- structural Diagram.pptx - COMP 2920 Software...

Info icon This preview shows pages 1–16. Sign up to view the full content.

COMP 2920 : Software Architecture & Design
Image of page 1

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

Chapter Topics The essentials of structural modeling. Building blocks of structural modeling. Basic object-oriented concepts in the context of structural modeling. Discovering class candidates. Elaborating and defining classes. Relationships among classes. Class diagrams.
Image of page 2
8 - 3
Image of page 3

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

Building Blocks of Information Systems An information system must have a structure that supports the system’s behavior. The structure of an information system cannot be monolithic. A flexible and reliable structure, therefore, needs building blocks that satisfy the specific requirements of the structure. 8 - 4
Image of page 4
8 - 5
Image of page 5

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

Structural Modeling Structural modeling represents a view of the building blocks of a system or an entity and their interrelationships within a given scope . Common Traits of Structural Modeling View may be conceptual, logical or physical. Scope can be any relevant or selected range. A building block may be fine or coarse. 8 - 6
Image of page 6
8 - 7
Image of page 7

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

Classes As Object Templates In the virtual world of software, a class is: An abstraction of objects . A template for creating objects. 8 - 8
Image of page 8
8 - 9
Image of page 9

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

Classes As Building Blocks Classes are the building blocks of structural modeling (modeling is an abstraction of reality). Objects are the structural units of the actual information system (information system emulates reality). 8 - 10
Image of page 10
Objects As Black Boxes An information system object is a dynamic black box; it interacts with outside entities to provide services but conceals its inner workings. The internal structure of an object is known only to the object itself. 8 - 11
Image of page 11

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

Encapsulation Encapsulation is enclosing data and processes within one single unit. Encapsulation enables the object to enforce business rules with authority. Encapsulation results in two spaces: Private. Data and processes that are inside the object are labeled as “private.” Public . Whatever the object exposes — that is, makes visible to the outside world — is “public.” 8 - 12
Image of page 12
8 - 13
Image of page 13

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

Information Hiding Information hiding conceals the inner entities and the workings of the object from outside entities. The box metaphor for classes and objects emphasizes: encapsulation and information hiding. 8 - 14
Image of page 14
Interface As A Contract An object’s interface is a contract between the object and the entities that use it.
Image of page 15

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

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

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern