Lesson 5
Logical View and Object Diagram Conclusion
Object Diagram
Information Model
In this module, you learned the notation for the object diagram. The object diagram is used to analyze the objects in the problem domain to determine the class requirements. After the class diagram has been developed, the object diagram is used to test the class model.
Objects
Objects are identified with a name, colon, and class name. The object name can be left off to indicate an anonymous object. The object icon consists of two compartments, one for the name and one for the attributes. Attributes are described with a name and the current value.
Operations and links
Operations are not defined on objects because every object of the same class would model identical operations, creating redundancy in the model.
Objects are connected using links. Classes are connected using associations. Links are defined with a name and optional roles. Multiplicity and constraints are not relevant with a link.
Glossary
This module introduced you to the following terms:
- Link:A relationship between two objects
- Object:A uniquely identifiable entity composed of information, behaviors, and relationships with other entities.
In the next module, we will explore the third diagram in the logical view, the activity diagram.
Object Diagram - Quiz
Click the Quiz link below to check your knowledge with a short, multiple-choice quiz addressing the lessons you have worked through in this module.
Object Diagram - Quiz