IDEF1X Data Modeling in Manufacturing Systems

IDEF 1X
IDEF 1X
Data Modeling
 
 
IE 469 Manufacturing Systems
IE 469 Manufacturing Systems
4
4
69
69
 صنع نظم التصنيع
 صنع نظم التصنيع
Components of Information
From ER to IDEF1X
IDEF 1X
u
Useful in determining when information voids are
the cause of a problem
u
Consistent, extensible, and transformable
u
Provides consistent mapping and definition of
enterprise data
Benefits of IDEF1X Analysis
u
Separate Facts from Folklore
u
Discover underlying cause for problems
u
Use directly as requirements
u
Implement results with policy or procedure
change
Designed for the domain expert
Why Develop an IDEF1X Model?
u
Determine information resource management
needs and requirements
u
Depict what information is collected, stored, and
managed
u
Depict the rules governing the management of
information
u
Validate the concepts in the associated IDEF0
model
u
Leverage information  to achieve a competitive
advantage
u
A Graphic / Textual Depiction of  “What Must
I Know to Do What I Do?”
u
Automated and
Non-Automated
Objects
u
People
u
Filing Cabinets
u
Telephones
What is an IDEF1X Model?
A Representation of the Data Elements and the
Relationships among those Elements in an
Existing or Planned System.
What is a Data Model?
Data Modeling Focus
u
Things inside the computer/software system
u
Representation & structure of DATA
u
Use for
u
logical design of databases
u
logical design of applications
u
physical design of database implementation
Information Modeling Focus
u
Information collected, stored, and managed by the
organization
u
Rules within the organization about that
information
u
Logical relationships within the organization
reflected in the information
u
Basis for information system design
u
Use for
u
Problem Identification
u
Requirements Definition
Knowledge Modeling Focus
u
Terminology used in the domain to represent concepts,
physical objects, behavior or knowledge that people use to
do their job
u
Concepts people use to do their job
u
Perceived relationships within the organization
u
Physical (Nomic) Constraints
u
Conventional (Nominative) Constraints
u
Conditional Constraints
u
Map of language use on the real world
u
The flow of knowledge between situated agents in the
environment
Information Modeling Use
u
Information System Audit
u
systems
u
machines & software
u
Document Flow Analysis
u
Which organizations generate
u
Which organizations use
u
Data Life-Cycle Definition
u
Data Flow Modeling
Intended as a method to facilitate the logical design
of a relational database, IDEF1X provides:
IDEF1X - Data Modeling
u
a foundation for a data dictionary.
u
a definition of the information and data structure
of the enterprise.
u
a model that can be used in actual database
implementation.
u
SQL code generated through commercial product
support.
IDEF1X As A Standard
u
Federal Information Processing Standards
Publication (FIPS PUB) 184 - Integration
Definition for Information Modeling (IDEF1X)
u
Published December 1993
u
DoD 8020.1-M established IDEF1X as the DoD
standard methodology used for data modeling
 
Any individual
vendor may receive
many purchase
orders.
Any individual
purchase order
is issued to only
one vendor.
I
n
f
o
r
m
a
t
i
o
n
M
o
d
e
l
T
h
e
 
R
R
e
e
a
a
l
l
 
W
o
r
l
d
V
E
N
D
O
R
B
u
s
i
n
e
s
s
R
u
l
e
s
I
n
f
o
r
m
a
t
i
o
n
a
b
o
u
t
V
e
n
d
o
r
s
I
n
f
o
r
m
a
t
i
o
n
a
b
o
u
t
P
u
r
c
h
a
s
e
O
r
d
e
r
s
P
u
r
c
h
a
s
e
O
r
d
e
r
C
o
n
n
e
c
t
i
o
n
"Real World" Connections
Entity
u
A generic name of a person, place, or thing that is
within the scope of the model and has a unique
identifier.
 
Employee
 is an entity and has a unique identifier
(employee number).
E
n
t
i
t
y
I
n
s
t
a
n
c
e
s
 
o
f
 
e
n
t
i
t
i
e
s
Entities
What Makes a Set of Things an Entity?
u
Can it be described?
u
Are there several instances?
u
Can one instance be separated or distinguished
from another?
u
Does it refer to or describe something?  (If YES,
then it may be an attribute of an entity.)
Attribute
u
A type of characteristic or property associated with a set of
real or abstract things (people, objects, events, etc.).
Attribute Instance
u
Is a specific characteristic of an entity.
u
Is defined by both the types of a characteristic and its value.
u
Has a unique name (noun/noun phrase), and the same meaning
must always apply to the same name.
u
May be inherited by an entity through a specific connection or
categorization relationship in which it is a child or category entity.
E
n
t
i
t
y
I
n
s
t
a
n
c
e
 
o
f
 
a
n
 
A
t
t
r
i
b
u
t
e
s
(
e
m
p
l
o
y
e
e
)
A
t
t
r
i
b
u
t
e
Employee
No.
Employee
Name
Employee
Job
No. 3:
NAME: Starbuck
JOB: Pilot
No. 2:
NAME: Jones
JOB: Supervisor
No. 1:
NAME: Smith
JOB: Operator
Attributes: An Example
E
m
p
l
o
y
e
e
 
N
u
m
b
e
r
G
e
n
d
e
r
H
a
i
r
 
C
o
l
o
r
A
g
e
Attributes
Entities and Attributes
Keys
Primary Key
 
Attribute whose value 
uniquely 
identifies
every instance of the entity.
Alternate Key
 
Attribute whose value uniquely identifies
the entity, but is 
not
 the primary key.
There can be more than one.
Foreign Key
 
Attribute that appears in a dependent
entity, having migrated from the primary
key of its parent entity.
Attribute and Primary Key Syntax
Entity-name/Entity-number
}
}
Primary Key
Attributes
Other Attributes
Owned or Inherited
Primary Key
Primary Key
Example:
Employee/2
Primary Key
Alternate Key #1
Alternate Key #2
Alternate Key
u
Every entity must have a unique key formed from
one or more attributes.
u
If more than one unique key exists only one is the
primary key, the others are alternate keys.
u
A primary key may serve as part of an alternate
key.
Foreign Keys
Relationships
u
A meaningful association or connection between
two entities.
u
A business rule.
Entity 
Classes
Related
Pairs
IDEF1X Relationships
u
All decisions are determined in pairs!
IDEF1X Component Relations
u
Relations show the association and dependency
between Entity Classes.  Each relationship is
labeled with a verb phrase.
u
Examples—
“is assigned to”
 
“is contained in”
“has”
 
“performs”
u
The dependency between two entity classes
determines the syntax of the label and the way it
is depicted
Types of Relationships in IDEF1X
Non-specific Relationships
Specific Relationships
Identifying Relationship
Non-Identifying Relationships
Complete Categorization
Incomplete Categorization
Generic Entity
Categorization Relationships
IDEF1X Component Relations
u
An entity class which can not meaningfully exist
without the existence of another entity class is
said to be dependent.
u
Example:  a Purchase Order can not exist without a
Purchaser.
u
Relations are depicted and labeled from the
independent entity class towards the dependent
entity class.
u
Often non-specific dependencies must be shown
and resolved later.  These are always given “bi-
directional” labels.
Relationship Name/
Relationship Name
Non-Specific Relationship
 
Many-to-Many relationship between two and only
two entities.
u
Cardinality is expressed in both directions.
u
The relationship is named in both directions.
Specific Relationship
Parent-child or Existence-dependency.
u
One parent exists for zero, one, or more instances
of the child.
u
Each instance of a child entity can exist only if an
associated instance of the parent entity exits.
u
Relationships may be identifying or non-
identifying.
 
Key Class Migration
u
Refers to the “inheritance” of key class attributes
from an independent entity class to a related,
dependent entity class.
u
Stabilizes “functional dependency.”
u
Causes refinement of model to next lower level of
detail.
Key Class Migration
u
Requires resolution of “Non-Specific” Relation
Class syntax first
u
Migrates from “Independent” to “Dependent”
Entity Class
u
Occurs once for each Relation Class shared by an
Entity Class “pair”
Non-Key Attribute Classes NEVER Migrate
.
Identifying Relationship
u
The unique identification of an instance of the
child depends upon knowing the identity of the
associated instance of the parent.
u
The child entity in an identifying relationship is
always an identifier-dependent entity.
Non-Identifying Relationship
u
The unique identification of the instance of the
child does 
not
 depend upon knowing the identity
of the parent instance.
u
The child entity will be an identifier-dependent
entity 
unless
 it is also a child entity in an
identifying relationship with some other entity.
Cardinality of Relationships
 
Identifying Relationships
 
Non-Identifying Relationships
Cardinality
Complete Categorization
Category entities are always
identifier-dependent.
Incomplete Categorization
Categorization Migration
IDEF1X Glossary
u
In IDEF1X, a glossary of entities, attributes, and
sometimes relations must be documented.
u
A diagram tells only half the story—textual
content tells the other half.
u
Why does the department have access or use of
employees instead of assigning them to a department
for that department’s exclusive use?
IDEF1X Project Members
u
Project Manager
u
Modeler (Author)
u
Expert Source
u
Expert Reviewer
u
Librarian
Getting Started
u
Establish Viewpoint, Purpose, & Context
u
Context is most important
u
Five-phase process
u
Designed as a discovery process
u
Not sequential in phase application
u
Designed to be tolerant of error
u
Phases are really skill categories
IDEF1X Phased Approach
u
Phase 0 - Context Definition
u
Phase 1 - Entity Class Definition
u
Phase 2 - Relation Class Definition
u
Phase 3 - Key Class Definition
u
Phase 4 - Attribute Class Population
Phase 0
u
Align Information Model Purpose
u
Supplements and balances other aspects of the project
u
Organize Team (modelers, experts, stakeholders)
u
Determine data collection techniques to be used
and develop Data Collection Plan
u
Identify and maintain Source Data List (SDL)
u
Establish Model conventions
Phase 0 Example
1. Purpose: Identify information that no longer needs
to be maintained due to organizational changes.
2. Data Collection Plan: Specify approach to obtain
and model data, including data collection
techniques (interviews, documentation reviews,
etc.).
3. Source Data List: Data List Report.
4. Conventions: Entity & Attributes will be
capitalized and hyphenated.
Phase I:  Identify Entities
u
Identify candidate entity classes
u
Examine physical documents, interview results,
associated IDEF0 Activity Models; and/or IDEF3
Process Models
u
Assign entity class ID number
u
Define glossary for entity classes
u
Identify & define Entity Class synonyms
u
Separate candidate entities from model entities
relative to the project purpose
Identify Entities
Candidate Entity List
 
Employee, Computer, Agency, Dept, Product,
Directive
Employee
 
A person who works in a department of the
agency
 
Synonyms
: Person, Supervisor, Worker, Manager
Computer
 
A combination typewriter & calculator usually
not used to its full potential
 
Synonyms
: PC, idiot box, that stupid machine
Agency
 
A unit of the Federal Government
Dept
 
A sub-unit of an agency
Product
 
A paper document Congress says is needed but
nobody ever asks for
Directive
 
A requirement to produce for a product
Phase II: Identify Relations
u
Identify relations between entity classes
u
Focus Diagrams
u
Views
u
Entities/Relations Matrix
u
Define each relation in the Glossary
u
Create first diagrams of information model
u
Create a diagram for each “row” in the matrix; or
u
Pick an important entity class and group related entity classes
around it
u
Identify dependencies between entity classes
Labeling some relations may not be possible until
Attribute Classes have been identified and defined.
Establish relations using the Entity-Relation Matrix...
Entity Relations Matrix
...create the first diagrams...
Phase II: Example
...identify the dependencies...
Phase II: Example
 
Phase III: Key Class Identification
u
Identify how members of a single entity class are
identified through the use of key classes.
u
Form compound key classes if necessary.
u
Migrate key classes to other entity classes where
they are used but not as key classes.
Key Class Migration
u
Stabilizes “Functional Dependency”
u
Causes Refinement of Model to Next Lower
Level of Detail
Six Basic Rules
u
Trace ALL model claims to facts
u
No nulls
u
No repeats
u
Only
 one owner of an attribute class
u
Relation 
only
 if key class migrates
u
No non-decreasing cycles
...identify the key classes...
Phase III: Example
...migrate the key classes...
Phase III: Example
...resolve non-specific relations
and check migration...
Phase III & IV: Example
Phase IV: Attribute Class Definition
u
Identify attribute classes
u
Define attribute classes in the Glossary
u
Determine attribute class “owners,” the entity
class that controls the occurrence of the attribute
class
u
Change non-specific relations to specific relations
through the creation of associative entity classes
...identify and assign
attribute classes.
Phase IV: Example
Complete and Stable IDEF1X Model
1.
 
Each Entity Class has exactly one meaning.
2.
 
No two Entity Classes have the same meaning.
3.
 
All members of an Entity Class always contain
exactly the same Attribute Class.  (No Null Rule)
4.
 
Each Attribute Class Represents only 
one
 fact.
(No Repeat Rule)
5.
 
No two Attribute Classes have the same meaning.
6.
 
Each Attribute Class is “owned” by (originates in)
exactly one Entity Class.
Complete and Stable IDEF1X Model
7.
 
Members of an Entity Class are distinguishable
from one another only by the Entire Entity Key,
the whole Key, and nothing but the Key.
7A. No Non-Key Attribute Class within an Entity
Class represents a fact that is identifiable by
anything less than the Entire Entity Class Key.
7B. No Non-Key Attribute Class within an Entity
Class represents a fact about (is a Descriptor of)
another Non-Key fact.
Complete and Stable IDEF1X Model
8.
 
Each business rule describing the Relationship
Class between any pair of Entity Classes is always
completely true.
9.
 
In any related pair of Entity Classes, one is always
Independent and the other always Dependent.
10. All Attribute Classes comprising the Key of an
Independent Entity Class are inherited by each
related Dependent Entity Class exactly 
once
 for
each Relationship Class between the pair.
Complete and Stable IDEF1X Model
11. No Non-Key Attribute Class in an Entity Class,
whether inherited or owned by the Entity Class,
migrates to any other Entity Classes.
12. None of the Attribute Classes in an Entity Class
(Key or Non-Key) will ever be multi-valued (have
multiple values) in an Entity Class occurrence.
13. None of the Attribute Classes in an Entity Class
(Key or Non-Key) will ever be logically “Null” in
an Entity Type occurrence.
Data modeling with
Data modeling with
IDEF1x
IDEF1x
A case study
A case study
Phase 0
The IDEF1x data model must be defined in terms of its goals
and limitations. These objectives include:
(1) Project definition
: a general statement of what has to be
done, why, and how it will get done.
(2) Source material
: a plan for the acquisition of source material,
including indexing and filing.
(3) Author conventions
: a fundamental declaration of the
conventions by which the author chooses to make and manage
the model
Phase 1
involves determining the entities to be
modeled
Suppose that it is desired to model a machine
shop:
The modeling objective might read: The IDEF1x
model of the machine shop will concentrate on the
relationships between the machines and what they
produce in the machine shop.
This will be an ``
AS-IS’’ 
model’.
Potential entities include: 
Machine, Tool, Part,
and Product.
Phase 2
is concerned with the identification and definition of
relationships between entities.
The first step in Phase 2 is to identify the
relationships between entities. This is commonly
done using a relationship matrix as shown in the
following Figure. This matrix has the entities
placed along each axis. An 
X
 
placed in location
(A,B) signifies that there is a relationship between
entity 
A
 and entity 
B
.
I
d
e
n
t
i
f
i
c
a
t
i
o
n
 
o
f
 
r
e
l
a
t
e
d
 
e
n
t
i
t
i
e
s
.
R
e
l
a
t
i
o
n
s
h
i
p
 
d
e
f
i
n
i
t
i
o
n
.
E
n
t
i
t
y
 
l
e
v
e
l
 
d
i
a
g
r
a
m
 
c
o
n
s
t
r
u
c
t
i
o
n
.
I
I
n
n
 
 
P
P
h
h
a
a
s
s
e
e
 
 
3
3
 
 
t
t
h
h
e
e
 
 
n
n
o
o
n
n
-
-
s
s
p
p
e
e
c
c
i
i
f
f
i
i
c
c
 
 
r
r
e
e
l
l
a
a
t
t
i
i
o
o
n
n
s
s
h
h
i
i
p
p
s
s
 
 
a
a
r
r
e
e
 
 
r
r
e
e
f
f
i
i
n
n
e
e
d
d
,
,
 
 
k
k
e
e
y
y
a
a
t
t
t
t
r
r
i
i
b
b
u
u
t
t
e
e
s
s
 
 
a
a
r
r
e
e
 
 
d
d
e
e
f
f
i
i
n
n
e
e
d
d
 
 
f
f
o
o
r
r
 
 
e
e
a
a
c
c
h
h
 
 
e
e
n
n
t
t
i
i
t
t
y
y
,
,
 
 
p
p
r
r
i
i
m
m
a
a
r
r
y
y
 
 
k
k
e
e
y
y
s
s
 
 
a
a
r
r
e
e
m
m
i
i
g
g
r
r
a
a
t
t
e
e
d
d
 
 
t
t
o
o
 
 
f
f
o
o
r
r
m
m
 
 
f
f
o
o
r
r
e
e
i
i
g
g
n
n
 
 
k
k
e
e
y
y
s
s
 
 
i
i
n
n
 
 
c
c
h
h
i
i
l
l
d
d
 
 
e
e
n
n
t
t
i
i
t
t
i
i
e
e
s
s
,
,
 
 
a
a
n
n
d
d
r
r
e
e
l
l
a
a
t
t
i
i
o
o
n
n
s
s
h
h
i
i
p
p
s
s
 
 
a
a
n
n
d
d
 
 
k
k
e
e
y
y
s
s
 
 
a
a
r
r
e
e
 
 
v
v
a
a
l
l
i
i
d
d
a
a
t
t
e
e
d
d
.
.
N
N
o
o
n
n
-
-
s
s
p
p
e
e
c
c
i
i
f
f
i
i
c
c
 
 
r
r
e
e
l
l
a
a
t
t
i
i
o
o
n
n
s
s
h
h
i
i
p
p
 
 
r
r
e
e
s
s
o
o
l
l
u
u
t
t
i
i
o
o
n
n
.
.
K
e
y
 
a
t
t
r
i
b
u
t
e
 
i
d
e
n
t
i
f
i
c
a
t
i
o
n
.
K
e
y
 
m
i
g
r
a
t
i
o
n
.
`
O
 
=
o
w
n
e
r
,
 
`
K
 
=
p
r
i
m
a
r
y
 
k
e
y
,
 
a
n
d
 
`
I
 
=
i
n
h
e
r
i
t
e
d
.
A Phase 3 function view should be accompanied by its
entity documentation sets
These sets include:
(1) a definition of the entity;
(2) a list of primary, alternative, and foreign key attributes;
(3) a definition for owned key attributes;
(4) a list of relationships in which the entity is a generic entity;
(5) a list of relationships in which the entity is a category entity;
(6) a list of identifying relationships in which the entity is a parent;
(7) a list of identifying relationships in which the entity is a child;
(8) a list of non-identifying relationships in which the entity is a parent;
(9) a list of non-identifying relationships in which the entity is a child.
(10) a definition of dual path assertions (if appropriate);
(11) an individual entity diagram following the same approach as the entity
diagram in Phase 2 (optional);
(12) a cross-reference to the associated entities, as well as a cross-reference
to the owned and shared attributes (optional but helpful).
Phase 4
Phase 4 is the final stage of the modeling procedure.
The objectives of Phase 4 include:
(1) development of an attribute pool;
(2) establishment of attribute ownership;
(3) definition of non-key attributes;
(4) validation and refinement of the data structure.
N
o
n
-
k
e
y
 
a
t
t
r
i
b
u
t
e
 
i
d
e
n
t
i
f
i
c
a
t
i
o
n
.
M
o
d
e
l
 
r
e
f
i
n
e
m
e
n
t
.
Phase 4 results
At the conclusion of Phase 4, the function view diagrams can be updated to
display the 
refinement
 of the model.
The entity document set should now contain:
(1) a definition of each entity;
(2) a list of primary, alternative, and foreign key attributes;
(3) a definition of each owned attribute (key and non-key);
(4) a list of relationships in which the entity is a parent (generic entity,
identifying and non-identifying parent relationships);
(5) a list of relationships in which the entity is a child (category entity,
identifying and non-identifying child relationships);
(6) a definition of any dual path assertions;
(7) individual entity diagrams expanded to show non-key attributes
(optional);
(8) cross-reference of relationships to participating entities;
(9) cross-reference of key and non-key attributes to their entities.
Slide Note
Embed
Share

Explore the world of IDEF1X data modeling in manufacturing systems, from components of information to the benefits of analysis. Learn why developing an IDEF1X model is crucial for information resource management and how it helps in achieving a competitive edge. Discover what an IDEF1X model is and how it differs from a traditional data model, focusing on logical designs of databases and applications. Enhance your knowledge of data modeling and its applications in the context of manufacturing systems.

  • IDEF1X
  • Data Modeling
  • Manufacturing Systems
  • Information Management
  • Competitive Advantage

Uploaded on Sep 15, 2024 | 4 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.

E N D

Presentation Transcript


  1. IE 469 Manufacturing Systems 469 IDEF 1X Data Modeling

  2. Components of Information Information Data Meanings Facts

  3. From ER to IDEF1X M M Customer Selling Product Selling Customer Product

  4. IDEF 1X Useful in determining when information voids are the cause of a problem Consistent, extensible, and transformable Provides consistent mapping and definition of enterprise data

  5. Benefits of IDEF1X Analysis Separate Facts from Folklore Discover underlying cause for problems Use directly as requirements Implement results with policy or procedure change Designed for the domain expert

  6. Why Develop an IDEF1X Model? Determine information resource management needs and requirements Depict what information is collected, stored, and managed Depict the rules governing the management of information Validate the concepts in the associated IDEF0 model Leverage information to achieve a competitive advantage

  7. What is an IDEF1X Model? A Graphic / Textual Depiction of What Must I Know to Do What I Do? Automated and Non-Automated Objects People Filing Cabinets Telephones Sale / 2 ABC Mailbox / 6 Sale # ABC ID Decreases Count of Receives Invoices from P Item on Shipment / 7 Vendor # (FK) Shipment #(FK) Shipment / 4 Item / 1 Vendor / 5 Vendor # (FK) Shipment # Item # Vendor # (FK) Vendor # 1 P Contains Increases Count of P Prepares P Owns 1 Vendor Mailbox / 3 Vendor # (FK) Receives count of

  8. What is a Data Model? A Representation of the Data Elements and the Relationships among those Elements in an Existing or Planned System.

  9. Data Modeling Focus Things inside the computer/software system Representation & structure of DATA Use for logical design of databases logical design of applications physical design of database implementation

  10. Information Modeling Focus Information collected, stored, and managed by the organization Rules within the organization about that information Logical relationships within the organization reflected in the information Basis for information system design Use for Problem Identification Requirements Definition

  11. Knowledge Modeling Focus Terminology used in the domain to represent concepts, physical objects, behavior or knowledge that people use to do their job Concepts people use to do their job Perceived relationships within the organization Physical (Nomic) Constraints Conventional (Nominative) Constraints Conditional Constraints Map of language use on the real world The flow of knowledge between situated agents in the environment

  12. Information Modeling Use Information System Audit systems machines & software Document Flow Analysis Which organizations generate Which organizations use Data Life-Cycle Definition Data Flow Modeling

  13. IDEF1X - Data Modeling Intended as a method to facilitate the logical design of a relational database, IDEF1X provides: a foundation for a data dictionary. a definition of the information and data structure of the enterprise. a model that can be used in actual database implementation. SQL code generated through commercial product support.

  14. IDEF1X As A Standard Federal Information Processing Standards Publication (FIPS PUB) 184 - Integration Definition for Information Modeling (IDEF1X) Published December 1993 DoD 8020.1-M established IDEF1X as the DoD standard methodology used for data modeling

  15. "Real World" Connections Information Model Business Rules The Real World VENDOR Any individual vendor may receive many purchase orders. Information about Vendors Any individual purchase order is issued to only one vendor. Information about Purchase Orders Purchase Order

  16. Entity A generic name of a person, place, or thing that is within the scope of the model and has a unique identifier. Employee is an entity and has a unique identifier (employee number).

  17. Entities Instances of entities Dick Schwartz John Jones Employee Entity

  18. What Makes a Set of Things an Entity? Can it be described? Are there several instances? Can one instance be separated or distinguished from another? Does it refer to or describe something? (If YES, then it may be an attribute of an entity.)

  19. Attribute A type of characteristic or property associated with a set of real or abstract things (people, objects, events, etc.). Attribute Instance Is a specific characteristic of an entity. Is defined by both the types of a characteristic and its value. Has a unique name (noun/noun phrase), and the same meaning must always apply to the same name. May be inherited by an entity through a specific connection or categorization relationship in which it is a child or category entity.

  20. Attributes: An Example Entity (employee) Instance of an Attribute Attributes No. 1: NAME: Smith JOB: Operator Employee No. No. 2: NAME: Jones JOB: Supervisor Employee Name No. 3: NAME: Starbuck JOB: Pilot Employee Job

  21. Attributes Hair Color Gender Employee Number 16482 F Brn 25 13258 M Red 18 Employee Number Gender Hair Color Age Age Employee

  22. Entities and Attributes Vendor/1 P.O./2 vendor_name vendor_number contact_number address phone_number po_total po_number P Account Item/3 status due_date invoice_date invoice_number

  23. Keys Primary Key Attribute whose value uniquely identifies every instance of the entity. Alternate Key Attribute whose value uniquely identifies the entity, but is not the primary key. There can be more than one. Foreign Key Attribute that appears in a dependent entity, having migrated from the primary key of its parent entity.

  24. Primary Key Attribute and Primary Key Syntax Entity-name/Entity-number Primary Key Attributes } Other Attributes Owned or Inherited }

  25. Primary Key Vendor/1 vendor_number P.O./2 po_number vendor_name contact_number address phone_number po_total P Account Item/3 status due_date invoice_date invoice_number

  26. Alternate Key Every entity must have a unique key formed from one or more attributes. If more than one unique key exists only one is the primary key, the others are alternate keys. A primary key may serve as part of an alternate key. Example: Employee/2 Primary Key Employee-No Alternate Key #1 Alternate Key #2 SSN (AK1) Name (AK2) Birth Date (AK2)

  27. Foreign Keys Vendor/1 vendor_number P.O./2 po_number vendor_name contact_number address po_total phone_number P Account Item/3 po_number (FK) vendor_number (FK) status due_date invoice_date invoice_number

  28. Relationships A meaningful association or connection between two entities. A business rule.

  29. IDEF1X Relationships All decisions are determined in pairs! Entity Classes Related Pairs

  30. IDEF1X Component Relations Relations show the association and dependency between Entity Classes. Each relationship is labeled with a verb phrase. Examples is assigned to has The dependency between two entity classes determines the syntax of the label and the way it is depicted is contained in performs

  31. Types of Relationships in IDEF1X Non-specific Relationships Categorization Relationships Complete Categorization Generic Entity Entity 1 Entity 2 Discriminator Specific Relationships Entity 1 Entity 2 Identifying Relationship Entity 1 Entity 2 Incomplete Categorization Generic Entity Non-Identifying Relationships Discriminator Entity 1 Entity 2 Entity 1 Entity 2

  32. IDEF1X Component Relations An entity class which can not meaningfully exist without the existence of another entity class is said to be dependent. Example: a Purchase Order can not exist without a Purchaser. Relations are depicted and labeled from the independent entity class towards the dependent entity class. Often non-specific dependencies must be shown and resolved later. These are always given bi- directional labels.

  33. Non-Specific Relationship Many-to-Many relationship between two and only two entities. Cardinality is expressed in both directions. The relationship is named in both directions. RELATIONSHIP OF A TO B Entity A/1 Entity B/2 Relationship Name/ Relationship Name RELATIONSHIP OF B TO A

  34. Specific Relationship Parent-child or Existence-dependency. One parent exists for zero, one, or more instances of the child. Each instance of a child entity can exist only if an associated instance of the parent entity exits. Relationships may be identifying or non- identifying.

  35. Key Class Migration Refers to the inheritance of key class attributes from an independent entity class to a related, dependent entity class. Stabilizes functional dependency. Causes refinement of model to next lower level of detail.

  36. Key Class Migration Requires resolution of Non-Specific Relation Class syntax first Migrates from Independent to Dependent Entity Class Occurs once for each Relation Class shared by an Entity Class pair Non-Key Attribute Classes NEVER Migrate.

  37. Identifying Relationship The unique identification of an instance of the child depends upon knowing the identity of the associated instance of the parent. The child entity in an identifying relationship is always an identifier-dependent entity. RELATIONSHIP NAME FROM PARENT TO CHILD PARENT ENTITY CHILD ENTITY Entity A/1 Entity B/2 Key-Attribute-B Key-Attribute-A Relationship Name Key-Attribute-A (FK) IDENTIFYING RELATIONSHIP INDICATOR

  38. Non-Identifying Relationship The unique identification of the instance of the child does not depend upon knowing the identity of the parent instance. The child entity will be an identifier-dependent entity unless it is also a child entity in an identifying relationship with some other entity. RELATIONSHIP NAME FROM PARENT TO CHILD CHILD ENTITY PARENT ENTITY Entity A/1 Key-Attribute-A Entity B/2 Key-Attribute-B Relationship Name Key-Attribute-A (FK) NON-IDENTIFYING RELATIONSHIP INDICATOR

  39. Cardinality of Relationships Identifying Relationships Non-Identifying Relationships One To Zero or More One To Zero or More One To One or More One To One or More P P One To Zero or One One To Zero or One Z Z One To Exactly N One To Exactly N N N

  40. Cardinality P.O./2 Vendor/1 P Account Item/3

  41. Complete Categorization Generic Entity The generic entity may be identifier-independent or identifier-dependent. Discriminator Category entities are always identifier-dependent. Category Entities

  42. Incomplete Categorization Discriminator

  43. Categorization Migration Account Item/3 po_number(FK) vendor_number (FK) due_date invoice_number invoice_date status status Billed/8 Overdue/7 po_number (FK) vendor_number (FK) Paid/6 po_number (FK) vendor_number (FK) po_number (FK) vendor_number (FK) overcharge_due date_received check_number

  44. IDEF1X Glossary In IDEF1X, a glossary of entities, attributes, and sometimes relations must be documented. A diagram tells only half the story textual content tells the other half. Why does the department have access or use of employees instead of assigning them to a department for that department s exclusive use?

  45. IDEF1X Project Members Project Manager Modeler (Author) Expert Source Expert Reviewer Librarian

  46. Getting Started Establish Viewpoint, Purpose, & Context Context is most important Five-phase process Designed as a discovery process Not sequential in phase application Designed to be tolerant of error Phases are really skill categories

  47. IDEF1X Phased Approach Phase 0 - Context Definition Phase 1 - Entity Class Definition Phase 2 - Relation Class Definition Phase 3 - Key Class Definition Phase 4 - Attribute Class Population

  48. Phase 0 Align Information Model Purpose Supplements and balances other aspects of the project Organize Team (modelers, experts, stakeholders) Determine data collection techniques to be used and develop Data Collection Plan Identify and maintain Source Data List (SDL) Establish Model conventions

  49. Phase 0 Example 1. Purpose: Identify information that no longer needs to be maintained due to organizational changes. 2. Data Collection Plan: Specify approach to obtain and model data, including data collection techniques (interviews, documentation reviews, etc.). 3. Source Data List: Data List Report. 4. Conventions: Entity & Attributes will be capitalized and hyphenated.

  50. Phase I: Identify Entities Identify candidate entity classes Examine physical documents, interview results, associated IDEF0 Activity Models; and/or IDEF3 Process Models Assign entity class ID number Define glossary for entity classes Identify & define Entity Class synonyms Separate candidate entities from model entities relative to the project purpose

More Related Content

giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#