Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
ReferenceType |
|
| 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.XmlElement; | |
8 | import javax.xml.bind.annotation.XmlID; | |
9 | import javax.xml.bind.annotation.XmlSchemaType; | |
10 | import javax.xml.bind.annotation.XmlType; | |
11 | import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; | |
12 | import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; | |
13 | ||
14 | ||
15 | /** | |
16 | * <p>Java class for ReferenceType complex type. | |
17 | * | |
18 | * <p>The following schema fragment specifies the expected content contained within this class. | |
19 | * | |
20 | * <pre> | |
21 | * <complexType name="ReferenceType"> | |
22 | * <complexContent> | |
23 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
24 | * <sequence> | |
25 | * <element ref="{http://www.w3.org/2000/09/xmldsig#}Transforms" minOccurs="0"/> | |
26 | * <element ref="{http://www.w3.org/2000/09/xmldsig#}DigestMethod"/> | |
27 | * <element ref="{http://www.w3.org/2000/09/xmldsig#}DigestValue"/> | |
28 | * </sequence> | |
29 | * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> | |
30 | * <attribute name="URI" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> | |
31 | * <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> | |
32 | * </restriction> | |
33 | * </complexContent> | |
34 | * </complexType> | |
35 | * </pre> | |
36 | * | |
37 | * | |
38 | */ | |
39 | @XmlAccessorType(XmlAccessType.FIELD) | |
40 | @XmlType(name = "ReferenceType", propOrder = { | |
41 | "transforms", | |
42 | "digestMethod", | |
43 | "digestValue" | |
44 | }) | |
45 | 0 | public class ReferenceType { |
46 | ||
47 | @XmlElement(name = "Transforms") | |
48 | protected TransformsType transforms; | |
49 | @XmlElement(name = "DigestMethod", required = true) | |
50 | protected DigestMethodType digestMethod; | |
51 | @XmlElement(name = "DigestValue", required = true) | |
52 | protected byte[] digestValue; | |
53 | @XmlAttribute(name = "Id") | |
54 | @XmlJavaTypeAdapter(CollapsedStringAdapter.class) | |
55 | @XmlID | |
56 | @XmlSchemaType(name = "ID") | |
57 | protected String id; | |
58 | @XmlAttribute(name = "URI") | |
59 | @XmlSchemaType(name = "anyURI") | |
60 | protected String uri; | |
61 | @XmlAttribute(name = "Type") | |
62 | @XmlSchemaType(name = "anyURI") | |
63 | protected String type; | |
64 | ||
65 | /** | |
66 | * Gets the value of the transforms property. | |
67 | * | |
68 | * @return | |
69 | * possible object is | |
70 | * {@link TransformsType } | |
71 | * | |
72 | */ | |
73 | public TransformsType getTransforms() { | |
74 | 0 | return transforms; |
75 | } | |
76 | ||
77 | /** | |
78 | * Sets the value of the transforms property. | |
79 | * | |
80 | * @param value | |
81 | * allowed object is | |
82 | * {@link TransformsType } | |
83 | * | |
84 | */ | |
85 | public void setTransforms(TransformsType value) { | |
86 | 0 | this.transforms = value; |
87 | 0 | } |
88 | ||
89 | /** | |
90 | * Gets the value of the digestMethod property. | |
91 | * | |
92 | * @return | |
93 | * possible object is | |
94 | * {@link DigestMethodType } | |
95 | * | |
96 | */ | |
97 | public DigestMethodType getDigestMethod() { | |
98 | 0 | return digestMethod; |
99 | } | |
100 | ||
101 | /** | |
102 | * Sets the value of the digestMethod property. | |
103 | * | |
104 | * @param value | |
105 | * allowed object is | |
106 | * {@link DigestMethodType } | |
107 | * | |
108 | */ | |
109 | public void setDigestMethod(DigestMethodType value) { | |
110 | 0 | this.digestMethod = value; |
111 | 0 | } |
112 | ||
113 | /** | |
114 | * Gets the value of the digestValue property. | |
115 | * | |
116 | * @return | |
117 | * possible object is | |
118 | * byte[] | |
119 | */ | |
120 | public byte[] getDigestValue() { | |
121 | 0 | return digestValue; |
122 | } | |
123 | ||
124 | /** | |
125 | * Sets the value of the digestValue property. | |
126 | * | |
127 | * @param value | |
128 | * allowed object is | |
129 | * byte[] | |
130 | */ | |
131 | public void setDigestValue(byte[] value) { | |
132 | 0 | this.digestValue = ((byte[]) value); |
133 | 0 | } |
134 | ||
135 | /** | |
136 | * Gets the value of the id property. | |
137 | * | |
138 | * @return | |
139 | * possible object is | |
140 | * {@link String } | |
141 | * | |
142 | */ | |
143 | public String getId() { | |
144 | 0 | return id; |
145 | } | |
146 | ||
147 | /** | |
148 | * Sets the value of the id property. | |
149 | * | |
150 | * @param value | |
151 | * allowed object is | |
152 | * {@link String } | |
153 | * | |
154 | */ | |
155 | public void setId(String value) { | |
156 | 0 | this.id = value; |
157 | 0 | } |
158 | ||
159 | /** | |
160 | * Gets the value of the uri property. | |
161 | * | |
162 | * @return | |
163 | * possible object is | |
164 | * {@link String } | |
165 | * | |
166 | */ | |
167 | public String getURI() { | |
168 | 0 | return uri; |
169 | } | |
170 | ||
171 | /** | |
172 | * Sets the value of the uri property. | |
173 | * | |
174 | * @param value | |
175 | * allowed object is | |
176 | * {@link String } | |
177 | * | |
178 | */ | |
179 | public void setURI(String value) { | |
180 | 0 | this.uri = value; |
181 | 0 | } |
182 | ||
183 | /** | |
184 | * Gets the value of the type property. | |
185 | * | |
186 | * @return | |
187 | * possible object is | |
188 | * {@link String } | |
189 | * | |
190 | */ | |
191 | public String getType() { | |
192 | 0 | return type; |
193 | } | |
194 | ||
195 | /** | |
196 | * Sets the value of the type property. | |
197 | * | |
198 | * @param value | |
199 | * allowed object is | |
200 | * {@link String } | |
201 | * | |
202 | */ | |
203 | public void setType(String value) { | |
204 | 0 | this.type = value; |
205 | 0 | } |
206 | ||
207 | } |