Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
* Object model : The object model represents the static and most stable phenomena
in the modeled domain. Main concepts are classes and associations, with attributes and
operations. Aggregation and generalization (with multiple inheritance) are predefined
relationships.
* Dynamic model : The dynamic model represents a state/transition view on the
model. Main concepts are states, transitions between states, and events to trigger
transitions. Actions can be modeled as occurring within states. Generalization and
aggregation (concur-rency) are predefined relationships.
* Functional model : The functional model handles the process perspective of the
model, corresponding roughly to data flow diagrams. Main concepts are process, data
store, data flow, and actors.
CS1402-Object
Oriented Analysis
and Design
Einstein
College of
Engineering
Modeling Based
on the Unified
Modeling Langu
age
model theanalysis
and design phases
of system
development.
The UA Proposed
Repository
The requirement,
analysis, design,
and
implementation
documents should
bestored in the
repository, so
reports can be
run on them
for traceability.
This allows us
to produce
designs that are
traceable across
requirements,
analysis,design,
implementation,
and testing.
The Layered
Approach to
Software
Development
Most systems
developed with
today's CASE
tools or clientserver
applicationdevelo
pment
environments tend
to lean toward
what is known as
two-layered archit
ecture
: interface and
data.
Two-Layer Archit
ecture
In a two-layer
system, user
interface screens
are tied directly to
the data through
routines thatsit
directly behind the
screens
easily inother
projects.
Three-Layer Arc
hitecture
Your objects are
completely
independent of
how
:
they are
represented to the
user (through an
interface) or
OwnerNameTitleAddress
CS1402-Object
Oriented Analysis
and Design
Einstein
College of
Engineering
User Interface
layer
This layer is
typically
responsible for
two major aspects
of the applications:
Responding
to user interaction
Displaying
business objects.
Business Layer
The
responsibilities of
the business layer
are very straightforward:
These objects
should not be
responsible for:1.
Displaying
details2.
Data access details
DataWorkstation
OwnerNameTitleAddress
CS1402-Object
Oriented Analysis
and Design
Einstein
College of
Engineering
Access Layer
The access layer
contains objects
that know how to
communicate with
the placewhere
the data actually
resides, whether it
is a relational
database,
mainframe,Interne
t, or file. The
access layer has
two major
responsibilities:
Translate
requestTranslate
result
Three-Layered
Architecture
2.7 Unified
Modeling Langua
ge
A
model
is an
abstract representa
tion of a system,
constructed to
understand the
system priorto
building or
modifying it. Most
of the modeling
techniques involve
graphical
languages.
Static or
Dynamic
ModelsStatic Mo
del Dynamic Mod
el
The classes
structure and
their
relationships to
each other
frozenin time are
examples of static
models.
Is a collection of
procedures
orbehaviors that,
taken together,
reflectthe behavior
of a system over
time.
For example, an
order interacts
withinventory to
determine
productavailabilit
y.
BusinessLa
yerViewLay
erAccessLa
yer