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
What is the relationship between a class and an object? A class acts as a blue-print that explains the properties, states, and behaviors that are common to a number of objects.

How can we load multiple tables in a DataSet? objCommand.CommandText = "Table1" objDataAdapter.Fill(objDataSet, "Table1") objCommand.CommandText = "Table2" o

how make the google sign up page?

I would like to develop a new website to compete with an existing one: greatandhra I would like the new website to be less flashy, more content driven and be inspired from below


What are the ways of parsing XML document? The XML parser sits in between the XML document and the application who want to use the XML document. The Parser exposes a set of wel

Very, Very Boards does a big business in shirts, especially for groups and teams. They need a project that will calculate the price for individual orders, as well as a summary for

Project Description: hi i need to develop a software scrapebox exect same with all Skills required: .NET, Java, C# Programming, Visual Basic, Visual Basic for Apps

What is the DataContext class and how is it related to LINQ? After you add a LINQ to SQL Classes item to a project and open the O/R Designer, the empty design surface shows an

Problem: (a) Define the term ViewState as used in the ASP.NET framework. (b) What is a StateBag class? Give a simple example to support your answer. (c) (i) Distingui