Chapter 12

Instantiation

creation of an object based on the template provided by the class definition

Object-oriented design

the process to identify the set of classes, their methods, and their messages required to execute a use case

stereotype

A way of categorizing a model element by its characteristics, indicated by guillemots << >>

Entity class

a design stereotype for a problem domain class

Persistent class

an entity class whose objects must continue to exist after a system is shut down

boundary/view class

a class that exists on a system's automation boundary, such as a user interface or a system interface class

Controller class

A class that mediates between boundary classes and entity classes, acting as a switchboard between the boundary or view layer and domain layer

Data access class

a class that is used to retrieve data from a database

Visibility

a notation that indicates (by plus or minus sign) whether an attribute can be directly accessed by another object

Method signature

a notation that shows all the information needed to invoke, or call, the method

Class-level method

a method that is associated with a class instead of with objects of the class

Class level attribute

an attribute that contains the same value for all objects in the system

Navigation visibility

a design principle in which one object has a reference to another object and thus can interact with it

CRC cards

A brainstorming and design technique for designing interactions in use cases by assigning responsibilities and collaborations for classes

object responsibility

a design principle in which objects are responsible for carrying out system processing

Separation of responsibilities

a design principle that recommends segregating classes into separate components based on the primary focus of the classes

Protection from variations

A design principle in which parts of a system that are unlikely to change are segregated from those that will

Indirection

A design principle in which an intermediate class is placed between two classes to decouple them but still link them

Coupling

a qualitative measure of how closely the classes in a design class diagram are linked

Cohesion

A qualitative measure of the focus or unity of purpose within a single class