Attribute values should not be objects; use an association to show any relationship between objects. Attributes usually correspond to nouns followed by possessive phrases, such as “the color of the car Keeping the right attributes: Eliminate unnecessary and incorrect attributed with the following criteria: Objects . Discordant Qualifiers attributes • . Boolean attributes. Names Identifiers Attributes on associations Internal values Fine detail Figure: 10 ATM class model with attributes Refining With Inheritance Organize classes by using inheritance to share common features: Bottom up generalization. Top-down generalization Generalization vs. enumeration. Multiple inheritance Similar associations Adjusting the inheritance level. Fig 12.11 shows the ATM class model after adding inheritance
Attribute values should not be objects; use an association to show any relationship between objects. Attributes usually correspond to nouns followed by possessive phrases, such as “the color of the car Keeping the right attributes: Eliminate unnecessary and incorrect attributed with the following criteria: Objects . Discordant attributes • Qualifiers . Boolean attributes. Names Identifiers Attributes on associations Internal values Fine detail Figure: 10 ATM class model with attributes Refining With Inheritance Organize classes by using inheritance to share common features: Bottom up generalization. Top-down generalization Generalization vs. enumeration. Multiple inheritance Similar associations Adjusting the inheritance level. Fig 12.11 shows the ATM class model after adding inheritance