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) |
|
|
| 50% |
Uncovered Elements: 10 (20) |
Complexity: 9 |
Complexity Density: 0.9 |
|
12 |
|
public class ObjectStructureDefinition { |
13 |
|
@XmlElement(required = true) |
14 |
|
@XmlID |
15 |
|
protected String name; |
16 |
|
@XmlElement |
17 |
|
protected String businessObjectClass; |
18 |
|
@XmlElement |
19 |
|
protected List<FieldDefinition> attributes; |
20 |
|
@XmlElement |
21 |
|
protected boolean hasMetaData; |
22 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
23 |
0
|
public String getBusinessObjectClass() {... |
24 |
0
|
return businessObjectClass; |
25 |
|
} |
26 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
27 |
0
|
public void setBusinessObjectClass(String businessObjectClass) {... |
28 |
0
|
this.businessObjectClass = businessObjectClass; |
29 |
|
} |
30 |
|
|
|
|
| 60% |
Uncovered Elements: 2 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
31 |
43
|
public List<FieldDefinition> getAttributes() {... |
32 |
43
|
if(attributes==null){ |
33 |
0
|
attributes = new ArrayList<FieldDefinition>(); |
34 |
|
} |
35 |
43
|
return attributes; |
36 |
|
} |
37 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
38 |
36
|
public void setAttributes(List<FieldDefinition> attributes) {... |
39 |
36
|
this.attributes = attributes; |
40 |
|
} |
41 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
42 |
51
|
public String getName() {... |
43 |
51
|
return name; |
44 |
|
} |
45 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
46 |
36
|
public void setName(String name) {... |
47 |
36
|
this.name = name; |
48 |
|
} |
49 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
50 |
0
|
public boolean isHasMetaData() {... |
51 |
0
|
return hasMetaData; |
52 |
|
} |
53 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
54 |
0
|
public void setHasMetaData(boolean hasMetaData) {... |
55 |
0
|
this.hasMetaData = hasMetaData; |
56 |
|
} |
57 |
|
} |