OCLOperators OclCollectionType
Created by Stephanie on 2025-01-08 · Last edited by Peter.byaruhanga on 2026-01-24.
If you have a type "Thing" and want the collection type for that : Thing.OclCollectiontype.asstring - this will give you "Collection(Thing)"
Example
Given class Car. We can use this.
Car.OclCollectiontype.asstringthis returns
Collection(Car)