code: public IndexDescriptorDef getIndexDescriptor(String name)
      {
          IndexDescriptorDef indexDef = null;
  
          for (Iterator it = _indexDescriptors.iterator(); it.hasNext(); )
          {
              indexDef = (IndexDescriptorDef)it.next();
              if (indexDef.getName().equals(name))
              {
                  return indexDef;
              }
          }
          return null;
      }
docs: Returns the index descriptor definition of the given name if it exists.
  
  @param name The name of the index
  @return The index descriptor definition or <code>null</code> if there is no such index