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...")
 
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 - 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.
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.
[[Category:OCLOperators]]

Revision as of 19:18, 28 May 2018

The 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.

This page was edited 69 days ago on 02/10/2024. What links here