Please enable JavaScript.
Coggle requires JavaScript to display documents.
Object-Oriented Paradigm - Coggle Diagram
Object-Oriented Paradigm
-
4.2.2 Relationships
-
-
At the static (logical) level,
the relationships among classes are described
-
4.2.2.2Aggregation
-
In UML, aggregation is represented using a hollow diamond arrowhead
-
4.2.2.3 Association
-
-
In UML, an association is represented by a solid line and it has the following parts: name of the association, end type at each end of the association link, and multiplicity at each end
4.2.2.4 Inheritance
In an OO design, very often two or more classes may have a large set of attributes and operations in common
In UML, the inheritance relationship is represented using a line with a closed arrowhead
If the line is dashed, it is a realization relationship.
-
-
4.4 OO Design
-
There are numerous design approaches, including structured design, datadriven design, event-driven design, real-time design, and others
-
OO design can be split into two stages: high-level (conceptual) design and low-level (detailed) design
In high-level design, all classes needed for building the system are identified and each class is assigned a certain responsibility
-
Based on the analysis of use cases, interaction
diagrams also are drawn to depict the flow of events
In low-level
design, attributes and operations are assigned to each class based on the interaction diagrams
-
-
-
-
-
4.5 Design Principles
-
4.5.2 Ensuring Cohesion
-
While coupling involves two or more classes, cohesion is about the design of a single class
-
If a class performs unrelated operations, it is said to lack cohesion
-