.oclIsUndefined()
Method checks if the given value is undefined ie null or invalid.
Description of the method
Description: | oclIsUndefined() method checks if the given value is undefined ie null or invalid. |
Available for: | any |
Parameters: | - |
Return type: | boolean |
Example
Context: | HeaderType1 |
OCL: | self.Dt.oclIsUndefined() |
Description: | The example rule checks if the value of <Dt> is undefined. |
The XML snippet below would pass this check.
<Dt>null</Dt>
The other snippet below however would not pass this check.
<Dt>28.05.2018</Dt>