OCLOperators OclCollectionType
This page was created by Stephanie on 2025-01-08. Last edited by 62.169.16.147 on 2026-09-12.
If you have a type "Thing" and want the collection type for that : Thing.OclCollectiontype.asstring - this will give you "Collection(Thing)"
Example[edit source]
Given class Car. We can use this.
Car.OclCollectiontype.asstring
this returns
Collection(Car)
