Identifying Object Classes
- Class definition must be pertinent to the domain
- Implied vs. Explicit Knowledge
- Classes often correspond to Nouns
- If attributes, operations, or roles have attributes of their own, they should be modeled
as classes.
- Choose meaningful names
Refinement by Eliminating Unnecessary Classes
- Eliminate Redundancy
- Keep the Class with the Most Meaningful Name
- Eliminate Irrelevant for Problem Domain
- Eliminate Not Needed for Solution of Problem
- Eliminate Fuzzy Classes
- Can be described by more specific class name
- Eliminate Class if it has One Attribute, it is Probably an Attribute of Some Other Class
- Don't Focus on Operations (Behaviors)
- These Can Be Determined More Easily in Later Stages
Back to Table of Contents
Document:
Local Date:
Last Modified On: