1 |
|
|
2 |
|
package org.kuali.student.security.policy.dto; |
3 |
|
|
4 |
|
import java.util.ArrayList; |
5 |
|
import java.util.HashMap; |
6 |
|
import java.util.List; |
7 |
|
import java.util.Map; |
8 |
|
import javax.xml.bind.annotation.XmlAccessType; |
9 |
|
import javax.xml.bind.annotation.XmlAccessorType; |
10 |
|
import javax.xml.bind.annotation.XmlAnyAttribute; |
11 |
|
import javax.xml.bind.annotation.XmlAnyElement; |
12 |
|
import javax.xml.bind.annotation.XmlRootElement; |
13 |
|
import javax.xml.bind.annotation.XmlType; |
14 |
|
import javax.xml.namespace.QName; |
15 |
|
import org.w3c.dom.Element; |
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
|
22 |
|
|
23 |
|
|
24 |
|
|
25 |
|
|
26 |
|
|
27 |
|
|
28 |
|
|
29 |
|
|
30 |
|
|
31 |
|
|
32 |
|
|
33 |
|
|
34 |
|
|
35 |
|
|
36 |
|
|
37 |
|
|
38 |
|
@XmlAccessorType(XmlAccessType.FIELD) |
39 |
|
@XmlType(name = "", propOrder = { |
40 |
|
"any" |
41 |
|
}) |
42 |
|
@XmlRootElement(name = "AppliesTo") |
|
|
| 0% |
Uncovered Elements: 8 (8) |
Complexity: 3 |
Complexity Density: 0.75 |
|
43 |
|
public class AppliesTo { |
44 |
|
|
45 |
|
@XmlAnyElement(lax = true) |
46 |
|
protected List<Object> any; |
47 |
|
@XmlAnyAttribute |
48 |
|
private Map<QName, String> otherAttributes = new HashMap<QName, String>(); |
49 |
|
|
50 |
|
|
51 |
|
|
52 |
|
|
53 |
|
|
54 |
|
|
55 |
|
|
56 |
|
|
57 |
|
|
58 |
|
|
59 |
|
|
60 |
|
|
61 |
|
|
62 |
|
|
63 |
|
|
64 |
|
|
65 |
|
|
66 |
|
|
67 |
|
|
68 |
|
@link |
69 |
|
@link |
70 |
|
|
71 |
|
|
72 |
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
73 |
0
|
public List<Object> getAny() {... |
74 |
0
|
if (any == null) { |
75 |
0
|
any = new ArrayList<Object>(); |
76 |
|
} |
77 |
0
|
return this.any; |
78 |
|
} |
79 |
|
|
80 |
|
|
81 |
|
|
82 |
|
|
83 |
|
|
84 |
|
|
85 |
|
|
86 |
|
|
87 |
|
|
88 |
|
|
89 |
|
|
90 |
|
|
91 |
|
@return |
92 |
|
|
93 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
94 |
0
|
public Map<QName, String> getOtherAttributes() {... |
95 |
0
|
return otherAttributes; |
96 |
|
} |
97 |
|
|
98 |
|
} |