Chapter 13: Object-Oriented Data Modeling

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/68

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

69 Terms

1
New cards

Object-oriented data modeling

Centers around objects and classes, involves inheritance, and encapsulates both data and behavior

2
New cards

Implementation

  • programming

  • database access

3
New cards

System Design

  • system architecture

  • subsystems

4
New cards

Object Design

  • data structures

  • algorithms

  • controls

5
New cards

Analysis

  • application

  • what

6
New cards

Class

EER: Entity type = Object Oriented: _______

7
New cards

Object

EER: Entity instance = Object Oriented: _______

8
New cards

Inheritance of attributes

EER: Inheritance of attributes = Object Oriented: _______

9
New cards

Inheritance of behavior

EER: No representation of behavior = Object Oriented: _______

10
New cards

Unified Modeling Language (UML)

Object-oriented modeling is typically represented using

11
New cards

Class

An entity that has a well-defined role in the application domain, as well as state, behavior, and identity

12
New cards

Tangible

person, place or thing

13
New cards


Concept or Event

department, performance, marriage, registration

14
New cards

Artifact of the Design Process

user interface, controller, scheduler

15
New cards

Object

a particular instance of a class

16
New cards

behavior

Objects exhibit _____ as well as attributes

17
New cards

State

attribute types and values

18
New cards

Behavior

how an object acts and reacts

19
New cards

operations

Behavior is expressed through ______ that can be performed on it

20
New cards

Identity

Every object has a unique _____, even if all of its attribute values are the same

21
New cards

Class diagram

_______ shows the static structure of an object- oriented model: object classes, internal structure, relationships

22
New cards

Object diagram

_______ shows instances that are compatible with a given class diagram

23
New cards

Operation

A function or service provided by all instances of a class

24
New cards

Encapsulation

hiding internal implementation details

25
New cards

Constructor

creates a new instance of a class

26
New cards

Query

accesses but does not change an object’s state

27
New cards

Update

alters the state of an object

28
New cards

Class-Scope

operation applies to the class instead of an instance

29
New cards

Operations

______ implement the object’s behavior

30
New cards

Association

Named relationship among object classes

31
New cards

Association Role

Role of an object in an association

32
New cards

Association Role

The end of an association where it connects to a class

33
New cards

Multiplicity

How many objects participate in an association

34
New cards

Lower-bound…Upper-bound (0..1, 1..1, 1..*, 0..*)

Cardinalities are known as _____ in OO

35
New cards

Alternative multiplicity representation

specifying the two possible values in a list instead of a range

36
New cards

Object diagram

_______ shows associations between specific object instances

37
New cards

Association class

An association that has attributes or operations of its own or that participates in relationships with other classes

38
New cards

Association class

Associative entity in E-R model is known as ____ in OO

39
New cards

/ (example: /age)

Derived attribute and relationship symbol in OO

40
New cards

subclass, superclass

similar to subtype/supertype in EER

41
New cards

Complete, Incomplete

_____: total specialization - ______: partial specialization

42
New cards

Abstract Class

no direct instances possible, but subclasses may have direct instances

43
New cards

Concrete Class

direct instances possible

44
New cards

Disjoint

Example: An employee can only be one of these subclasses

45
New cards

Incomplete

Example: An employee may be none of them

46
New cards

italics (Example: {abstract})

Abstract is indicated by ______

47
New cards

Complete

Example: A patient MUST be EXACTLY one of the subtypes

48
New cards

Dynamic

Example: ______ means a patient can change from one subclass to another over time

49
New cards

Class-scope attribute

Specifies a value common to an entire class, rather than a specific value for an instance

50
New cards

underlining

Class-scope attribute is represented by _______

51
New cards

“=”

____ is initial, default value

52
New cards

Abstract Operation

Defines the form or protocol of the operation, but not its implementation

53
New cards

Method

The implementation of an operation

54
New cards

Polymorphism

The same operation may apply to two or more different classes in different ways

55
New cards

Class-scope attribute

Only one value common to all instances of these classes (includes default values)

56
New cards

Overriding

The process of replacing a method inherited from a superclass by a more specific implementation of that method in a subclass

57
New cards

Extension, Restriction, Optimization

For _______: add code - For _______: limit the method - For _______: improve code by exploiting restrictions imposed by the subclass

58
New cards

Multiple Classification

An object is an instance of more than one class

59
New cards

Multiple Inheritance

A class inherits features from more than one superclass

60
New cards

Aggregation

A part-of relationship between a component object and an aggregate object

61
New cards

Composition

A stronger form of aggregation in which a part object belongs to only one whole object and exists only as part of the whole object

62
New cards

Recursive Aggregation

Composition where component object is an instance of the same class as the aggregate object

63
New cards

aggregation, composition

Open diamond indicates _____, and closed diamond indicates _______

64
New cards

labeled dashed arrow from one to the other

Business rules involving two graphical symbols: _______

65
New cards

note with dashed lines to each symbol

Business rules involving three or more graphical symbols: _________

66
New cards

Superclass

The class they are generalized into (parent)

67
New cards

Subclass

The classes that are generalized (children)

68
New cards

Disjoint

A subclass that may not have subclass/es

69
New cards

Overlapping

A subclass that may have subclass/es