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 Thread.Sleep() The Thread's execution can be paused by calling Thread.Sleep method. This Thread.Sleep() method takes an integer value which  determines how long the thr

Project Description: I need a SharePoint Developer tutor to teach me the development of SharePoint from scratch. We will be communicating through TeamViewer and Skype. I have ac

What is lazy initialization? Lazy initialization is a process by which an object is not initialized until it is first called in your code. The .NET 4.0 introduces a new wrapper

Name the control that exposes the LINQ features to Web developers through the ASP.NET data-source control architecture. The LinqDataSource control exposes the LINQ features to

Differentiate between Boxing and Unboxing. When a value type is changed to an object type, the process is known as boxing; while, when an object type is changed to a value type

Question: (a) Write extract codes to show the structure of the Global.asax file. (b) Outline four classes that allow you to work with File Streams. (c) When working with

What are major events in GLOBAL.ASAX file? The Global.asax file, which is derived from the HttpApplication class, maintains a pool of the HttpApplication objects, & assigns the

What is cloud computing? The cloud computing is the computing which is completely based on the Internet. It can also be explained as the next stage in the evolution of the Inte

Finding Maximum & Minimum Numbers - C# Program I am facing some problems in the code for Finding Maximum & Minimum Numbers. Can anybody suggest me the proper code for it.

Project Description: I have a basic C# control interface that I want to be accessed remotely. Possible implementation using wrappers. Skills required are C# Programming, Webs