Monday, April 13, 2015

CHAPTER - 4 [Basic notations in UML]

When we talk about UML notations it is important to have a clear idea on different types of notations because once we draw those blue prints we should be able to read those and get a clear idea about the system. 
Following chart will show you what are the different types of notations we can use while we are in to UML designing.

1. Structural

Notations used in structural category are mostly used in UML diagrams. They are,

  • Class
  • Object
  • Interface
  • Use-case
  • Collaboration
  • Component
  • Node
  • Active class
  • Actor
  • Initial state
  • Final state

Class

Classes are used to represent objects (Properties and responsibilities).



Object

Object notation is as same as class notation. The only difference is, name is underlined.




Interface

Interface is used to define functionality without implementation.



Use-case

This notation is used to identify high level functionality in the system.


Collaboration

Collaboration represents responsibilities.


Component

A component is used to represent any part of the systems which UML s are made.


Node

A node represents any physical part of a system.



Active-class

Concurrency in a system will be notified through active-class notation.


Actor

This is used in use-case diagrams to represent the participants of a system.






Initial state

This notation shows the starting point of a process.





Final state

This notation shows the termination of a process.



2. Behavioral

To represent the dynamic parts of a system these notations are used.


  • Interaction
  • State machine


Interaction

Interaction notation consists of two types ,sequential and collaborative. Basically it represents all types of communication within a system.



State machine

State machine notation represents the state of system component. So it can be either active or idle.




3. Grouping

Package

This is used to wrap the components of a system.


You and add additional information under components for further clarification.


4. Annotational

This is the note notation of UML diagrams to explain additioanl/ different elements of a system.

Note

Note notation will provide necessary information when needed.


5. Relationship

A UML is incomplete without relationships and it will give a meaningful ideas to UML diagrams.

Dependancy

This shows the dependency of element of a systems and its direction of dependency.


Association

It describes how many elements are there in an association and how they are interacted. 



Generalization

In simple words it is parent child relationship.It describes the inheritence relationship between elements.


Extensibility

Extensibility is like a mechannism of extending its capabilities like syntax etc:. There are three (3) main mechanism of extending.

  • Stereo types - Represents new elements
  • Tagged values - Represents new attributes
  • Contraints - Represents boundaries

  





No comments:

Post a Comment