Integrating data process a roundtrip modeling using e rwin data modeler_erwin process...
-
Upload
erwin-modeling -
Category
Technology
-
view
408 -
download
0
description
Transcript of Integrating data process a roundtrip modeling using e rwin data modeler_erwin process...
16843 Harbour Town DriveSilver Spring, MD 20905
Tel: 301.476.9190Fax: 301.476.9195
WWW.MYRIADINC.NET
Manan [email protected] (Office)301.385.2059 (Cell)
Integrating Data & ProcessA roundtrip modeling using
ERwin Data Modeler & ERwin Process Modeler
16843 Harbour Town DriveSilver Spring, MD 20905
Tel: 301.476.9190Fax: 301.476.9195
WWW.MYRIADINC.NET
ERwin Data
Modeler
Import / Export
Bridge
ERwin Data
Profiler
ERwin
Process
Modeler
ERwin Model
Navigator
ERwin
Model
Manager
ERwin
Saphir
Option
ERwin Data
Model Validator
Crystal
Reports
( Other ODBC)
16843 Harbour Town DriveSilver Spring, MD 20905
Tel: 301.476.9190Fax: 301.476.9195
WWW.MYRIADINC.NET
ERwin Data
Modeler
ERwin
Process
Modeler
16843 Harbour Town DriveSilver Spring, MD 20905
Tel: 301.476.9190Fax: 301.476.9195
WWW.MYRIADINC.NET
Why Map Models?
Mapping of process models to data models
ensures completeness of analysis.
enables sharing of data across business units and functions.
guarantees that the there is a supply of data (entity) for all data needs (activity).
ensures that data is available when needed.
16843 Harbour Town DriveSilver Spring, MD 20905
Tel: 301.476.9190Fax: 301.476.9195
WWW.MYRIADINC.NET
4 Model Mapping Steps
•Mapping of process models to data modelsSTEP 1: Map entities to arrows.
STEP 2: Map attributes to arrow entities.
STEP 3: Identify process action(s) upon entities.
STEP 4: Identify process action(s) upon attributes.
•Occurs at the leaf level.
16843 Harbour Town DriveSilver Spring, MD 20905
Tel: 301.476.9190Fax: 301.476.9195
WWW.MYRIADINC.NET
Step 1: Map Entities to Arrows
IDEF0 Model
PRODUCT
PART
assembledfrom
Parts
Finished
ProductsASSEMBLE
PART
Assembly
Instructions assembledinto
IDEF1X Data Model
PUBLISH
ASSEMBLY
INSTRUCTIONS
MAKE
PART
ASSEMBLY
INSTRUCTION
16843 Harbour Town DriveSilver Spring, MD 20905
Tel: 301.476.9190Fax: 301.476.9195
WWW.MYRIADINC.NET
Step 2: Map Attributes to Arrow Entities
Determine attribute mapping for each mapped entity
IDEF0 Model
assembledfrom
Parts
Finished
ProductsASSEMBLE
PART
Assembly
Instructionsassembled
into
IDEF1X Data Model
PUBLISH
ASSEMBLY
INSTRUCTIONS
MAKE
PART
ASSEMBLY INSTRUCTION
Product ID (FK)
Part Number (FK)
Assembly Step (FK)
Assembly Instruction
Assembly TimePART
Part Number
Part Name
Part Cost
Quantity On Hand
PRODUCT
Product ID
Product Name
Product Status
Product Cost
16843 Harbour Town DriveSilver Spring, MD 20905
Tel: 301.476.9190Fax: 301.476.9195
WWW.MYRIADINC.NET
IDEF0
PROCESS
CONTROL (R)Entities are NOT CHANGED by the process.
Must be READ ONLY!!
Entities must be
READ and DELETED OR UPDATED
INPUT R & (U or D)(TRANSFORMED by the process)
Entities must be
CREATED and/or UPDATED
OUTPUT (C &/or U)(RESULT from the process)
MECHANISM
Entity Mapping NOT APPLICABLE
Allowable Activity Actions on Entities Associated with Arrows
Entity Data Usage Rules (CRUD)
C: CREATE R: READ U: UPDATE D: DELETE
16843 Harbour Town DriveSilver Spring, MD 20905
Tel: 301.476.9190Fax: 301.476.9195
WWW.MYRIADINC.NET
Step 3: Identify Activity Action Upon Entities
IDEF0 Model IDEF1X Data Model
Log New
Part
New
Part
Quantity
on HandCount
Parts
Employee
PART
Part Number
Part Name
Part Cost
Quantity On Hand
CREATE
UPDATE
C: CREATE R: READ U: UPDATE D: DELETE
16843 Harbour Town DriveSilver Spring, MD 20905
Tel: 301.476.9190Fax: 301.476.9195
WWW.MYRIADINC.NET
IDEF0
PROCESS
CONTROL (R)Attributes ARE NOT CHANGED by the process.
Must be READ ONLY!!
Attributes can be
READ (if entity is Read)
AND
UPDATED (if entity is Update)
NULLIFIED (if entity is Created
or Update)
INPUT R & (U or N)(TRANSFORMED by the process)
Attributes can be
INSERTED and/or UPDATED
(if entity is Create or Update)
OUTPUT (I &/or U)(RESULT from the process)
MECHANISM
Entity Mapping NOT APPLICABLE
Allowable Activity Actions on Attributes Associated with Arrows
Attributes Data Usage Rules (IRUN)
I: INSERT R: READ U: UPDATE N: NULLIFY
16843 Harbour Town DriveSilver Spring, MD 20905
Tel: 301.476.9190Fax: 301.476.9195
WWW.MYRIADINC.NET
Step 4:Identify Activity Action Upon Attributes
IDEF0 Model IDEF1X Data Model
Log New
Part
New
Part
Quantity
on HandCount
Parts
Employee
PART
Part Number
Part Name
Part Cost
Quantity On Hand
INSERT
UPDATE
I: INSERT R: READ U: UPDATE N: NULLIFY
16843 Harbour Town DriveSilver Spring, MD 20905
Tel: 301.476.9190Fax: 301.476.9195
WWW.MYRIADINC.NET
Process Modeler and ERwin DM• Process Modeler can export and import Data Model information to and from ERwin.
– further define business activities.
–cross-validate function models and data models.
– improve model quality and consistency.
– reduce development time.
IDEF0 & IDEF3
Business
Process Modeling
IDEF1X Data
Modeling and
Database Schema
Generation
Process
Modeler ERwinDB2
InformixIngres
Microsoft SQL ServerOracle
RdbSybase SQL Server
and more...
Target Server Database
16843 Harbour Town DriveSilver Spring, MD 20905
Tel: 301.476.9190Fax: 301.476.9195
WWW.MYRIADINC.NET
• The ERwin Modeling Suite offers links between ERwindata models & Process Models
–From ERwin to Process Modeler through ‘.eax’ files.
–From Process Modeler to ERwin through ‘.bpx’ files.
• These files are used to synchronize entity and attribute information in both models.
Integrating ERwin and Process Modeler
ERwin Data ModelProcess Models
BPX files
EAX files
16843 Harbour Town DriveSilver Spring, MD 20905
Tel: 301.476.9190Fax: 301.476.9195
WWW.MYRIADINC.NET
• .eax data files created in ERwin are used to transfer entity and attribute information into Process Modeler.
Integrating ERwin and Process Models
ERwin Data ModelProcess Model
Entity and Attribute
NAMES &
DEFINITIONS
16843 Harbour Town DriveSilver Spring, MD 20905
Tel: 301.476.9190Fax: 301.476.9195
WWW.MYRIADINC.NET
• .bpx files are created in Process Modeler to
–export entity and attribute names and definitions into a new or existing ERwin model.
–export activity names from Process Modeler resulting in the creation of subject areas in an ERwin model.
Integrating ERwin and Process Modeler
ERwin Data ModelProcess Model
Entities, Attributes, &
Process Subject Areas
16843 Harbour Town DriveSilver Spring, MD 20905
Tel: 301.476.9190Fax: 301.476.9195
WWW.MYRIADINC.NET
REVIEW: Data Usage Rules Summary
Activity Actions on Entities & Attributes Associated with Arrows
ENTITIES: C = Create R = Read U = Update D = Delete
ATTRIBUTES: I = Insert R = Read U = Update N = Nullify
ARROW TYPE
INPUT
OUTPUT
CONTROL
MECHANISM
APPROPRIATE
ACTIONS
Attributes
RUN
IU
R
(n/a)
Entities
RUD
CU
R
(n/a)
INAPPROPRIATE
ACTIONS
Attributes
I
R
IUN
(n/a)
Entities
C
R
CUN
(n/a)
16843 Harbour Town DriveSilver Spring, MD 20905
Tel: 301.476.9190Fax: 301.476.9195
WWW.MYRIADINC.NET
REVIEW: Process Driven Data Modeling
CREATE
E-R MODEL
ATTRIBUTE
E-R MODEL
IDENTIFY
& CAPTURE
BUSINESS RULES
DEFINE
PHYSICAL LAYER
OF MODEL
REVIEW
FINAL DESIGN
$100 $150 $200 $200 $150
CREATE
DATABASE DESIGN
IDENTIFY CANDIDATE ENTITIES
IDENTIFY RELATIONSHIPS
DEFINE ENTITIES & RELATIONSHIPS
REVIEW ENTITY-RELATIONSHIP MODEL
LIST CANDIDATE ATTRIBUTES FOR EACH ENTITY
ADD KEYS TO MODEL
ATTRIBUTE & NORMALIZE MODEL
DEFINE ATTRIBUTES
REVIEW LOGICAL MODEL
REVIEW & VERIFY CARDINALITIES
DEFINE REFERENTIAL INTEGRITY
IDENTIFY BUSINESS DOMAINS
IDENTIFY ATTRIBUTE DEFAULT VALUES
SELECT TARGET DBMS
NAME TABLES & COLUMNS
NAME & DEFINE INDEXES
DEFINE COLUMNS
VERIFY/UPDATE TRIGGERS
GENERATE REPORTS
VERIFY ENTITIES & DEFINITIONS
VERIFY RELATIONSHIPS & DEFINITIONS
VERIFY ATTRIBUTES & DEFINITIONS
VERIFY BUSINESS CONSTRAINTS
APPROVE SCHEMA DESIGN
ENTRY POINT
16843 Harbour Town DriveSilver Spring, MD 20905
Tel: 301.476.9190Fax: 301.476.9195
WWW.MYRIADINC.NET
16843 Harbour Town DriveSilver Spring, MD 20905Tel: 301.476.9190Fax: 301.476.9195
Manan [email protected]