OCLOperators setToNull
(Adding message template to the top of the page)
(Updated Edited template to July 12, 2025.)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{message|Write the content here to display this box}}
<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.

MDriven Chat

How would you like to chat today?

Setting up your conversation…

This may take a few moments