1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
package org.kuali.student.common.validator; |
17 |
|
|
18 |
|
import java.util.Date; |
19 |
|
import java.util.List; |
20 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (36) |
Complexity: 18 |
Complexity Density: 1 |
|
21 |
|
public class ConstraintMockPerson { |
22 |
|
|
23 |
|
protected String firstName; |
24 |
|
|
25 |
|
protected String lastName; |
26 |
|
|
27 |
|
protected String type; |
28 |
|
|
29 |
|
protected String state; |
30 |
|
|
31 |
|
protected String id; |
32 |
|
|
33 |
|
protected String email; |
34 |
|
|
35 |
|
protected Double gpa; |
36 |
|
|
37 |
|
protected Date dob; |
38 |
|
|
39 |
|
protected List<ConstraintMockAddress> address; |
40 |
|
|
41 |
|
|
42 |
|
@return |
43 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
44 |
10
|
public String getFirstName() {... |
45 |
10
|
return firstName; |
46 |
|
} |
47 |
|
|
48 |
|
|
49 |
|
@param |
50 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
51 |
12
|
public void setFirstName(String firstName) {... |
52 |
12
|
this.firstName = firstName; |
53 |
|
} |
54 |
|
|
55 |
|
|
56 |
|
@return |
57 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
58 |
10
|
public String getLastName() {... |
59 |
10
|
return lastName; |
60 |
|
} |
61 |
|
|
62 |
|
|
63 |
|
@param |
64 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
65 |
8
|
public void setLastName(String lastName) {... |
66 |
8
|
this.lastName = lastName; |
67 |
|
} |
68 |
|
|
69 |
|
|
70 |
|
@return |
71 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
72 |
10
|
public String getType() {... |
73 |
10
|
return type; |
74 |
|
} |
75 |
|
|
76 |
|
|
77 |
|
@param |
78 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
79 |
8
|
public void setType(String type) {... |
80 |
8
|
this.type = type; |
81 |
|
} |
82 |
|
|
83 |
|
|
84 |
|
@return |
85 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
86 |
10
|
public String getState() {... |
87 |
10
|
return state; |
88 |
|
} |
89 |
|
|
90 |
|
|
91 |
|
@param |
92 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
93 |
8
|
public void setState(String state) {... |
94 |
8
|
this.state = state; |
95 |
|
} |
96 |
|
|
97 |
|
|
98 |
|
@return |
99 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
100 |
10
|
public String getId() {... |
101 |
10
|
return id; |
102 |
|
} |
103 |
|
|
104 |
|
|
105 |
|
@param |
106 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
107 |
8
|
public void setId(String id) {... |
108 |
8
|
this.id = id; |
109 |
|
} |
110 |
|
|
111 |
|
|
112 |
|
@return |
113 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
114 |
10
|
public String getEmail() {... |
115 |
10
|
return email; |
116 |
|
} |
117 |
|
|
118 |
|
|
119 |
|
@param |
120 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
121 |
8
|
public void setEmail(String email) {... |
122 |
8
|
this.email = email; |
123 |
|
} |
124 |
|
|
125 |
|
|
126 |
|
@return |
127 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
128 |
12
|
public List<ConstraintMockAddress> getAddress() {... |
129 |
12
|
return address; |
130 |
|
} |
131 |
|
|
132 |
|
|
133 |
|
@param |
134 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
135 |
1
|
public void setAddress(List<ConstraintMockAddress> address) {... |
136 |
1
|
this.address = address; |
137 |
|
} |
138 |
|
|
139 |
|
|
140 |
|
@return |
141 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
142 |
10
|
public Double getGpa() {... |
143 |
10
|
return gpa; |
144 |
|
} |
145 |
|
|
146 |
|
|
147 |
|
@param |
148 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
149 |
2
|
public void setGpa(Double gpa) {... |
150 |
2
|
this.gpa = gpa; |
151 |
|
} |
152 |
|
|
153 |
|
|
154 |
|
@return |
155 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
156 |
10
|
public Date getDob() {... |
157 |
10
|
return dob; |
158 |
|
} |
159 |
|
|
160 |
|
|
161 |
|
@param |
162 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
163 |
3
|
public void setDob(Date dob) {... |
164 |
3
|
this.dob = dob; |
165 |
|
} |
166 |
|
} |