Clover Coverage Report - Kuali Student 1.1-SNAPSHOT (Aggregated)
Coverage timestamp: Thu Mar 3 2011 04:02:59 EST
../../../../../../img/srcFileCovDistChart5.png 41% of files have more coverage
10   57   9   1.25
2   45   0.9   8
8     1.12  
1    
 
  ObjectStructureDefinition       Line # 12 10 0% 9 10 50% 0.5
 
  (12)
 
1    package org.kuali.student.core.dictionary.dto;
2   
3    import java.util.ArrayList;
4    import java.util.List;
5   
6    import javax.xml.bind.annotation.XmlAccessType;
7    import javax.xml.bind.annotation.XmlAccessorType;
8    import javax.xml.bind.annotation.XmlElement;
9    import javax.xml.bind.annotation.XmlID;
10   
11    @XmlAccessorType(XmlAccessType.FIELD)
 
12    public class ObjectStructureDefinition {
13    @XmlElement(required = true)
14    @XmlID
15    protected String name;// TODO do we need this?
16    @XmlElement
17    protected String businessObjectClass;
18    @XmlElement
19    protected List<FieldDefinition> attributes;
20    @XmlElement
21    protected boolean hasMetaData;//TODO do we need this?
22   
 
23  0 toggle public String getBusinessObjectClass() {
24  0 return businessObjectClass;
25    }
26   
 
27  0 toggle public void setBusinessObjectClass(String businessObjectClass) {
28  0 this.businessObjectClass = businessObjectClass;
29    }
30   
 
31  43 toggle public List<FieldDefinition> getAttributes() {
32  43 if(attributes==null){
33  0 attributes = new ArrayList<FieldDefinition>();
34    }
35  43 return attributes;
36    }
37   
 
38  36 toggle public void setAttributes(List<FieldDefinition> attributes) {
39  36 this.attributes = attributes;
40    }
41   
 
42  51 toggle public String getName() {
43  51 return name;
44    }
45   
 
46  36 toggle public void setName(String name) {
47  36 this.name = name;
48    }
49   
 
50  0 toggle public boolean isHasMetaData() {
51  0 return hasMetaData;
52    }
53   
 
54  0 toggle public void setHasMetaData(boolean hasMetaData) {
55  0 this.hasMetaData = hasMetaData;
56    }
57    }