1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
package org.kuali.student.common.versionmanagement.dto; |
17 |
|
|
18 |
|
import java.io.Serializable; |
19 |
|
import java.util.Date; |
20 |
|
|
21 |
|
import javax.xml.bind.annotation.XmlAccessType; |
22 |
|
import javax.xml.bind.annotation.XmlAccessorType; |
23 |
|
import javax.xml.bind.annotation.XmlElement; |
24 |
|
|
25 |
|
|
26 |
|
|
27 |
|
|
28 |
|
|
29 |
|
|
30 |
|
|
31 |
|
|
32 |
|
|
33 |
|
|
34 |
|
@XmlAccessorType(XmlAccessType.FIELD) |
|
|
| 0% |
Uncovered Elements: 42 (42) |
Complexity: 18 |
Complexity Density: 0.75 |
|
35 |
|
public class VersionDisplayInfo implements Serializable { |
36 |
|
|
|
|
| 0% |
Uncovered Elements: 8 (8) |
Complexity: 1 |
Complexity Density: 0.12 |
|
37 |
0
|
public VersionDisplayInfo(String id, String versionIndId,... |
38 |
|
Long sequenceNumber, |
39 |
|
Date currentVersionStart, Date currentVersionEnd, |
40 |
|
String versionComment, String versionedFromId) { |
41 |
0
|
super(); |
42 |
0
|
this.id = id; |
43 |
0
|
this.versionIndId = versionIndId; |
44 |
0
|
this.sequenceNumber = sequenceNumber; |
45 |
0
|
this.currentVersionStart = currentVersionStart; |
46 |
0
|
this.currentVersionEnd = currentVersionEnd; |
47 |
0
|
this.versionComment = versionComment; |
48 |
0
|
this.versionedFromId = versionedFromId; |
49 |
|
} |
50 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
51 |
0
|
public VersionDisplayInfo() {... |
52 |
|
} |
53 |
|
|
54 |
|
private static final long serialVersionUID = 1L; |
55 |
|
|
56 |
|
@XmlElement |
57 |
|
private String id; |
58 |
|
|
59 |
|
@XmlElement |
60 |
|
private String versionIndId; |
61 |
|
|
62 |
|
@XmlElement |
63 |
|
private String objectTypeURI; |
64 |
|
|
65 |
|
@XmlElement |
66 |
|
private Long sequenceNumber; |
67 |
|
|
68 |
|
@XmlElement |
69 |
|
private Date currentVersionStart; |
70 |
|
|
71 |
|
@XmlElement |
72 |
|
private Date currentVersionEnd; |
73 |
|
|
74 |
|
@XmlElement |
75 |
|
private String versionComment; |
76 |
|
|
77 |
|
@XmlElement |
78 |
|
private String versionedFromId; |
79 |
|
|
80 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
81 |
0
|
public String getVersionedFromId() {... |
82 |
0
|
return versionedFromId; |
83 |
|
} |
84 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
85 |
0
|
public void setVersionedFromId(String versionedFromId) {... |
86 |
0
|
this.versionedFromId = versionedFromId; |
87 |
|
} |
88 |
|
|
89 |
|
|
90 |
|
|
91 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
92 |
0
|
public String getId() {... |
93 |
0
|
return id; |
94 |
|
} |
95 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
96 |
0
|
public void setId(String id) {... |
97 |
0
|
this.id = id; |
98 |
|
} |
99 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
100 |
0
|
public String getObjectTypeURI() {... |
101 |
0
|
return objectTypeURI; |
102 |
|
} |
103 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
104 |
0
|
public void setObjectTypeURI(String objectTypeURI) {... |
105 |
0
|
this.objectTypeURI = objectTypeURI; |
106 |
|
} |
107 |
|
|
108 |
|
|
109 |
|
|
110 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
111 |
0
|
public String getVersionIndId() {... |
112 |
0
|
return versionIndId; |
113 |
|
} |
114 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
115 |
0
|
public void setVersionIndId(String versionIndId) {... |
116 |
0
|
this.versionIndId = versionIndId; |
117 |
|
} |
118 |
|
|
119 |
|
|
120 |
|
|
121 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
122 |
0
|
public Long getSequenceNumber() {... |
123 |
0
|
return sequenceNumber; |
124 |
|
} |
125 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
126 |
0
|
public void setSequenceNumber(Long sequenceNumber) {... |
127 |
0
|
this.sequenceNumber = sequenceNumber; |
128 |
|
} |
129 |
|
|
130 |
|
|
131 |
|
|
132 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
133 |
0
|
public Date getCurrentVersionStart() {... |
134 |
0
|
return currentVersionStart; |
135 |
|
} |
136 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
137 |
0
|
public void setCurrentVersionStart(Date currentVersionStart) {... |
138 |
0
|
this.currentVersionStart = currentVersionStart; |
139 |
|
} |
140 |
|
|
141 |
|
|
142 |
|
|
143 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
144 |
0
|
public Date getCurrentVersionEnd() {... |
145 |
0
|
return currentVersionEnd; |
146 |
|
} |
147 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
148 |
0
|
public void setCurrentVersionEnd(Date currentVersionEnd) {... |
149 |
0
|
this.currentVersionEnd = currentVersionEnd; |
150 |
|
} |
151 |
|
|
152 |
|
|
153 |
|
|
154 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
155 |
0
|
public String getVersionComment() {... |
156 |
0
|
return versionComment; |
157 |
|
} |
158 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
159 |
0
|
public void setVersionComment(String versionComment) {... |
160 |
0
|
this.versionComment = versionComment; |
161 |
|
} |
162 |
|
} |