Sie sind auf Seite 1von 6

What is UML?

UML stands for Unified Modeling Language. This object-oriented system of notation has evolved from the work of
Grady Booch, James Rumbaugh, Ivar Jacobson, and the Rational Software Corporation. These renowned computer
scientists fused their respective technologies into a single, standardized model. Today, UML is accepted by the Object
Management Group (OMG) as the standard for modeling object oriented programs.
Types of UML Diagrams
UML defines nine types of diagrams: class (package), object, use case, sequence, collaboration, statechart, activity,
component, and deployment.
Class Diagrams
Class diagrams are the backbone of almost every object oriented method, including UML. They describe the static
structure of a system.

Package Diagrams
Package diagrams are a subset of class diagrams, but developers sometimes treat them as a separate technique.
Package diagrams organize elements of a system into related groups to minimize dependencies between packages.

Object Diagrams
Object diagrams describe the static structure of a system at a particular time. They can be used to test class
diagrams for accuracy.

Use Case Diagrams
Use case diagrams model the functionality of system using actors and use cases.

Sequence Diagrams
Sequence diagrams describe interactions among classes in terms of an exchange of messages over time.

Collaboration Diagrams
Collaboration diagrams represent interactions between objects as a series of sequenced messages. Collaboration
diagrams describe both the static structure and the dynamic behavior of a system.

Statechart Diagrams
Statechart diagrams describe the dynamic behavior of a system in response to external stimuli. Statechart diagrams
are especially useful in modeling reactive objects whose states are triggered by specific events.

Activity Diagrams
Activity diagrams illustrate the dynamic nature of a system by modeling the flow of control from activity to activity.
An activity represents an operation on some class in the system that results in a change in the state of the system.
Typically, activity diagrams are used to model workflow or business processes and internal operation.

Component Diagrams
Component diagrams describe the organization of physical software components, including source code, run-time
(binary) code, and executables.

Deployment Diagrams
Deployment diagrams depict the physical resources in a system, including nodes, components, and connections.

use case diagram
A use case diagram is a graphic depiction of the interactions among the elements of a system.
A use case is a methodology used in system analysis to identify, clarify, and organize system
requirements. In this context, the term "system" refers to something being developed or
operated, such as a mail-order product sales and service Web site. Use case diagrams are
employed in UML (Unified Modeling Language), a standard notation for the modeling of real-
world objects and systems.
System objectives can include planning overall requirements, validating a hardware design,
testing and debugging a software product under development, creating an online help
reference, or performing a consumer-service-oriented task. For example, use cases in a product
sales environment would include item ordering, catalog updating, payment processing, and
customer relations. A use case diagram contains four components.
The boundary, which defines the system of interest in relation to the world around it.
The actors, usually individuals involved with the system defined according to their roles.
The use cases, which are the specific roles played by the actors within and around the
system.
The relationships between and among the actors and the use cases.

class diagram
A class diagram is an illustration of the relationships and source code dependencies among
classes in the Unified Modeling Language (UML). In this context, a class defines themethods
and variables in an object, which is a specific entity in a program or the unit of code
representing that entity. Class diagrams are useful in all forms of object-oriented programming
(OOP). The concept is several years old but has been refined as OOP modeling paradigms have
evolved.
In a class diagram, the classes are arranged in groups that share common characteristics. A class
diagram resembles a flowchart in which classes are portrayed as boxes, each box having three
rectangles inside. The top rectangle contains the name of the class; the middle rectangle
contains the attributes of the class; the lower rectangle contains the methods, also called
operations, of the class. Lines, which may have arrows at one or both ends, connect the boxes.
These lines define the relationships, also called associations, between the classes.
RELATED GLOSSARY TERMS: XML pipeline, Document Type Definition (DTD), Web Services Description
Language (WSDL), foo, XMI (XML Metadata Interchange), Fast Infoset (FI),GeoRSS, Sun ONE
(Sun Open Net Environment), Keyhole Markup Language (KML), UIML (User Interface Markup
Language)
Package diagrams organize the elements of a system into related groups to minimize dependencies among them.
Basic Package Diagram Symbols and Notations


Packages diagram

Use a tabbed folder to illustrate packages. Write the name of the package on the tab or inside the folder. Similar to
classes, you can also list the attributes of a package.
Learn how to resize a grouped object like a package.

Visibility
Visibility markers signify who can access the information contained within a package. Private visibility means that the
attribute or the operation is not accessible to anything outside the package. Public visibility allows an attribute or an
operation to be viewed by other packages. Protected visibility makes an attribute or operation visible to packages
that inherit it only.
Learn how to edit text on a symbol.

Dependency
Dependency defines a relationship in which changes to one package will affect another package. Importing is a type
of dependency that grants one package access to the contents of another package.
Learn how to draw dependencies and add arrows to your diagram.

Das könnte Ihnen auch gefallen