Session 21 Flashcards
Object Modeling
Technique for identifying object w/in the systems enviro & the relationships btw the objects
Whats OOAD
Object Oriented Analysis and Design
Approach of using object modeling during systems analysis and design
What are the advantages of OOAD
- Small semantic gap since real world occurrences directly mapped to objects in model
(reduces the “translation gap” between how things work in the real world and how we model them in software) - Combination of process and data modeling
( merges what the system does (process) with what the system knows (data) into a single view.) - Improved communication btw users, analysts, designers, and programmers
(creates models that are easier for everyone to understand, not just programmers) - Represents commonality among system components
(uses inheritance and abstraction to capture shared features among different components.) - Reusability of analysis, design, and programming results
(Once an object or class is defined, it can often be reused in other systems) - Increased consistency among models developed during analysis, design and programming
(The same concepts (objects, classes, methods) are used across all phases of development.)
Whats an object
An abstraction of something in a problem domain
An entity with a well-defined boundary
Whats an attribute
Characteristics of an object
What are operations
Things that objects can do and
functions that act on the object’s attribute
Either command/question
What is a class?
A description of a group of objects with common attributes, operations, and relationships
Can a question change the state of an object?
no
Can a command change the state of an object
Yes
What are the types of relationships
Association and Generalization
What association
Models a semantic connection among
classes
Represents structural relationships between classes
Whats generalization/inheritance
A relationship among classes where subclasses share the attributes and operations of superclasses
Defines a hierarchy of abstractions in which a subclass inherits from one or more superclasses
What is inherited?
Attributes
Operations
Relationships