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.common.dto.RichTextInfo; |
34 |
|
import org.kuali.student.core.ws.binding.JaxbAttributeMapListAdapter; |
35 |
|
|
36 |
|
|
37 |
|
|
38 |
|
|
39 |
|
@XmlAccessorType(XmlAccessType.FIELD) |
|
|
| 0% |
Uncovered Elements: 48 (48) |
Complexity: 23 |
Complexity Density: 0.96 |
|
40 |
|
public class LuDocRelationInfo implements Serializable, Idable, HasTypeState, HasAttributes { |
41 |
|
|
42 |
|
private static final long serialVersionUID = 1L; |
43 |
|
|
44 |
|
@XmlElement |
45 |
|
private String cluId; |
46 |
|
|
47 |
|
@XmlElement |
48 |
|
private String documentId; |
49 |
|
|
50 |
|
@XmlElement |
51 |
|
private String title; |
52 |
|
|
53 |
|
@XmlElement |
54 |
|
private RichTextInfo desc; |
55 |
|
|
56 |
|
@XmlElement |
57 |
|
private Date effectiveDate; |
58 |
|
|
59 |
|
@XmlElement |
60 |
|
private Date expirationDate; |
61 |
|
|
62 |
|
@XmlElement |
63 |
|
@XmlJavaTypeAdapter(JaxbAttributeMapListAdapter.class) |
64 |
|
private Map<String, String> attributes; |
65 |
|
|
66 |
|
@XmlElement |
67 |
|
private MetaInfo metaInfo; |
68 |
|
|
69 |
|
@XmlAttribute |
70 |
|
private String type; |
71 |
|
|
72 |
|
@XmlAttribute |
73 |
|
private String state; |
74 |
|
|
75 |
|
@XmlAttribute |
76 |
|
private String id; |
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 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
92 |
0
|
public String getDocumentId() {... |
93 |
0
|
return documentId; |
94 |
|
} |
95 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
96 |
0
|
public void setDocumentId(String documentId) {... |
97 |
0
|
this.documentId = documentId; |
98 |
|
} |
99 |
|
|
100 |
|
|
101 |
|
|
102 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
103 |
0
|
public String getTitle() {... |
104 |
0
|
return title; |
105 |
|
} |
106 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
107 |
0
|
public void setTitle(String title) {... |
108 |
0
|
this.title = title; |
109 |
|
} |
110 |
|
|
111 |
|
|
112 |
|
|
113 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
114 |
0
|
public RichTextInfo getDesc() {... |
115 |
0
|
return desc; |
116 |
|
} |
117 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
118 |
0
|
public void setDesc(RichTextInfo desc) {... |
119 |
0
|
this.desc = desc; |
120 |
|
} |
121 |
|
|
122 |
|
|
123 |
|
|
124 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
125 |
0
|
public Date getEffectiveDate() {... |
126 |
0
|
return effectiveDate; |
127 |
|
} |
128 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
129 |
0
|
public void setEffectiveDate(Date effectiveDate) {... |
130 |
0
|
this.effectiveDate = effectiveDate; |
131 |
|
} |
132 |
|
|
133 |
|
|
134 |
|
|
135 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
136 |
0
|
public Date getExpirationDate() {... |
137 |
0
|
return expirationDate; |
138 |
|
} |
139 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
140 |
0
|
public void setExpirationDate(Date expirationDate) {... |
141 |
0
|
this.expirationDate = expirationDate; |
142 |
|
} |
143 |
|
|
144 |
|
|
145 |
|
|
146 |
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
147 |
0
|
public Map<String, String> getAttributes() {... |
148 |
0
|
if (attributes == null) { |
149 |
0
|
attributes = new HashMap<String, String>(); |
150 |
|
} |
151 |
0
|
return attributes; |
152 |
|
} |
153 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
154 |
0
|
public void setAttributes(Map<String, String> attributes) {... |
155 |
0
|
this.attributes = attributes; |
156 |
|
} |
157 |
|
|
158 |
|
|
159 |
|
|
160 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
161 |
0
|
public MetaInfo getMetaInfo() {... |
162 |
0
|
return metaInfo; |
163 |
|
} |
164 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
165 |
0
|
public void setMetaInfo(MetaInfo metaInfo) {... |
166 |
0
|
this.metaInfo = metaInfo; |
167 |
|
} |
168 |
|
|
169 |
|
|
170 |
|
|
171 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
172 |
0
|
public String getType() {... |
173 |
0
|
return type; |
174 |
|
} |
175 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
176 |
0
|
public void setType(String type) {... |
177 |
0
|
this.type = type; |
178 |
|
} |
179 |
|
|
180 |
|
|
181 |
|
|
182 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
183 |
0
|
public String getState() {... |
184 |
0
|
return state; |
185 |
|
} |
186 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
187 |
0
|
public void setState(String state) {... |
188 |
0
|
this.state = state; |
189 |
|
} |
190 |
|
|
191 |
|
|
192 |
|
|
193 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
194 |
0
|
public String getId() {... |
195 |
0
|
return id; |
196 |
|
} |
197 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
198 |
0
|
public void setId(String id) {... |
199 |
0
|
this.id = id; |
200 |
|
} |
201 |
|
} |