1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
package org.kuali.student.lum.lrc.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.RichTextInfo; |
32 |
|
import org.kuali.student.core.ws.binding.JaxbAttributeMapListAdapter; |
33 |
|
|
34 |
|
|
35 |
|
|
36 |
|
|
37 |
|
|
38 |
|
|
39 |
|
|
40 |
|
|
41 |
|
|
42 |
|
|
43 |
|
@XmlAccessorType(XmlAccessType.FIELD) |
|
|
| 0% |
Uncovered Elements: 28 (28) |
Complexity: 13 |
Complexity Density: 0.93 |
|
44 |
|
public class ScaleInfo implements Serializable, Idable, HasAttributes { |
45 |
|
|
46 |
|
private static final long serialVersionUID = 1L; |
47 |
|
|
48 |
|
@XmlElement |
49 |
|
private String name; |
50 |
|
|
51 |
|
@XmlElement |
52 |
|
private RichTextInfo desc; |
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 |
|
@XmlAttribute(name="key") |
65 |
|
private String id; |
66 |
|
|
67 |
|
|
68 |
|
|
69 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
70 |
0
|
public String getName() {... |
71 |
0
|
return name; |
72 |
|
} |
73 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
74 |
0
|
public void setName(String name) {... |
75 |
0
|
this.name = name; |
76 |
|
} |
77 |
|
|
78 |
|
|
79 |
|
|
80 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
81 |
0
|
public RichTextInfo getDesc() {... |
82 |
0
|
return desc; |
83 |
|
} |
84 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
85 |
0
|
public void setDesc(RichTextInfo desc) {... |
86 |
0
|
this.desc = desc; |
87 |
|
} |
88 |
|
|
89 |
|
|
90 |
|
|
91 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
92 |
0
|
public Date getEffectiveDate() {... |
93 |
0
|
return effectiveDate; |
94 |
|
} |
95 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
96 |
0
|
public void setEffectiveDate(Date effectiveDate) {... |
97 |
0
|
this.effectiveDate = effectiveDate; |
98 |
|
} |
99 |
|
|
100 |
|
|
101 |
|
|
102 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
103 |
0
|
public Date getExpirationDate() {... |
104 |
0
|
return expirationDate; |
105 |
|
} |
106 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
107 |
0
|
public void setExpirationDate(Date expirationDate) {... |
108 |
0
|
this.expirationDate = expirationDate; |
109 |
|
} |
110 |
|
|
111 |
|
|
112 |
|
|
113 |
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
114 |
0
|
public Map<String, String> getAttributes() {... |
115 |
0
|
if (attributes == null) { |
116 |
0
|
attributes = new HashMap<String, String>(); |
117 |
|
} |
118 |
0
|
return attributes; |
119 |
|
} |
120 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
121 |
0
|
public void setAttributes(Map<String, String> attributes) {... |
122 |
0
|
this.attributes = attributes; |
123 |
|
} |
124 |
|
|
125 |
|
|
126 |
|
|
127 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
128 |
0
|
public String getId() {... |
129 |
0
|
return id; |
130 |
|
} |
131 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
132 |
0
|
public void setId(String id) {... |
133 |
0
|
this.id = id; |
134 |
|
} |
135 |
|
} |