Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
AttributedQName |
|
| 1.0;1 |
1 | ||
2 | package org.kuali.student.security.addressing.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.XmlType; | |
10 | import javax.xml.bind.annotation.XmlValue; | |
11 | import javax.xml.namespace.QName; | |
12 | ||
13 | ||
14 | /** | |
15 | * <p>Java class for AttributedQName complex type. | |
16 | * | |
17 | * <p>The following schema fragment specifies the expected content contained within this class. | |
18 | * | |
19 | * <pre> | |
20 | * <complexType name="AttributedQName"> | |
21 | * <simpleContent> | |
22 | * <extension base="<http://www.w3.org/2001/XMLSchema>QName"> | |
23 | * <anyAttribute processContents='lax' namespace='##other'/> | |
24 | * </extension> | |
25 | * </simpleContent> | |
26 | * </complexType> | |
27 | * </pre> | |
28 | * | |
29 | * | |
30 | */ | |
31 | @XmlAccessorType(XmlAccessType.FIELD) | |
32 | @XmlType(name = "AttributedQName", propOrder = { | |
33 | "value" | |
34 | }) | |
35 | 0 | public class AttributedQName { |
36 | ||
37 | @XmlValue | |
38 | protected QName value; | |
39 | 0 | @XmlAnyAttribute |
40 | private Map<QName, String> otherAttributes = new HashMap<QName, String>(); | |
41 | ||
42 | /** | |
43 | * Gets the value of the value property. | |
44 | * | |
45 | * @return | |
46 | * possible object is | |
47 | * {@link QName } | |
48 | * | |
49 | */ | |
50 | public QName getValue() { | |
51 | 0 | return value; |
52 | } | |
53 | ||
54 | /** | |
55 | * Sets the value of the value property. | |
56 | * | |
57 | * @param value | |
58 | * allowed object is | |
59 | * {@link QName } | |
60 | * | |
61 | */ | |
62 | public void setValue(QName value) { | |
63 | 0 | this.value = value; |
64 | 0 | } |
65 | ||
66 | /** | |
67 | * Gets a map that contains attributes that aren't bound to any typed property on this class. | |
68 | * | |
69 | * <p> | |
70 | * the map is keyed by the name of the attribute and | |
71 | * the value is the string value of the attribute. | |
72 | * | |
73 | * the map returned by this method is live, and you can add new attribute | |
74 | * by updating the map directly. Because of this design, there's no setter. | |
75 | * | |
76 | * | |
77 | * @return | |
78 | * always non-null | |
79 | */ | |
80 | public Map<QName, String> getOtherAttributes() { | |
81 | 0 | return otherAttributes; |
82 | } | |
83 | ||
84 | } |