1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
package org.kuali.student.lum.lu.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 |
|
|
39 |
|
|
40 |
|
|
41 |
|
|
42 |
|
|
43 |
|
|
44 |
|
@XmlAccessorType(XmlAccessType.FIELD) |
|
|
| 0% |
Uncovered Elements: 42 (42) |
Complexity: 20 |
Complexity Density: 0.95 |
|
45 |
|
public class CluLoRelationInfo implements Serializable, Idable, HasTypeState, HasAttributes { |
46 |
|
|
47 |
|
private static final long serialVersionUID = 1L; |
48 |
|
|
49 |
|
@XmlElement |
50 |
|
private String cluId; |
51 |
|
|
52 |
|
@XmlElement |
53 |
|
private String loId; |
54 |
|
|
55 |
|
@XmlElement |
56 |
|
private Date effectiveDate; |
57 |
|
|
58 |
|
@XmlElement |
59 |
|
private Date expirationDate; |
60 |
|
|
61 |
|
@XmlElement |
62 |
|
@XmlJavaTypeAdapter(JaxbAttributeMapListAdapter.class) |
63 |
|
private Map<String, String> attributes; |
64 |
|
|
65 |
|
@XmlElement |
66 |
|
private MetaInfo metaInfo; |
67 |
|
|
68 |
|
@XmlAttribute |
69 |
|
private String type; |
70 |
|
|
71 |
|
@XmlAttribute |
72 |
|
private String state; |
73 |
|
|
74 |
|
@XmlAttribute |
75 |
|
private String id; |
76 |
|
|
77 |
|
|
78 |
|
|
79 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
80 |
0
|
public String getCluId() {... |
81 |
0
|
return cluId; |
82 |
|
} |
83 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
84 |
0
|
public void setCluId(String cluId) {... |
85 |
0
|
this.cluId = cluId; |
86 |
|
} |
87 |
|
|
88 |
|
|
89 |
|
|
90 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
91 |
0
|
public String getLoId() {... |
92 |
0
|
return loId; |
93 |
|
} |
94 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
95 |
0
|
public void setLoId(String loId) {... |
96 |
0
|
this.loId = loId; |
97 |
|
} |
98 |
|
|
99 |
|
|
100 |
|
|
101 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
102 |
0
|
public Date getEffectiveDate() {... |
103 |
0
|
return effectiveDate; |
104 |
|
} |
105 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
106 |
0
|
public void setEffectiveDate(Date effectiveDate) {... |
107 |
0
|
this.effectiveDate = effectiveDate; |
108 |
|
} |
109 |
|
|
110 |
|
|
111 |
|
|
112 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
113 |
0
|
public Date getExpirationDate() {... |
114 |
0
|
return expirationDate; |
115 |
|
} |
116 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
117 |
0
|
public void setExpirationDate(Date expirationDate) {... |
118 |
0
|
this.expirationDate = expirationDate; |
119 |
|
} |
120 |
|
|
121 |
|
|
122 |
|
|
123 |
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
124 |
0
|
public Map<String, String> getAttributes() {... |
125 |
0
|
if (attributes == null) { |
126 |
0
|
attributes = new HashMap<String, String>(); |
127 |
|
} |
128 |
0
|
return attributes; |
129 |
|
} |
130 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
131 |
0
|
public void setAttributes(Map<String, String> attributes) {... |
132 |
0
|
this.attributes = attributes; |
133 |
|
} |
134 |
|
|
135 |
|
|
136 |
|
|
137 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
138 |
0
|
public MetaInfo getMetaInfo() {... |
139 |
0
|
return metaInfo; |
140 |
|
} |
141 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
142 |
0
|
public void setMetaInfo(MetaInfo metaInfo) {... |
143 |
0
|
this.metaInfo = metaInfo; |
144 |
|
} |
145 |
|
|
146 |
|
|
147 |
|
|
148 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
149 |
0
|
public String getType() {... |
150 |
0
|
return type; |
151 |
|
} |
152 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
153 |
0
|
public void setType(String type) {... |
154 |
0
|
this.type = type; |
155 |
|
} |
156 |
|
|
157 |
|
|
158 |
|
|
159 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
160 |
0
|
public String getState() {... |
161 |
0
|
return state; |
162 |
|
} |
163 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
164 |
0
|
public void setState(String state) {... |
165 |
0
|
this.state = state; |
166 |
|
} |
167 |
|
|
168 |
|
|
169 |
|
|
170 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
171 |
0
|
public String getId() {... |
172 |
0
|
return id; |
173 |
|
} |
174 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
175 |
0
|
public void setId(String id) {... |
176 |
0
|
this.id = id; |
177 |
|
} |
178 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
179 |
0
|
@Override... |
180 |
|
public String toString() { |
181 |
0
|
return "CLuLoRelationInfo[id=" + id + ", cluId=" + cluId + ", loId=" + loId + "]"; |
182 |
|
} |
183 |
|
|
184 |
|
} |