Please enable JavaScript.
Coggle requires JavaScript to display documents.
Structural Modeling Design - Coggle Diagram
Structural Modeling Design
CRC Cards
CRC cards are used to document the responsibilities and collaborations of a class
Responsibilities
Knowing responsibilities are those things that an instance of a class must be capable of knowing
Doing responsibilities are those things that an instance of a class must be capable of doing
Collaborations allow the analyst to think in terms of clients, servers, and contracts.
Structural Modeling
A structural model is a formal way of representing the objects that are used and created by a business system
In analysis, analysts draw a conceptual model, which shows the logical organization of the objects without indicating how the objects are stored, created, or manipulated.
Basic elements of structural models: Classes, Attributes, Operations and Relationships
Using these techniques: Class Diagram, CRC Card, Object Diagram
Creating Class Diagram
Top-down Analysis
Identify and model classes
Identify and model associations
Define attributes
Bottom-up Analysis
Formulate queries and inputs
List required queries and inputs
Conduct information analysis
Consolidate class diagrams
Verify the class diagrams
Class & Method Design
Design Criteria
Object Design Activities
Constraints and Contracts
Method Specification
Class Diagram
A primary purpose of a class diagram is to show the relationships, or associations, that classes have with one another
A class may be involved in one or more relationships
with other classes
Class Relationships
Association
Association Classes
Aggregation
Composition
Generalizations (or Inheritance)
Object Diagram
An object diagram is essentially an instantiation of all or
part of a class diagram
Purpose of an object diagram
It is used to describe the static aspect of a system
It is used to represent an instance of a class
It can be used to perform forward and reverse engineering on systems
It is used to understand the behavior of an object
It can be used to explore the relations of an object and can be used to analyze other connecting objects