Unified Modeling Language (UML). WTH?  

Posted by: ShaMei in

       UML stands for Unified Modeling Language. It is an industry standard modeling language with a rich graphical notation, and comprehensive set of diagrams and elements. The goal is for UML to become a common language for creating models of object oriented computer software.
In its current form UML is comprised of two major components: a Meta-model and a notation.
UML is unique in that it has a standard data representation. This representation is called the meta-model. The meta-model is a description of UML in UML. It describes the objects, attributes, and relationships necessary to represent the concepts of UML within a software application. This provides CASE manufacturers with a standard and unambiguous way to represent UML models. Hopefully it will allow for easy transport of UML models between tools. It may also make it easier to write ancillary tools for browsing, summarizing, and modifying UML models. A deeper discussion of the meta-model is beyond the scope of this column. Interested readers can learn more about it by downloading the UML documents from the rational web site.
The UML notation is rich and full bodied. It is comprised of two major subdivisions. There is a notation for modeling the static elements of a design such as classes, attributes, and relationships. There is also a notation for modeling the dynamic elements of a design such as objects, messages, and finite state machines.
Here are some diagrams of UML: The Use-Case Diagram, Class diagram, Sequence Diagram, Statechart Diagram, Activity Diagram, Component Diagram and Deployment Diagram.
The class diagram shows how the different entities (people, things, and data) relate to each other; in other words, it shows the static structures of the system.


         Sequence diagrams show a detailed flow for a specific use case or even just part of a specific use case. They are almost self explanatory; they show the calls between the different objects in their sequence and can show, at a detailed level, different calls to different objects.

A sequence diagram has two dimensions: The vertical dimension shows the sequence of messages/calls in the time order that they occur; the horizontal dimension shows the object instances to which the messages are sent.


The Statechart diagram models the different states that a class can be in and how that class transitions from state to state. It can be argued that every class has a state, but that every class shouldn't have a statechart diagram. Only classes with "interesting" states — that is, classes with three or more potential states during system activity — should be modeled.

Activity diagrams show the procedural flow of control between two or more class objects while processing an activity. Activity diagrams can be used to model higher-level business process at the business unit level, or to model low-level internal class actions. In my experience, activity diagrams are best used to model higher-level processes, such as how the company is currently doing business, or how it would like to do business. This is because activity diagrams are "less technical" in appearance, compared to sequence diagrams, and business-minded people tend to understand them more quickly.
An activity diagram's notation set is similar to that used in a statechart diagram. Like a statechart diagram, the activity diagram starts with a solid circle connected to the initial activity. The activity is modeled by drawing a rectangle with rounded edges, enclosing the activity's name. Activities can be connected to other activities through transition lines, or to decision points that connect to different activities guarded by conditions of the decision point. Activities that terminate the modeled process are connected to a termination point (just as in a statechart diagram).


The deployment diagram shows how a system will be physically deployed in the hardware environment. Its purpose is to show where the different components of the system will physically run and how they will communicate with each other. Since the diagram models the physical runtime, a system's production staff will make considerable use of this diagram.

REFERRENCES
Robert C. Martin

Shara F. Barcelo

BSCS 3-1

This entry was posted on 11:22 PM and is filed under . You can leave a response and follow any responses to this entry through the Mag-subscribe sa: I-post ang Mga Komento (Atom) .

0 (mga) komento

Mag-post ng isang Komento