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.Idable; |
31 |
|
import org.kuali.student.common.dto.MetaInfo; |
32 |
|
import org.kuali.student.core.ws.binding.JaxbAttributeMapListAdapter; |
33 |
|
|
34 |
|
|
35 |
|
|
36 |
|
|
37 |
|
|
38 |
|
@XmlAccessorType(XmlAccessType.FIELD) |
|
|
| 100% |
Uncovered Elements: 0 (44) |
Complexity: 21 |
Complexity Density: 0.95 |
|
39 |
|
public class LuiInfo implements Serializable, Idable, HasAttributes { |
40 |
|
|
41 |
|
private static final long serialVersionUID = 1L; |
42 |
|
|
43 |
|
@XmlElement |
44 |
|
private String luiCode; |
45 |
|
|
46 |
|
@XmlElement |
47 |
|
private String cluId; |
48 |
|
|
49 |
|
@XmlElement(name="atpKey") |
50 |
|
private String atpId; |
51 |
|
|
52 |
|
@XmlElement |
53 |
|
private Integer maxSeats; |
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 state; |
70 |
|
|
71 |
|
@XmlAttribute |
72 |
|
private String id; |
73 |
|
|
74 |
|
|
75 |
|
|
76 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
77 |
9
|
public String getLuiCode() {... |
78 |
9
|
return luiCode; |
79 |
|
} |
80 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
81 |
14
|
public void setLuiCode(String luiCode) {... |
82 |
14
|
this.luiCode = luiCode; |
83 |
|
} |
84 |
|
|
85 |
|
|
86 |
|
|
87 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
88 |
12
|
public String getCluId() {... |
89 |
12
|
return cluId; |
90 |
|
} |
91 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
92 |
14
|
public void setCluId(String cluId) {... |
93 |
14
|
this.cluId = cluId; |
94 |
|
} |
95 |
|
|
96 |
|
|
97 |
|
|
98 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
99 |
9
|
public String getAtpId() {... |
100 |
9
|
return atpId; |
101 |
|
} |
102 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
103 |
14
|
public void setAtpId(String atpId) {... |
104 |
14
|
this.atpId = atpId; |
105 |
|
} |
106 |
|
|
107 |
|
|
108 |
|
|
109 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
110 |
9
|
public Integer getMaxSeats() {... |
111 |
9
|
return maxSeats; |
112 |
|
} |
113 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
114 |
14
|
public void setMaxSeats(Integer maxSeats) {... |
115 |
14
|
this.maxSeats = maxSeats; |
116 |
|
} |
117 |
|
|
118 |
|
|
119 |
|
|
120 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
121 |
9
|
public Date getEffectiveDate() {... |
122 |
9
|
return effectiveDate; |
123 |
|
} |
124 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
125 |
14
|
public void setEffectiveDate(Date effectiveDate) {... |
126 |
14
|
this.effectiveDate = effectiveDate; |
127 |
|
} |
128 |
|
|
129 |
|
|
130 |
|
|
131 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
132 |
9
|
public Date getExpirationDate() {... |
133 |
9
|
return expirationDate; |
134 |
|
} |
135 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
136 |
14
|
public void setExpirationDate(Date expirationDate) {... |
137 |
14
|
this.expirationDate = expirationDate; |
138 |
|
} |
139 |
|
|
140 |
|
|
141 |
|
|
142 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
143 |
19
|
public Map<String, String> getAttributes() {... |
144 |
19
|
if (attributes == null) { |
145 |
2
|
attributes = new HashMap<String, String>(); |
146 |
|
} |
147 |
19
|
return attributes; |
148 |
|
} |
149 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
150 |
11
|
public void setAttributes(Map<String, String> attributes) {... |
151 |
11
|
this.attributes = attributes; |
152 |
|
} |
153 |
|
|
154 |
|
|
155 |
|
|
156 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
157 |
6
|
public MetaInfo getMetaInfo() {... |
158 |
6
|
return metaInfo; |
159 |
|
} |
160 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
161 |
11
|
public void setMetaInfo(MetaInfo metaInfo) {... |
162 |
11
|
this.metaInfo = metaInfo; |
163 |
|
} |
164 |
|
|
165 |
|
|
166 |
|
|
167 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
168 |
10
|
public String getState() {... |
169 |
10
|
return state; |
170 |
|
} |
171 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
172 |
14
|
public void setState(String state) {... |
173 |
14
|
this.state = state; |
174 |
|
} |
175 |
|
|
176 |
|
|
177 |
|
|
178 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
179 |
17
|
public String getId() {... |
180 |
17
|
return id; |
181 |
|
} |
182 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
183 |
11
|
public void setId(String id) {... |
184 |
11
|
this.id = id; |
185 |
|
} |
186 |
|
} |