Unified Modeling Language (UML)
#2
[attachment=10541]
AIM:
To study the basic concepts of Unified Modeling Language
DESCRIPTION:
The heart of object-oriented problem solving is the construction of a model. The model abstracts the essential details of the underlying problem from its usually complicated real world. Several modeling tools are wrapped under the heading of the UML™, which stands for Unified Modeling Language™. The purpose of this course is to present important highlights of the UML.
UML NOTATION
• Unified Modeling Language.
• Set of notations and conventions used to describe and model an application.
• Universal language for modeling systems.
• Standard notation for OO modeling systems.
• Does not specify methodology to develop an application.
At the center of the UML are its nine kinds of modeling diagrams, which we describe here.
• Use case diagrams
• Class diagrams
• Object diagrams
• Sequence diagrams
• Collaboration diagrams
• State chart diagrams
• Activity diagrams
• Component diagrams
• Deployment diagrams
Some of the sections of this course contain links to pages with more detailed information. And every section has short questions. Use them to test your understanding of the section topic.
Why is UML important?
Let's look at this question from the point of view of the construction trade. Architects design buildings. Builders use the designs to create buildings. The more complicated the building, the more critical the communication between architect and builder. Blueprints are the standard graphical language that both architects and builders must learn as part of their trade.
Writing software is not unlike constructing a building. The more complicated the underlying system, the more critical the communication among everyone involved in creating and deploying the software. In the past decade, the UML has emerged as the software blueprint language for analysts, designers, and programmers alike. It is now part of the software trade. The UML gives everyone from business analyst to designer to programmer a common vocabulary to talk about software design.
The UML is applicable to object-oriented problem solving. Anyone interested in learning UML must be familiar with the underlying tenet of object-oriented problem solving -- it all begins with the construction of a model. A model is an abstraction of the underlying problem. The domain is the actual world from which the problem comes.Models consist of objects that interact by sending each other messages. Think of an object as "alive." Objects have things they know (attributes) and things they can do (behaviors or operations). The values of an object's attributes determine its state.
Classes are the "blueprints" for objects. A class wraps attributes (data) and behaviors (methods or functions) into a single distinct entity. Objects are instances of classes.
Use case diagrams:
Use case diagrams describe what a system does from the standpoint of an external observer. The emphasis is on what a system does rather than how.
Use case diagrams are closely connected to scenarios. A scenario is an example of what happens when someone interacts with the system. Here is a scenario for a medical clinic.
"A patient calls the clinic to make an appointment for a yearly checkup. The receptionist finds the nearest empty time slot in the appointment book and schedules the appointment for that time slot. "
A use case is a summary of scenarios for a single task or goal. An actor is who or what initiates the events involved in that task. Actors are simply roles that people or objects play. The picture below is a Make Appointment use case for the medical clinic. The actor is a Patient. The connection between actor and use case is a communication association (or communication for short).
Actors are stick figures. Use cases are ovals. Communications are lines that page link actors to use cases.
A use case diagram is a collection of actors, use cases, and their communications. We've put Make Appointment as part of a diagram with four actors and four use cases. Notice that a single use case can have multiple actors.
Use case diagrams are helpful in three areas:
• Determining features (requirements). New use cases often generate new requirements as the system is analyzed and the design takes shape.
• Communicating with clients. Their notational simplicity makes use case diagrams a good way for developers to communicate with clients.
• Generating test cases. The collection of scenarios for a use case may suggest a suite of test cases for those scenarios.
Class diagrams
A Class diagram gives an overview of a system by showing its classes and the relationships among them. Class diagrams are static -- they display what interacts but not what happens when they do interact.
The class diagrams below models a customer order from a retail catalog. The central class is the Order. Associated with it are the Customer making the purchase and the Payment. A Payment is one of three kinds: Cash, Check, or Credit. The order contains Order Details (line items), each with its associated Item.
UML class notation is a rectangle divided into three parts: class name, attributes, and operations. Names of abstract classes, such as Payment, are in italics. Relationships between classes are the connecting links.
Our class diagram has three kinds of relationships.
• association -- a relationship between instances of the two classes. There is an association between two classes if an instance of one class must know about the other in order to perform its work. In a diagram, an association is a page link connecting two classes.
• aggregation -- an association in which one class belongs to a collection. An aggregation has a diamond end pointing to the part containing the whole. In our diagram, Order has a collection of OrderDetails.
• generalization -- an inheritance page link indicating one class is a superclass of the other. A generalization has a triangle pointing to the superclass. Payment is a superclass of Cash, Check, and Credit.
An association has two ends. An end may have a role name to clarify the nature of the association. For example, an OrderDetail is a line item of each Order.
A navigability arrow on an association shows which direction the association can be traversed or queried. An OrderDetail can be queried about its Item, but not the other way around. The arrow also lets you know who "owns" the association's implementation; in this case, OrderDetail has an Item. Associations with no navigability arrows are bi-directional.
The multiplicity of an association end is the number of possible instances of the class associated with a single instance of the other end. Multiplicities are single numbers or ranges of numbers. In our example, there can be only one Customer for each Order, but a Customer can have any number of Orders.
Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Popular Searches: modeling, unified library application case study, modeling shayri fressher party, collagemanagement sysyem uml daigram, modeling school in new york, language proficiency, labhla xmi taurus,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Messages In This Thread
RE: Unified Modeling Language (UML) - by seminar class - 19-03-2011, 09:57 AM

Possibly Related Threads...
Thread Author Replies Views Last Post
  UML PROJECT FOR EVENT MANAGEMENT SYSTEM bansari 1 2,610 02-05-2013, 10:08 AM
Last Post: computer topic
  OWL Web Ontology Language computer science crazy 1 2,720 09-05-2011, 04:34 PM
Last Post: sdash
  SMIL- Synchronized Multimedia Integration Language seminar class 0 1,973 19-04-2011, 09:45 AM
Last Post: seminar class
  VHDL (VHSIC Hardware Description Language) seminar class 0 1,610 11-04-2011, 12:08 PM
Last Post: seminar class
  Application System Modeling Data Modeling through ER Model seminar class 0 2,020 31-03-2011, 12:12 PM
Last Post: seminar class
  XBL eXtensible Bindings Language computer science crazy 1 2,134 17-01-2011, 12:37 PM
Last Post: G Prathyusha
  An Algorithm for Language Independent Speaker Identification projectsofme 0 1,628 24-11-2010, 05:16 PM
Last Post: projectsofme
  JHDL (Java Hardware Description Language) computer science crazy 1 2,495 20-02-2010, 08:15 PM
Last Post: shankar.legend
  Ovonic Unified Memory (OUM) computer science crazy 0 1,679 23-09-2008, 12:44 AM
Last Post: computer science crazy

Forum Jump: