Ch. 5 Structural Flashcards
What does a functional model represent?
System behavior
What does a structural model represent?
System objects and their relationships
- things, ideas, or concepts
- used to create vocabulary that can be used by the analyst and the users
What are CRC Cards?
Index cards used to document the responsibilities and collaboration of a class
What is the main goal of structural models?
To discover the key data contained in the problem domain and to build a structural model of the objects
What is a generalization relationship?
- Enables inheritance of attributes
- Represents relationships that are “a-kind-of”
What is an aggregation relationship?
- Relates parts to wholes or assemblies
- Represents relationships that are “a-part-of” or “has-parts”
What is an association relationship?
- Miscellaneous relationships between classes
- Usually a weaker form of aggregation
What are ways to identify objects for use cases?
- Textual analysis of use-case information
- Brainstorming
- Common object list
- Patterns
What are public attributes?
Visible to all classes
(+)
What are private attributes?
Visible only to an instance of the class in which they are defined
(-)
What are protected attributes?
Visible only to an instance of the class in which they are defined and its descendants
(#)
What is a class diagram?
A static model that shows classes and their relationships to one another
What is an attribute of the analysis class?
It represents a piece of information that is relevant to the description of the class within the application domain of the problem being investigated
What is the operation of the analysis class?
It is the behavior
- in later phases, the operations are convereted to methods
What are responsibilities of a class (CRC)?
- Knowing responsibilities are those things that an instance of a class must be capable of knowing
- Doing responsibilities are those things that an instance of a class must be capable of doing