1
2 package org.metricshub.winrm.service.wsman;
3
4 import java.util.HashMap;
5 import java.util.Map;
6 import javax.xml.namespace.QName;
7 import jakarta.xml.bind.annotation.XmlAccessType;
8 import jakarta.xml.bind.annotation.XmlAccessorType;
9 import jakarta.xml.bind.annotation.XmlAnyAttribute;
10 import jakarta.xml.bind.annotation.XmlSchemaType;
11 import jakarta.xml.bind.annotation.XmlType;
12 import jakarta.xml.bind.annotation.XmlValue;
13
14
15 /**
16 * <p>Java class for attributableURI complex type</p>.
17 *
18 * <p>The following schema fragment specifies the expected content contained within this class.</p>
19 *
20 * <pre>{@code
21 * <complexType name="attributableURI">
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 = "attributableURI", propOrder = {
34 "value"
35 })
36 public class AttributableURI {
37
38 @XmlValue
39 @XmlSchemaType(name = "anyURI")
40 protected String value;
41 @XmlAnyAttribute
42 private Map<QName, String> otherAttributes = new HashMap<>();
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 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 this.value = value;
66 }
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 return otherAttributes;
84 }
85
86 }