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