Uml Lab
Uml Lab
Uml Lab
In the field of software engineering, the Unified Modeling Language (UML) is a standardized
specification language for object modeling. UML is a general-purpose modeling language that
includes a graphical notation used to create an abstract model of a system. UML is officially
defined at the Object Management Group (OMG) by the UML Meta model. UML was designed
to specify, visualize, construct, and document software-intensive systems.
UML is for visual modeling:
SPECIFYING
Building models that are: Precise, Unambiguous, and Complete.
UML symbols are based on well-defined syntax and semantics.
UML addresses the specification of all important analysis, design, and implementation
decisions.
CONSTRUCTING
Models are related to OO programming languages.
Round-trip engineering requires tool and human intervention to avoid information loss.
Forward engineering ---- direct mapping of a UML model into code.
Reverse engineering ---- reconstruction of a UML model from an implementation.
DOCUMENTING
Architecture, Requirements, Tests, Activities (Project planning, Release management.
THINGS
Important modeling concepts (individual ones as the primitive kinds).
RELATIONSHIPS
Typing individual things (i.e. their concepts).
DIAGRAMS
Grouping interrelated collections of things and relationships.
THINGS
Structural ---- nouns of UML models.
Behavioral ---- dynamic (verbal) parts of UML models.
Grouping ---- Organizational parts of UML models.
Annotational ---- Explanatory parts of UML models.
RELATIONSHIPS
Dependency
Associations
Generalization
Realization
DIAGRAMS
Graphical representation of a set of elements.
A use case is a set of scenarios that describing an interaction between a user and a system. A use
case diagram displays the relationship among actors and use cases. The two main components of
a use case diagram are use cases and actors.
There are three key things we need to know to describe a use case:
1. The actor or actors involved. An actor is a type of user (for example, customer)
That interacts with the system.
2. The system being used.
3. The functional goal that the actor achieves using the system.
ACTOR GENERALIZATION:
The only relationship allowed between actors is generalization. The notation is a solid line
ending in a hollow triangle drawn from the specialized to the more general actor.
USE CASE RELATIONSHIPS:
Three relationships among use cases are supported by the UML standard, which describes
graphical notation for these relationships.
Include
Extend
Generalization
2. ACTIVITY DIAGRAM:
In the Unified Modeling Language, an activity diagram represents the business and
operational step-by-step workflows of components in a system. An activity diagram shows the
overall flow of control.
The main purpose of a sequence diagram is to define event sequences that result in some desired
outcome.
LIFE LINES:
When drawing a sequence diagram, lifeline notation elements are placed across the top of the
diagram.
MESSAGES:
The first message of a sequence diagram always starts at the top and is typically located on the
left side of the diagram for readability. Subsequent messages are then added to the diagram
slightly lower then the previous message.
4. COLLABORATION DIAGRAM:
The Unified Modeling Language (UML) state diagram is essentially a standardized notation,
which can describe a lot of things, in the form of states. The following are the basic notational
elements that can be used to make up a diagram:
ASSOCIATIONS:
Objects are often associated with, or related to, other objects. Associations are modeled as lines
connecting the two classes whose instances (objects) are involved in the relationship. When we
model associations in UML class diagrams, we show them as a thin line connecting two classes.
In the Unified Modeling Language, a component diagram depicts how a software system is split
up into physical components and shows the dependencies among these components. Physical
components could be, for example, files, headers, link libraries, modules, executables, or
packages. Component diagrams can be used to model and document any system’s architecture.
Component
8. DEPLOYMENT DIAGRAM:
In the UML, a deployment diagram serves to model the hardware used in system
implementations, the components deployed on the hardware, and the associations between those
components. The elements used in deployment diagrams are nodes (shown as a cube),
components (shown as a rectangular box, with two rectangles protruding from the left side) and
associations.
Rational Rose provides the notation needed to specify and document the system architecture .The
logical architecture is captured in class diagrams that contain the classes and relationships that
represent the key abstractions of the system under development .The component architecture is
captured in component diagrams that focus
on the actual software module organization with in the development environment .The
deployment architecture is captured in deployment diagrams that map software to processing
nodes showing the configuration of the run time processing elements and their software
processes .
FEATURES
Rational Rose provides the following features facilitates the analysis, design and iterative
construction of your application
Use-Case Analysis
Object –Oriented Modeling
User-configurable Support for UML ,COM ,OMT and Booch’93
Semantic Checking
Support for Controlled Iterative Development
Round-Trip Engineering
Parallel Multi- user Development.
Integration with Data Modeling tools
Document generation
Rational Rose scripting for integration and Extensibility
OLE Linking
OLE Automation
Multi Platform Availability