- Objects:
- A real world element in object oriented environment, that may have physical or conceptual existence.
- Classes:
- Blueprint or description of objects, that can be created from it.
- Problem solving process:
- Requirements Analysis
- Design
- Implementation
- Delivery
-
The Unified Modeling Language (UML) is a standard graphical language for modeling object-oriented software.
-
As UML is a graphical language, it supports two types of diagrams which can be classified as:
- Structural:
- The structural Diagrams are used to create a static model of the software.
- That is it gives an idea, what all components build up the system.
- Behavioral:
- The Behavioral Diagrams are used to create a dynamic model of the software.
- It tells how the different components or modules interact with each other.
- Structural:
-
Some of the structural and behavioral diagrams supported by UML are:
-
- A class diagram in the Unified Modeling Language (UML) is a type of structural diagram that describes the structure of a system by showing the System's Classes, their Attributes, Operations (or methods), and the relationships among objects.
- In a class diagram a class is represented with the help of a rectangular box having three partitions:
-
Relationships:
- The connection between the two classes in a class diagram is called Relationship. A class may be involved in one or more relationships with other classes.
-
Association:
-
Multiplicity:
-
Generalization/Inheritence:
-
Aggregation:
- In UML, use case diagrams are high level diagrams.
- It provides a basic high level view about the system.
- Four major components are:
-
System:
- The application/software component we are going to develop.
-
Actor:
-
Use-Case:
- Shows task within the system. Example: Registration, Login, Search, etc.
-
Relationship:
-
Relationship are represented by solid line from actors to use-case.
-
Types:
- Association (between actors and use-case)
- Inclusive (base use-case -> inclusive use-case)
- Dependent
- Inheritance
-
-