Coverage Report - org.kuali.student.core.assembly.transform.DataBeanMapper
 
Classes in this File Line Coverage Branch Coverage Complexity
DataBeanMapper
N/A
N/A
1
 
 1  
 package org.kuali.student.core.assembly.transform;
 2  
 
 3  
 import org.kuali.student.core.assembly.data.Data;
 4  
 import org.kuali.student.core.assembly.data.Metadata;
 5  
 
 6  
 public interface DataBeanMapper {
 7  
 
 8  
         /**
 9  
          * Takes a DTO Bean and converts it to a Data map structure.
 10  
          * 
 11  
          * @param value
 12  
          * @return the converted bean object
 13  
          */
 14  
         public Data convertFromBean(Object value) throws Exception;
 15  
 
 16  
         /**
 17  
          * Takes a data map and converts it to the corresponding DTO Bean
 18  
          * 
 19  
          * @param data
 20  
          * @param clazz
 21  
          * @return
 22  
          */
 23  
         public Object convertFromData(Data data, Class<?> clazz, Metadata metadata) throws Exception;
 24  
 
 25  
 }