code: protected Collection loadData() throws PersistenceBrokerException
      {
          PersistenceBroker broker = getBroker();
          try
          {
              Collection result;
  
              if (_data != null) // could be set by listener
              {
                  result = _data;
              }
              else if (_size != 0)
              {
                  // TODO: returned ManageableCollection should extend Collection to avoid
                  // this cast
                  result = (Collection) broker.getCollectionByQuery(getCollectionClass(), getQuery());
              }
              else
              {
                  result = (Collection)getCollectionClass().newInstance();
              }
              return result;
          }
          catch (Exception ex)
          {
              throw new PersistenceBrokerException(ex);
          }
          finally
          {
              releaseBroker(broker);
          }
      }
docs: Loads the data from the database. Override this method if the objects
  shall be loaded in a specific way.
  
  @return The loaded data