Coverage Report - org.kuali.student.enrollment.class2.courseoffering.service.transformer.FormatOfferingTransformer
 
Classes in this File Line Coverage Branch Coverage Complexity
FormatOfferingTransformer
0%
0/23
N/A
1
 
 1  
 package org.kuali.student.enrollment.class2.courseoffering.service.transformer;
 2  
 
 3  
 import org.kuali.student.enrollment.courseoffering.dto.FormatOfferingInfo;
 4  
 import org.kuali.student.enrollment.lui.dto.LuiInfo;
 5  
 
 6  0
 public class FormatOfferingTransformer {
 7  
 
 8  
     public void lui2Format(LuiInfo lui, FormatOfferingInfo format) {
 9  0
         format.setId(lui.getId());
 10  0
         format.setTypeKey(lui.getTypeKey());
 11  0
         format.setStateKey(lui.getStateKey());
 12  0
         format.setName(lui.getName());
 13  0
         format.setFormatId(lui.getCluId());
 14  0
         format.setTermId(lui.getAtpId());
 15  0
         format.setDescr(lui.getDescr());
 16  0
         format.setActivityOfferingTypeKeys(lui.getRelatedLuiTypes());
 17  0
         format.setMeta(lui.getMeta());
 18  0
         format.setAttributes(lui.getAttributes());
 19  0
     }
 20  
 
 21  
     public void format2Lui(FormatOfferingInfo format, LuiInfo lui) {
 22  0
         lui.setId(format.getId());
 23  0
         lui.setTypeKey(format.getTypeKey());
 24  0
         lui.setStateKey(format.getStateKey());
 25  0
         lui.setName(format.getName());
 26  0
         lui.setCluId(format.getFormatId());
 27  0
         lui.setAtpId(format.getTermId());
 28  0
         lui.setDescr(format.getDescr());
 29  0
         lui.setRelatedLuiTypes(format.getActivityOfferingTypeKeys());
 30  0
         lui.setMeta(format.getMeta());
 31  0
         lui.setAttributes(format.getAttributes());
 32  0
     }
 33  
 }