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