Coverage Report - org.kuali.rice.krad.datadictionary.validation.DataType
 
Classes in this File Line Coverage Branch Coverage Complexity
DataType
0%
0/6
N/A
1
 
 1  
 package org.kuali.rice.krad.datadictionary.validation;
 2  
 
 3  
 import java.util.Date;
 4  
 
 5  
 import javax.xml.bind.annotation.XmlEnum;
 6  
 
 7  
 /**
 8  
  * A simple data type enum inherited from the Kuali Student project, that can be used to define a specific data type for a dictionary object 
 9  
  * or one of its member attributes. 
 10  
  * 
 11  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 12  
  */
 13  0
 @XmlEnum
 14  
 public enum DataType {
 15  0
         STRING(String.class), DATE(Date.class), TRUNCATED_DATE(Date.class), BOOLEAN(Boolean.class), INTEGER(Integer.class), FLOAT(Float.class), DOUBLE(Double.class), LONG(Long.class), COMPLEX(Object.class);
 16  
         
 17  
         private Class<?> type;
 18  
         
 19  0
         private DataType(Class<?> type) {
 20  0
                 this.type = type;
 21  0
         }
 22  
         
 23  
         public Class<?> getType() {
 24  0
                 return type;
 25  
         }
 26  
 }