public <T, I, D, J> ManyRelationshipRepository<T, I, D, J> getManyRepositoryForType(
            Class<T> sourceClass, Class<D> targetClass) {
        init();

        RelationshipRepositoryAdapter repositoryAdapter = allocateRepositoryRelation(sourceClass, targetClass);
        return (ManyRelationshipRepository<T, I, D, J>) repositoryAdapter.getRelationshipRepository();
    }
public < T , I , D , J > ManyRelationshipRepository < T , I , D , J > getManyRepositoryForType ( Class < T > sourceClass , Class < D > targetClass ) { init ( ) ; RelationshipRepositoryAdapter repositoryAdapter = allocateRepositoryRelation ( sourceClass , targetClass ) ; return ( ManyRelationshipRepository < T , I , D , J > ) repositoryAdapter . getRelationshipRepository ( ) ; }
@param sourceClass source class
@param targetClass target class
@return stub for the relationship between the given source and target
class