Ooad PPT Unit II
Ooad PPT Unit II
Phase-I Phase-II
❑ Classes
❑ Attributes
❑ Relationship
❑ Multiplicity
❑ Inheritance
❑ Packages and Modules
❑ Visibility & Access Control
Elaboration phase in static modeling
❑ Methods: Elaborate on the methods (member ▪ Methods: For instance, for a "BankAccount"
functions) associated with each class. Describe class, you might define methods like "Deposit,"
their functionality, parameters, and return types. "Withdraw," and "CheckBalance."
15 September 14,
2024
How to find Conceptual classes ?
❑ Brainstorming: ❑ Observation:
❑ Method: Organize brainstorming
❑ Method: Observe real-world
sessions or workshops with
processes and objects related to the
stakeholders to elicit and define
problem domain, taking note of
relevant concepts.
entities and concepts.
❑ Example: In an educational
software project, brainstorming ❑ Example: For a transportation
might reveal conceptual classes like management system, observations
"Course," "Student," and "Teacher." might lead to the identification of
"Vehicle," "Route," and "Driver" as
conceptual classes.
❑ Method: Construct
❑ Method: Go through textual entity-relationship diagrams to
descriptions, identifying nouns and visualize entities (conceptual
noun phrases, and classify them as classes) and their relationships.
potential conceptual classes.
❑ Example: In a social networking ❑ Example: In a database modeling
platform, nouns like "Profile," context, an ERD might reveal
"Friend," and "Post" can be conceptual classes like "Employee,"
classified as conceptual classes. "Department," and "Project."
21 September 14,
2024
How to find Description classes ?
❑ Link ❑ Association
❑ A link represents a connection
through which an object ❑ Association is a group of links
collaborates with other objects. having common structure and
common behavior.
❑ Rumbaugh has defined it as “a ❑ Association depicts the relationship
physical or conceptual connection between objects of one or more
between objects”. classes.
❑ Through a link, one object may ❑ A link can be defined as an instance
invoke the methods or navigate of an association.
through another object. A link
depicts the relationship between
two or more objects.
27 BCA-V September 14,
2024
Degree of an Association
❑ Cardinality Ratios of Associations
denotes the number of instances
participating in an association. There
❑ Degree of an Association: denotes the are three types of cardinality ratios,
number of classes involved in a namely −
connection.
❑ One–to–One − A single object of
Degree may be unary, binary, or ternary.
class A is associated with a single
❑ A unary relationship connects objects of object of class B.
the same class.
❑ A binary relationship connects objects of ❑ One–to–Many − A single object of
two classes. class A is associated with many
objects of class B.
❑ A ternary relationship connects objects of
three or more classes. ❑ Many–to–Many − An object of class
A may be associated with many
28 BCA-V September 14,
objects of class B and conversely an
2024 object of class B may be associated
many-to-many relationship
38 September 14,
2024
39
40
41
Domain model refinement
45 September 14,
2024
DMR-process (Banking system)
47 September 14,
2024
Conceptual Class Hierarchy
48 September 14,
2024
Conceptual Class Hierarchy
50 September 14,
2024
Conceptual Class Hierarchy
51 September 14,
2024
52
Thank you
END of UNIT-II