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 | * <complexType name="ReferenceType"> |
||
| 29 | * <complexContent> |
||
| 30 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
||
| 31 | * <sequence> |
||
| 32 | * <element name="Transforms" type="{http://www.w3.org/2000/09/xmldsig#}TransformsType"/> |
||
| 33 | * <element name="DigestMethod"> |
||
| 34 | * <complexType> |
||
| 35 | * <complexContent> |
||
| 36 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
||
| 37 | * <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" fixed="http://www.w3.org/2000/09/xmldsig#sha1" /> |
||
| 38 | * </restriction> |
||
| 39 | * </complexContent> |
||
| 40 | * </complexType> |
||
| 41 | * </element> |
||
| 42 | * <element name="DigestValue" type="{http://www.w3.org/2000/09/xmldsig#}DigestValueType"/> |
||
| 43 | * </sequence> |
||
| 44 | * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> |
||
| 45 | * <attribute name="URI" use="required"> |
||
| 46 | * <simpleType> |
||
| 47 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyURI"> |
||
| 48 | * <minLength value="2"/> |
||
| 49 | * </restriction> |
||
| 50 | * </simpleType> |
||
| 51 | * </attribute> |
||
| 52 | * <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> |
||
| 53 | * </restriction> |
||
| 54 | * </complexContent> |
||
| 55 | * </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 | * <complexType> |
||
| 235 | * <complexContent> |
||
| 236 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
||
| 237 | * <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" fixed="http://www.w3.org/2000/09/xmldsig#sha1" /> |
||
| 238 | * </restriction> |
||
| 239 | * </complexContent> |
||
| 240 | * </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 | } |