OCLOperators OclType
No edit summary
(Automatically adding template at the end of the page.)
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
  self.oclType.asString
  self.oclType.asString
  [[Category:OCL General Operators]]
  [[Category:OCL General Operators]]
{{Edited|July|12|2024}}

Latest revision as of 15:39, 10 February 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 more than 11 months ago on 02/10/2024. What links here