OCLOperators allLoadedObjects
No edit summary
(Automatically adding template at the end of the page.)
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:


This operator is not your best first choice. Use it with caution, since the result depends on the current state of your application instance and as such, you may be surprised by the results and think it is inconsistent.
This operator is not your best first choice. Use it with caution, since the result depends on the current state of your application instance and as such, you may be surprised by the results and think it is inconsistent.
[[Category:OCLOperators]]
[[Category:OCL General Operators]]
[[Category:OCL General Operators]]
{{Edited|July|12|2024}}

Latest revision as of 15:40, 10 February 2024

The allinstances operator returns all objects of the class, but this operator - the allLoadedObjects - only returns the objects that are currently loaded. It does not look in the database at all. Hence, it does not load any new objects.

This operator is not your best first choice. Use it with caution, since the result depends on the current state of your application instance and as such, you may be surprised by the results and think it is inconsistent.

This page was edited more than 11 months ago on 02/10/2024. What links here