Class: Xmi::Uml::OpaqueExpression

Inherits:
ValueSpecification show all
Defined in:
lib/xmi/uml/opaque_expression.rb

Overview

UML <opaqueExpression> element — used as the body of a Slot's <value> element and as the language-bodied body of behavioral features. Sparx EA serialises instance-specification values as OpaqueExpression with a body attribute carrying the literal expression text.

Per UML 2.5 §8.3, body and language are parallel arrays (String [*]): body[i] is written in language[i]. Most Sparx output carries a single pair; we model the collection form so multi-language expressions round-trip without loss.

Method Summary

Methods inherited from Lutaml::Model::Serializable

#type?