Class: Xmi::Uml::ValueSpecification

Inherits:
Base show all
Defined in:
lib/xmi/uml/value_specification.rb

Overview

Abstract UML ValueSpecification. UML 2.5 §9.8 — the abstract parent of OpaqueExpression, LiteralString, LiteralInteger, LiteralBoolean, LiteralUnlimitedNatural, LiteralNull, etc.

Used as the type of Slot#value and other polymorphic value attributes so the parser can dispatch on xmi:type to the right concrete subclass.

Concrete subclasses live in their own files (literal_string.rb, opaque_expression.rb, etc.). Add new literals as a new file plus an entry in POLYMORPHIC_MAP below — OCP-friendly, no edits to callers.

Method Summary

Methods inherited from Lutaml::Model::Serializable

#type?