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 ; }
Returns the index descriptor definition of the given name if it exists .