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