Design Tools and Techniques (Year 3 Semester 1) : University of Mines and Technology, Tarkwa Umat
Design Tools and Techniques (Year 3 Semester 1) : University of Mines and Technology, Tarkwa Umat
LECTURE 6
(YEAR 3 SEMESTER 1)
This ELH shows that the first event to affect the entity Bank Account will
be Account Opened for all occurrences. Next, the account has a life
which is a series of transactions. Each Transaction is one of: a Pay
Deposit, a Direct Deposit, or a Cheque Cashed. After an undefined
number of Transactions have taken place, the Account will be closed and
finally deleted.
STATE INDICATORS
A state indicator can be thought of as a data
item/a unit of data stored (example, "M000675"
and "M000676" are data items in the "Account
Number field) within an entity that is updated
every time an event affects it. This means that the
value of the state indicator will show where in its
ELH an entity is at any one time. The values given
to the state indicator have no significance
provided that each effect assigns a unique value
to it. The convention is to start with a value of 1
and increment it by one each time an event
affects an entity. The first thing to do is to assign
a value to each of the effect boxes on the ELH as
STATE INDICATORS
BEHAVIORAL DESCRIPTIONS (DYNAMIC VIEW)
GENERALIZATION refers to a
type of relationship wherein one
associated class is a child of
another by virtue of assuming the
same functionalities of the parent
class. To depict this in a UML
diagram, a solid line from the
child class to the parent class is
drawn using an unfilled
arrowhead.
SEQUENCE DIAGRAM
Sequence diagram is
o An interaction diagram that details how operations are
carried out.
o What messages are sent and when.
SEQUENCE DIAGRAM