OCLOperators setToNull
No edit summary
(Updated Edited template to July 12, 2025.)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This operator assigns null / nil value to a nullable attribute - making it empty - not pointing to any value.
<message>Write the content here to display this box</message>
This operator assigns a null/nil value to a nullable attribute, making it empty - not pointing to any value.


You can also use the assign operator := and assign <Type>.nullValue to get the same effect.
You can also use the assign operator ''':=''' and assign <Type>.nullValue to get the same effect.
[[Category:OCLOperators]]
{{Edited|July|12|2025}}

Latest revision as of 05:58, 20 January 2025

This page was created by Hans.karlsen@mdriven.net on 2018-07-13. Last edited by Edgar on 2025-01-20.

This operator assigns a null/nil value to a nullable attribute, making it empty - not pointing to any value.

You can also use the assign operator := and assign <Type>.nullValue to get the same effect.