1 |
|
|
2 |
|
package org.kuali.student.security.wssecurity.secext.dto; |
3 |
|
|
4 |
|
import java.util.HashMap; |
5 |
|
import java.util.Map; |
6 |
|
import javax.xml.bind.annotation.XmlAccessType; |
7 |
|
import javax.xml.bind.annotation.XmlAccessorType; |
8 |
|
import javax.xml.bind.annotation.XmlAnyAttribute; |
9 |
|
import javax.xml.bind.annotation.XmlAttribute; |
10 |
|
import javax.xml.bind.annotation.XmlID; |
11 |
|
import javax.xml.bind.annotation.XmlSchemaType; |
12 |
|
import javax.xml.bind.annotation.XmlSeeAlso; |
13 |
|
import javax.xml.bind.annotation.XmlType; |
14 |
|
import javax.xml.bind.annotation.XmlValue; |
15 |
|
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; |
16 |
|
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; |
17 |
|
import javax.xml.namespace.QName; |
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
|
22 |
|
|
23 |
|
|
24 |
|
|
25 |
|
|
26 |
|
|
27 |
|
|
28 |
|
|
29 |
|
|
30 |
|
|
31 |
|
|
32 |
|
|
33 |
|
|
34 |
|
|
35 |
|
|
36 |
|
|
37 |
|
|
38 |
|
|
39 |
|
|
40 |
|
@XmlAccessorType(XmlAccessType.FIELD) |
41 |
|
@XmlType(name = "AttributedString", propOrder = { |
42 |
|
"value" |
43 |
|
}) |
44 |
|
@XmlSeeAlso({ |
45 |
|
PasswordString.class, |
46 |
|
EncodedString.class |
47 |
|
}) |
|
|
| 0% |
Uncovered Elements: 10 (10) |
Complexity: 5 |
Complexity Density: 1 |
|
48 |
|
public class AttributedString { |
49 |
|
|
50 |
|
@XmlValue |
51 |
|
protected String value; |
52 |
|
@XmlAttribute(name = "Id", namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd") |
53 |
|
@XmlJavaTypeAdapter(CollapsedStringAdapter.class) |
54 |
|
@XmlID |
55 |
|
@XmlSchemaType(name = "ID") |
56 |
|
protected String id; |
57 |
|
@XmlAnyAttribute |
58 |
|
private Map<QName, String> otherAttributes = new HashMap<QName, String>(); |
59 |
|
|
60 |
|
|
61 |
|
|
62 |
|
|
63 |
|
@return |
64 |
|
|
65 |
|
@link |
66 |
|
|
67 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
68 |
0
|
public String getValue() {... |
69 |
0
|
return value; |
70 |
|
} |
71 |
|
|
72 |
|
|
73 |
|
|
74 |
|
|
75 |
|
@param |
76 |
|
|
77 |
|
@link |
78 |
|
|
79 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
80 |
0
|
public void setValue(String value) {... |
81 |
0
|
this.value = value; |
82 |
|
} |
83 |
|
|
84 |
|
|
85 |
|
|
86 |
|
|
87 |
|
@return |
88 |
|
|
89 |
|
@link |
90 |
|
|
91 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
92 |
0
|
public String getId() {... |
93 |
0
|
return id; |
94 |
|
} |
95 |
|
|
96 |
|
|
97 |
|
|
98 |
|
|
99 |
|
@param |
100 |
|
|
101 |
|
@link |
102 |
|
|
103 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
104 |
0
|
public void setId(String value) {... |
105 |
0
|
this.id = value; |
106 |
|
} |
107 |
|
|
108 |
|
|
109 |
|
|
110 |
|
|
111 |
|
|
112 |
|
|
113 |
|
|
114 |
|
|
115 |
|
|
116 |
|
|
117 |
|
|
118 |
|
|
119 |
|
@return |
120 |
|
|
121 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
122 |
0
|
public Map<QName, String> getOtherAttributes() {... |
123 |
0
|
return otherAttributes; |
124 |
|
} |
125 |
|
|
126 |
|
} |