1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
package org.kuali.student.contract.model.test.source; |
16 |
|
|
17 |
|
import java.io.Serializable; |
18 |
|
import java.util.Date; |
19 |
|
import java.util.List; |
20 |
|
|
21 |
|
import javax.xml.bind.annotation.XmlAccessType; |
22 |
|
import javax.xml.bind.annotation.XmlAccessorType; |
23 |
|
import javax.xml.bind.annotation.XmlAnyElement; |
24 |
|
import javax.xml.bind.annotation.XmlElement; |
25 |
|
import javax.xml.bind.annotation.XmlType; |
26 |
|
import org.kuali.student.contract.model.test.source.KeyEntityInfo; |
27 |
|
|
28 |
|
import org.w3c.dom.Element; |
29 |
|
|
30 |
|
@XmlAccessorType(XmlAccessType.FIELD) |
31 |
|
@XmlType(name = "AtpInfo", propOrder = { "key", "typeKey", "stateKey", "name", |
32 |
|
"descr", "startDate", "endDate", "meta", "attributes", |
33 |
|
"_futureElements" }) |
|
|
| 0% |
Uncovered Elements: 24 (24) |
Complexity: 10 |
Complexity Density: 1 |
|
34 |
|
public class AtpInfo extends KeyEntityInfo implements Serializable { |
35 |
|
|
36 |
|
private static final long serialVersionUID = 1L; |
37 |
|
@XmlElement |
38 |
|
private Date startDate; |
39 |
|
@XmlElement |
40 |
|
private Date endDate; |
41 |
|
@XmlAnyElement |
42 |
|
private List<Element> _futureElements; |
43 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
44 |
0
|
public static AtpInfo newInstance() {... |
45 |
0
|
return new AtpInfo(); |
46 |
|
} |
47 |
|
|
|
|
| 0% |
Uncovered Elements: 3 (3) |
Complexity: 1 |
Complexity Density: 0.33 |
|
48 |
0
|
public AtpInfo() {... |
49 |
0
|
startDate = null; |
50 |
0
|
endDate = null; |
51 |
0
|
_futureElements = null; |
52 |
|
} |
53 |
|
|
54 |
|
|
|
|
| 0% |
Uncovered Elements: 3 (3) |
Complexity: 2 |
Complexity Density: 2 |
|
55 |
0
|
public Date getStartDate() {... |
56 |
0
|
return startDate != null ? new Date(startDate.getTime()) : null; |
57 |
|
} |
58 |
|
|
59 |
|
|
|
|
| 0% |
Uncovered Elements: 4 (4) |
Complexity: 2 |
Complexity Density: 1 |
|
60 |
0
|
public void setStartDate(Date startDate) {... |
61 |
0
|
if (startDate != null) |
62 |
0
|
this.startDate = new Date(startDate.getTime()); |
63 |
|
} |
64 |
|
|
|
|
| 0% |
Uncovered Elements: 3 (3) |
Complexity: 2 |
Complexity Density: 2 |
|
65 |
0
|
public Date getEndDate() {... |
66 |
0
|
return endDate != null ? new Date(endDate.getTime()) : null; |
67 |
|
} |
68 |
|
|
69 |
|
|
|
|
| 0% |
Uncovered Elements: 4 (4) |
Complexity: 2 |
Complexity Density: 1 |
|
70 |
0
|
public void setEndDate(Date endDate) {... |
71 |
0
|
if (endDate != null) |
72 |
0
|
this.endDate = new Date(endDate.getTime()); |
73 |
|
} |
74 |
|
} |