동산로의 블로그
UML Object Diagram 본문
UML Object Diagram
객체 다이어그램(Obejct Diagram)은 시스템의 객체들들의 스냅샷을 보여주는 도식입니다. 클래스 다이어그램과 매우 유사하지만 차차이점이 있다면, 클래스 다이어그램은 클래스를 보여주고, 오브젝트 다이어그램은 클래스의 인스턴스(instance)를 보여줍니다.
인스턴스
네모 속에 이름:클래스의 형식으로 만들게 됩니다. 클래스와 차이점이 있다면 이름과 속성에 해당 인스턴스에 필요한 값들이 설정됩니다.
클래스 다이어그램의 적용 사례 정도로 이해하면 편하다.
다음은 클래스 다이어그램이 인스턴스 다이어그램으로 표현되는 것을 나타낸 것이다.
왼쪽은 클래스 다이어그램이고, 오른쪽은 각 클래스 다이어그램이 구현되면 각각의 인스턴스들이 어떻게 연관되는지 보여주는 도식이다.
https://www.ibm.com/docs/en/dma?topic=diagrams-object
https://en.wikipedia.org/wiki/Object_diagram
https://www.ibm.com/docs/en/dma?topic=diagrams-instance-specifications-in-uml
https://www.visual-paradigm.com/guide/uml-unified-modeling-language/what-is-object-diagram/
Instance specifications in UML
In UML models, instance specifications are elements that represent an instance in the modeled system. When you instantiate a classifier in a model, the instance specification that you create represents an entity in the modeled system at a point in time, si
www.ibm.com