public CollectionDescriptor getCollectionDescriptorByName ( String name ) { if ( name == null ) { return null ; } CollectionDescriptor cod = ( CollectionDescriptor ) getCollectionDescriptorNameMap ( ) . get ( name ) ; // // BRJ: if the CollectionDescriptor is not found // look in the ClassDescriptor referenced by 'super' for it // if ( cod == null ) { ClassDescriptor superCld = getSuperClassDescriptor ( ) ; if ( superCld != null ) { cod = superCld . getCollectionDescriptorByName ( name ) ; } } return cod ; }
Get an CollectionDescriptor by name BRJ