Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
SignatureValueType |
|
| 1.0;1 |
1 | ||
2 | package org.kuali.student.security.xmldsig.dto; | |
3 | ||
4 | import javax.xml.bind.annotation.XmlAccessType; | |
5 | import javax.xml.bind.annotation.XmlAccessorType; | |
6 | import javax.xml.bind.annotation.XmlAttribute; | |
7 | import javax.xml.bind.annotation.XmlID; | |
8 | import javax.xml.bind.annotation.XmlSchemaType; | |
9 | import javax.xml.bind.annotation.XmlType; | |
10 | import javax.xml.bind.annotation.XmlValue; | |
11 | import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; | |
12 | import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; | |
13 | ||
14 | ||
15 | /** | |
16 | * <p>Java class for SignatureValueType complex type. | |
17 | * | |
18 | * <p>The following schema fragment specifies the expected content contained within this class. | |
19 | * | |
20 | * <pre> | |
21 | * <complexType name="SignatureValueType"> | |
22 | * <simpleContent> | |
23 | * <extension base="<http://www.w3.org/2001/XMLSchema>base64Binary"> | |
24 | * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> | |
25 | * </extension> | |
26 | * </simpleContent> | |
27 | * </complexType> | |
28 | * </pre> | |
29 | * | |
30 | * | |
31 | */ | |
32 | @XmlAccessorType(XmlAccessType.FIELD) | |
33 | @XmlType(name = "SignatureValueType", propOrder = { | |
34 | "value" | |
35 | }) | |
36 | 0 | public class SignatureValueType { |
37 | ||
38 | @XmlValue | |
39 | protected byte[] value; | |
40 | @XmlAttribute(name = "Id") | |
41 | @XmlJavaTypeAdapter(CollapsedStringAdapter.class) | |
42 | @XmlID | |
43 | @XmlSchemaType(name = "ID") | |
44 | protected String id; | |
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 id property. | |
70 | * | |
71 | * @return | |
72 | * possible object is | |
73 | * {@link String } | |
74 | * | |
75 | */ | |
76 | public String getId() { | |
77 | 0 | return id; |
78 | } | |
79 | ||
80 | /** | |
81 | * Sets the value of the id property. | |
82 | * | |
83 | * @param value | |
84 | * allowed object is | |
85 | * {@link String } | |
86 | * | |
87 | */ | |
88 | public void setId(String value) { | |
89 | 0 | this.id = value; |
90 | 0 | } |
91 | ||
92 | } |