| 1 |
|
|
| 2 |
|
|
| 3 |
|
|
| 4 |
|
|
| 5 |
|
|
| 6 |
|
|
| 7 |
|
|
| 8 |
|
|
| 9 |
|
|
| 10 |
|
|
| 11 |
|
|
| 12 |
|
|
| 13 |
|
|
| 14 |
|
|
| 15 |
|
|
| 16 |
|
package org.kuali.student.core.enumerationmanagement.dto; |
| 17 |
|
|
| 18 |
|
import java.util.ArrayList; |
| 19 |
|
import java.util.Date; |
| 20 |
|
import java.util.List; |
| 21 |
|
|
| 22 |
|
import javax.xml.bind.annotation.XmlAccessType; |
| 23 |
|
import javax.xml.bind.annotation.XmlAccessorType; |
| 24 |
|
import javax.xml.bind.annotation.XmlAttribute; |
| 25 |
|
import javax.xml.bind.annotation.XmlElement; |
| 26 |
|
|
| 27 |
|
import org.kuali.student.common.dto.TypeInfo; |
| 28 |
|
|
| 29 |
|
|
| 30 |
|
|
| 31 |
|
|
| 32 |
|
|
| 33 |
|
@XmlAccessorType(XmlAccessType.FIELD) |
|
|
|
| 57.1% |
Uncovered Elements: 12 (28) |
Complexity: 13 |
Complexity Density: 0.93 |
|
| 34 |
|
public class EnumerationInfo extends TypeInfo { |
| 35 |
|
|
| 36 |
|
private static final long serialVersionUID = 1L; |
| 37 |
|
|
| 38 |
|
@XmlAttribute(name="key") |
| 39 |
|
private String id; |
| 40 |
|
|
| 41 |
|
@XmlElement |
| 42 |
|
private String name; |
| 43 |
|
|
| 44 |
|
@XmlElement(name ="desc") |
| 45 |
|
private String descr; |
| 46 |
|
|
| 47 |
|
@XmlElement |
| 48 |
|
private Date effectiveDate; |
| 49 |
|
|
| 50 |
|
@XmlElement |
| 51 |
|
private Date expirationDate; |
| 52 |
|
|
| 53 |
|
@XmlElement |
| 54 |
|
private List<String> contextDescriptors; |
| 55 |
|
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 56 |
15
|
public String getId() {... |
| 57 |
15
|
return id; |
| 58 |
|
} |
| 59 |
|
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 60 |
28
|
public void setId(String id) {... |
| 61 |
28
|
this.id = id; |
| 62 |
|
} |
| 63 |
|
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 64 |
2
|
public String getName() {... |
| 65 |
2
|
return name; |
| 66 |
|
} |
| 67 |
|
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 68 |
14
|
public void setName(String name) {... |
| 69 |
14
|
this.name = name; |
| 70 |
|
} |
| 71 |
|
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 72 |
2
|
public String getDescr() {... |
| 73 |
2
|
return descr; |
| 74 |
|
} |
| 75 |
|
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 76 |
14
|
public void setDescr(String descr) {... |
| 77 |
14
|
this.descr = descr; |
| 78 |
|
} |
| 79 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 80 |
0
|
public Date getEffectiveDate() {... |
| 81 |
0
|
return effectiveDate; |
| 82 |
|
} |
| 83 |
|
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 84 |
14
|
public void setEffectiveDate(Date effectiveDate) {... |
| 85 |
14
|
this.effectiveDate = effectiveDate; |
| 86 |
|
} |
| 87 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 88 |
0
|
public Date getExpirationDate() {... |
| 89 |
0
|
return expirationDate; |
| 90 |
|
} |
| 91 |
|
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 92 |
14
|
public void setExpirationDate(Date expirationDate) {... |
| 93 |
14
|
this.expirationDate = expirationDate; |
| 94 |
|
} |
| 95 |
|
|
| 96 |
|
|
| 97 |
|
|
| 98 |
|
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
| 99 |
0
|
public List<String> getContextDescriptors() {... |
| 100 |
0
|
if (contextDescriptors == null) { |
| 101 |
0
|
contextDescriptors = new ArrayList<String>(); |
| 102 |
|
} |
| 103 |
0
|
return contextDescriptors; |
| 104 |
|
} |
| 105 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 106 |
0
|
public void setContextDescriptors(List<String> contextDescriptors) {... |
| 107 |
0
|
this.contextDescriptors = contextDescriptors; |
| 108 |
|
} |
| 109 |
|
} |