systems analysis and design

12
Systems Analysis and Design Entity Life Histories

Upload: lacy-buck

Post on 30-Dec-2015

22 views

Category:

Documents


1 download

DESCRIPTION

Systems Analysis and Design. Entity Life Histories. (SSADM) Data Views. System Data. Function. Structure. DFD. LDS. Sequence. ELH. Sequence. Entity Name. Event C. Event A. Event B. Selection. Employee. Event D. New Employee. Event E. New Staff Recruited. New Trainee Accepted. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Systems Analysis and Design

Systems Analysis and Design

Entity Life Histories

Page 2: Systems Analysis and Design

Seq

uenc

e

ELH

DFD LDS

Function Structure

System Data

(SSADM) Data Views

Page 3: Systems Analysis and Design

Entity Name

Event A Event B Event C

Sequence

Page 4: Systems Analysis and Design

New Staff Recruited

New Trainee Accepted

New Employee

Event D Event E

Employee

Selection

Page 5: Systems Analysis and Design

New Employee

Employee Life

Event E

Employee

Iteration

Salary Payment

Page 6: Systems Analysis and Design

Bank Account

Account Opened

Account Life

Account Closure

Account Deletion

Transaction

Pay Deposit

Direct Deposit

Cheque Cashed

Bank Account Entity

Page 7: Systems Analysis and Design

New Staff Recruited

New Employee

Main Life Possible Ends

Employee

Employee Entity

New Trainee Accepted

Salary Payment

Employee Resigns

Employee Fired

Page 8: Systems Analysis and Design

Entity

Birth Event

Account Life

Account Closure

Account Deletion

-/1 1/2 2/3 3/4

State Indicators

State Indicator Format:

valid previous values/value set by event

Page 9: Systems Analysis and Design

Bank Account

Account Opened

Account Life

Account Closure

Account Deletion

Transaction

Pay Deposit

Direct Deposit

Cheque Cashed

Bank Account Entity

-/1

1,2,3,4/2 1,2,3,4/3 1,2,3,4/4

1,2,3,4/5 5/-

Page 10: Systems Analysis and Design

Bank Account

Account Opened

Account Life

Account Closure

Account Deletion

Transaction

Pay Deposit

Direct Deposit

Cheque Cashed

Bank Account Entity

-/1

1,2,3,4/2 1,2,3,4/3 1,2,3,4/4

1,2,3,4/5 5/-1

5 6

2 3 4

Operations List

1. Create record with account details

2. Add transaction amount to current balance – code a

3. Add transaction amount to current balance – code b

4. Subtract transaction amount from current balance

5. Replace account status by ‘N’

6. Delete account record

Page 11: Systems Analysis and Design

Following the opening of a bank account, a number of transactions may occur. These can be a deposit over the counter, a transfer from anotheraccount or a cheque withdrawal. The account must be closed before it can be deleted.

Draw an entity life history (ELH) diagram to reflect the above sequence of events. Include status indicators and an operations list.

Page 12: Systems Analysis and Design

Order > 12 months old

Order Received

Payment Received

Goods Despatched

Order

Customer

Invoice

Payment

etc …

etc …

Create Delete Modify

Modify

Create

Create

ENTITY – EVENT MATRIX