Class Diagrams
Class Diagrams
Class Diagrams
• Class diagrams are the most common UML diagrams found in modeling
object- oriented systems. Because they can directly be mapped onto
object oriented languages
• This diagram describes the types of objects in the system and
various kinds of static relationships which exist between them.
• A class diagram shows a set of classes, interfaces, and collaborations
and their relationships.
• You use class diagrams to model the static design view of a system.
• Employee id, name, DOA, DOB, join(),retire(), changedetails
Domain Class model
• Domain model is a visual representation of conceptual
classes or real situation objects in a domain.
• The domain models are also called conceptual, domain
object or analysis models
• Domain models focus on explaining the core things and the
products of the business domain
• In UML modelling, the domain model can be represented
using a class diagram but in these diagrams there is no
operation that is defined.
• The domain model therefore represents the domain objects
or conceptual classes AND association or relationship
Attributes of conceptual classes
• Bank(name, branch, city
• Customer ( name address ac)
• Account (status,cno.)
Example: domain model
Design class models