Unified Modelling Language (UML)
UML (Unified Modelling Language]:
Unified Modelling Language (UML) is a visual modelling language used to specify, visualize, construct and document the artifacts of software systems.
1) Use case diagrams
2) Class diagrams
3) Packages and Object diagrams
4) Sequence diagrams
5) Collaboration diagrams
6) State chart diagrams
7) Activity diagrams
8) Component and deployment diagrams
1) Use case diagrams: [Actors, Usecases, Communications]
Actors -> Figures
Usecases -> Ovals
Communications -> Lines that link actors to use cases
2) Class diagrams:
a) Rectangles divided into three parts.
[Classname, Attributes, Operations]
b) Relationships between classes, are the connecting links.
c) Three types of relations.
[Association, Aggregate, Generalization]
[Classname, Attributes, Operations]
b) Relationships between classes, are the connecting links.
c) Three types of relations.
[Association, Aggregate, Generalization]
3) Packages and Object Diagrams:
a) Packages:
i) Packages appear as rectangles with small tabs at the top.
ii) Dependencies are represented as dotted lines.
4) Sequence Diagrams: [interaction diagrams]
a) Details how operations are carried out
b) What messages are sent and when
- are organized according to line.
a) Details how operations are carried out
b) What messages are sent and when
- are organized according to line.
5) Collaboration Diagrams: [interaction diagrams]
a) Rectangles are labelled with either class or object names (for both).
b) Class names are preceded by colons.
6) State Chart diagrams:
a) Objects have behaviours and state.
b) Shows the possible state of the object and the transitions that cause a change in the state.
7) Activity diagrams: [flowchart]
A single transition comes out of each activity, connecting it to the next activity.
8) Component and deployment diagrams:
a) A component is a code module.
b) Deployment diagrams show the physical configuration of hardware and software.