A place holder for a whole collection to support deferred loading of relationships.
The complete collection is loaded on access to the data.
author: Jakob Braeuchi version: $Id: CollectionProxyDefaultImpl.java,v 1.7.2.7 2005/12/21 22:25:30 tomdz Exp $
public CollectionProxyDefaultImpl(PBKey brokerKey, Class collClass, Query query)(Code)
Creates a new collection proxy that uses the given collection type.
Parameters: brokerKey - The key of the persistence broker Parameters: collClass - The collection type Parameters: query - The defining query
Reactivates metadata profile used when creating proxy, if needed.
Calls to this method should be guarded by checking
CollectionProxyDefaultImpl._perThreadDescriptorsEnabled since the profile never
needs to be reloaded if not using pre-thread metadata changes.
Determines the number of elements that the query would return. Override this
method if the size shall be determined in a specific way.
The number of elements