Coverage Report - org.kuali.student.enrollment.class2.grading.service.assembler.GradeRosterEntryAssembler
 
Classes in this File Line Coverage Branch Coverage Complexity
GradeRosterEntryAssembler
0%
0/14
N/A
1.333
 
 1  
 package org.kuali.student.enrollment.class2.grading.service.assembler;
 2  
 
 3  
 import org.kuali.student.enrollment.grading.dto.GradeRosterEntryInfo;
 4  
 import org.kuali.student.enrollment.grading.dto.GradeRosterInfo;
 5  
 import org.kuali.student.enrollment.lpr.dto.LprRosterEntryInfo;
 6  
 import org.kuali.student.enrollment.lpr.dto.LprRosterInfo;
 7  
 import org.kuali.student.r2.common.assembler.DTOAssembler;
 8  
 import org.kuali.student.r2.common.dto.ContextInfo;
 9  
 
 10  
 import java.util.List;
 11  
 
 12  0
 public class GradeRosterEntryAssembler implements DTOAssembler<GradeRosterEntryInfo, LprRosterEntryInfo> {
 13  
 
 14  
 
 15  
     @Override
 16  
     public GradeRosterEntryInfo assemble(LprRosterEntryInfo lprRosterEntryInfo, ContextInfo context) {
 17  0
         GradeRosterEntryInfo gradeRosterEntryInfo = new GradeRosterEntryInfo();
 18  0
         gradeRosterEntryInfo.setId(lprRosterEntryInfo.getId());
 19  
 
 20  0
         return gradeRosterEntryInfo;
 21  
     }
 22  
 
 23  
     public GradeRosterEntryInfo assemble(LprRosterEntryInfo lprRosterEntryInfo, String studentId, String activityOfferingId, String assignedGradeKey, String calculatedGradeKey, String administrativeGradeKey, String creditsEarnedKey, List<String> gradingOptionKeys, ContextInfo context) {
 24  0
         GradeRosterEntryInfo gradeRosterEntryInfo = assemble(lprRosterEntryInfo, context);
 25  0
         gradeRosterEntryInfo.setActivityOfferingId(activityOfferingId);
 26  0
         gradeRosterEntryInfo.setAdministrativeGradeKey(administrativeGradeKey);
 27  0
         gradeRosterEntryInfo.setAssignedGradeKey(assignedGradeKey);
 28  0
         gradeRosterEntryInfo.setCalculatedGradeKey(calculatedGradeKey);
 29  0
         gradeRosterEntryInfo.setCreditsEarnedKey(creditsEarnedKey);
 30  0
         gradeRosterEntryInfo.setValidGradeGroupKeys(gradingOptionKeys);
 31  0
         gradeRosterEntryInfo.setStudentId(studentId);
 32  0
         return gradeRosterEntryInfo;
 33  
     }
 34  
 
 35  
     @Override
 36  
     public LprRosterEntryInfo disassemble(GradeRosterEntryInfo gradeRosterEntryInfo, ContextInfo context) {
 37  
         // TODO implement method
 38  0
         throw new UnsupportedOperationException("Method not implemented.");
 39  
     }
 40  
 }