Subversion Repositories Integrator Subversion

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
695 blopes 1
//
2
// Este arquivo foi gerado pela Arquitetura JavaTM para Implementa��o de Refer�ncia (JAXB) de Bind XML, v2.2.8-b130911.1802 
3
// Consulte <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
4
// Todas as modifica��es neste arquivo ser�o perdidas ap�s a recompila��o do esquema de origem. 
5
// Gerado em: 2017.05.30 �s 08:31:54 PM GFT 
6
//
7
 
8
 
9
package nfce;
10
 
11
import javax.xml.bind.annotation.XmlAccessType;
12
import javax.xml.bind.annotation.XmlAccessorType;
13
import javax.xml.bind.annotation.XmlAttribute;
14
import javax.xml.bind.annotation.XmlElement;
15
import javax.xml.bind.annotation.XmlID;
16
import javax.xml.bind.annotation.XmlSchemaType;
17
import javax.xml.bind.annotation.XmlType;
18
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
19
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
20
 
21
 
22
/**
23
 * <p>Classe Java de ReferenceType complex type.
24
 *
25
 * <p>O seguinte fragmento do esquema especifica o conte�do esperado contido dentro desta classe.
26
 *
27
 * <pre>
28
 * &lt;complexType name="ReferenceType">
29
 *   &lt;complexContent>
30
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
31
 *       &lt;sequence>
32
 *         &lt;element name="Transforms" type="{http://www.w3.org/2000/09/xmldsig#}TransformsType"/>
33
 *         &lt;element name="DigestMethod">
34
 *           &lt;complexType>
35
 *             &lt;complexContent>
36
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
37
 *                 &lt;attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" fixed="http://www.w3.org/2000/09/xmldsig#sha1" />
38
 *               &lt;/restriction>
39
 *             &lt;/complexContent>
40
 *           &lt;/complexType>
41
 *         &lt;/element>
42
 *         &lt;element name="DigestValue" type="{http://www.w3.org/2000/09/xmldsig#}DigestValueType"/>
43
 *       &lt;/sequence>
44
 *       &lt;attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
45
 *       &lt;attribute name="URI" use="required">
46
 *         &lt;simpleType>
47
 *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyURI">
48
 *             &lt;minLength value="2"/>
49
 *           &lt;/restriction>
50
 *         &lt;/simpleType>
51
 *       &lt;/attribute>
52
 *       &lt;attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
53
 *     &lt;/restriction>
54
 *   &lt;/complexContent>
55
 * &lt;/complexType>
56
 * </pre>
57
 *
58
 *
59
 */
60
@XmlAccessorType(XmlAccessType.FIELD)
61
@XmlType(name = "ReferenceType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = {
62
    "transforms",
63
    "digestMethod",
64
    "digestValue"
65
})
66
public class ReferenceType {
67
 
68
    @XmlElement(name = "Transforms", required = true)
69
    protected TransformsType transforms;
70
    @XmlElement(name = "DigestMethod", required = true)
71
    protected ReferenceType.DigestMethod digestMethod;
72
    @XmlElement(name = "DigestValue", required = true)
73
    protected byte[] digestValue;
74
    @XmlAttribute(name = "Id")
75
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
76
    @XmlID
77
    @XmlSchemaType(name = "ID")
78
    protected String id;
79
    @XmlAttribute(name = "URI", required = true)
80
    protected String uri;
81
    @XmlAttribute(name = "Type")
82
    @XmlSchemaType(name = "anyURI")
83
    protected String type;
84
 
85
    /**
86
     * Obt�m o valor da propriedade transforms.
87
     *
88
     * @return
89
     *     possible object is
90
     *     {@link TransformsType }
91
     *    
92
     */
93
    public TransformsType getTransforms() {
94
        return transforms;
95
    }
96
 
97
    /**
98
     * Define o valor da propriedade transforms.
99
     *
100
     * @param value
101
     *     allowed object is
102
     *     {@link TransformsType }
103
     *    
104
     */
105
    public void setTransforms(TransformsType value) {
106
        this.transforms = value;
107
    }
108
 
109
    /**
110
     * Obt�m o valor da propriedade digestMethod.
111
     *
112
     * @return
113
     *     possible object is
114
     *     {@link ReferenceType.DigestMethod }
115
     *    
116
     */
117
    public ReferenceType.DigestMethod getDigestMethod() {
118
        return digestMethod;
119
    }
120
 
121
    /**
122
     * Define o valor da propriedade digestMethod.
123
     *
124
     * @param value
125
     *     allowed object is
126
     *     {@link ReferenceType.DigestMethod }
127
     *    
128
     */
129
    public void setDigestMethod(ReferenceType.DigestMethod value) {
130
        this.digestMethod = value;
131
    }
132
 
133
    /**
134
     * Obt�m o valor da propriedade digestValue.
135
     *
136
     * @return
137
     *     possible object is
138
     *     byte[]
139
     */
140
    public byte[] getDigestValue() {
141
        return digestValue;
142
    }
143
 
144
    /**
145
     * Define o valor da propriedade digestValue.
146
     *
147
     * @param value
148
     *     allowed object is
149
     *     byte[]
150
     */
151
    public void setDigestValue(byte[] value) {
152
        this.digestValue = value;
153
    }
154
 
155
    /**
156
     * Obt�m o valor da propriedade id.
157
     *
158
     * @return
159
     *     possible object is
160
     *     {@link String }
161
     *    
162
     */
163
    public String getId() {
164
        return id;
165
    }
166
 
167
    /**
168
     * Define o valor da propriedade id.
169
     *
170
     * @param value
171
     *     allowed object is
172
     *     {@link String }
173
     *    
174
     */
175
    public void setId(String value) {
176
        this.id = value;
177
    }
178
 
179
    /**
180
     * Obt�m o valor da propriedade uri.
181
     *
182
     * @return
183
     *     possible object is
184
     *     {@link String }
185
     *    
186
     */
187
    public String getURI() {
188
        return uri;
189
    }
190
 
191
    /**
192
     * Define o valor da propriedade uri.
193
     *
194
     * @param value
195
     *     allowed object is
196
     *     {@link String }
197
     *    
198
     */
199
    public void setURI(String value) {
200
        this.uri = value;
201
    }
202
 
203
    /**
204
     * Obt�m o valor da propriedade type.
205
     *
206
     * @return
207
     *     possible object is
208
     *     {@link String }
209
     *    
210
     */
211
    public String getType() {
212
        return type;
213
    }
214
 
215
    /**
216
     * Define o valor da propriedade type.
217
     *
218
     * @param value
219
     *     allowed object is
220
     *     {@link String }
221
     *    
222
     */
223
    public void setType(String value) {
224
        this.type = value;
225
    }
226
 
227
 
228
    /**
229
     * <p>Classe Java de anonymous complex type.
230
     *
231
     * <p>O seguinte fragmento do esquema especifica o conte�do esperado contido dentro desta classe.
232
     *
233
     * <pre>
234
     * &lt;complexType>
235
     *   &lt;complexContent>
236
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
237
     *       &lt;attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" fixed="http://www.w3.org/2000/09/xmldsig#sha1" />
238
     *     &lt;/restriction>
239
     *   &lt;/complexContent>
240
     * &lt;/complexType>
241
     * </pre>
242
     *
243
     *
244
     */
245
    @XmlAccessorType(XmlAccessType.FIELD)
246
    @XmlType(name = "")
247
    public static class DigestMethod {
248
 
249
        @XmlAttribute(name = "Algorithm", required = true)
250
        @XmlSchemaType(name = "anyURI")
251
        protected String algorithm;
252
 
253
        /**
254
         * Obt�m o valor da propriedade algorithm.
255
         *
256
         * @return
257
         *     possible object is
258
         *     {@link String }
259
         *    
260
         */
261
        public String getAlgorithm() {
262
            if (algorithm == null) {
263
                return "http://www.w3.org/2000/09/xmldsig#sha1";
264
            } else {
265
                return algorithm;
266
            }
267
        }
268
 
269
        /**
270
         * Define o valor da propriedade algorithm.
271
         *
272
         * @param value
273
         *     allowed object is
274
         *     {@link String }
275
         *    
276
         */
277
        public void setAlgorithm(String value) {
278
            this.algorithm = value;
279
        }
280
 
281
    }
282
 
283
}