Coverage Report - org.kuali.student.r2.common.assembler.CommonEntityDTOAssembler
 
Classes in this File Line Coverage Branch Coverage Complexity
CommonEntityDTOAssembler
0%
0/7
N/A
1
 
 1  
 package org.kuali.student.r2.common.assembler;
 2  
 
 3  
 import org.kuali.student.r2.common.dto.ContextInfo;
 4  
 import org.kuali.student.r2.common.dto.EntityInfo;
 5  
 
 6  0
 public class CommonEntityDTOAssembler<E extends EntityInfo, F extends EntityInfo> {
 7  
 
 8  
     public F assemble(E fromDTO, F toDTO, ContextInfo context) {
 9  
 
 10  0
         toDTO.setAttributes(fromDTO.getAttributes());
 11  0
         toDTO.setMeta(fromDTO.getMeta());
 12  0
         toDTO.setStateKey(fromDTO.getStateKey());
 13  0
         toDTO.setTypeKey(fromDTO.getTypeKey());
 14  0
         toDTO.setDescr(fromDTO.getDescr());
 15  
 
 16  0
         return toDTO;
 17  
 
 18  
     }
 19  
 }