structural model: a formal way of representing the ______

16
Slide 1 Structural model: a formal way of representing the ______ that are used and created by a business system. conceptual model design model (design phase) Class: general template that we use to create specific ______ or ______ in the application domain application domain class Attribute: a piece information that is relevant to the description of the class Operation: behavior of the class converted to ________ (related to Ch.6 Class Diagrams

Upload: naida-charles

Post on 31-Dec-2015

47 views

Category:

Documents


1 download

DESCRIPTION

Ch.6 Class Diagrams. Structural model: a formal way of representing the ______ that are used and created by a business system. conceptual model  design model (design phase) Class: general template that we use to create specific ______ or ______ - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Structural model:  a formal way of representing the ______

Slide 1

Structural model: a formal way of representing the ______

that are used and created by a business system.

conceptual model design model (design phase)

Class: general template that we use to create specific ______ or ______

in the application domain

application domain class

Attribute: a piece information that is relevant to the description of the

class

Operation: behavior of the class

converted to ________ (related to implementation)

domain specific operation

Ch.6 Class Diagrams

Page 2: Structural model:  a formal way of representing the ______

Slide 2

Relationships:

- Generalization

Subclass inherits _________________ of their superclass

contains ___________________________.

a-kind-of relationship

cf. specialization

- Aggregation

Composition relationship

a-part-of or a-member-of

- Association

Patient schedules an appointment.

Patient is a-pat-of an appointment? Y/N

semantic difference

Page 3: Structural model:  a formal way of representing the ______

Slide 3

Class-Responsibility-Collaboration Card (CRC Card)

Responsibility:

- Knowing knows the value of its _______ and its _______

- Doing can executes its _______

Collaboration:

Client object

Server object

Contract

Elements of CRC Card: Fig. 6-1

Page 4: Structural model:  a formal way of representing the ______

Sam

ple

CR

C C

ard

Page 5: Structural model:  a formal way of representing the ______

Slide 5

Class Diagrams

Elements of a Class Diagram:

Class: class name

Attributes : derived, visibility(public, protected, private)

Operation

Relationships: association multiplicity

generalization

aggregation multiplicity

Fig. 6-2

Page 6: Structural model:  a formal way of representing the ______

Sample Class Diagram

Page 7: Structural model:  a formal way of representing the ______

Cla

ss D

iag

ram

Syn

tax

Page 8: Structural model:  a formal way of representing the ______

Sample Association

Page 9: Structural model:  a formal way of representing the ______

Multiplicity

Page 10: Structural model:  a formal way of representing the ______

Sam

ple

Associtio

n C

lass

Page 11: Structural model:  a formal way of representing the ______

Sample Generalization

Page 12: Structural model:  a formal way of representing the ______

Slide 12

Object Diagram

Instantiation of all or part of a class diagram

instantiation: creates an instance of a class with a set of

appropriate attribute value.

Fig. 6-10 Example Object Diagram

Page 13: Structural model:  a formal way of representing the ______

Sample Object Diagram

Page 14: Structural model:  a formal way of representing the ______

Slide 14

Creating CRC Cards and Class Diagram

(1) Object Identification

1. Textual Analysis

2. Common Object List

3. Patterns

(2) Building CRC Cards and Class Diagram

1. Create CRC Cards

2. Examine Common Object List

3. Role-Play CRC Cards

4. Create the Class Diagram

5. Review the Class Diagram

6. Incorporate Patterns

7. Review the Model

Page 15: Structural model:  a formal way of representing the ______

fig_06_17

Page 16: Structural model:  a formal way of representing the ______

fig_06_18