Linked.Archi

UML Reference Example

Model

https://meta.linked.archi/examples/uml/

Kalin Maldzhanski

Reference instance data for the Linked.Archi UML ontology: a small ordering domain as a class model, and the order lifecycle as a state machine. Exists mainly so the UML shapes are exercised against instances rather than against the ontology's own enumeration individuals.

Reference instance data for the Linked.Archi UML ontology: a small ordering domain as a class model, and the order lifecycle as a state machine. Exists mainly so the UML shapes are exercised against instances rather than against the ontology's own enumeration individuals.

Conforms to Metamodel

UML 2.5.1 Metamodel

https://meta.linked.archi/uml/metamodel#UML2

Element Inventory

30 elements across 19 types

Association 1

OrderPlacedAssociation

Class 3

Order
Line Item
Item

Enumeration 1

Currency

EnumerationLiteral 2

EUR
USD

FinalState 1

OrderEnd

Generalization 1

OrderIsAnItem

Interaction 1

Place Order

Interface 1

Priceable

InterfaceRealization 1

Order realizes Priceable

Lifeline 2

customer
orderService

Message 2

submit()
AckMessage

Operation 1

calculateTotal

Package 1

Ordering

Property 2

total
lines

Pseudostate 1

OrderStart

Region 1

OrderLifecycleRegion

State 3

Idle
Submitted
Fulfilled

StateMachine 1

Order Lifecycle

Transition 4

T1
submit
T3
T4

Relationship Summary

39 relationships across 13 types

aggregationKind 2

SourceTarget
total None
lines Composite

associatedWith 1

SourceTarget
Order Line Item

generalizes 1

SourceTarget
Line Item Item

hasLifeline 2

SourceTarget
Place Order customer
Place Order orderService

hasMessage 2

SourceTarget
Place Order submit()
Place Order AckMessage

messageKind 2

SourceTarget
submit() Complete
AckMessage Complete

messageSort 2

SourceTarget
submit() SynchCall
AckMessage Reply

pseudostateKind 1

SourceTarget
OrderStart InitialPseudostate

realizesInterface 1

SourceTarget
Order Priceable

source 7

SourceTarget
OrderPlacedAssociation Order
OrderIsAnItem Line Item
Order realizes Priceable Order
T1 OrderStart
submit Idle
T3 Submitted
T4 Fulfilled

target 7

SourceTarget
OrderPlacedAssociation Line Item
OrderIsAnItem Item
Order realizes Priceable Priceable
T1 Idle
submit Submitted
T3 Fulfilled
T4 OrderEnd

transitionKind 4

SourceTarget
T1 ExternalTransition
submit ExternalTransition
T3 ExternalTransition
T4 ExternalTransition

visibility 7

SourceTarget
Order Public
Line Item Public
Item Public
Priceable Public
total Private
lines Private
calculateTotal Public

Statistics

Elements

30
Association1
Class3
Enumeration1
EnumerationLiteral2
FinalState1
Generalization1
Interaction1
Interface1
InterfaceRealization1
Lifeline2
Message2
Operation1
Package1
Property2
Pseudostate1
Region1
State3
StateMachine1
Transition4

Relationships

39
aggregationKind2
associatedWith1
generalizes1
hasLifeline2
hasMessage2
messageKind2
messageSort2
pseudostateKind1
realizesInterface1
source7
target7
transitionKind4
visibility7