code: public Requirement getRequirementByName(String repositoryUid, String requirementName)
      {
          Criteria crit = sessionService.getSession().createCriteria(Requirement.class);
          crit.add(Restrictions.eq("name", requirementName));
          crit.createAlias("repository", "r");
          crit.add(Restrictions.eq("r.uid", repositoryUid));
  
          Requirement requirement = (Requirement) crit.uniqueResult();
  		HibernateLazyInitializer.init(requirement);
  		return requirement;
      }
docs: {@inheritDoc}