170 likes | 288 Views
Systems Analysis. IDEF0 and IDEF1.x. Systems Analysis. Moving from IDEF0 to IDEF1.x Technique for describing information structures Information models represent: things - entities properties of things - attributes associations between things - relationships. A. Entities.
E N D
Systems Analysis IDEF0 and IDEF1.x
Systems Analysis • Moving from IDEF0 to IDEF1.x • Technique for describing information structures • Information models represent: • things - entities • properties of things - attributes • associations between things - relationships
A Entities • Abstractions of real world things • eg CUSTOMER • does not relate to specifict customers • ...any distinguishable person, place, thing, event or concept about which information is kept. (Bruce 1992) Specific customer
A A A Attributes • Each set of data for an entity may be regarded as an ‘instance’ of that entitiy • The individual pieces of data for an instance are called attributes Name Address Tel No. Credit history Customer
Relationships • Imagine two entities: Lecturer and Student • Lecturers teach students • Teaching is the “relationship” between the two abstract entities
Types of Information Model • Entity Relationship Model: shows major entities and relationships - wide business area • Key Based Models: Third normal form model that describes major data structures (entities, keys and sample attributes) - wide business area
Types of Information Model • Project Information Model: describes a portion of an overall data structure - specific to a development project • Fully Attributed Model: third (or higher) normal form model (entities, attributes, relationships and integrity rules) - single project
Entity Name Primary Key Area Data Area IDEF1.x - Components • Entity • Entity Names are instances - each instance represents a customer not multiple customers • Area above line is for key attributes • Area below line if for non-key attributes
Relationships • Relationships are connections or links between entities LECTURER STUDENT teaches One to Many
Relationships • Non-identifying Relationship LECTURER STUDENT teaches lecturer-no student-no lecturer-no (FK)
Relationships • Identifying Relationship BOOK-COPY BOOK copy-no classmark (FK) classmark
Relationships • Resolving many to many links • A person may use more than one address, an address may be used by more than one person PERSON ADDRESS person-id address-id may use used by ADDRESS-USAGE person-id (FK) address-id (FK) usage-type
Cardinality Identifying Relationship Non-identifying Relationship One to Zero or more P P One to One or more Z Z One to Zero or One N N One to exactly N
Cardinality • Example - Zero or One to One or more relationship SALESPERSON salesperson-id receives credit for P ORDER order-no salesperson-id (FK)
Generating IDEF1.x Activity Model Worksheet Pack Receive Purchase Request Buying Knowledge Completed Worksheet Pack Establish Supplier Quotes WORKSHEET-PACKAGE QUOTES Information model
Information model QUOTES DRAWINGS LAYOUTS OPERATIONS WORKSHEET
Guidelines • Create activity dia of business process • From the info flows, create entity pool • Create entities on information model • Investigate detail of aggregate entities • Draw relationships between entities • Resolve many-to-many links • Insert keys and specify identifying/non-identifying relationships • Validate with users