code: public List<Reference> getAllReferences(Requirement requirement)
      {
          final Criteria crit = sessionService.getSession().createCriteria(Reference.class);
          crit.createAlias("requirement", "req");
          crit.add(Restrictions.eq("req.name", requirement.getName()));
          crit.createAlias("req.repository", "repo");
          crit.add(Restrictions.eq("repo.uid", requirement.getRepository().getUid()));
  
          @SuppressWarnings("unchecked")
          List<Reference> references = crit.list();
  		HibernateLazyInitializer.initCollection(references);
          return references;
      }
docs: {@inheritDoc}