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.r2.common.assembler.DTOAssembler;
 5  
 import org.kuali.student.r2.common.dto.ContextInfo;
 6  
 
 7  
 import java.util.List;
 8  
 import org.kuali.student.enrollment.roster.dto.LprRosterEntryInfo;
 9  
 
 10  0
 public class GradeRosterEntryAssembler implements DTOAssembler<GradeRosterEntryInfo, LprRosterEntryInfo> {
 11  
 
 12  
 
 13  
     @Override
 14  
     public GradeRosterEntryInfo assemble(LprRosterEntryInfo lprRosterEntryInfo, ContextInfo context) {
 15  0
         GradeRosterEntryInfo gradeRosterEntryInfo = new GradeRosterEntryInfo();
 16  0
         gradeRosterEntryInfo.setId(lprRosterEntryInfo.getId());
 17  
 
 18  0
         return gradeRosterEntryInfo;
 19  
     }
 20  
 
 21  
     public GradeRosterEntryInfo assemble(LprRosterEntryInfo lprRosterEntryInfo, String studentId, String activityOfferingId, String assignedGradeKey, String calculatedGradeKey, String administrativeGradeKey, String creditsEarnedKey, List<String> gradingOptionKeys, ContextInfo context) {
 22  0
         GradeRosterEntryInfo gradeRosterEntryInfo = assemble(lprRosterEntryInfo, context);
 23  0
         gradeRosterEntryInfo.setActivityOfferingId(activityOfferingId);
 24  0
         gradeRosterEntryInfo.setAdministrativeGradeKey(administrativeGradeKey);
 25  0
         gradeRosterEntryInfo.setAssignedGradeKey(assignedGradeKey);
 26  0
         gradeRosterEntryInfo.setCalculatedGradeKey(calculatedGradeKey);
 27  0
         gradeRosterEntryInfo.setCreditsEarnedKey(creditsEarnedKey);
 28  0
         gradeRosterEntryInfo.setValidGradeGroupKeys(gradingOptionKeys);
 29  0
         gradeRosterEntryInfo.setStudentId(studentId);
 30  0
         return gradeRosterEntryInfo;
 31  
     }
 32  
 
 33  
     @Override
 34  
     public LprRosterEntryInfo disassemble(GradeRosterEntryInfo gradeRosterEntryInfo, ContextInfo context) {
 35  
         // TODO implement method
 36  0
         throw new UnsupportedOperationException("Method not implemented.");
 37  
     }
 38  
 }