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: [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]
           

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.
                    
   
b) Object Diagrams:
Shows instances  instead of Class
        

                                                 

4) Sequence Diagrams: [interaction diagrams]
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.

Popular posts from this blog

OBJECT ORIENTED ANALYSIS AND DESIGN (OOAD)

OBJECT ORIENTED PROGRAMMING

STARTING A BUSINESS