Coverage Report - org.kuali.student.enrollment.lpr.dao.LprDao
 
Classes in this File Line Coverage Branch Coverage Complexity
LprDao
0%
0/2
N/A
1
 
 1  
 package org.kuali.student.enrollment.lpr.dao;
 2  
 
 3  
 import org.kuali.student.enrollment.lpr.model.LuiPersonRelationEntity;
 4  
 
 5  
 import javax.persistence.EntityManager;
 6  
 import java.util.List;
 7  
 
 8  
 /**
 9  
  * @author Igor
 10  
  */
 11  0
 public class LprDao extends GenericEntityDao<LuiPersonRelationEntity> {
 12  
 
 13  
     @SuppressWarnings({"unchecked"})
 14  
     public List<LuiPersonRelationEntity> getByLuiId(String luiId) {
 15  0
         return (List<LuiPersonRelationEntity>) em.createQuery("from LuiPersonRelationEntity pr where pr.luiId=:luiId").setParameter("luiId", luiId).getResultList();
 16  
     }
 17  
 }