OCLOperators allLoadedObjects
(Automatically adding template at the end of the page.)
(Adding message template to the top of the page)
Line 1: Line 1:
{{message|Write the content here to display this box}}
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.  
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.  



Revision as of 22:23, 16 June 2024

Write the content here to display this box

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 95 days ago on 06/17/2024. What links here