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.core.dto.HasAttributes; |
30 |
|
import org.kuali.student.core.dto.HasTypeState; |
31 |
|
import org.kuali.student.core.dto.Idable; |
32 |
|
import org.kuali.student.core.dto.MetaInfo; |
33 |
|
import org.kuali.student.core.ws.binding.JaxbAttributeMapListAdapter; |
34 |
|
|
35 |
|
|
36 |
|
|
37 |
|
|
38 |
|
@XmlAccessorType(XmlAccessType.FIELD) |
|
|
| 100% |
Uncovered Elements: 0 (40) |
Complexity: 19 |
Complexity Density: 0.95 |
|
39 |
|
public class LuiLuiRelationInfo implements Serializable, Idable, HasTypeState, HasAttributes { |
40 |
|
|
41 |
|
private static final long serialVersionUID = 1L; |
42 |
|
|
43 |
|
@XmlElement |
44 |
|
private String luiId; |
45 |
|
|
46 |
|
@XmlElement |
47 |
|
private String relatedLuiId; |
48 |
|
|
49 |
|
@XmlElement |
50 |
|
private Date effectiveDate; |
51 |
|
|
52 |
|
@XmlElement |
53 |
|
private Date expirationDate; |
54 |
|
|
55 |
|
@XmlElement |
56 |
|
@XmlJavaTypeAdapter(JaxbAttributeMapListAdapter.class) |
57 |
|
private Map<String, String> attributes; |
58 |
|
|
59 |
|
@XmlElement |
60 |
|
private MetaInfo metaInfo; |
61 |
|
|
62 |
|
@XmlAttribute |
63 |
|
private String type; |
64 |
|
|
65 |
|
@XmlAttribute |
66 |
|
private String state; |
67 |
|
|
68 |
|
@XmlAttribute |
69 |
|
private String id; |
70 |
|
|
71 |
|
|
72 |
|
|
73 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
74 |
7
|
public String getLuiId() {... |
75 |
7
|
return luiId; |
76 |
|
} |
77 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
78 |
7
|
public void setLuiId(String luiId) {... |
79 |
7
|
this.luiId = luiId; |
80 |
|
} |
81 |
|
|
82 |
|
|
83 |
|
|
84 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
85 |
7
|
public String getRelatedLuiId() {... |
86 |
7
|
return relatedLuiId; |
87 |
|
} |
88 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
89 |
7
|
public void setRelatedLuiId(String relatedLuiId) {... |
90 |
7
|
this.relatedLuiId = relatedLuiId; |
91 |
|
} |
92 |
|
|
93 |
|
|
94 |
|
|
95 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
96 |
7
|
public Date getEffectiveDate() {... |
97 |
7
|
return effectiveDate; |
98 |
|
} |
99 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
100 |
8
|
public void setEffectiveDate(Date effectiveDate) {... |
101 |
8
|
this.effectiveDate = effectiveDate; |
102 |
|
} |
103 |
|
|
104 |
|
|
105 |
|
|
106 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
107 |
7
|
public Date getExpirationDate() {... |
108 |
7
|
return expirationDate; |
109 |
|
} |
110 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
111 |
8
|
public void setExpirationDate(Date expirationDate) {... |
112 |
8
|
this.expirationDate = expirationDate; |
113 |
|
} |
114 |
|
|
115 |
|
|
116 |
|
|
117 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
118 |
15
|
public Map<String, String> getAttributes() {... |
119 |
15
|
if (attributes == null) { |
120 |
1
|
attributes = new HashMap<String, String>(); |
121 |
|
} |
122 |
15
|
return attributes; |
123 |
|
} |
124 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
125 |
6
|
public void setAttributes(Map<String, String> attributes) {... |
126 |
6
|
this.attributes = attributes; |
127 |
|
} |
128 |
|
|
129 |
|
|
130 |
|
|
131 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
132 |
8
|
public MetaInfo getMetaInfo() {... |
133 |
8
|
return metaInfo; |
134 |
|
} |
135 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
136 |
6
|
public void setMetaInfo(MetaInfo metaInfo) {... |
137 |
6
|
this.metaInfo = metaInfo; |
138 |
|
} |
139 |
|
|
140 |
|
|
141 |
|
|
142 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
143 |
7
|
public String getType() {... |
144 |
7
|
return type; |
145 |
|
} |
146 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
147 |
8
|
public void setType(String type) {... |
148 |
8
|
this.type = type; |
149 |
|
} |
150 |
|
|
151 |
|
|
152 |
|
|
153 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
154 |
7
|
public String getState() {... |
155 |
7
|
return state; |
156 |
|
} |
157 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
158 |
8
|
public void setState(String state) {... |
159 |
8
|
this.state = state; |
160 |
|
} |
161 |
|
|
162 |
|
|
163 |
|
|
164 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
165 |
13
|
public String getId() {... |
166 |
13
|
return id; |
167 |
|
} |
168 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
169 |
6
|
public void setId(String id) {... |
170 |
6
|
this.id = id; |
171 |
|
} |
172 |
|
} |