OCLOperators allInstances

It is a common operator. To find all available you can open the OCL-Editor and type in a class:

Your model is central to all expression you will handle. We will use this model to for the examples:

Allinstances operator.png

Thing.allinstances Gives you a list of all Things Things.allinstances->select(someInt>3) Only things with someInt bigger
This page was edited 101 days ago on 02/10/2024. What links here