1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
package org.kuali.student.lum.lu.dto; |
18 |
|
|
19 |
|
import org.kuali.student.core.dto.HasAttributes; |
20 |
|
import org.kuali.student.core.dto.HasTypeState; |
21 |
|
import org.kuali.student.core.dto.Idable; |
22 |
|
import org.kuali.student.core.dto.MetaInfo; |
23 |
|
import org.kuali.student.core.ws.binding.JaxbAttributeMapListAdapter; |
24 |
|
|
25 |
|
import javax.xml.bind.annotation.XmlAccessType; |
26 |
|
import javax.xml.bind.annotation.XmlAccessorType; |
27 |
|
import javax.xml.bind.annotation.XmlAttribute; |
28 |
|
import javax.xml.bind.annotation.XmlElement; |
29 |
|
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; |
30 |
|
import java.io.Serializable; |
31 |
|
import java.util.Date; |
32 |
|
import java.util.HashMap; |
33 |
|
import java.util.Map; |
34 |
|
|
35 |
|
|
36 |
|
|
37 |
|
|
38 |
|
|
39 |
|
|
40 |
|
@XmlAccessorType(XmlAccessType.FIELD) |
|
|
| 0% |
Uncovered Elements: 46 (46) |
Complexity: 22 |
Complexity Density: 0.96 |
|
41 |
|
public class CluCluRelationInfo implements Serializable, Idable, HasTypeState, HasAttributes { |
42 |
|
|
43 |
|
private static final long serialVersionUID = 1L; |
44 |
|
|
45 |
|
@XmlElement |
46 |
|
private String cluId; |
47 |
|
|
48 |
|
@XmlElement |
49 |
|
private String relatedCluId; |
50 |
|
|
51 |
|
@XmlElement |
52 |
|
private Boolean isCluRelationRequired; |
53 |
|
|
54 |
|
@XmlElement |
55 |
|
private Date effectiveDate; |
56 |
|
|
57 |
|
@XmlElement |
58 |
|
private Date expirationDate; |
59 |
|
|
60 |
|
@XmlElement |
61 |
|
@XmlJavaTypeAdapter(JaxbAttributeMapListAdapter.class) |
62 |
|
private Map<String, String> attributes; |
63 |
|
|
64 |
|
@XmlElement |
65 |
|
private MetaInfo metaInfo; |
66 |
|
|
67 |
|
@XmlAttribute |
68 |
|
private String type; |
69 |
|
|
70 |
|
@XmlAttribute |
71 |
|
private String state; |
72 |
|
|
73 |
|
@XmlAttribute |
74 |
|
private String id; |
75 |
|
|
76 |
|
|
77 |
|
|
78 |
|
|
79 |
|
|
80 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
81 |
0
|
public String getCluId() {... |
82 |
0
|
return cluId; |
83 |
|
} |
84 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
85 |
0
|
public void setCluId(String cluId) {... |
86 |
0
|
this.cluId = cluId; |
87 |
|
} |
88 |
|
|
89 |
|
|
90 |
|
|
91 |
|
|
92 |
|
|
93 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
94 |
0
|
public String getRelatedCluId() {... |
95 |
0
|
return relatedCluId; |
96 |
|
} |
97 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
98 |
0
|
public void setRelatedCluId(String relatedCluId) {... |
99 |
0
|
this.relatedCluId = relatedCluId; |
100 |
|
} |
101 |
|
|
102 |
|
|
103 |
|
|
104 |
|
|
105 |
|
|
106 |
|
|
107 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
108 |
0
|
public Boolean getIsCluRelationRequired() {... |
109 |
0
|
return isCluRelationRequired; |
110 |
|
} |
111 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
112 |
0
|
public void setIsCluRelationRequired(Boolean isCluRelationRequired) {... |
113 |
0
|
this.isCluRelationRequired = isCluRelationRequired; |
114 |
|
} |
115 |
|
|
116 |
|
|
117 |
|
|
118 |
|
|
119 |
|
|
120 |
|
|
121 |
|
|
122 |
|
|
123 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
124 |
0
|
public Date getEffectiveDate() {... |
125 |
0
|
return effectiveDate; |
126 |
|
} |
127 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
128 |
0
|
public void setEffectiveDate(Date effectiveDate) {... |
129 |
0
|
this.effectiveDate = effectiveDate; |
130 |
|
} |
131 |
|
|
132 |
|
|
133 |
|
|
134 |
|
|
135 |
|
|
136 |
|
|
137 |
|
|
138 |
|
|
139 |
|
|
140 |
|
|
141 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
142 |
0
|
public Date getExpirationDate() {... |
143 |
0
|
return expirationDate; |
144 |
|
} |
145 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
146 |
0
|
public void setExpirationDate(Date expirationDate) {... |
147 |
0
|
this.expirationDate = expirationDate; |
148 |
|
} |
149 |
|
|
150 |
|
|
151 |
|
|
152 |
|
|
153 |
|
|
154 |
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
155 |
0
|
public Map<String, String> getAttributes() {... |
156 |
0
|
if (attributes == null) { |
157 |
0
|
attributes = new HashMap<String, String>(); |
158 |
|
} |
159 |
|
|
160 |
0
|
return attributes; |
161 |
|
} |
162 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
163 |
0
|
@Override... |
164 |
|
public void setAttributes(Map<String, String> attributes) { |
165 |
0
|
this.attributes = attributes; |
166 |
|
} |
167 |
|
|
168 |
|
|
169 |
|
|
170 |
|
|
171 |
|
|
172 |
|
|
173 |
|
|
174 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
175 |
0
|
public MetaInfo getMetaInfo() {... |
176 |
0
|
return metaInfo; |
177 |
|
} |
178 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
179 |
0
|
public void setMetaInfo(MetaInfo metaInfo) {... |
180 |
0
|
this.metaInfo = metaInfo; |
181 |
|
} |
182 |
|
|
183 |
|
|
184 |
|
|
185 |
|
|
186 |
|
|
187 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
188 |
0
|
public String getType() {... |
189 |
0
|
return type; |
190 |
|
} |
191 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
192 |
0
|
public void setType(String type) {... |
193 |
0
|
this.type = type; |
194 |
|
} |
195 |
|
|
196 |
|
|
197 |
|
|
198 |
|
|
199 |
|
|
200 |
|
|
201 |
|
|
202 |
|
|
203 |
|
|
204 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
205 |
0
|
public String getState() {... |
206 |
0
|
return state; |
207 |
|
} |
208 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
209 |
0
|
public void setState(String state) {... |
210 |
0
|
this.state = state; |
211 |
|
} |
212 |
|
|
213 |
|
|
214 |
|
|
215 |
|
|
216 |
|
|
217 |
|
|
218 |
|
|
219 |
|
|
220 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
221 |
0
|
public String getId() {... |
222 |
0
|
return id; |
223 |
|
} |
224 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
225 |
0
|
public void setId(String id) {... |
226 |
0
|
this.id = id; |
227 |
|
} |
228 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
229 |
0
|
@Override... |
230 |
|
public String toString() { |
231 |
0
|
return "CluCluRelationInfo[id=" + id + ", cluId=" + cluId + ", relatedCluId=" + relatedCluId + ", type=" + type + ", cluRelationRequired=" + isCluRelationRequired + "]"; |
232 |
|
} |
233 |
|
} |