Aims and Objectives In this session you will be able to: Define ELHs and describe why they are used in systems analysis. Recognise the structure of an.

Slides:



Advertisements
Similar presentations
DFD, LDS, ELH Inter-Relationships
Advertisements

Entity Life Histories Model the system from the viewpoint of how information is changed. Diagrammatic representation of the life of an entity from creation.
Alternative Approach to Systems Analysis Structured analysis
Using Data Flow Diagrams
Using Dataflow Diagrams
Object-Oriented Application Development Using VB.NET 1 Chapter 5 Object-Oriented Analysis and Design.
MIS (Management Information System)
Chapter 4 Enterprise Modeling.
ERD diagram Data Design - Mr. Ahmad Al-Ghoul
Chapter 4.
Systems Analysis and Design 9th Edition
Dataflow modelling: Context and Data Flow Diagrams
Using Dataflow Diagrams
Systems Analysis and Design
Modified from Sommerville’s originalsSoftware Engineering, 7th edition. Chapter 8 Slide 1 System models.
Entity Event Modelling
Data and Process Modeling
Further Data Modelling …and the effect of time. Plan Introduction Structured Methods –Data Flow Modelling –Data Modelling –Relational Data Analysis –Further.
Spreadsheets in Finance and Forecasting Project Session 3b(ii) Data Flow Diagrams.
Modeling the Processes and Logic
System Analysis and Design
Chapter 4.
Systems Analysis I Data Flow Diagrams
System analysis and design
Database Management Systems, R. Ramakrishnan and J. Gehrke1 Tree-Structured Indexes Chapter 9.
Chapter 8 Structuring System Requirements: Process Modeling
Computer System Analysis Chapter 10 Structuring System Requirements: Conceptual Data Modeling Dr. Sana’a Wafa Al-Sayegh 1 st quadmaster University of Palestine.
Data flow diagrams.
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 6.1.
PowerPoint Presentation for Dennis, Wixom, & Roth Systems Analysis and Design, 3rd Edition Copyright 2006 © John Wiley & Sons, Inc. All rights reserved..
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design Copyright 2000 © John Wiley & Sons, Inc. All rights reserved. Slide 1 Process.
Database Design Using the REA Data Model
Systems Analysis and Design in a Changing World, Fifth Edition
1 Chapter 2 Revision: Documentation DFD System FC.
Business Process Management. Key Definitions Process model A formal way of representing how a business operates Illustrates the activities that are performed.
Phase 2: Systems Analysis
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 7 Slide 1 System models l Abstract descriptions of systems whose requirements are being.
The Structured Specification. Why a Structured Specification? System analyst communicates the user requirements to the designer with a document called.
System models Abstract descriptions of systems whose requirements are being analysed Abstract descriptions of systems whose requirements are being analysed.
Chapter 7 Using Data Flow Diagrams
CSCI 3140 Module 2 – Conceptual Database Design Theodore Chiasson Dalhousie University.
©Ian Sommerville 1995/2000 (Modified by Spiros Mancoridis 1999) Software Engineering, 6th edition. Chapter 7 Slide 1 System models l Abstract descriptions.
System models l Abstract descriptions of systems whose requirements are being analysed.
Modified by Juan M. Gomez Software Engineering, 6th edition. Chapter 7 Slide 1 Chapter 7 System Models.
Process Models: Data Flow Diagrams Chapter 2. Process Modeling Objective: Understand the concept of business processes Understand and create Data Flow.
IFS310: Module 6 3/1/2007 Data Modeling and Entity-Relationship Diagrams.
1 Kyung Hee University Statecharts Spring Kyung Hee University Specifying Objects’ Behaviour  Interaction diagrams show message-passing behaviour.
Chapter 4 enterprise modeling
System Analysis System Analysis - Mr. Ahmad Al-Ghoul System Analysis and Design.
Description and exemplification of entity/event modelling. Index and Key – –The Index/Key column of the data dictionary is used to indicate whether or.
Copyright 2001 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter 5 Structuring.
Modern Systems Analysis and Design Fifth Edition
Systems Analysis and Design 8th Edition
Systems Analysis and Design 8th Edition
Topic 3 – Data Modeling Techniques Unit 1 – Database Analysis and Design Advanced Higher Information Systems St Kentigern’s Academy.
Entity Relationship Diagram (ERD). Objectives Define terms related to entity relationship modeling, including entity, entity instance, attribute, relationship.
McGraw-Hill/Irwin Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 5 Modeling the Processes and Logic.
C_ITIP211 LECTURER: E.DONDO. Unit 3 : PROCESS MODELING.
SPECIAL PURPOSE DATABASES 13/09/ Temporal Database Concepts  Time is considered ordered sequence of points in some granularity Use the term choronon.
1 Object Oriented Analysis and Design System Events & Contracts.
Systems Analysis and Design in a Changing World, Fourth Edition
© 2012 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S.
Elaboration popo.
Systems Analysis and Design
IS 334 information systems analysis and design
Data Dictionaries ER Diagram.
Process & Logic Modeling
Abstract descriptions of systems whose requirements are being analysed
Databases and Structured Files: What is a database?
Business Analysis Entity Life History Chris Russell O2.41d
Presentation transcript:

Aims and Objectives In this session you will be able to: Define ELHs and describe why they are used in systems analysis. Recognise the structure of an ELH. Describe ELH notation. Construct an ELH from a given example. Explain the use of state indicators.

Entity Life Histories We are still in the Systems Analysis stage, still trying to model a system. DFDs model the system from the viewpoint of information flows and the processes. ERDs model the system from the viewpoint of the information. Normalisation models the attributes of the system’s entities. Entity Life Histories (ELHs) model the system from the viewpoint of how the information is changed. This is necessary because we want to provide up-to-date, accurate information.

Entity Life Histories Entity Life Histories (ELHs) show the full set of changes that can occur to information within the system. One ELH is drawn for each entity on an ERD and: Provides a visual picture of the life of each, individual entity. The life of an entity is the sequence of events that cause the entity to change right through from creation to deletion. The sequence of events is important because it tracks what happens over a period of time. If we chart this sequence we get a life history. Models the changes rather than the entity

Entity Life Histories Before developing an ELH model, we need to know about three components: System entities. The events which affect the system entities during their lifetime in the system. When trying to identify events we need to ask: How does the system get to know about this entity? Why does it leave the system? What causes changes to its attributes? A basic notation for describing graphically the sequence in which events happen.

Entity Life Histories - Notation We use ELH notation, after we have identified the entities and events, to record the sequence in which events can occur to an entity. We do not show how we identify entities or events - this task is done before developing the ELH diagram. Entity names, group headings, and events. * Event repetition or iteration. Selection between two or more events.

Entity Life Histories - Notation A typical ELH has the following appearance:

Entity Life Histories - Notation Each event that can effect an entity in any way during its life in the system is entered on the diagram in the form of a hierarchy. As we see, there are three types of events that must be shown on an ELH: Birth events. Death events. Middle life events - these will be set out in the sequence in which they will logically occur. These events can cause an entity to be: Created. Deleted or removed. Modified (in terms of changes to its attribute values).

Entity Life Histories - Notation The boxes in the diagram are called nodes. Birth, Iteration of Events, and Death events are all leaf nodes. Middle Life Events is an intermediate node. The root of the hierarchy gives the name of the entity whose life we are analysing. The passage of time is assumed to be a uniform flow from left to right: Time zero in the life is where the system gets to know about the entity due to some event/s which create the entity. The middle life is usually a set of recurring/iterating events causing changes to the entity, and represents most of the life. Life is ended by some event/s that causes the entity to be deleted from the system.

Entity Life Histories - Control Structures As well as the basic notation, there is the idea of structure and control of structure which can be shown on an ELH: –Event Structure –Event Sequence –Event Selection –Event Iteration

Entity Life Histories - Control Structures Event Structure within the ELH: Events are presented in the form of a hierarchy of levels, where a higher level box is the parent and its lower level box is the child. Bank Account Opened Account Life Account Closure Account Deletion Pay Deposit Direct Deposit Cheque Cashed Transaction *

Entity Life Histories - Control Structures Event Sequence control within the ELH: All events shown on the ELH must occur one after the other. ENTITY X ABCD In the entity X, A must occur first, followed by B, and so on. This is the only possible sequence (through time - the length of time isn’t indicated however).

Entity Life Histories - Control Structures ENTITY X ABCD EFG Event Selection control within the ELH: Sometimes there can be a choice of events that may effect an entity. As A is at the beginning, this shows that an occurrence of entity X must be created by only one of the three events: E, F, G

Entity Life Histories - Control Structures ENTITY X ABCD EFGH * Event Iteration control within the ELH: Sometimes the same event can legitimately occur many times (zero or more) in the life of an entity After entity X is created by E, F, or G, the event H may affect the entity any number of times - which could also mean none.

Source/Sink Process Data Store Entity Event ER ELH DFD roughly equates to

Entity Life Histories - Example This ELH show that the first event to affect the entity Bank Account is Account Opened. Then, for the life of the account, there is a series of transactions, which can be one of three types of transactions. After an undefined number of transactions, the account will be closed and then deleted.

Addition of State Indicators The value of the state indicator shows where in its life history an entity is at any one time. The convention is to start with a value of 1 and increment it by one each time an event effects the entity. A state indicator can be thought of as a data item within an entity which is updated every time an event effects it. A state indicator can be thought of as a data item within an entity which is updated every time an event effects it.

State Indicators …cont’d The first step is to assign a value to each of the effect boxes on the ELH: represents the value that the state indicator has been set to after the event has finished effecting the entity occurrence. The state indicator values can be used to help in determining whether or not we can allow an event to effect an entity. For each effect box we can define a set of values of the state indicator that are valid before the event can be allowed to effect the entity.

State Indicators …cont’d Creation effects have a null valid previous value. Where there is a selection, all effects that are alternatives to one another have the same valid previous state indicator values. Where there is an iteration, the value set by the repeating effect will also be included as one of the valid previous values for that effect.

Summary You should now be able to: Define ELHs and describe why they are used in systems analysis. Recognise the structure of an ELH. Describe ELH notation. Construct an ELH from a given example. Explain the use of state indicators.