OCLOperators allInstances
This page was created by Alexandra on 2017-08-08. Last edited by Stephanie@mdriven.net on 2025-03-18.

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
MDriven Chat

How would you like to chat today?

Setting up your conversation…

This may take a few moments