object diagram
TRANSCRIPT
![Page 1: Object diagram](https://reader035.vdocuments.site/reader035/viewer/2022071817/55acdf8f1a28ab01308b47f9/html5/thumbnails/1.jpg)
![Page 2: Object diagram](https://reader035.vdocuments.site/reader035/viewer/2022071817/55acdf8f1a28ab01308b47f9/html5/thumbnails/2.jpg)
ObjectModeling
Object Modeling gives static structure of objects and their relationshipto one another. These are useful for demonstration of system to customers.Object Modeling is represented by using object diagram.
![Page 3: Object diagram](https://reader035.vdocuments.site/reader035/viewer/2022071817/55acdf8f1a28ab01308b47f9/html5/thumbnails/3.jpg)
ObjectDiagram
It is used to model instances of things contained in class diagram. It is a diagram that shows sets of objects and their relationship. It also represents static structure of system.
![Page 4: Object diagram](https://reader035.vdocuments.site/reader035/viewer/2022071817/55acdf8f1a28ab01308b47f9/html5/thumbnails/4.jpg)
Purpose Of Object Diagram
It shows object relationships in a system. Understand object behavior and their relationships. Shows static view of a system. Forward and reverse engineering.
![Page 5: Object diagram](https://reader035.vdocuments.site/reader035/viewer/2022071817/55acdf8f1a28ab01308b47f9/html5/thumbnails/5.jpg)
Terms And Concepts Of Object Diagram
1. Object :It is instance of a class and each object is represented by a
rectangle which contains name of object and its class name underlined and separated by a colon.
![Page 6: Object diagram](https://reader035.vdocuments.site/reader035/viewer/2022071817/55acdf8f1a28ab01308b47f9/html5/thumbnails/6.jpg)
2. Object With Attributes : As with classes we can list object attributes in separate
compartment. Each object attributes must have values assigned to them.
![Page 7: Object diagram](https://reader035.vdocuments.site/reader035/viewer/2022071817/55acdf8f1a28ab01308b47f9/html5/thumbnails/7.jpg)
3. Active Objects :Objects that have their own processes that control their
activities are called as active objects. They are represented by a symbol of object with thick border lines.
4. Multiple Objects :It is represented by a symbol as object if attributes of objects
are not important
![Page 8: Object diagram](https://reader035.vdocuments.site/reader035/viewer/2022071817/55acdf8f1a28ab01308b47f9/html5/thumbnails/8.jpg)
5. Links : These are the relationship between objects. Links are
instances of association. It is represented by solid line.
Relationship between objects can also be generalization or aggregation.
Generalization Symbol Aggregation Symbol
Objects that fulfill more than 1 role can be self linked.
![Page 9: Object diagram](https://reader035.vdocuments.site/reader035/viewer/2022071817/55acdf8f1a28ab01308b47f9/html5/thumbnails/9.jpg)
Object Instances :Object Instance is also called as class object that it is
nothing but instance of a class. Objects are rendered as instance usually on object diagrams.
Example :Following diagram shows instance of a class order and of
class customer.
The Order class has number of instances o1,o2,o3. It can also be represented by multiple objects if attributes are not important.
![Page 10: Object diagram](https://reader035.vdocuments.site/reader035/viewer/2022071817/55acdf8f1a28ab01308b47f9/html5/thumbnails/10.jpg)
Example Of Object Diagram For Hospital Management System
![Page 11: Object diagram](https://reader035.vdocuments.site/reader035/viewer/2022071817/55acdf8f1a28ab01308b47f9/html5/thumbnails/11.jpg)