OCLOperators setToNull
(Automatically adding template at the end of the page.)
(Updated Edited template to July 12, 2025.)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<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.
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]]
[[Category:OCLOperators]]
{{Edited|July|12|2024}}
{{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.