Find Classes from Use-Case Behavior The complete behavior of a use case has to be distributed to analysis classes Object Oriented Analysis and Design 11
Object Oriented Analysis and Design 11 Find Classes from Use-Case Behavior The complete behavior of a use case has to be distributed to analysis classes
What Is an Analysis Class? <<boundary>> <<entity>> System System boundary information <<control>> <<boundary>> Use-case System boundary behavior coordination <<entity>> System information Object Oriented Analysis and Design 12
Object Oriented Analysis and Design 12 System boundary Use-case behavior coordination System information What Is an Analysis Class? <<boundary>> <<control>> <<entity>> System information <<entity>> System boundary <<boundary>>
What Is a Boundary Class? ◆ Intermediates between the interface and something outside the system ◆Several Types User interface classes System interface classes Device interface classes One boundary class per actor/use-case pair Analysis class stereotype Environment Dependent Object Oriented Analysis and Design 13
Object Oriented Analysis and Design 13 Environment Dependent Analysis class stereotype What Is a Boundary Class? Intermediates between the interface and something outside the system Several Types ▪ User interface classes ▪ System interface classes ▪ Device interface classes One boundary class per actor/use-case pair
The Role of a Boundary Class <<control>> <<boundary>> <<boundary>> Actor 1 Actor 2 <<entity>> <<entity>> Model interaction between the system and its environment Object Oriented Analysis and Design 14
Object Oriented Analysis and Design 14 Model interaction between the system and its environment The Role of a Boundary Class Actor 1 <<boundary>> <<control>> <<boundary>> <<entity>> <<entity>> Actor 2
Example:Finding Boundary Classes One boundary class per actor/use case pair Student Register for Courses Course Catalog System RegisterForCoursesForm CourseCatalogSystem Object Oriented Analysis and Design 15
Object Oriented Analysis and Design 15 Student Register for Courses Course Catalog System Example: Finding Boundary Classes One boundary class per actor/use case pair RegisterForCoursesForm CourseCatalogSystem