code: public CollectionDescriptorDef getCollection(String name)
      {
          CollectionDescriptorDef collDef = null;
  
          for (Iterator it = _collections.iterator(); it.hasNext(); )
          {
              collDef = (CollectionDescriptorDef)it.next();
              if (collDef.getName().equals(name))
              {
                  return collDef;
              }
          }
          return null;
      }
docs: Returns the collection definition of the given name if it exists.
  
  @param name The name of the collection
  @return The collection definition or <code>null</code> if there is no such collection