Coverage Report - org.kuali.student.enrollment.class2.courseofferingset.dao.SocRolloverResultDao
 
Classes in this File Line Coverage Branch Coverage Complexity
SocRolloverResultDao
0%
0/4
N/A
1
 
 1  
 package org.kuali.student.enrollment.class2.courseofferingset.dao;
 2  
 
 3  
 import java.util.List;
 4  
 
 5  
 import org.kuali.student.enrollment.class2.courseofferingset.model.SocRolloverResultEntity;
 6  
 import org.kuali.student.enrollment.dao.GenericEntityDao;
 7  
 
 8  0
 public class SocRolloverResultDao extends GenericEntityDao<SocRolloverResultEntity> {
 9  
 
 10  
     @SuppressWarnings("unchecked")
 11  
     public List<SocRolloverResultEntity> getBySocRorTypeId(String socRorType) {
 12  0
         return em.createQuery("from SocRolloverResultEntity a where a.socRorType=:socRorType").setParameter("socRorType",
 13  
                 socRorType).getResultList();
 14  
     }
 15  
 
 16  
     public List<SocRolloverResultEntity> getBySourceSocId(String sourceSocId) {
 17  0
         return em.createQuery("from SocRolloverResultEntity a where a.sourceSocId = :sourceSocId").setParameter("sourceSocId",
 18  
                 sourceSocId).getResultList();
 19  
     }
 20  
 
 21  
     public List<SocRolloverResultEntity> getByTargetSocId(String targetSocId) {
 22  0
         return em.createQuery("from SocRolloverResultEntity a where a.targetSocId = :targetSocId").setParameter("targetSocId",
 23  
                 targetSocId).getResultList();
 24  
     }
 25  
 }