1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
package org.kuali.student.core.person.dto; |
17 |
|
|
18 |
|
import java.io.Serializable; |
19 |
|
import java.util.Date; |
20 |
|
import java.util.HashMap; |
21 |
|
import java.util.Map; |
22 |
|
|
23 |
|
import javax.xml.bind.annotation.XmlAccessType; |
24 |
|
import javax.xml.bind.annotation.XmlAccessorType; |
25 |
|
import javax.xml.bind.annotation.XmlAttribute; |
26 |
|
import javax.xml.bind.annotation.XmlElement; |
27 |
|
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; |
28 |
|
|
29 |
|
import org.kuali.student.common.dto.HasAttributes; |
30 |
|
import org.kuali.student.common.dto.HasTypeState; |
31 |
|
import org.kuali.student.common.dto.Idable; |
32 |
|
import org.kuali.student.common.dto.MetaInfo; |
33 |
|
import org.kuali.student.core.ws.binding.JaxbAttributeMapListAdapter; |
34 |
|
|
35 |
|
|
36 |
|
|
37 |
|
|
38 |
|
@XmlAccessorType(XmlAccessType.FIELD) |
|
|
| 0% |
Uncovered Elements: 44 (44) |
Complexity: 21 |
Complexity Density: 0.95 |
|
39 |
|
public class PersonResidencyInfo implements Serializable, Idable, HasTypeState, HasAttributes { |
40 |
|
|
41 |
|
private static final long serialVersionUID = 1L; |
42 |
|
|
43 |
|
@XmlElement |
44 |
|
private String personId; |
45 |
|
|
46 |
|
@XmlElement |
47 |
|
private String determinationMethod; |
48 |
|
|
49 |
|
@XmlElement |
50 |
|
private String inStateFlag; |
51 |
|
|
52 |
|
@XmlElement |
53 |
|
private Date effectiveDate; |
54 |
|
|
55 |
|
@XmlElement |
56 |
|
private Date expirationDate; |
57 |
|
|
58 |
|
@XmlElement |
59 |
|
@XmlJavaTypeAdapter(JaxbAttributeMapListAdapter.class) |
60 |
|
private Map<String, String> attributes; |
61 |
|
|
62 |
|
@XmlElement |
63 |
|
private MetaInfo metaInfo; |
64 |
|
|
65 |
|
@XmlAttribute |
66 |
|
private String type; |
67 |
|
|
68 |
|
@XmlAttribute |
69 |
|
private String state; |
70 |
|
|
71 |
|
@XmlAttribute |
72 |
|
private String id; |
73 |
|
|
74 |
|
|
75 |
|
|
76 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
77 |
0
|
public String getPersonId() {... |
78 |
0
|
return personId; |
79 |
|
} |
80 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
81 |
0
|
public void setPersonId(String personId) {... |
82 |
0
|
this.personId = personId; |
83 |
|
} |
84 |
|
|
85 |
|
|
86 |
|
|
87 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
88 |
0
|
public String getDeterminationMethod() {... |
89 |
0
|
return determinationMethod; |
90 |
|
} |
91 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
92 |
0
|
public void setDeterminationMethod(String determinationMethod) {... |
93 |
0
|
this.determinationMethod = determinationMethod; |
94 |
|
} |
95 |
|
|
96 |
|
|
97 |
|
|
98 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
99 |
0
|
public String getInStateFlag() {... |
100 |
0
|
return inStateFlag; |
101 |
|
} |
102 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
103 |
0
|
public void setInStateFlag(String inStateFlag) {... |
104 |
0
|
this.inStateFlag = inStateFlag; |
105 |
|
} |
106 |
|
|
107 |
|
|
108 |
|
|
109 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
110 |
0
|
public Date getEffectiveDate() {... |
111 |
0
|
return effectiveDate; |
112 |
|
} |
113 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
114 |
0
|
public void setEffectiveDate(Date effectiveDate) {... |
115 |
0
|
this.effectiveDate = effectiveDate; |
116 |
|
} |
117 |
|
|
118 |
|
|
119 |
|
|
120 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
121 |
0
|
public Date getExpirationDate() {... |
122 |
0
|
return expirationDate; |
123 |
|
} |
124 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
125 |
0
|
public void setExpirationDate(Date expirationDate) {... |
126 |
0
|
this.expirationDate = expirationDate; |
127 |
|
} |
128 |
|
|
129 |
|
|
130 |
|
|
131 |
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
132 |
0
|
public Map<String, String> getAttributes() {... |
133 |
0
|
if (attributes == null) { |
134 |
0
|
attributes = new HashMap<String, String>(); |
135 |
|
} |
136 |
0
|
return attributes; |
137 |
|
} |
138 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
139 |
0
|
public void setAttributes(Map<String, String> attributes) {... |
140 |
0
|
this.attributes = attributes; |
141 |
|
} |
142 |
|
|
143 |
|
|
144 |
|
|
145 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
146 |
0
|
public MetaInfo getMetaInfo() {... |
147 |
0
|
return metaInfo; |
148 |
|
} |
149 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
150 |
0
|
public void setMetaInfo(MetaInfo metaInfo) {... |
151 |
0
|
this.metaInfo = metaInfo; |
152 |
|
} |
153 |
|
|
154 |
|
|
155 |
|
|
156 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
157 |
0
|
public String getType() {... |
158 |
0
|
return type; |
159 |
|
} |
160 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
161 |
0
|
public void setType(String type) {... |
162 |
0
|
this.type = type; |
163 |
|
} |
164 |
|
|
165 |
|
|
166 |
|
|
167 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
168 |
0
|
public String getState() {... |
169 |
0
|
return state; |
170 |
|
} |
171 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
172 |
0
|
public void setState(String state) {... |
173 |
0
|
this.state = state; |
174 |
|
} |
175 |
|
|
176 |
|
|
177 |
|
|
178 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
179 |
0
|
public String getId() {... |
180 |
0
|
return id; |
181 |
|
} |
182 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
183 |
0
|
public void setId(String id) {... |
184 |
0
|
this.id = id; |
185 |
|
} |
186 |
|
} |