Notice
Recent Posts
Recent Comments
Link
«   2025/06   »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
Archives
Today
Total
관리 메뉴

동산로의 블로그

UML Object Diagram 본문

카테고리 없음

UML Object Diagram

동산로 2025. 4. 16. 13:46

UML Object Diagram

 

객체 다이어그램(Obejct Diagram)은 시스템의 객체들들의 스냅샷을 보여주는 도식입니다. 클래스 다이어그램과 매우 유사하지만 차차이점이 있다면, 클래스 다이어그램은 클래스를 보여주고, 오브젝트 다이어그램은 클래스의 인스턴스(instance)를 보여줍니다.

 

 인스턴스

네모 속에 이름:클래스의 형식으로 만들게 됩니다. 클래스와 차이점이 있다면 이름과 속성에 해당 인스턴스에 필요한 값들이 설정됩니다.

클래스, attributes에 대한 설명과 클래스 명이 표시되어 있다.
인스턴스, 인스턴스:클래스명, attributes의 값이 표시되어 있다.

 

클래스 다이어그램의 적용 사례 정도로 이해하면 편하다.

 

다음은 클래스 다이어그램이 인스턴스 다이어그램으로 표현되는 것을 나타낸 것이다.

 

왼쪽은 클래스 다이어그램이고, 오른쪽은 각 클래스 다이어그램이 구현되면 각각의 인스턴스들이 어떻게 연관되는지 보여주는 도식이다.

 

 

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