UML is primarily used for
software development (in any industry or domain) UML is designed for use with many object-oriented software development methods, both today and for the methods when it was first developed – including
OMT,
Booch method,
Objectory, and especially
RUP, which it was originally intended to be used with when work began at Rational Software. Although originally intended for object-oriented design documentation, UML has been used effectively in other contexts such as modeling business process. As UML is not inherently linked to a particular
programming language, it can be used for modeling a system independent of language. Some
UML tools generate
source code from a UML model. •
Use case diagram for specifying user interactions with systems •
Class diagram for specifying structures, including data structures •
Activity diagram for specifying business process workflows •
Component diagram for specifying how components interface with other components •
Deployment diagram for specifying how components are deployed and executed on computational nodes In addition to syntactical (notational) elements with well-defined semantics, UML diagrams also allow for free-form comments (notes) that explain aspects such as usage, constraints, and intents.
Sharing UML models can be exchanged among
UML tools via the
XML Metadata Interchange (XMI) format.
Cardinality notation As with database Chen, Bachman, and ISO
ER diagrams, class models are specified to use "look-across"
cardinalities, even though several authors (
Merise, Elmasri & Navathe, amongst others) prefer same-side or "look-here" for roles and both minimum and maximum cardinalities. Recent researchers (Feinerer and Dullea et al. including models,
source code, scripts,
executables,
tables in
database systems, development deliverables, a design
documents, and
email messages. MOF is designed as a four-layered architecture, as shown in the image at right. It provides a meta-meta model at the top, called the M3 layer. This M3-model is the language used by Meta-Object Facility to build metamodels, called M2-models. The most prominent example of a Layer 2 Meta-Object Facility model is the UML metamodel, which describes UML itself. These M2-models describe elements of the M1-layer, and thus M1-models. These would be, for example, models written in UML. The last layer is the M0-layer or data layer. It is used to describe runtime instances of the system. The metamodel can be extended using a mechanism called
stereotyping. This has been criticized as being insufficient/untenable by
Brian Henderson-Sellers and Cesar Gonzalez-Perez in "Uses and Abuses of the Stereotype Mechanism in UML 1.x and 2.0". ==Diagrams==