OCLOperators OclType
m ((username removed) (log details removed): Moving to Documentation namespace)
(Replacing message template with parser tag)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<message>Write the content here to display this box</message>
When used on an object, you get the type of the object.
When used on an object, you get the type of the object.


Line 6: Line 7:
  self.oclType.asString
  self.oclType.asString
  [[Category:OCL General Operators]]
  [[Category:OCL General Operators]]
{{Edited|July|12|2024}}

Latest revision as of 07:48, 17 June 2024

When used on an object, you get the type of the object.

Use asString to get the name of type - i.e. the class name if it is a class.

For example:

self.oclType.asString
This page was edited 91 days ago on 06/17/2024. What links here