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