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