Beruflich Dokumente
Kultur Dokumente
Consi -Class diagram -Component -Deployment -Use case -the sequence Activity
sts of consists of diagrams diagrams are a diagrams are a diagram deals diagram
classes, represent a set set of nodes and set of use with some consists of
interfaces, of components their cases, actors, sequences, activities and
associations, and their relationships. and their which are the links. The flow
and relationships. These nodes are relationships. sequence of can be
collaboration. These physical entities messages sequential,
components where the flowing from concurrent, or
consist of components are one object to branched.
classes, deployed. another.
interfaces, or
collaborations.
View -Class -Component -represent the -visualize the
in diagrams diagrams use case view flow of
syste basically represent the of a system. controls in a
m represent the implementation system
object-oriented view of a
view of a system.
system, which is
static in nature.
purpo -Analysis and -Visualize the -Visualize the -Used to gather -To capture the -Draw the
se design of the components of a hardware the dynamic activity flow of a
static view of an system. topology of a requirements of behaviour of a system.
application. system. a system. system.
-Construct -Describe the
-Describe executables by -Describe the -Used to get an -To describe sequence from
responsibilities using forward hardware outside view of the message one activity to
of a system. and reverse components used a system. flow in the another.
engineering. to deploy system.
-Base for software -Identify the -Describe the
component and -Describe the components. external and -To describe parallel,
deployment organization and internal factors the structural branched and
diagrams. relationships of -Describe the influencing the organization of concurrent flow
the components. runtime system. the objects. of the system.
-Forward and processing
reverse nodes. -Show the -To describe
engineering. interaction the interaction
among the among objects.
requirements
are actors.
Used -Describing the -Model the -To model the -Requirement -To model the -Draw the
for static view of components of hardware analysis and flow of control activity flow of
the system. a system. topology of a high level by time a system.
system. design. sequence.
-Showing the -Model the -Describe the
collaboration database -To model the -Model the -To model the sequence
among the schema. embedded context of a flow of control from one
elements of the system. system. by structural activity to
static view. -Model the organizations. another.
executables of -To model the -Reverse
-Describing the an application. hardware details engineering. -For forward -Describe the
functionalities for a engineering. parallel,
performed by the -Model the client/server -Forward branched and
system. system's system. engineering. -For reverse concurrent
source code. engineering. flow of the
-Construction of -To model the system.
software hardware details
applications of a distributed
using object application.
oriented
languages. -For Forward
and Reverse
engineering.
CLASS DIAGRAM
COMPONENT DIAGRAM
a)Object Symbol :
This box shape represents a class, or object, in UML. They demonstrate
how an object will behave in the context of the system. Class attributes
should not be listed in this shape.
b) Activation Box :
Symbolized by a rectangle shape, an activation box represents the time
needed for an object to complete a task. The longer the task will take,
the
longer the activation box becomes.
c) Actor Symbol :
Represented by a stick figure, actors are entities that are both
interactive with and external to the system.
d) Package Symbol :
Also known as a frame, this is a rectangle shape that is used in UML 2.0
notation to contain interactive elements of the diagram. The shape has a
small inner rectangle for labeling the diagram.
e) Lifeline Symbol :
A dashed vertical line that represents the passage of time as it extends
downward. Along with time, they represent the sequential events that
occur
to an object during the charted process. Lifelines may begin with a
labeled
rectangle shape or an actor symbol.
f) Option Loop Symbol :
A rectangle shape with a smaller label within it. This symbol is used to
model "if then" scenarios, i.e., a circumstance that will only occur under
certain conditions.
g) Alternative Symbol :
Used to symbolize a choice (that is usually mutually exclusive) between
two or more message sequences. To represent alternatives, use the
labeled
rectangle shape with a dashed line inside.
★SEQUENCE MESSAGE SYMBOLS :
Packets of information that are transmitted between
objects. They may reflect the start and execution of an operation, or the
sending and reception of a signal.
a) Synchronous Message Symbol :
Represented by a solid line with a solid arrowhead. This symbol
is used when a sender must wait for a response to a message before it
continues. The diagram should show both the call and the reply.
b) Asynchronous Message Symbol :
Represented by a solid line with a lined arrowhead.
Asynchronous messages are those that don't require a response before
the sender continues. Only the call should be included in the diagram.
c)Asynchronous Return Message Symbol :
Represented by a dashed line with a lined arrowhead.
d) Asynchronous Create Message Symbol :
Represented by a dashed line with a lined arrowhead. These
messages are sent to lifelines in order to create themselves.
e) Reply Message Symbol :
Represented by a dashed line with a lined arrowhead, these
messages are replies to calls.
f) Delete Message Symbol :
Represented by a solid line with a solid arrowhead, followed by
an X symbol. This messages indicates the destruction of an object and is
placed in its path on the lifeline.
g) Self Message
A message an object sends to itself, usually shown as a U shaped arrow
pointing back to itself.
h) Create Message :
This is a message that creates a new object. Similar to a return
message, it's depicted with a dashed line and an open arrowhead that
points
to the rectangle representing the object created.
i) Found Message :
A message sent from an unknown recipient, shown by an arrow from
an endpoint to a lifeline.
j) Lost Message :
A message sent to an unknown recipient. It's shown by an arrow going
from a lifeline to an endpoint, a filled circle or an x
ACTIVITY DIAGRAM
1. Things
2. Relationship
3. Diagrams
1. Things
This is the most important part in UML building blocks. Things can be classified as,
● Structural
● Behaviour
● Grouping
● Annotation
1.1 Structural
Structural things define the stable (static) part of the model. Structural things are
class, Interface,collaboration, use case, component and node.
1.2 Behaviour
Consists of all the dynamic parts of the system.
● State machine – State machine can show the different states of an entity also
how an entity responds to various events by changing from one state to
another.
1.3 Grouping
It is a mechanism to group the elements of UML model.
● Package – Package is the only one grouping thing available for gathering
structural and behavioral things.
1.4 Annotation
Annotations are used to capture remarks, descriptions and comments of UML
model elements.
2. Relationship
Relationships will show how elements are connected and associated with each
other. There are four (4) types of relationships available.
● Dependency
● Association
● Generalization
● Realization
2.1 Dependency
Relationship between 2 things and change in one element affects the other.
2.2 Association
Set of links that connect elements of UML. It describes how many objects are
participating in a particular relationship.
2.3 Generalization
Connects a specialized element with a generalized element.
2.4 Realization
One element describes some responsibility which is not implemented yet.