Coverage Report - org.kuali.student.lum.common.client.lo.HelperUtil
 
Classes in this File Line Coverage Branch Coverage Complexity
HelperUtil
0%
0/6
0%
0/2
1.5
 
 1  
 package org.kuali.student.lum.common.client.lo;
 2  
 
 3  
 import org.kuali.student.common.assembly.data.Data;
 4  
 import org.kuali.student.common.assembly.helper.PropertyEnum;
 5  
 
 6  
 /**
 7  
  * @author Igor
 8  
  */
 9  0
 public class HelperUtil {
 10  
     public static void setDataField(PropertyEnum property, Data data, Data value) {
 11  0
         data.set(property.getKey(), value);
 12  0
     }
 13  
 
 14  
     public static Data getDataField(PropertyEnum property, Data data) {
 15  0
         if (data.get(property.getKey()) == null) {
 16  0
             setDataField(property, data, new Data());
 17  
         }
 18  0
         return data.get(property.getKey());
 19  
     }
 20  
 }