Chapter 5 - Data Modeling

0.0(0)
studied byStudied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/19

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 4:49 AM on 2/8/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

20 Terms

1
New cards

Structure Model

  • Describe data and information structures inherent in business process

  • Create the blueprint for development of relational databases to support collection, aggregation, and communication of process information

2
New cards

Structure Model - Purpose

  • Describe entities or things in domain of interest (ex: customers or orders)

  • Describe relationships among these things (ex: customers make orders)

  • Specify how many instances of one entity can be related to another (ex: customers can place multiple orders)

  • Identify attributes/characteristics of entities and relationships (ex: customer name, address, phone number, etc.)

3
New cards

UML Class Diagram Building Blocks

  • Classes

  • Association

  • Multiplicites

4
New cards

UML Class Diagram - Classes

  • Separately identifiable collections of things about which the organizations wants to collect and store information

  • Can represent organization resources (ex: machines, buildings, cash, investments)

  • Can represent people (ex: customers or employees)

  • Can represent events (ex: sales, purchases, cash receipts)

  • Can represent conceptual structures (ex: accounts, product categories)

5
New cards

UML Class Diagram - Associations

  • Depict business relationships between two classes

  • Sometimes have verb phrases to further clarify relationships

<ul><li><p>Depict business relationships between two classes</p></li><li><p>Sometimes have verb phrases to further clarify relationships </p></li></ul><p></p>
6
New cards

UML Class Diagram - Multiplicities

  • Minimum and maximum amount of times classes can be associated with each other

7
New cards

Attributes

  • Columns in a table

  • Data elements that describe the characteristics of instances in a class

  • Ex: entity is customers, attributes are customer ID, name, address, etc.

8
New cards

Primary Key

  • One or multiple attributes that uniquely identify each instant in a class/row

  • NEVER null

9
New cards

Foreign Keys

  • Allows tables to be linked to eachother

  • Shows associations between tables

10
New cards

Other UML Relationship Notation

  • Generalization

  • Aggregation

  • Composition

11
New cards

Other UML Relationship Notation - Generalization

  • Allows for grouping of things that have common characteristics

12
New cards

Other UML Relationship Notation - Aggregation

  • Describe classes that are connected but can exist outside of each other

  • Ex: Players and Teams, players are on a team but can exist without each other

13
New cards

Other UML Relationship Notation - Composition

  • Describe classes that are connected but cannot exist outside of each other

  • Ex: Books and chapters, chapter cannot exist separately from books

14
New cards

Other Notations: Notes

  • Allows modeler to add explanations or describe constraints

  • Can be attached to class with dash lined

15
New cards

Other Notations: Role Designation

  • Helps when association depends on specific role that object in class has

  • Ex: The association between employees and project depend on type of employee

<ul><li><p>Helps when association depends on specific role that object in class has</p></li><li><p>Ex: The association between employees and project depend on type of employee</p></li></ul><p></p>
16
New cards

Other Notations: Constraints

  • Modeled w/ notes or placed near the constrained end of an association

17
New cards

Many-to-Many Associations

  • 0..* and 0..*

  • 0..* and 1..*

  • 1..* and 0..*

  • 1..* and 1..*

18
New cards

Implementing a Database from a Class Diagram

  1. Map classes to tables

  2. Map classes attributes to assign PK

  3. Map associations to FK

  4. Create new tables for many-to-many relationships

    1. Implement relationship among table following diagram

19
New cards

Decision Categories

  • Eligibility/Approval

  • Validation

  • Calculation

  • Risk

  • Fraud

  • Opportunity

  • Assignment

  • Targeting

20
New cards

Types of Business Rules

  • Obligatory: what SHOULD happen

  • Prohibited: what should NOT happen

  • Allowed: What is allowed under certain conditions