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 |
|
|
27 |
|
import org.kuali.student.contract.model.test.source.Meta; |
28 |
|
import org.kuali.student.contract.model.test.source.ModelBuilder; |
29 |
|
import org.w3c.dom.Element; |
30 |
|
|
31 |
|
@XmlAccessorType(XmlAccessType.FIELD) |
32 |
|
@XmlType(name = "MetaInfo", propOrder = {"versionInd", "createTime", "createId", "updateTime", "updateId", "_futureElements"}) |
|
|
| 0% |
Uncovered Elements: 28 (28) |
Complexity: 9 |
Complexity Density: 0.53 |
|
33 |
|
public class MetaInfo implements Meta, Serializable { |
34 |
|
|
35 |
|
private static final long serialVersionUID = 1L; |
36 |
|
@XmlElement |
37 |
|
private final String versionInd; |
38 |
|
@XmlElement |
39 |
|
private final Date createTime; |
40 |
|
@XmlElement |
41 |
|
private final String createId; |
42 |
|
@XmlElement |
43 |
|
private final Date updateTime; |
44 |
|
@XmlElement |
45 |
|
private final String updateId; |
46 |
|
@XmlAnyElement |
47 |
|
private final List<Element> _futureElements; |
48 |
|
|
|
|
| 0% |
Uncovered Elements: 6 (6) |
Complexity: 1 |
Complexity Density: 0.17 |
|
49 |
0
|
private MetaInfo() {... |
50 |
0
|
versionInd = null; |
51 |
0
|
createTime = null; |
52 |
0
|
createId = null; |
53 |
0
|
updateTime = null; |
54 |
0
|
updateId = null; |
55 |
0
|
_futureElements = null; |
56 |
|
} |
57 |
|
|
|
|
| 0% |
Uncovered Elements: 10 (10) |
Complexity: 3 |
Complexity Density: 0.5 |
|
58 |
0
|
private MetaInfo(Meta builder) {... |
59 |
0
|
this.versionInd = builder.getVersionInd(); |
60 |
0
|
this.createTime = null != builder.getCreateTime() ? new Date(builder.getCreateTime().getTime()) : null; |
61 |
0
|
this.createId = builder.getCreateId(); |
62 |
0
|
this.updateTime = null != builder.getUpdateTime() ? new Date(builder.getUpdateTime().getTime()) : null; |
63 |
0
|
this.updateId = builder.getUpdateId(); |
64 |
0
|
this._futureElements = null; |
65 |
|
} |
66 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
67 |
0
|
@Override... |
68 |
|
public String getVersionInd() { |
69 |
0
|
return versionInd; |
70 |
|
} |
71 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
72 |
0
|
@Override... |
73 |
|
public Date getCreateTime() { |
74 |
0
|
return createTime; |
75 |
|
} |
76 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
77 |
0
|
@Override... |
78 |
|
public String getCreateId() { |
79 |
0
|
return createId; |
80 |
|
} |
81 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
82 |
0
|
@Override... |
83 |
|
public Date getUpdateTime() { |
84 |
0
|
return updateTime; |
85 |
|
} |
86 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
87 |
0
|
@Override... |
88 |
|
public String getUpdateId() { |
89 |
0
|
return updateId; |
90 |
|
} |
91 |
|
|
|
|
| 0% |
Uncovered Elements: 32 (32) |
Complexity: 14 |
Complexity Density: 0.82 |
|
92 |
|
public static class Builder implements ModelBuilder<MetaInfo>, Meta { |
93 |
|
|
94 |
|
private String versionInd; |
95 |
|
private Date createTime; |
96 |
|
private String createId; |
97 |
|
private Date updateTime; |
98 |
|
private String updateId; |
99 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
100 |
0
|
public Builder() {... |
101 |
|
} |
102 |
|
|
|
|
| 0% |
Uncovered Elements: 8 (8) |
Complexity: 2 |
Complexity Density: 0.33 |
|
103 |
0
|
public Builder(Meta metaInfo) {... |
104 |
0
|
if (null != metaInfo) { |
105 |
0
|
this.versionInd = metaInfo.getVersionInd(); |
106 |
0
|
this.createTime = metaInfo.getCreateTime(); |
107 |
0
|
this.createId = metaInfo.getCreateId(); |
108 |
0
|
this.updateTime = metaInfo.getUpdateTime(); |
109 |
0
|
this.updateId = metaInfo.getUpdateId(); |
110 |
|
} |
111 |
|
} |
112 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
113 |
0
|
public MetaInfo build() {... |
114 |
0
|
return new MetaInfo(this); |
115 |
|
} |
116 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
117 |
0
|
@Override... |
118 |
|
public String getVersionInd() { |
119 |
0
|
return versionInd; |
120 |
|
} |
121 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
122 |
0
|
@Override... |
123 |
|
public Date getCreateTime() { |
124 |
0
|
return createTime; |
125 |
|
} |
126 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
127 |
0
|
@Override... |
128 |
|
public String getCreateId() { |
129 |
0
|
return createId; |
130 |
|
} |
131 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
132 |
0
|
@Override... |
133 |
|
public Date getUpdateTime() { |
134 |
0
|
return updateTime; |
135 |
|
} |
136 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
137 |
0
|
@Override... |
138 |
|
public String getUpdateId() { |
139 |
0
|
return updateId; |
140 |
|
} |
141 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
142 |
0
|
public void setVersionInd(String versionInd) {... |
143 |
0
|
this.versionInd = versionInd; |
144 |
|
} |
145 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
146 |
0
|
public void setCreateTime(Date createTime) {... |
147 |
0
|
this.createTime = createTime; |
148 |
|
} |
149 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
150 |
0
|
public void setCreateId(String createId) {... |
151 |
0
|
this.createId = createId; |
152 |
|
} |
153 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
154 |
0
|
public void setUpdateTime(Date updateTime) {... |
155 |
0
|
this.updateTime = updateTime; |
156 |
|
} |
157 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
158 |
0
|
public void setUpdateId(String updateId) {... |
159 |
0
|
this.updateId = updateId; |
160 |
|
} |
161 |
|
} |
162 |
|
} |