@ SuppressWarnings ( "unchecked" ) public final FindableDocument < ? extends GedObject , ? extends GedDocument < ? > > get ( final Class < ? extends GedObject > clazz ) { return ( FindableDocument < ? extends GedObject , ? extends GedDocument < ? > > ) classToRepoMap . get ( clazz ) ; }
Get a repository based on the class of ged object we are working with .