UML is a standard language for specifying, visualizing, constructing, and documenting the artifacts of software systems.
UML stands for Unified Modeling Language.
The building blocks of UML can be defined as:
Things
Relationships
Diagrams
Things:
Things are the most important building blocks of UML. Things can be:
Structural
Behavioral
Grouping
Annotational
Structural things:
Class
Interface
Collaboration
Use case
Component
Node
Behavioral things:
Interaction
State machine
Grouping things:
Package
Annotational things:
Note
Relationship :
There are four kinds of relationships available.
Dependency:
Dependency is a relationship between two things in which change in one element also affects the other one.
Dependency
Association:
Association is basically a set of links that connects elements of an UML model. It also describes how many objects are taking part in that relationship.
Generalization:
Generalization can be defined as a relationship which connects a specialized element with a generalized element. It basically describes inheritance relationship in the world of objects.
Realization:
Realization can be defined as a relationship in which two elements are connected. One element describes some responsibility which is not implemented and the other one implements them. This relationship exists in case of interfaces.
(3) UML Diagrams:
UML diagrams are the ultimate output of the entire discussion. All the elements, relationships are used to make a complete UML diagram and the diagram represents a system.
The visual effect of the UML diagram is the most important part of the entire process. All the other elements are used to make it a complete one.
Class diagram
Object diagram
Use case diagram
Sequence diagram
Collaboration diagram
Activity diagram
Statechart diagram
Deployment diagram
Component diagram
0 comments:
Post a Comment