Unified Modeling Language Reference Manual, The, Second Edition
by James Rumbaugh, Ivar Jacobson, Grady Booch
opaque expression
A text string expressed in a specific language that, when evaluated, yields a value.
Semantics
An opaque expression is an escape convention to allow expressions in other languages to be used in UML where values are needed. Because the other languages are, by definition, outside of UML, they are opaque with respect to UML. All that is known is that, when evaluated, they produce values; a type may be optionally specified for the values.
The UML model includes a text string and the name of the target language. The OCL language is explicitly permitted; other languages, such as programming languages, may be used at the discretion of the modeling tool.
An important language (family of languages, really) is natural language. This is ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access