OCLOperators OclType
No edit summary
No edit summary
Line 5: Line 5:
For example
For example
  self.oclType.asString
  self.oclType.asString
[[Category:OCLOperators]]

Revision as of 13:30, 6 December 2022

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's a class.

For example

self.oclType.asString
This page was edited 47 days ago on 02/10/2024. What links here