OCLOperators allLoadedObjects
(Created page with "The allinstances operator returns all objects of the class - but this operator - the allLoadedObjects - only returns the objects that are current...")
 
(Replacing message template with parser tag)
 
(7 intermediate revisions by 3 users not shown)
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 - and does not look in the database at all - hence it does not load any new objects. This operator is not your 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 of the results and you may think it is inconsistent.
<message>Write the content here to display this box</message>
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:OCL General Operators]]
{{Edited|July|12|2024}}

Latest revision as of 07:49, 17 June 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 94 days ago on 06/17/2024. What links here