LEARNING UNIT 2: CHAPTER 4
, HOW TO IDENTIFY ‘THINGS’ IN THE PROBLEM DOMAIN
Brainstorming Technique
o Use a checklist
o Brainstorm possible classes
Noun Technique
o Identify all nouns
o Decide which is a class, attribute or not important to remember
DETAILS TO REMEMBER ABOUT CLASSES (THINGS)
Attribute: describes one piece of information about each instance of the class
Identifier or key: can be compound
Association: Natural relationship between classes (UML term)
o Associations have minimum and maximum constraints
ATTRIBUTES AND VALUES
A class is a type of thing
An object is a specific instance of the class.
Each instance has its own values for an attribute
, HOW TO IDENTIFY ‘THINGS’ IN THE PROBLEM DOMAIN
Brainstorming Technique
o Use a checklist
o Brainstorm possible classes
Noun Technique
o Identify all nouns
o Decide which is a class, attribute or not important to remember
DETAILS TO REMEMBER ABOUT CLASSES (THINGS)
Attribute: describes one piece of information about each instance of the class
Identifier or key: can be compound
Association: Natural relationship between classes (UML term)
o Associations have minimum and maximum constraints
ATTRIBUTES AND VALUES
A class is a type of thing
An object is a specific instance of the class.
Each instance has its own values for an attribute