code: public void link(Object source, CollectionDescriptor cds, List referencesToLink)
      {
          for(int i = 0; i < referencesToLink.size(); i++)
          {
              link(source, cds, referencesToLink.get(i));
          }
      }
docs: Link a bunch of 1:n or m:n objects.
  
  @param source The source object with reference.
  @param cds The {@link org.apache.ojb.broker.metadata.CollectionDescriptor} of the relation.
  @param referencesToLink List of referenced objects to link.