Types of diagrams in uml, DOT NET Programming

How many types of diagrams are there in UML?

There are nine types of diagrams in the UML as shown below:-

1)Use case diagram:

The use case diagram describe "WHAT" of a system rather than "HOW" the system does it.They are used to identify the primary elements and processes that form the system. The primary elements are known as "actors" and the processes are known as "use cases". The Use Case diagrams shows "actors" and there "roles".

2)Class diagram:

From the use case diagram we can now go to the detail design of system, for which the primary step is class diagram. The best way to identify the classes is to consider all "NOUNS" in use cases as classes, the "VERBS" as the methods of classes, relation between actors can then be used to define the relation b/w classes. The relationship or association b/w the classes can be either an "is-a" or "has-a" relationship that can easily be identified from use cases.

3)Object diagram:

An object is an instance of a class. The Object diagram captures the state of classes in the system and their relationships or associations at a specific point of time.

4)State diagram:

In the  state diagram, as the name suggests, represents the various states that objects in the system undergo during their life cycle. The Object change in response to certain simulation so this simulation effect is captured in the state diagram. So basically it has a initial state & final state and events that happen in b/w them. Whenever you think that some simulations are complicated you can go for this diagram.

5)Sequence diagram:

The Sequence diagrams can be used to explore the logic of a complex operation, function, or procedure. They are known as sequence diagrams as sequential nature is shown via ordering of messages. The First message starts at the top and the last message ends at bottom. The important aspect of a sequence diagram is that it is time-ordered. That means that the exact sequence of the interactions b/w the objects is represented step by step. The Different objects in the sequence diagram interact with each other by passing "messages".

6)Collaboration diagram:

The collaboration diagram groups together the interactions b/w various objects to fulfill a common purpose.

7)Activity diagram:

The Activity diagram is typically used for the business process modeling, for visualizing the detailed logic of a business rule, , or for modeling the logic captured by a single use case.The Complicated process flows in the system are captured in the activity diagram. In Similar to a state diagram, an activity diagram also consists of activities,transitions, actions,  initial and final states, and guard conditions. But difference in the state diagrams is in context of simulation while activity gives detail view of the business logic.

8)Deployment diagram:

The Deployment diagrams show the hardware for your system, the software that is installed on that hardware, &  the middleware used to connect the disparate machines to one another. It shows how the h/w and s/w work together to run a system. In one line its shows the deployment view of the system.

9)Component diagram:

The component diagram represents the high-level parts that make up the system. From the  .NET angle point of view they form the "NAMESPACES". This diagram depicts, at a high level, what components form part of the system and how they are interrelated. Its shows the logical grouping of classes or group of other components.

Posted Date: 9/24/2012 3:14:27 AM | Location : United States

Related Discussions:- Types of diagrams in uml, Assignment Help, Ask Question on Types of diagrams in uml, Get Answer, Expert's Help, Types of diagrams in uml Discussions

Write discussion on Types of diagrams in uml
Your posts are moderated
Related Questions
Help with making a wrapper in c# for ffmpeg to extract audio from video

PhotoHandler add-on to display file names Project Description: I want a website with a photo gallery using PhotoHandler. I need the code added/ modified to display the image

i want to know the code for adding new item button in .net forms and delete button in vb.net forms. can any one pls help

Image Generator (Ngen.exe) The Ngen.exe (Native Image Generator) allows you to run the JIT compiler on your assembly's MSIL and generate native machine code which is cached to

I want Web Social Apps/ site Project Description: I need a web designer have a specific unique project in mind.  Skills required are C# Programming, Cocoa, Mac OS, iPhone,

What is DISCO? The Web Service Description Language (WSDL) is a W3C specification which defines the XML grammar for describing the Web Services.XML grammar describes details li

Explain memory-mapped files. Memory-mapped files (MMFs) permit you map the content of a file to the logical address of an application. These files enable the multiple processes

Project Description: I have a site that's previously fully developed, and need to fix some small problems (Text editor posting error, and a Server error caused by some Nhibernat

Construct a .NET wrapper for a C++ Dll - repost Project Description: We have a classic VC++ Dll (source code of DLL not required) that requires a .NET wrapper built by you. U

How to clear a datagrid on a button click? You require to Clear the DataSource of the dadaGrid. So try this: dataSet1.Clear(); dataGrid1.DataSource = dataSet1.TableNam