allInstances
allInstances(): Collection;
The allInstances method of the JadeRelationalEntityIF interface returns a reference to a collection of objects that define all instances of the table to be used in the query.
This method is called if the table is:
-
Not mapped to a JADE class using the getJadeClass method and there is no query provider defined for this table using the getQueryProvider method or there is no WHERE clause.
-
Mapped to a JADE class using the getJadeClass method and the callIFAllInstances method returned true.
If the collection that is returned is a transient collection, the collection is deleted when it is no longer required.