Professional Documents
Culture Documents
CIUDAD JUÁREZ
CGUT
SEP
SUBJECT
“RESEARCH”
ASSIGNATURE
MODELADO DE PROCESOS DE NEGOCIOS
TEACHER
BETSABÉ RUIZESPARZA FLORES
STUDENT
DE LA ROSA, ALEJANDRO
GROUP
ITISW41
Illustrate classes with rectangles divided into compartments. Place the name of the
class in the first partition (centered, bolded, and capitalized), list the attributes in the
second partition (left-aligned, not bolded, and lowercase), and write operations into
the third.
Active Classes
Active classes initiate and control the flow of activity, while passive classes store data
and serve other classes. Illustrate active classes with a thicker border.
Visibility
Use visibility markers to signify who can access the information contained within a
class. Private visibility, denoted with a - sign, hides information from anything outside
the class partition. Public visibility, denoted with a + sign, allows all other classes to
view the marked information. Protected visibility, denoted with a # sign, allows child
classes to access information they inherited from a parent class.
Associations
Associations represent static relationships between classes. Place association names
above, on, or below the association line. Use a filled arrow to indicate the direction of
the relationship. Place roles near the end of an association. Roles represent the way
the two classes see each other.
Multiplicity (Cardinality)
Place multiplicity notations near the ends of an association. These symbols indicate
the number of instances of one class linked to one instance of the other class. For
example, one company will have one or more employees, but each employee works
for just one company.
Constraint
Place constraints inside curly braces {}.
Generalization
Generalization is another name for inheritance or an "is a" relationship. It refers to a
relationship between two classes where one class is a specialized version of another.
For example, Honda is a type of car. So the class Honda would have a generalization
relationship with the class car.
Example of diagram
OBJECT DIAGRAM
Object diagrams are derived from class diagrams so object diagrams are dependent
upon class diagrams.
Object diagrams represent an instance of a class diagram. The basic concepts are
similar for class diagrams and object diagrams. Object diagrams also represent the
static view of a system but this static view is a snapshot of the system at a particular
moment.
Object diagrams are used to render a set of objects and their relationships as an
instance.
It means the object diagram is closer to the actual system behavior. The purpose is to
capture the static view of a system at a particular moment.
So both diagrams are made of same basic elements but in different form. In class
diagram elements are in abstract form to represent the blue print and in object
diagram the elements are in concrete form to represent the real world object.
From the above discussion, it is clear that a single object diagram cannot capture all
the necessary instances or rather cannot specify all the objects of a system. Hence,
the solution is:
● First, analyze the system and decide which instances have important data and
association.
● Second, consider only those instances, which will cover the functionality.
Before drawing an object diagram, the following things should be remembered and
understood clearly:
● Object diagrams consist of objects.
● Objects and links are the two elements used to construct an object diagram.
After this, the following things are to be decided before starting the construction of the
diagram:
● The object diagram should have a meaningful name to indicate its purpose.
diagram.
● Customer
● Order
● SpecialOrder
● NormalOrder
Now the customer object (C) is associated with three order objects (O1, O2, and O3).
These order objects are associated with special order and normal order objects (S1,
S2, and N1). The customer has the following three orders with different numbers (12,
32 and 40) for the particular time considered.
The customer can increase the number of orders in future and in that scenario the
object diagram will reflect that. If order, special order, and normal order objects are
observed then you will find that they have some values.
For orders, the values are 12, 32, and 40 which implies that the objects have these
values for a particular moment (here the particular time when the purchase is made is
considered as the moment) when the instance is captured
The same is true for special order and normal order objects which have number of
orders as 20, 30, and 60. If a different time of purchase is considered, then these
values will change accordingly.
The following object diagram has been drawn considering all the points mentioned
above
PACKET DIAGRAM
Package diagram shows the arrangement and organization of model elements in
middle to large scale project. Package diagram can show both structure and
dependencies between sub-systems or modules.
Access
An element import is defined as a directed relationship between an importing
namespace and a packageable element. The name of the packageable element or its
alias is to be added to the namespace of the importing namespace. It is also possible
to control whether the imported element can be further imported.
An element import is shown using a dashed arrow with an open arrowhead from the
importing namespace to the imported element. The keyword <<import>> is shown
near the dashed arrow if the visibility is public; otherwise, the keyword <<access>> is
shown to indicate private visibility.
Constraint
A condition or restriction expressed in natural language text or in a machine readable
language for the purpose of declaring some of the semantics of an element.
Dependency
A dependency is a relationship that signifies that a single or a set of model elements
requires other model elements for their specification or implementation. This means
that the complete semantics of the depending elements is either semantically or
structurally dependent on the definition of the supplier element(s).
Generalization
A generalization is a taxonomic relationship between a more general classifier and a
more specific classifier. Each instance of the specific classifier is also an indirect
instance of the general classifier. Thus, the specific classifier inherits the features of
the more general classifier.
Import
A package import is defined as a directed relationship that identifies a package whose
members are to be imported by a namespace.
Merge
A package merge is a directed relationship between two packages that indicates that
the contents of the two packages are to be combined. It is very similar to
Generalization in the sense that the source element conceptually adds the
characteristics of the target element to its own characteristics resulting in an element
that combines the characteristics of both.
This mechanism should be used when elements defined in different packages have
the same name and are intended to represent the same concept. Most often it is used
to provide different definitions of a given concept for different purposes, starting from
a common base definition. A given base concept is extended in increments, with
each increment defined in a separate merged package.
Package
A package is used to group elements, and provides a namespace for the grouped
elements. A package is a namespace for its members, and may contain other
packages.
Example of Diagram
DEPLOYMENT DIAGRAM
Deployment diagrams are used to visualize the topology of the physical components
of a system, where the software components are deployed.
Deployment diagrams are used to describe the static deployment view of a system.
Deployment diagrams consist of nodes and their relationships.
Purpose of Deployment Diagrams
The term Deployment itself describes the purpose of the diagram. Deployment
diagrams are used for describing the hardware components, where software
components are deployed. Component diagrams and deployment diagrams are
closely related.
● Performance
● Scalability
● Maintainability
● Portability
● Nodes
● Monitor
● Modem
● Caching server
● Server
The following deployment diagram has been drawn considering all the points
mentioned above.
STRUCTURE DIAGRAM
A structure diagram is a development tool used in modeling the different parts of a
system, from the overview on how the individual parts interact to create the whole, to
modeling the details of the smallest parts themselves such as the different objects
and classes being used in programming the system.
A structure diagram visualizes how a system works from the initial input, to
processing and, finally, to the desired output. It is especially useful in determining all
of the interfaces involved between the different parts and helps developers agree on
how each part should be connected based on the models being shown on the
structure diagram.
the internal structure of a class and its collaborations with other classes and
objects
CONCLUSION
The different UML diagrams provide a structure to create their own, using a
methodology according to what is required to present, the question of deciding what
is right will depend on ourselves based on the analysis of information.
BIBLIOGRAFÍA O FUENTES DE CONSULTA