OCLOperators allLoadedObjects
No edit summary
No edit summary
Line 1: Line 1:
The [[OCLOperators allInstances|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 with the results and think it is inconsistent.
The [[OCLOperators allInstances|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.
[[Category:OCLOperators]]
[[Category:OCLOperators]]
[[Category:OCL General Operators]]

Revision as of 06:17, 14 April 2023

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 97 days ago on 02/10/2024. What links here