Date:
AIM:
General study of UML
Description:
The heart of object oriented problem solving is the construction of a model.
The model abstracts the essential details of the underlying problem.
Several modeling roots are wrapped under UML.
What is UML?
UML (Uniform Modeling Language) has emerged as the software blueprint language for analysts, designers and programmers alike. It provides common vocabulary to talk about software design.
UML is applicable to object oriented problem solving. The underlying level of object oriented problem solving is the construction of a model.
Model:
It is an abstraction of the underlying problem.
Model consists of objects that interact by sending each other message.
Every object has attributes and they can do operations. The value of an object attribute determines the state.
Classes are blueprints for objects.
There are 8 kinds of modeling diagrams:
1. USE CASE DIAGRAM: A Use case is a set of scenario that describes an interaction between user and a system. A Use case diagram displays the relationship among Actors and Use cases.
There are two main components of Use case diagrams are:
Use cases Functions
Actors-User
2. SEQUENCE DIAGRAM: It describes the behavior of a system by viewing the interaction between the system and its environment.
Sequence diagram has two dimensions:
Vertical dimension represents the life time.
Horizontal dimension represents the object.
3. CLASS DIAGRAM: It represents the class name, attributes and list of methods which are going to use the software development process.
4. ACTIVITY DIAGRAM: Activity diagrams focus on the flow of activities involved in a single process and the dependencies of the activity on them.
5. COLLABORATION DIAGRAM:
Collaboration diagrams are also interaction diagrams. They focus on object roles instead of the time that messages are sent.
6. STATE DIAGRAM:
State chart