Coverage Report - org.kuali.student.enrollment.class2.grading.service.assembler.GradeRosterAssembler
 
Classes in this File Line Coverage Branch Coverage Complexity
GradeRosterAssembler
0%
0/16
N/A
1.333
 
 1  
 package org.kuali.student.enrollment.class2.grading.service.assembler;
 2  
 
 3  
 import org.kuali.student.enrollment.grading.dto.GradeRosterInfo;
 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.LprRosterInfo;
 9  
 
 10  0
 public class GradeRosterAssembler implements DTOAssembler<GradeRosterInfo, LprRosterInfo> {
 11  
 
 12  
     @Override
 13  
     public GradeRosterInfo assemble(LprRosterInfo lprRosterInfo, ContextInfo context) {
 14  
 
 15  0
         GradeRosterInfo gradeRosterInfo = new GradeRosterInfo();
 16  0
         gradeRosterInfo.setId(lprRosterInfo.getId());
 17  0
         gradeRosterInfo.setStateKey(lprRosterInfo.getStateKey());
 18  0
         gradeRosterInfo.setTypeKey(lprRosterInfo.getTypeKey());
 19  0
         gradeRosterInfo.setDescr(lprRosterInfo.getDescr());
 20  0
         gradeRosterInfo.setAttributes(lprRosterInfo.getAttributes());
 21  0
         gradeRosterInfo.setName(lprRosterInfo.getName());
 22  0
         return gradeRosterInfo;
 23  
     }
 24  
 
 25  
     public GradeRosterInfo assemble(LprRosterInfo lprRosterInfo, List<String> lprRosterEntryIds, List<String> graderIds, String courseOfferingId, List<String> activityOfferingIds, ContextInfo context) {
 26  0
         GradeRosterInfo gradeRosterInfo = assemble(lprRosterInfo, context);
 27  0
         gradeRosterInfo.setGradeRosterEntryIds(lprRosterEntryIds);
 28  0
         gradeRosterInfo.setGraderIds(graderIds);
 29  0
         gradeRosterInfo.setCourseOfferingId(courseOfferingId);
 30  0
         gradeRosterInfo.setActivityOfferingIds(activityOfferingIds);
 31  0
         return gradeRosterInfo;
 32  
     }
 33  
 
 34  
     @Override
 35  
     public LprRosterInfo disassemble(GradeRosterInfo gradeRosterInfo, ContextInfo context) {
 36  
         // TODO implement method
 37  0
         throw new UnsupportedOperationException("Method not implemented.");
 38  
     }
 39  
 }