GO-V.ORG
As seen in

Object diagram

In object-oriented programming, an object diagram in the Unified Modeling Language (UML) is a diagram that shows a complete or partial view of the structure of a modeled system at a specific time.[src]

In object-oriented programming, an object diagram in the Unified Modeling Language (UML) is a diagram that shows a complete or partial view of the structure of a modeled system at a specific time.[src] ==Object diagram topics== ===Instance specifications=== Each object and link on an object diagram is represented by an InstanceSpecification.[src] This can show an object's classifier (e.g.[src] an abstract or concrete class) and instance name, as well as attributes and other structural features using slots.[src] Each slot corresponds to a single attribute or feature, and may include a value for that entity.[src] The name on an instance specification optionally shows an instance name, a ':' separator, and optionally one or more classifier names separated by commas.[src] The contents of slots, if any, are included below the names, in a separate attribute compartment.[src] A link is shown as a solid line, and represents an instance of an association.[src] ===Object diagram example=== Consider one possible way of modeling production of the Fibonacci sequence.[src] In the first UML object diagram on the right, the instance in the leftmost instance specification is named v1, has IndependentVariable as its classifier, plays the NMinus2 role within the FibonacciSystem, and has a slot for the val attribute with a value of 0.[src] The second object is named v2, is of class IndependentVariable, plays the NMinus1 role, and has val = 1.[src] The DependentVariable object is named v3, and plays the N role.[src] The topmost instance, an anonymous instance specification, has FibonacciFunction as its classifier, and may have an instance name, a role, and slots, but these are not shown here.[src] The diagram also includes three named links, shown as lines.[src] Links are instances of an association.[src] In the second diagram, at a slightly later point in time, the IndependentVariable and DependentVariable objects are the same, but the slots for the val attribute have different values.[src] The role names are not shown here.[src] In the last object diagram, a still later snapshot, the same three objects are involved.[src] Their slots have different values.[src] The instance and role names are not shown here.[src] ===Usage=== If you are using a UML modeling tool, you will typically draw object diagrams using some other diagram type, such as on a class diagram.[src] An object instance may be called an instance specification or just an instance.[src] A link between instances is generally referred to as a link.[src] Other UML entities, such as an aggregation or composition symbol (a diamond) may also appear on an object diagram.[src] ==References== ==External links== General information on UML including the official UML 2.0 specification.[src] See especially the section on InstanceSpecification.[src] The Expressive Power of Object Diagrams, an illustration from the real world Modal object diagrams, an extension of object diagrams with existential/universal and positive/negative modes.[src]

28 sentences · 28 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Object diagram." encyclopegia.org, 2025, https://encyclopegia.org/wiki/object-diagram. Accessed 04 December 2026.

Chicago

"Object diagram." encyclopegia.org. Accessed December 4, 2026. https://encyclopegia.org/wiki/object-diagram.

APA

encyclopegia.org. (2025). Object diagram. Retrieved December 4, 2026, from https://encyclopegia.org/wiki/object-diagram

Accessed December 4, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Digital Object Identifier

article · references available

Electronic Object Identifier

article · references available

trans-Neptunian object

stub · references available

Messier object

stub · references available

wiring diagram

stub · references available

Mollier-h-x-diagram

stub · references available

Feynman diagram

stub · references available

system context diagram

stub · references available
CC BY-SA 4.0 · tier1-factual · https://en.wikipedia.org/w/index.php?oldid=1324280511 · 0.55 · snapshot object-diagram-206637-6ab56c735e70f164 · QID Q1760719

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.