Clover Coverage Report - KS Common 1.2-M4-SNAPSHOT (Aggregated)
Coverage timestamp: Wed Jul 20 2011 12:23:34 EDT
../../../../../../img/srcFileCovDistChart0.png 30% of files have more coverage
6   32   4   2
2   23   0.67   1.5
3     1.33  
2    
 
  IdAttributes       Line # 5 0 - 0 0 - -1.0
  IdAttributes.IdType       Line # 9 6 0% 4 11 0% 0.0
 
No Tests
 
1    package org.kuali.student.common.ui.shared;
2   
3    import org.kuali.student.common.rice.StudentIdentityConstants;
4   
 
5    public class IdAttributes {
6   
7    public static final String ID_TYPE = "ID_TYPE";
8   
 
9    public enum IdType {
10    // TODO: OBJECT_ID has no references
11    KS_KEW_OBJECT_ID(StudentIdentityConstants.QUALIFICATION_KEW_OBJECT_ID), DOCUMENT_ID(StudentIdentityConstants.DOCUMENT_NUMBER), OBJECT_ID("objectId"), COPY_OF_OBJECT_ID("copyOfObjectId"), COPY_OF_KS_KEW_OBJECT_ID("copyOfKualiStudentObjectWorkflowId");
12   
13    final String stringValue;
14   
 
15  0 toggle private IdType(String value) {
16  0 this.stringValue = value;
17    }
18   
 
19  0 toggle public String toString() {
20  0 return stringValue;
21    }
22   
 
23  0 toggle public static IdType fromString(String name) {
24  0 for (IdType idTypeEnum : values()) {
25  0 if (name.equals(idTypeEnum.toString())) {
26  0 return idTypeEnum;
27    }
28    }
29  0 return null;
30    }
31    }
32    }