Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
§ System modelling helps the analyst to
understand the functionality of the system
and models are used to communicate with
customers.
§ Is
represented with Data Flow
Diagrams.
c
§ The UML is a standard representation
devised by the developers of widely used
object--oriented analysis and design
object
methods.
Employee Department
is-member-of
is-managed-by
manages
Manager
§ Connection between objects
§ Solid line
± Direction optional
± Arrowhead depends on meaning
§ Name (optional)
§ Multiplicities (optional)
§ Visibility (optional)
§ Visibility
§ Name (only required element)
§ Type
§ Multiplicity
§ Default value
§ Properties
§ Example:
{
§ Instance attributes
± Each object of the class has its own
attribute
± Changing the value of the attribute
affects only the containing object
§ Class attributes
± Only one instance of the attributes for
all objects of the class
± Changing the value of the attribute
affects all objects of the class
± Underline the attribute
c
§ An aggregation model shows how
classes that are collections are
composed of other classes.
Manager Programmer
budgetsControlled project
progLanguage
dateAppointed
A !"#
$ A % "#
$
§ Used to hold common operations and data
§ Used in inheritance hierarchy
± Derived (child) classes provide
implementations
§ Documented with class name in ? ?
± Can also use {abstract} property
A #
&'
&$' A #
& ($' A #
c '
request (report)
acknowledge ()
report ()
summarise ()
send (report)
reply (report)
acknowledge ()
cc~
§ Objects are abstractions of real-
real-world or
system entities and manage themselves
§ Objects
are appropriate reusable
components