From 0333d253734135ea7cf0cc16e4e3119393a498a8 Mon Sep 17 00:00:00 2001 From: SamuelOliveira Date: Sat, 20 Jan 2024 18:31:14 -0300 Subject: [PATCH 1/4] Adicionado Eventos Suframa Vistoria E Internaliza --- CHANGELOG.md | 3 +- README.md | 9 +- .../nfe/dom/ConfiguracoesNfe.java | 2 +- .../schema/eventoSuframaInternaliza/Ctg.java | 287 ++++++ .../eventoSuframaInternaliza/KeyInfoType.java | 91 ++ .../eventoSuframaInternaliza/ModalOutro.java | 88 ++ .../eventoSuframaInternaliza/ModalRodov.java | 203 ++++ .../ObjectFactory.java | 687 +++++++++++++ .../ReferenceType.java | 270 +++++ .../SignatureType.java | 147 +++ .../SignatureValueType.java | 86 ++ .../SignedInfoType.java | 275 ++++++ .../eventoSuframaInternaliza/TEnvEvento.java | 130 +++ .../eventoSuframaInternaliza/TEvento.java | 914 +++++++++++++++++ .../eventoSuframaInternaliza/TProcEvento.java | 116 +++ .../TRetEnvEvento.java | 270 +++++ .../schema/eventoSuframaInternaliza/TUf.java | 91 ++ .../eventoSuframaInternaliza/TUfEmi.java | 89 ++ .../TransformType.java | 93 ++ .../TransformsType.java | 69 ++ .../eventoSuframaInternaliza/TretEvento.java | 676 +++++++++++++ .../X509DataType.java | 60 ++ .../nfe/schema/eventoSuframaVistoria/Ctg.java | 287 ++++++ .../eventoSuframaVistoria/KeyInfoType.java | 91 ++ .../eventoSuframaVistoria/ModalOutro.java | 88 ++ .../eventoSuframaVistoria/ModalRodov.java | 203 ++++ .../eventoSuframaVistoria/ObjectFactory.java | 687 +++++++++++++ .../eventoSuframaVistoria/ReferenceType.java | 270 +++++ .../eventoSuframaVistoria/SignatureType.java | 147 +++ .../SignatureValueType.java | 86 ++ .../eventoSuframaVistoria/SignedInfoType.java | 275 ++++++ .../eventoSuframaVistoria/TEnvEvento.java | 130 +++ .../schema/eventoSuframaVistoria/TEvento.java | 935 ++++++++++++++++++ .../eventoSuframaVistoria/TProcEvento.java | 116 +++ .../eventoSuframaVistoria/TRetEnvEvento.java | 270 +++++ .../nfe/schema/eventoSuframaVistoria/TUf.java | 91 ++ .../schema/eventoSuframaVistoria/TUfEmi.java | 89 ++ .../eventoSuframaVistoria/TransformType.java | 93 ++ .../eventoSuframaVistoria/TransformsType.java | 69 ++ .../eventoSuframaVistoria/TretEvento.java | 676 +++++++++++++ .../eventoSuframaVistoria/X509DataType.java | 60 ++ 41 files changed, 9313 insertions(+), 6 deletions(-) create mode 100644 src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/Ctg.java create mode 100644 src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/KeyInfoType.java create mode 100644 src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/ModalOutro.java create mode 100644 src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/ModalRodov.java create mode 100644 src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/ObjectFactory.java create mode 100644 src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/ReferenceType.java create mode 100644 src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/SignatureType.java create mode 100644 src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/SignatureValueType.java create mode 100644 src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/SignedInfoType.java create mode 100644 src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/TEnvEvento.java create mode 100644 src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/TEvento.java create mode 100644 src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/TProcEvento.java create mode 100644 src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/TRetEnvEvento.java create mode 100644 src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/TUf.java create mode 100644 src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/TUfEmi.java create mode 100644 src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/TransformType.java create mode 100644 src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/TransformsType.java create mode 100644 src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/TretEvento.java create mode 100644 src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/X509DataType.java create mode 100644 src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/Ctg.java create mode 100644 src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/KeyInfoType.java create mode 100644 src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/ModalOutro.java create mode 100644 src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/ModalRodov.java create mode 100644 src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/ObjectFactory.java create mode 100644 src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/ReferenceType.java create mode 100644 src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/SignatureType.java create mode 100644 src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/SignatureValueType.java create mode 100644 src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/SignedInfoType.java create mode 100644 src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/TEnvEvento.java create mode 100644 src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/TEvento.java create mode 100644 src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/TProcEvento.java create mode 100644 src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/TRetEnvEvento.java create mode 100644 src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/TUf.java create mode 100644 src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/TUfEmi.java create mode 100644 src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/TransformType.java create mode 100644 src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/TransformsType.java create mode 100644 src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/TretEvento.java create mode 100644 src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/X509DataType.java diff --git a/CHANGELOG.md b/CHANGELOG.md index 475e3151..9e20114b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,3 @@ # Notas de versão -- Atualizado Cacert MT -- Adicionado Conversao para RetDistDFeInt \ No newline at end of file +- Adicionado Eventos Suframa Vistoria E Internaliza \ No newline at end of file diff --git a/README.md b/README.md index aa6cb9c8..776a17c2 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Java-NFe [![MIT License](https://img.shields.io/github/license/Samuel-Oliveira/Java_NFe.svg) ](https://github.com/Samuel-Oliveira/Java_NFe/blob/master/LICENSE) [![Maven Central](https://img.shields.io/maven-central/v/br.com.swconsultoria/java-nfe.svg?label=Maven%20Central)](https://search.maven.org/artifact/br.com.swconsultoria/java-nfe/4.00.27/jar) +# Java-NFe [![MIT License](https://img.shields.io/github/license/Samuel-Oliveira/Java_NFe.svg) ](https://github.com/Samuel-Oliveira/Java_NFe/blob/master/LICENSE) [![Maven Central](https://img.shields.io/maven-central/v/br.com.swconsultoria/java-nfe.svg?label=Maven%20Central)](https://search.maven.org/artifact/br.com.swconsultoria/java-nfe/4.00.28/jar) Biblioteca Java para consumo do WebService de NFe/NFCe ## Dúvidas, Sugestões ou Consultoria @@ -17,7 +17,7 @@ Para Iniciar : br.com.swconsultoria java-nfe - 4.00.27 + 4.00.28 ``` @@ -29,7 +29,7 @@ repositories { } } dependencies { - implementation "br.com.swconsultoria:java-nfe:4.00.27" + implementation "br.com.swconsultoria:java-nfe:4.00.28" } ``` @@ -39,6 +39,9 @@ ________________________________________________________________________________ # Historico de Versões +## v4.00.28 - 20/01/2024 - Schemas PL.009k +- Adicionado Eventos Suframa Vistoria E Internaliza + ## v4.00.27 - 26/11/2023 - Schemas PL.009k - Atualizado Cacert MT - Adicionado Conversao para RetDistDFeInt diff --git a/src/main/java/br/com/swconsultoria/nfe/dom/ConfiguracoesNfe.java b/src/main/java/br/com/swconsultoria/nfe/dom/ConfiguracoesNfe.java index bd60c56c..394b654f 100644 --- a/src/main/java/br/com/swconsultoria/nfe/dom/ConfiguracoesNfe.java +++ b/src/main/java/br/com/swconsultoria/nfe/dom/ConfiguracoesNfe.java @@ -109,7 +109,7 @@ public static ConfiguracoesNfe criarConfiguracoes(EstadosEnum estado, AmbienteEn if (Logger.getLogger("").isLoggable(Level.SEVERE)) { System.err.println("####################################################################"); - System.err.println(" Api Java Nfe - Versão 4.00.27 - 26/11/2023"); + System.err.println(" Api Java Nfe - Versão 4.00.28 - 20/01/2024"); if (Logger.getLogger("").isLoggable(Level.WARNING)) { System.err.println(" Samuel Olivera - samuel@swconsultoria.com.br "); } diff --git a/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/Ctg.java b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/Ctg.java new file mode 100644 index 00000000..41a13d47 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/Ctg.java @@ -0,0 +1,287 @@ + +package br.com.swconsultoria.nfe.schema.eventoSuframaInternaliza; + +import javax.xml.bind.annotation.*; + + +/** + *

Classe Java de anonymous complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element ref="{http://www.portalfiscal.inf.br/nfe}nFormSeg" minOccurs="0"/>
+ *         <element ref="{http://www.portalfiscal.inf.br/nfe}UFDest"/>
+ *         <element ref="{http://www.portalfiscal.inf.br/nfe}tpEmis"/>
+ *         <choice>
+ *           <element ref="{http://www.portalfiscal.inf.br/nfe}CNPJDest"/>
+ *           <element ref="{http://www.portalfiscal.inf.br/nfe}CPFDest"/>
+ *         </choice>
+ *         <element ref="{http://www.portalfiscal.inf.br/nfe}vTotalNFe"/>
+ *         <element ref="{http://www.portalfiscal.inf.br/nfe}indICMS"/>
+ *         <element ref="{http://www.portalfiscal.inf.br/nfe}indICMSST"/>
+ *         <element ref="{http://www.portalfiscal.inf.br/nfe}diaEmi"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "nFormSeg", + "ufDest", + "tpEmis", + "cnpjDest", + "cpfDest", + "vTotalNFe", + "indICMS", + "indICMSST", + "diaEmi" +}) +@XmlRootElement(name = "ctg", namespace = "http://www.portalfiscal.inf.br/nfe") +public class Ctg { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String nFormSeg; + @XmlElement(name = "UFDest", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + @XmlSchemaType(name = "string") + protected TUf ufDest; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String tpEmis; + @XmlElement(name = "CNPJDest", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cnpjDest; + @XmlElement(name = "CPFDest", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cpfDest; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vTotalNFe; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String indICMS; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String indICMSST; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String diaEmi; + + /** + * Obtém o valor da propriedade nFormSeg. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNFormSeg() { + return nFormSeg; + } + + /** + * Define o valor da propriedade nFormSeg. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNFormSeg(String value) { + this.nFormSeg = value; + } + + /** + * Obtém o valor da propriedade ufDest. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUFDest() { + return ufDest; + } + + /** + * Define o valor da propriedade ufDest. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUFDest(TUf value) { + this.ufDest = value; + } + + /** + * Obtém o valor da propriedade tpEmis. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpEmis() { + return tpEmis; + } + + /** + * Define o valor da propriedade tpEmis. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpEmis(String value) { + this.tpEmis = value; + } + + /** + * Obtém o valor da propriedade cnpjDest. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJDest() { + return cnpjDest; + } + + /** + * Define o valor da propriedade cnpjDest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJDest(String value) { + this.cnpjDest = value; + } + + /** + * Obtém o valor da propriedade cpfDest. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPFDest() { + return cpfDest; + } + + /** + * Define o valor da propriedade cpfDest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPFDest(String value) { + this.cpfDest = value; + } + + /** + * Obtém o valor da propriedade vTotalNFe. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVTotalNFe() { + return vTotalNFe; + } + + /** + * Define o valor da propriedade vTotalNFe. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVTotalNFe(String value) { + this.vTotalNFe = value; + } + + /** + * Obtém o valor da propriedade indICMS. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIndICMS() { + return indICMS; + } + + /** + * Define o valor da propriedade indICMS. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIndICMS(String value) { + this.indICMS = value; + } + + /** + * Obtém o valor da propriedade indICMSST. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIndICMSST() { + return indICMSST; + } + + /** + * Define o valor da propriedade indICMSST. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIndICMSST(String value) { + this.indICMSST = value; + } + + /** + * Obtém o valor da propriedade diaEmi. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDiaEmi() { + return diaEmi; + } + + /** + * Define o valor da propriedade diaEmi. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDiaEmi(String value) { + this.diaEmi = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/KeyInfoType.java b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/KeyInfoType.java new file mode 100644 index 00000000..92018f82 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/KeyInfoType.java @@ -0,0 +1,91 @@ + +package br.com.swconsultoria.nfe.schema.eventoSuframaInternaliza; + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + *

Classe Java de KeyInfoType complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="KeyInfoType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="X509Data" type="{http://www.w3.org/2000/09/xmldsig#}X509DataType"/>
+ *       </sequence>
+ *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "KeyInfoType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = { + "x509Data" +}) +public class KeyInfoType { + + @XmlElement(name = "X509Data", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected X509DataType x509Data; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Obtém o valor da propriedade x509Data. + * + * @return + * possible object is + * {@link X509DataType } + * + */ + public X509DataType getX509Data() { + return x509Data; + } + + /** + * Define o valor da propriedade x509Data. + * + * @param value + * allowed object is + * {@link X509DataType } + * + */ + public void setX509Data(X509DataType value) { + this.x509Data = value; + } + + /** + * Obtém o valor da propriedade id. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Define o valor da propriedade id. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/ModalOutro.java b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/ModalOutro.java new file mode 100644 index 00000000..78359a9f --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/ModalOutro.java @@ -0,0 +1,88 @@ + +package br.com.swconsultoria.nfe.schema.eventoSuframaInternaliza; + +import javax.xml.bind.annotation.*; + + +/** + *

Classe Java de anonymous complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element ref="{http://www.portalfiscal.inf.br/nfe}tpModal"/>
+ *         <element ref="{http://www.portalfiscal.inf.br/nfe}xIdent" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "tpModal", + "xIdent" +}) +@XmlRootElement(name = "modalOutro", namespace = "http://www.portalfiscal.inf.br/nfe") +public class ModalOutro { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String tpModal; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String xIdent; + + /** + * Obtém o valor da propriedade tpModal. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpModal() { + return tpModal; + } + + /** + * Define o valor da propriedade tpModal. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpModal(String value) { + this.tpModal = value; + } + + /** + * Obtém o valor da propriedade xIdent. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXIdent() { + return xIdent; + } + + /** + * Define o valor da propriedade xIdent. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXIdent(String value) { + this.xIdent = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/ModalRodov.java b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/ModalRodov.java new file mode 100644 index 00000000..6de0329a --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/ModalRodov.java @@ -0,0 +1,203 @@ + +package br.com.swconsultoria.nfe.schema.eventoSuframaInternaliza; + +import javax.xml.bind.annotation.*; + + +/** + *

Classe Java de anonymous complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element ref="{http://www.portalfiscal.inf.br/nfe}placaVeic" minOccurs="0"/>
+ *         <element ref="{http://www.portalfiscal.inf.br/nfe}UFVeic" minOccurs="0"/>
+ *         <element ref="{http://www.portalfiscal.inf.br/nfe}placaCarreta" minOccurs="0"/>
+ *         <element ref="{http://www.portalfiscal.inf.br/nfe}UFCarreta" minOccurs="0"/>
+ *         <element ref="{http://www.portalfiscal.inf.br/nfe}placaCarreta2" minOccurs="0"/>
+ *         <element ref="{http://www.portalfiscal.inf.br/nfe}UFCarreta2" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "placaVeic", + "ufVeic", + "placaCarreta", + "ufCarreta", + "placaCarreta2", + "ufCarreta2" +}) +@XmlRootElement(name = "modalRodov", namespace = "http://www.portalfiscal.inf.br/nfe") +public class ModalRodov { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String placaVeic; + @XmlElement(name = "UFVeic", namespace = "http://www.portalfiscal.inf.br/nfe") + @XmlSchemaType(name = "string") + protected TUf ufVeic; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String placaCarreta; + @XmlElement(name = "UFCarreta", namespace = "http://www.portalfiscal.inf.br/nfe") + @XmlSchemaType(name = "string") + protected TUf ufCarreta; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String placaCarreta2; + @XmlElement(name = "UFCarreta2", namespace = "http://www.portalfiscal.inf.br/nfe") + @XmlSchemaType(name = "string") + protected TUf ufCarreta2; + + /** + * Obtém o valor da propriedade placaVeic. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPlacaVeic() { + return placaVeic; + } + + /** + * Define o valor da propriedade placaVeic. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPlacaVeic(String value) { + this.placaVeic = value; + } + + /** + * Obtém o valor da propriedade ufVeic. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUFVeic() { + return ufVeic; + } + + /** + * Define o valor da propriedade ufVeic. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUFVeic(TUf value) { + this.ufVeic = value; + } + + /** + * Obtém o valor da propriedade placaCarreta. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPlacaCarreta() { + return placaCarreta; + } + + /** + * Define o valor da propriedade placaCarreta. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPlacaCarreta(String value) { + this.placaCarreta = value; + } + + /** + * Obtém o valor da propriedade ufCarreta. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUFCarreta() { + return ufCarreta; + } + + /** + * Define o valor da propriedade ufCarreta. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUFCarreta(TUf value) { + this.ufCarreta = value; + } + + /** + * Obtém o valor da propriedade placaCarreta2. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPlacaCarreta2() { + return placaCarreta2; + } + + /** + * Define o valor da propriedade placaCarreta2. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPlacaCarreta2(String value) { + this.placaCarreta2 = value; + } + + /** + * Obtém o valor da propriedade ufCarreta2. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUFCarreta2() { + return ufCarreta2; + } + + /** + * Define o valor da propriedade ufCarreta2. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUFCarreta2(TUf value) { + this.ufCarreta2 = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/ObjectFactory.java b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/ObjectFactory.java new file mode 100644 index 00000000..1260f8ff --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/ObjectFactory.java @@ -0,0 +1,687 @@ + +package br.com.swconsultoria.nfe.schema.eventoSuframaInternaliza; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the br.com.swconsultoria.nfe.schema.eventoSuframaInternaliza package. + *

An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _DescEvento_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "descEvento"); + private final static QName _COrgaoAutor_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "cOrgaoAutor"); + private final static QName _CPostoUF_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "cPostoUF"); + private final static QName _XPostoUF_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "xPostoUF"); + private final static QName _LatGPS_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "latGPS"); + private final static QName _LongGPS_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "longGPS"); + private final static QName _CPFOper_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "CPFOper"); + private final static QName _XNomeOper_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "xNomeOper"); + private final static QName _IndOffline_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "indOffline"); + private final static QName _DhPas_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "dhPas"); + private final static QName _SentidoVia_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "sentidoVia"); + private final static QName _IndRet_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "indRet"); + private final static QName _UFDest_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "UFDest"); + private final static QName _XObs_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "xObs"); + private final static QName _ChMDFe_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "chMDFe"); + private final static QName _ChCTe_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "chCTe"); + private final static QName _PlacaVeic_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "placaVeic"); + private final static QName _UFVeic_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "UFVeic"); + private final static QName _PlacaCarreta_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "placaCarreta"); + private final static QName _UFCarreta_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "UFCarreta"); + private final static QName _PlacaCarreta2_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "placaCarreta2"); + private final static QName _UFCarreta2_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "UFCarreta2"); + private final static QName _TpModal_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "tpModal"); + private final static QName _XIdent_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "xIdent"); + private final static QName _NFormSeg_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "nFormSeg"); + private final static QName _TpEmis_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "tpEmis"); + private final static QName _CNPJDest_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "CNPJDest"); + private final static QName _CPFDest_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "CPFDest"); + private final static QName _VTotalNFe_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "vTotalNFe"); + private final static QName _IndICMS_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "indICMS"); + private final static QName _IndICMSST_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "indICMSST"); + private final static QName _DiaEmi_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "diaEmi"); + private final static QName _Evento_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "evento"); + private final static QName _Signature_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Signature"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: br.com.swconsultoria.nfe.schema.eventoSuframaInternaliza + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link ReferenceType } + * + */ + public ReferenceType createReferenceType() { + return new ReferenceType(); + } + + /** + * Create an instance of {@link SignedInfoType } + * + */ + public SignedInfoType createSignedInfoType() { + return new SignedInfoType(); + } + + /** + * Create an instance of {@link TretEvento } + * + */ + public TretEvento createTretEvento() { + return new TretEvento(); + } + + /** + * Create an instance of {@link TEvento } + * + */ + public TEvento createTEvento() { + return new TEvento(); + } + + /** + * Create an instance of {@link TEvento.InfEvento } + * + */ + public TEvento.InfEvento createTEventoInfEvento() { + return new TEvento.InfEvento(); + } + + /** + * Create an instance of {@link ModalRodov } + * + */ + public ModalRodov createModalRodov() { + return new ModalRodov(); + } + + /** + * Create an instance of {@link ModalOutro } + * + */ + public ModalOutro createModalOutro() { + return new ModalOutro(); + } + + /** + * Create an instance of {@link Ctg } + * + */ + public Ctg createCtg() { + return new Ctg(); + } + + /** + * Create an instance of {@link TEnvEvento } + * + */ + public TEnvEvento createTEnvEvento() { + return new TEnvEvento(); + } + + /** + * Create an instance of {@link TRetEnvEvento } + * + */ + public TRetEnvEvento createTRetEnvEvento() { + return new TRetEnvEvento(); + } + + /** + * Create an instance of {@link TProcEvento } + * + */ + public TProcEvento createTProcEvento() { + return new TProcEvento(); + } + + /** + * Create an instance of {@link SignatureType } + * + */ + public SignatureType createSignatureType() { + return new SignatureType(); + } + + /** + * Create an instance of {@link SignatureValueType } + * + */ + public SignatureValueType createSignatureValueType() { + return new SignatureValueType(); + } + + /** + * Create an instance of {@link TransformsType } + * + */ + public TransformsType createTransformsType() { + return new TransformsType(); + } + + /** + * Create an instance of {@link TransformType } + * + */ + public TransformType createTransformType() { + return new TransformType(); + } + + /** + * Create an instance of {@link KeyInfoType } + * + */ + public KeyInfoType createKeyInfoType() { + return new KeyInfoType(); + } + + /** + * Create an instance of {@link X509DataType } + * + */ + public X509DataType createX509DataType() { + return new X509DataType(); + } + + /** + * Create an instance of {@link ReferenceType.DigestMethod } + * + */ + public ReferenceType.DigestMethod createReferenceTypeDigestMethod() { + return new ReferenceType.DigestMethod(); + } + + /** + * Create an instance of {@link SignedInfoType.CanonicalizationMethod } + * + */ + public SignedInfoType.CanonicalizationMethod createSignedInfoTypeCanonicalizationMethod() { + return new SignedInfoType.CanonicalizationMethod(); + } + + /** + * Create an instance of {@link SignedInfoType.SignatureMethod } + * + */ + public SignedInfoType.SignatureMethod createSignedInfoTypeSignatureMethod() { + return new SignedInfoType.SignatureMethod(); + } + + /** + * Create an instance of {@link TretEvento.InfEvento } + * + */ + public TretEvento.InfEvento createTretEventoInfEvento() { + return new TretEvento.InfEvento(); + } + + /** + * Create an instance of {@link TEvento.InfEvento.DetEvento } + * + */ + public TEvento.InfEvento.DetEvento createTEventoInfEventoDetEvento() { + return new TEvento.InfEvento.DetEvento(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "descEvento") + public JAXBElement createDescEvento(String value) { + return new JAXBElement(_DescEvento_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "cOrgaoAutor") + public JAXBElement createCOrgaoAutor(String value) { + return new JAXBElement(_COrgaoAutor_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "cPostoUF") + public JAXBElement createCPostoUF(String value) { + return new JAXBElement(_CPostoUF_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "xPostoUF") + public JAXBElement createXPostoUF(String value) { + return new JAXBElement(_XPostoUF_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "latGPS") + public JAXBElement createLatGPS(String value) { + return new JAXBElement(_LatGPS_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "longGPS") + public JAXBElement createLongGPS(String value) { + return new JAXBElement(_LongGPS_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "CPFOper") + public JAXBElement createCPFOper(String value) { + return new JAXBElement(_CPFOper_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "xNomeOper") + public JAXBElement createXNomeOper(String value) { + return new JAXBElement(_XNomeOper_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "indOffline") + public JAXBElement createIndOffline(String value) { + return new JAXBElement(_IndOffline_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "dhPas") + public JAXBElement createDhPas(String value) { + return new JAXBElement(_DhPas_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "sentidoVia") + public JAXBElement createSentidoVia(String value) { + return new JAXBElement(_SentidoVia_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "indRet") + public JAXBElement createIndRet(String value) { + return new JAXBElement(_IndRet_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TUf }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link TUf }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "UFDest") + public JAXBElement createUFDest(TUf value) { + return new JAXBElement(_UFDest_QNAME, TUf.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "xObs") + public JAXBElement createXObs(String value) { + return new JAXBElement(_XObs_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "chMDFe") + public JAXBElement createChMDFe(String value) { + return new JAXBElement(_ChMDFe_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "chCTe") + public JAXBElement createChCTe(String value) { + return new JAXBElement(_ChCTe_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "placaVeic") + public JAXBElement createPlacaVeic(String value) { + return new JAXBElement(_PlacaVeic_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TUf }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link TUf }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "UFVeic") + public JAXBElement createUFVeic(TUf value) { + return new JAXBElement(_UFVeic_QNAME, TUf.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "placaCarreta") + public JAXBElement createPlacaCarreta(String value) { + return new JAXBElement(_PlacaCarreta_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TUf }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link TUf }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "UFCarreta") + public JAXBElement createUFCarreta(TUf value) { + return new JAXBElement(_UFCarreta_QNAME, TUf.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "placaCarreta2") + public JAXBElement createPlacaCarreta2(String value) { + return new JAXBElement(_PlacaCarreta2_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TUf }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link TUf }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "UFCarreta2") + public JAXBElement createUFCarreta2(TUf value) { + return new JAXBElement(_UFCarreta2_QNAME, TUf.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "tpModal") + public JAXBElement createTpModal(String value) { + return new JAXBElement(_TpModal_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "xIdent") + public JAXBElement createXIdent(String value) { + return new JAXBElement(_XIdent_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "nFormSeg") + public JAXBElement createNFormSeg(String value) { + return new JAXBElement(_NFormSeg_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "tpEmis") + public JAXBElement createTpEmis(String value) { + return new JAXBElement(_TpEmis_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "CNPJDest") + public JAXBElement createCNPJDest(String value) { + return new JAXBElement(_CNPJDest_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "CPFDest") + public JAXBElement createCPFDest(String value) { + return new JAXBElement(_CPFDest_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "vTotalNFe") + public JAXBElement createVTotalNFe(String value) { + return new JAXBElement(_VTotalNFe_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "indICMS") + public JAXBElement createIndICMS(String value) { + return new JAXBElement(_IndICMS_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "indICMSST") + public JAXBElement createIndICMSST(String value) { + return new JAXBElement(_IndICMSST_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "diaEmi") + public JAXBElement createDiaEmi(String value) { + return new JAXBElement(_DiaEmi_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TEvento }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link TEvento }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "evento") + public JAXBElement createEvento(TEvento value) { + return new JAXBElement(_Evento_QNAME, TEvento.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SignatureType }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link SignatureType }{@code >} + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Signature") + public JAXBElement createSignature(SignatureType value) { + return new JAXBElement(_Signature_QNAME, SignatureType.class, null, value); + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/ReferenceType.java b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/ReferenceType.java new file mode 100644 index 00000000..a486f062 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/ReferenceType.java @@ -0,0 +1,270 @@ + +package br.com.swconsultoria.nfe.schema.eventoSuframaInternaliza; + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + *

Classe Java de ReferenceType complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="ReferenceType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="Transforms" type="{http://www.w3.org/2000/09/xmldsig#}TransformsType"/>
+ *         <element name="DigestMethod">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" fixed="http://www.w3.org/2000/09/xmldsig#sha1" />
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="DigestValue" type="{http://www.w3.org/2000/09/xmldsig#}DigestValueType"/>
+ *       </sequence>
+ *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ *       <attribute name="URI" use="required">
+ *         <simpleType>
+ *           <restriction base="{http://www.w3.org/2001/XMLSchema}anyURI">
+ *             <minLength value="2"/>
+ *           </restriction>
+ *         </simpleType>
+ *       </attribute>
+ *       <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ReferenceType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = { + "transforms", + "digestMethod", + "digestValue" +}) +public class ReferenceType { + + @XmlElement(name = "Transforms", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected TransformsType transforms; + @XmlElement(name = "DigestMethod", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected ReferenceType.DigestMethod digestMethod; + @XmlElement(name = "DigestValue", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected byte[] digestValue; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAttribute(name = "URI", required = true) + protected String uri; + @XmlAttribute(name = "Type") + @XmlSchemaType(name = "anyURI") + protected String type; + + /** + * Obtém o valor da propriedade transforms. + * + * @return + * possible object is + * {@link TransformsType } + * + */ + public TransformsType getTransforms() { + return transforms; + } + + /** + * Define o valor da propriedade transforms. + * + * @param value + * allowed object is + * {@link TransformsType } + * + */ + public void setTransforms(TransformsType value) { + this.transforms = value; + } + + /** + * Obtém o valor da propriedade digestMethod. + * + * @return + * possible object is + * {@link ReferenceType.DigestMethod } + * + */ + public ReferenceType.DigestMethod getDigestMethod() { + return digestMethod; + } + + /** + * Define o valor da propriedade digestMethod. + * + * @param value + * allowed object is + * {@link ReferenceType.DigestMethod } + * + */ + public void setDigestMethod(ReferenceType.DigestMethod value) { + this.digestMethod = value; + } + + /** + * Obtém o valor da propriedade digestValue. + * + * @return + * possible object is + * byte[] + */ + public byte[] getDigestValue() { + return digestValue; + } + + /** + * Define o valor da propriedade digestValue. + * + * @param value + * allowed object is + * byte[] + */ + public void setDigestValue(byte[] value) { + this.digestValue = value; + } + + /** + * Obtém o valor da propriedade id. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Define o valor da propriedade id. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + + /** + * Obtém o valor da propriedade uri. + * + * @return + * possible object is + * {@link String } + * + */ + public String getURI() { + return uri; + } + + /** + * Define o valor da propriedade uri. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setURI(String value) { + this.uri = value; + } + + /** + * Obtém o valor da propriedade type. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Define o valor da propriedade type. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + + /** + *

Classe Java de anonymous complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" fixed="http://www.w3.org/2000/09/xmldsig#sha1" />
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "") + public static class DigestMethod { + + @XmlAttribute(name = "Algorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String algorithm; + + /** + * Obtém o valor da propriedade algorithm. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + if (algorithm == null) { + return "http://www.w3.org/2000/09/xmldsig#sha1"; + } else { + return algorithm; + } + } + + /** + * Define o valor da propriedade algorithm. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/SignatureType.java b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/SignatureType.java new file mode 100644 index 00000000..b40cb1c6 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/SignatureType.java @@ -0,0 +1,147 @@ + +package br.com.swconsultoria.nfe.schema.eventoSuframaInternaliza; + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + *

Classe Java de SignatureType complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="SignatureType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="SignedInfo" type="{http://www.w3.org/2000/09/xmldsig#}SignedInfoType"/>
+ *         <element name="SignatureValue" type="{http://www.w3.org/2000/09/xmldsig#}SignatureValueType"/>
+ *         <element name="KeyInfo" type="{http://www.w3.org/2000/09/xmldsig#}KeyInfoType"/>
+ *       </sequence>
+ *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignatureType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = { + "signedInfo", + "signatureValue", + "keyInfo" +}) +public class SignatureType { + + @XmlElement(name = "SignedInfo", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected SignedInfoType signedInfo; + @XmlElement(name = "SignatureValue", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected SignatureValueType signatureValue; + @XmlElement(name = "KeyInfo", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected KeyInfoType keyInfo; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Obtém o valor da propriedade signedInfo. + * + * @return + * possible object is + * {@link SignedInfoType } + * + */ + public SignedInfoType getSignedInfo() { + return signedInfo; + } + + /** + * Define o valor da propriedade signedInfo. + * + * @param value + * allowed object is + * {@link SignedInfoType } + * + */ + public void setSignedInfo(SignedInfoType value) { + this.signedInfo = value; + } + + /** + * Obtém o valor da propriedade signatureValue. + * + * @return + * possible object is + * {@link SignatureValueType } + * + */ + public SignatureValueType getSignatureValue() { + return signatureValue; + } + + /** + * Define o valor da propriedade signatureValue. + * + * @param value + * allowed object is + * {@link SignatureValueType } + * + */ + public void setSignatureValue(SignatureValueType value) { + this.signatureValue = value; + } + + /** + * Obtém o valor da propriedade keyInfo. + * + * @return + * possible object is + * {@link KeyInfoType } + * + */ + public KeyInfoType getKeyInfo() { + return keyInfo; + } + + /** + * Define o valor da propriedade keyInfo. + * + * @param value + * allowed object is + * {@link KeyInfoType } + * + */ + public void setKeyInfo(KeyInfoType value) { + this.keyInfo = value; + } + + /** + * Obtém o valor da propriedade id. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Define o valor da propriedade id. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/SignatureValueType.java b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/SignatureValueType.java new file mode 100644 index 00000000..1d1f64e4 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/SignatureValueType.java @@ -0,0 +1,86 @@ + +package br.com.swconsultoria.nfe.schema.eventoSuframaInternaliza; + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + *

Classe Java de SignatureValueType complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="SignatureValueType">
+ *   <simpleContent>
+ *     <extension base="<http://www.w3.org/2001/XMLSchema>base64Binary">
+ *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ *     </extension>
+ *   </simpleContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignatureValueType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = { + "value" +}) +public class SignatureValueType { + + @XmlValue + protected byte[] value; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Obtém o valor da propriedade value. + * + * @return + * possible object is + * byte[] + */ + public byte[] getValue() { + return value; + } + + /** + * Define o valor da propriedade value. + * + * @param value + * allowed object is + * byte[] + */ + public void setValue(byte[] value) { + this.value = value; + } + + /** + * Obtém o valor da propriedade id. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Define o valor da propriedade id. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/SignedInfoType.java b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/SignedInfoType.java new file mode 100644 index 00000000..d2d3df64 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/SignedInfoType.java @@ -0,0 +1,275 @@ + +package br.com.swconsultoria.nfe.schema.eventoSuframaInternaliza; + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + *

Classe Java de SignedInfoType complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="SignedInfoType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="CanonicalizationMethod">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" fixed="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="SignatureMethod">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" fixed="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="Reference" type="{http://www.w3.org/2000/09/xmldsig#}ReferenceType"/>
+ *       </sequence>
+ *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignedInfoType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = { + "canonicalizationMethod", + "signatureMethod", + "reference" +}) +public class SignedInfoType { + + @XmlElement(name = "CanonicalizationMethod", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected SignedInfoType.CanonicalizationMethod canonicalizationMethod; + @XmlElement(name = "SignatureMethod", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected SignedInfoType.SignatureMethod signatureMethod; + @XmlElement(name = "Reference", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected ReferenceType reference; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Obtém o valor da propriedade canonicalizationMethod. + * + * @return + * possible object is + * {@link SignedInfoType.CanonicalizationMethod } + * + */ + public SignedInfoType.CanonicalizationMethod getCanonicalizationMethod() { + return canonicalizationMethod; + } + + /** + * Define o valor da propriedade canonicalizationMethod. + * + * @param value + * allowed object is + * {@link SignedInfoType.CanonicalizationMethod } + * + */ + public void setCanonicalizationMethod(SignedInfoType.CanonicalizationMethod value) { + this.canonicalizationMethod = value; + } + + /** + * Obtém o valor da propriedade signatureMethod. + * + * @return + * possible object is + * {@link SignedInfoType.SignatureMethod } + * + */ + public SignedInfoType.SignatureMethod getSignatureMethod() { + return signatureMethod; + } + + /** + * Define o valor da propriedade signatureMethod. + * + * @param value + * allowed object is + * {@link SignedInfoType.SignatureMethod } + * + */ + public void setSignatureMethod(SignedInfoType.SignatureMethod value) { + this.signatureMethod = value; + } + + /** + * Obtém o valor da propriedade reference. + * + * @return + * possible object is + * {@link ReferenceType } + * + */ + public ReferenceType getReference() { + return reference; + } + + /** + * Define o valor da propriedade reference. + * + * @param value + * allowed object is + * {@link ReferenceType } + * + */ + public void setReference(ReferenceType value) { + this.reference = value; + } + + /** + * Obtém o valor da propriedade id. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Define o valor da propriedade id. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + + + /** + *

Classe Java de anonymous complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" fixed="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "") + public static class CanonicalizationMethod { + + @XmlAttribute(name = "Algorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String algorithm; + + /** + * Obtém o valor da propriedade algorithm. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + if (algorithm == null) { + return "http://www.w3.org/TR/2001/REC-xml-c14n-20010315"; + } else { + return algorithm; + } + } + + /** + * Define o valor da propriedade algorithm. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + + } + + + /** + *

Classe Java de anonymous complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" fixed="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "") + public static class SignatureMethod { + + @XmlAttribute(name = "Algorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String algorithm; + + /** + * Obtém o valor da propriedade algorithm. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + if (algorithm == null) { + return "http://www.w3.org/2000/09/xmldsig#rsa-sha1"; + } else { + return algorithm; + } + } + + /** + * Define o valor da propriedade algorithm. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/TEnvEvento.java b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/TEnvEvento.java new file mode 100644 index 00000000..2ce4de8a --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/TEnvEvento.java @@ -0,0 +1,130 @@ + +package br.com.swconsultoria.nfe.schema.eventoSuframaInternaliza; + +import javax.xml.bind.annotation.*; +import java.util.ArrayList; +import java.util.List; + + +/** + * Tipo Lote de Envio + * + *

Classe Java de TEnvEvento complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TEnvEvento">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="idLote">
+ *           <simpleType>
+ *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *               <whiteSpace value="preserve"/>
+ *               <pattern value="[0-9]{1,15}"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="evento" type="{http://www.portalfiscal.inf.br/nfe}TEvento" maxOccurs="20"/>
+ *       </sequence>
+ *       <attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/nfe}TVerEnvEvento" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TEnvEvento", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "idLote", + "evento" +}) +public class TEnvEvento { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String idLote; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected List evento; + @XmlAttribute(name = "versao", required = true) + protected String versao; + + /** + * Obtém o valor da propriedade idLote. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIdLote() { + return idLote; + } + + /** + * Define o valor da propriedade idLote. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIdLote(String value) { + this.idLote = value; + } + + /** + * Gets the value of the evento property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the evento property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getEvento().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TEvento } + * + * + */ + public List getEvento() { + if (evento == null) { + evento = new ArrayList(); + } + return this.evento; + } + + /** + * Obtém o valor da propriedade versao. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Define o valor da propriedade versao. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/TEvento.java b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/TEvento.java new file mode 100644 index 00000000..77c8d41b --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/TEvento.java @@ -0,0 +1,914 @@ + +package br.com.swconsultoria.nfe.schema.eventoSuframaInternaliza; + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * Tipo Evento + * + *

Classe Java de TEvento complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TEvento">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="infEvento">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="cOrgao" type="{http://www.portalfiscal.inf.br/nfe}TCOrgaoIBGE"/>
+ *                   <element name="tpAmb" type="{http://www.portalfiscal.inf.br/nfe}TAmb"/>
+ *                   <choice>
+ *                     <element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpjOpc"/>
+ *                     <element name="CPF" type="{http://www.portalfiscal.inf.br/nfe}TCpf"/>
+ *                   </choice>
+ *                   <element name="chNFe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe"/>
+ *                   <element name="dhEvento" type="{http://www.portalfiscal.inf.br/nfe}TDateTimeUTC"/>
+ *                   <element name="tpEvento">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <pattern value="[0-9]{6}"/>
+ *                         <enumeration value="990910"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="nSeqEvento">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <pattern value="[1-9]|[1][0-9]{0,1}|20"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="verEvento">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <enumeration value="1.00"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="detEvento">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="descEvento">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="Confirmacao de Internalizacao da Mercadoria na SUFRAMA"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="PINe">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <pattern value="[0-9]{1,9}"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="dVistoria" type="{http://www.portalfiscal.inf.br/nfe}TDateTimeUTC"/>
+ *                             <element name="locVistoria">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                   <minLength value="5"/>
+ *                                   <maxLength value="60"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="postoVistoria">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                   <minLength value="5"/>
+ *                                   <maxLength value="60"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xHistorico">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="1024"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                           </sequence>
+ *                           <attribute name="versao" use="required">
+ *                             <simpleType>
+ *                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                 <whiteSpace value="preserve"/>
+ *                                 <enumeration value="1.00"/>
+ *                               </restriction>
+ *                             </simpleType>
+ *                           </attribute>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                 </sequence>
+ *                 <attribute name="Id" use="required">
+ *                   <simpleType>
+ *                     <restriction base="{http://www.w3.org/2001/XMLSchema}ID">
+ *                       <pattern value="ID[0-9]{52}"/>
+ *                     </restriction>
+ *                   </simpleType>
+ *                 </attribute>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature"/>
+ *       </sequence>
+ *       <attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/nfe}TVerEvento" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TEvento", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "infEvento", + "signature" +}) +public class TEvento { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected TEvento.InfEvento infEvento; + @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected SignatureType signature; + @XmlAttribute(name = "versao", required = true) + protected String versao; + + /** + * Obtém o valor da propriedade infEvento. + * + * @return + * possible object is + * {@link TEvento.InfEvento } + * + */ + public TEvento.InfEvento getInfEvento() { + return infEvento; + } + + /** + * Define o valor da propriedade infEvento. + * + * @param value + * allowed object is + * {@link TEvento.InfEvento } + * + */ + public void setInfEvento(TEvento.InfEvento value) { + this.infEvento = value; + } + + /** + * Obtém o valor da propriedade signature. + * + * @return + * possible object is + * {@link SignatureType } + * + */ + public SignatureType getSignature() { + return signature; + } + + /** + * Define o valor da propriedade signature. + * + * @param value + * allowed object is + * {@link SignatureType } + * + */ + public void setSignature(SignatureType value) { + this.signature = value; + } + + /** + * Obtém o valor da propriedade versao. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Define o valor da propriedade versao. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + + + /** + *

Classe Java de anonymous complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="cOrgao" type="{http://www.portalfiscal.inf.br/nfe}TCOrgaoIBGE"/>
+     *         <element name="tpAmb" type="{http://www.portalfiscal.inf.br/nfe}TAmb"/>
+     *         <choice>
+     *           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpjOpc"/>
+     *           <element name="CPF" type="{http://www.portalfiscal.inf.br/nfe}TCpf"/>
+     *         </choice>
+     *         <element name="chNFe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe"/>
+     *         <element name="dhEvento" type="{http://www.portalfiscal.inf.br/nfe}TDateTimeUTC"/>
+     *         <element name="tpEvento">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <pattern value="[0-9]{6}"/>
+     *               <enumeration value="990910"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="nSeqEvento">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <pattern value="[1-9]|[1][0-9]{0,1}|20"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="verEvento">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <enumeration value="1.00"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="detEvento">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="descEvento">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="Confirmacao de Internalizacao da Mercadoria na SUFRAMA"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="PINe">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <pattern value="[0-9]{1,9}"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="dVistoria" type="{http://www.portalfiscal.inf.br/nfe}TDateTimeUTC"/>
+     *                   <element name="locVistoria">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                         <minLength value="5"/>
+     *                         <maxLength value="60"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="postoVistoria">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                         <minLength value="5"/>
+     *                         <maxLength value="60"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xHistorico">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="1024"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                 </sequence>
+     *                 <attribute name="versao" use="required">
+     *                   <simpleType>
+     *                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                       <whiteSpace value="preserve"/>
+     *                       <enumeration value="1.00"/>
+     *                     </restriction>
+     *                   </simpleType>
+     *                 </attribute>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *       </sequence>
+     *       <attribute name="Id" use="required">
+     *         <simpleType>
+     *           <restriction base="{http://www.w3.org/2001/XMLSchema}ID">
+     *             <pattern value="ID[0-9]{52}"/>
+     *           </restriction>
+     *         </simpleType>
+     *       </attribute>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cOrgao", + "tpAmb", + "cnpj", + "cpf", + "chNFe", + "dhEvento", + "tpEvento", + "nSeqEvento", + "verEvento", + "detEvento" + }) + public static class InfEvento { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cOrgao; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String tpAmb; + @XmlElement(name = "CNPJ", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cnpj; + @XmlElement(name = "CPF", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cpf; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String chNFe; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String dhEvento; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String tpEvento; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String nSeqEvento; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String verEvento; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected TEvento.InfEvento.DetEvento detEvento; + @XmlAttribute(name = "Id", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + protected String id; + + /** + * Obtém o valor da propriedade cOrgao. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCOrgao() { + return cOrgao; + } + + /** + * Define o valor da propriedade cOrgao. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCOrgao(String value) { + this.cOrgao = value; + } + + /** + * Obtém o valor da propriedade tpAmb. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpAmb() { + return tpAmb; + } + + /** + * Define o valor da propriedade tpAmb. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpAmb(String value) { + this.tpAmb = value; + } + + /** + * Obtém o valor da propriedade cnpj. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Define o valor da propriedade cnpj. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Obtém o valor da propriedade cpf. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPF() { + return cpf; + } + + /** + * Define o valor da propriedade cpf. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPF(String value) { + this.cpf = value; + } + + /** + * Obtém o valor da propriedade chNFe. + * + * @return + * possible object is + * {@link String } + * + */ + public String getChNFe() { + return chNFe; + } + + /** + * Define o valor da propriedade chNFe. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setChNFe(String value) { + this.chNFe = value; + } + + /** + * Obtém o valor da propriedade dhEvento. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDhEvento() { + return dhEvento; + } + + /** + * Define o valor da propriedade dhEvento. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDhEvento(String value) { + this.dhEvento = value; + } + + /** + * Obtém o valor da propriedade tpEvento. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpEvento() { + return tpEvento; + } + + /** + * Define o valor da propriedade tpEvento. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpEvento(String value) { + this.tpEvento = value; + } + + /** + * Obtém o valor da propriedade nSeqEvento. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNSeqEvento() { + return nSeqEvento; + } + + /** + * Define o valor da propriedade nSeqEvento. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNSeqEvento(String value) { + this.nSeqEvento = value; + } + + /** + * Obtém o valor da propriedade verEvento. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVerEvento() { + return verEvento; + } + + /** + * Define o valor da propriedade verEvento. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVerEvento(String value) { + this.verEvento = value; + } + + /** + * Obtém o valor da propriedade detEvento. + * + * @return + * possible object is + * {@link TEvento.InfEvento.DetEvento } + * + */ + public TEvento.InfEvento.DetEvento getDetEvento() { + return detEvento; + } + + /** + * Define o valor da propriedade detEvento. + * + * @param value + * allowed object is + * {@link TEvento.InfEvento.DetEvento } + * + */ + public void setDetEvento(TEvento.InfEvento.DetEvento value) { + this.detEvento = value; + } + + /** + * Obtém o valor da propriedade id. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Define o valor da propriedade id. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + + + /** + *

Classe Java de anonymous complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="descEvento">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="Confirmacao de Internalizacao da Mercadoria na SUFRAMA"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="PINe">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <pattern value="[0-9]{1,9}"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="dVistoria" type="{http://www.portalfiscal.inf.br/nfe}TDateTimeUTC"/>
+         *         <element name="locVistoria">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *               <minLength value="5"/>
+         *               <maxLength value="60"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="postoVistoria">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *               <minLength value="5"/>
+         *               <maxLength value="60"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xHistorico">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="1024"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *       </sequence>
+         *       <attribute name="versao" use="required">
+         *         <simpleType>
+         *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *             <whiteSpace value="preserve"/>
+         *             <enumeration value="1.00"/>
+         *           </restriction>
+         *         </simpleType>
+         *       </attribute>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "descEvento", + "piNe", + "dVistoria", + "locVistoria", + "postoVistoria", + "xHistorico" + }) + public static class DetEvento { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String descEvento; + @XmlElement(name = "PINe", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String piNe; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String dVistoria; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String locVistoria; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String postoVistoria; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String xHistorico; + @XmlAttribute(name = "versao", required = true) + protected String versao; + + /** + * Obtém o valor da propriedade descEvento. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDescEvento() { + return descEvento; + } + + /** + * Define o valor da propriedade descEvento. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDescEvento(String value) { + this.descEvento = value; + } + + /** + * Obtém o valor da propriedade piNe. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPINe() { + return piNe; + } + + /** + * Define o valor da propriedade piNe. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPINe(String value) { + this.piNe = value; + } + + /** + * Obtém o valor da propriedade dVistoria. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDVistoria() { + return dVistoria; + } + + /** + * Define o valor da propriedade dVistoria. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDVistoria(String value) { + this.dVistoria = value; + } + + /** + * Obtém o valor da propriedade locVistoria. + * + * @return + * possible object is + * {@link String } + * + */ + public String getLocVistoria() { + return locVistoria; + } + + /** + * Define o valor da propriedade locVistoria. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setLocVistoria(String value) { + this.locVistoria = value; + } + + /** + * Obtém o valor da propriedade postoVistoria. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPostoVistoria() { + return postoVistoria; + } + + /** + * Define o valor da propriedade postoVistoria. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPostoVistoria(String value) { + this.postoVistoria = value; + } + + /** + * Obtém o valor da propriedade xHistorico. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXHistorico() { + return xHistorico; + } + + /** + * Define o valor da propriedade xHistorico. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXHistorico(String value) { + this.xHistorico = value; + } + + /** + * Obtém o valor da propriedade versao. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Define o valor da propriedade versao. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/TProcEvento.java b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/TProcEvento.java new file mode 100644 index 00000000..7e998bd7 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/TProcEvento.java @@ -0,0 +1,116 @@ + +package br.com.swconsultoria.nfe.schema.eventoSuframaInternaliza; + +import javax.xml.bind.annotation.*; + + +/** + * Tipo procEvento + * + *

Classe Java de TProcEvento complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TProcEvento">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="evento" type="{http://www.portalfiscal.inf.br/nfe}TEvento"/>
+ *         <element name="retEvento" type="{http://www.portalfiscal.inf.br/nfe}TretEvento"/>
+ *       </sequence>
+ *       <attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/nfe}TVerEvento" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TProcEvento", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "evento", + "retEvento" +}) +public class TProcEvento { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected TEvento evento; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected TretEvento retEvento; + @XmlAttribute(name = "versao", required = true) + protected String versao; + + /** + * Obtém o valor da propriedade evento. + * + * @return + * possible object is + * {@link TEvento } + * + */ + public TEvento getEvento() { + return evento; + } + + /** + * Define o valor da propriedade evento. + * + * @param value + * allowed object is + * {@link TEvento } + * + */ + public void setEvento(TEvento value) { + this.evento = value; + } + + /** + * Obtém o valor da propriedade retEvento. + * + * @return + * possible object is + * {@link TretEvento } + * + */ + public TretEvento getRetEvento() { + return retEvento; + } + + /** + * Define o valor da propriedade retEvento. + * + * @param value + * allowed object is + * {@link TretEvento } + * + */ + public void setRetEvento(TretEvento value) { + this.retEvento = value; + } + + /** + * Obtém o valor da propriedade versao. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Define o valor da propriedade versao. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/TRetEnvEvento.java b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/TRetEnvEvento.java new file mode 100644 index 00000000..bf33bf07 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/TRetEnvEvento.java @@ -0,0 +1,270 @@ + +package br.com.swconsultoria.nfe.schema.eventoSuframaInternaliza; + +import javax.xml.bind.annotation.*; +import java.util.ArrayList; +import java.util.List; + + +/** + * Tipo Retorno de Lote de Envio + * + *

Classe Java de TRetEnvEvento complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TRetEnvEvento">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="idLote">
+ *           <simpleType>
+ *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *               <whiteSpace value="preserve"/>
+ *               <pattern value="[0-9]{1,15}"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="tpAmb" type="{http://www.portalfiscal.inf.br/nfe}TAmb"/>
+ *         <element name="verAplic" type="{http://www.portalfiscal.inf.br/nfe}TVerAplic"/>
+ *         <element name="cOrgao" type="{http://www.portalfiscal.inf.br/nfe}TCOrgaoIBGE"/>
+ *         <element name="cStat" type="{http://www.portalfiscal.inf.br/nfe}TStat"/>
+ *         <element name="xMotivo" type="{http://www.portalfiscal.inf.br/nfe}TMotivo"/>
+ *         <element name="retEvento" type="{http://www.portalfiscal.inf.br/nfe}TretEvento" maxOccurs="20" minOccurs="0"/>
+ *       </sequence>
+ *       <attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/nfe}TVerEnvEvento" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TRetEnvEvento", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "idLote", + "tpAmb", + "verAplic", + "cOrgao", + "cStat", + "xMotivo", + "retEvento" +}) +public class TRetEnvEvento { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String idLote; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String tpAmb; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String verAplic; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cOrgao; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cStat; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String xMotivo; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected List retEvento; + @XmlAttribute(name = "versao", required = true) + protected String versao; + + /** + * Obtém o valor da propriedade idLote. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIdLote() { + return idLote; + } + + /** + * Define o valor da propriedade idLote. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIdLote(String value) { + this.idLote = value; + } + + /** + * Obtém o valor da propriedade tpAmb. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpAmb() { + return tpAmb; + } + + /** + * Define o valor da propriedade tpAmb. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpAmb(String value) { + this.tpAmb = value; + } + + /** + * Obtém o valor da propriedade verAplic. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVerAplic() { + return verAplic; + } + + /** + * Define o valor da propriedade verAplic. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVerAplic(String value) { + this.verAplic = value; + } + + /** + * Obtém o valor da propriedade cOrgao. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCOrgao() { + return cOrgao; + } + + /** + * Define o valor da propriedade cOrgao. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCOrgao(String value) { + this.cOrgao = value; + } + + /** + * Obtém o valor da propriedade cStat. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCStat() { + return cStat; + } + + /** + * Define o valor da propriedade cStat. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCStat(String value) { + this.cStat = value; + } + + /** + * Obtém o valor da propriedade xMotivo. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMotivo() { + return xMotivo; + } + + /** + * Define o valor da propriedade xMotivo. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMotivo(String value) { + this.xMotivo = value; + } + + /** + * Gets the value of the retEvento property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the retEvento property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getRetEvento().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TretEvento } + * + * + */ + public List getRetEvento() { + if (retEvento == null) { + retEvento = new ArrayList(); + } + return this.retEvento; + } + + /** + * Obtém o valor da propriedade versao. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Define o valor da propriedade versao. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/TUf.java b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/TUf.java new file mode 100644 index 00000000..298a3aaa --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/TUf.java @@ -0,0 +1,91 @@ + +package br.com.swconsultoria.nfe.schema.eventoSuframaInternaliza; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Classe Java de TUf. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + *

+ *

+ * <simpleType name="TUf">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <whiteSpace value="preserve"/>
+ *     <enumeration value="AC"/>
+ *     <enumeration value="AL"/>
+ *     <enumeration value="AM"/>
+ *     <enumeration value="AP"/>
+ *     <enumeration value="BA"/>
+ *     <enumeration value="CE"/>
+ *     <enumeration value="DF"/>
+ *     <enumeration value="ES"/>
+ *     <enumeration value="GO"/>
+ *     <enumeration value="MA"/>
+ *     <enumeration value="MG"/>
+ *     <enumeration value="MS"/>
+ *     <enumeration value="MT"/>
+ *     <enumeration value="PA"/>
+ *     <enumeration value="PB"/>
+ *     <enumeration value="PE"/>
+ *     <enumeration value="PI"/>
+ *     <enumeration value="PR"/>
+ *     <enumeration value="RJ"/>
+ *     <enumeration value="RN"/>
+ *     <enumeration value="RO"/>
+ *     <enumeration value="RR"/>
+ *     <enumeration value="RS"/>
+ *     <enumeration value="SC"/>
+ *     <enumeration value="SE"/>
+ *     <enumeration value="SP"/>
+ *     <enumeration value="TO"/>
+ *     <enumeration value="EX"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "TUf", namespace = "http://www.portalfiscal.inf.br/nfe") +@XmlEnum +public enum TUf { + + AC, + AL, + AM, + AP, + BA, + CE, + DF, + ES, + GO, + MA, + MG, + MS, + MT, + PA, + PB, + PE, + PI, + PR, + RJ, + RN, + RO, + RR, + RS, + SC, + SE, + SP, + TO, + EX; + + public String value() { + return name(); + } + + public static TUf fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/TUfEmi.java b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/TUfEmi.java new file mode 100644 index 00000000..63d02428 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/TUfEmi.java @@ -0,0 +1,89 @@ + +package br.com.swconsultoria.nfe.schema.eventoSuframaInternaliza; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Classe Java de TUfEmi. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + *

+ *

+ * <simpleType name="TUfEmi">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <whiteSpace value="preserve"/>
+ *     <enumeration value="AC"/>
+ *     <enumeration value="AL"/>
+ *     <enumeration value="AM"/>
+ *     <enumeration value="AP"/>
+ *     <enumeration value="BA"/>
+ *     <enumeration value="CE"/>
+ *     <enumeration value="DF"/>
+ *     <enumeration value="ES"/>
+ *     <enumeration value="GO"/>
+ *     <enumeration value="MA"/>
+ *     <enumeration value="MG"/>
+ *     <enumeration value="MS"/>
+ *     <enumeration value="MT"/>
+ *     <enumeration value="PA"/>
+ *     <enumeration value="PB"/>
+ *     <enumeration value="PE"/>
+ *     <enumeration value="PI"/>
+ *     <enumeration value="PR"/>
+ *     <enumeration value="RJ"/>
+ *     <enumeration value="RN"/>
+ *     <enumeration value="RO"/>
+ *     <enumeration value="RR"/>
+ *     <enumeration value="RS"/>
+ *     <enumeration value="SC"/>
+ *     <enumeration value="SE"/>
+ *     <enumeration value="SP"/>
+ *     <enumeration value="TO"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "TUfEmi", namespace = "http://www.portalfiscal.inf.br/nfe") +@XmlEnum +public enum TUfEmi { + + AC, + AL, + AM, + AP, + BA, + CE, + DF, + ES, + GO, + MA, + MG, + MS, + MT, + PA, + PB, + PE, + PI, + PR, + RJ, + RN, + RO, + RR, + RS, + SC, + SE, + SP, + TO; + + public String value() { + return name(); + } + + public static TUfEmi fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/TransformType.java b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/TransformType.java new file mode 100644 index 00000000..57d26455 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/TransformType.java @@ -0,0 +1,93 @@ + +package br.com.swconsultoria.nfe.schema.eventoSuframaInternaliza; + +import javax.xml.bind.annotation.*; +import java.util.ArrayList; +import java.util.List; + + +/** + *

Classe Java de TransformType complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TransformType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence maxOccurs="unbounded" minOccurs="0">
+ *         <element name="XPath" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *       </sequence>
+ *       <attribute name="Algorithm" use="required" type="{http://www.w3.org/2000/09/xmldsig#}TTransformURI" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TransformType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = { + "xPath" +}) +public class TransformType { + + @XmlElement(name = "XPath", namespace = "http://www.w3.org/2000/09/xmldsig#") + protected List xPath; + @XmlAttribute(name = "Algorithm", required = true) + protected String algorithm; + + /** + * Gets the value of the xPath property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the xPath property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getXPath().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List getXPath() { + if (xPath == null) { + xPath = new ArrayList(); + } + return this.xPath; + } + + /** + * Obtém o valor da propriedade algorithm. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + return algorithm; + } + + /** + * Define o valor da propriedade algorithm. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/TransformsType.java b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/TransformsType.java new file mode 100644 index 00000000..4cdbfc62 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/TransformsType.java @@ -0,0 +1,69 @@ + +package br.com.swconsultoria.nfe.schema.eventoSuframaInternaliza; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import java.util.ArrayList; +import java.util.List; + + +/** + *

Classe Java de TransformsType complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TransformsType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="Transform" type="{http://www.w3.org/2000/09/xmldsig#}TransformType" maxOccurs="2" minOccurs="2"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TransformsType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = { + "transform" +}) +public class TransformsType { + + @XmlElement(name = "Transform", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected List transform; + + /** + * Gets the value of the transform property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the transform property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getTransform().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TransformType } + * + * + */ + public List getTransform() { + if (transform == null) { + transform = new ArrayList(); + } + return this.transform; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/TretEvento.java b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/TretEvento.java new file mode 100644 index 00000000..de7e7017 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/TretEvento.java @@ -0,0 +1,676 @@ + +package br.com.swconsultoria.nfe.schema.eventoSuframaInternaliza; + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * Tipo retorno do Evento + * + *

Classe Java de TretEvento complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TretEvento">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="infEvento">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="tpAmb" type="{http://www.portalfiscal.inf.br/nfe}TAmb"/>
+ *                   <element name="verAplic" type="{http://www.portalfiscal.inf.br/nfe}TVerAplic"/>
+ *                   <element name="cOrgao" type="{http://www.portalfiscal.inf.br/nfe}TCOrgaoIBGE"/>
+ *                   <element name="cStat" type="{http://www.portalfiscal.inf.br/nfe}TStat"/>
+ *                   <element name="xMotivo" type="{http://www.portalfiscal.inf.br/nfe}TMotivo"/>
+ *                   <element name="chNFe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe" minOccurs="0"/>
+ *                   <element name="tpEvento" minOccurs="0">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <pattern value="[0-9]{6}"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="xEvento" minOccurs="0">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                         <minLength value="5"/>
+ *                         <maxLength value="60"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="nSeqEvento" minOccurs="0">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <pattern value="[1-9][0-9]{0,1}"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <choice minOccurs="0">
+ *                     <element name="CNPJDest" type="{http://www.portalfiscal.inf.br/nfe}TCnpjOpc"/>
+ *                     <element name="CPFDest" type="{http://www.portalfiscal.inf.br/nfe}TCpf"/>
+ *                   </choice>
+ *                   <element name="emailDest" minOccurs="0">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                         <minLength value="1"/>
+ *                         <maxLength value="60"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="dhRegEvento">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <pattern value="(((20(([02468][048])|([13579][26]))-02-29))|(20[0-9][0-9])-((((0[1-9])|(1[0-2]))-((0[1-9])|(1\d)|(2[0-8])))|((((0[13578])|(1[02]))-31)|(((0[1,3-9])|(1[0-2]))-(29|30)))))T(20|21|22|23|[0-1]\d):[0-5]\d:[0-5]\d-0[1-4]:00"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="nProt" type="{http://www.portalfiscal.inf.br/nfe}TProt" minOccurs="0"/>
+ *                 </sequence>
+ *                 <attribute name="Id">
+ *                   <simpleType>
+ *                     <restriction base="{http://www.w3.org/2001/XMLSchema}ID">
+ *                       <pattern value="ID[0-9]{15}"/>
+ *                     </restriction>
+ *                   </simpleType>
+ *                 </attribute>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature" minOccurs="0"/>
+ *       </sequence>
+ *       <attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/nfe}TVerEvento" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TretEvento", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "infEvento", + "signature" +}) +public class TretEvento { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected TretEvento.InfEvento infEvento; + @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#") + protected SignatureType signature; + @XmlAttribute(name = "versao", required = true) + protected String versao; + + /** + * Obtém o valor da propriedade infEvento. + * + * @return + * possible object is + * {@link TretEvento.InfEvento } + * + */ + public TretEvento.InfEvento getInfEvento() { + return infEvento; + } + + /** + * Define o valor da propriedade infEvento. + * + * @param value + * allowed object is + * {@link TretEvento.InfEvento } + * + */ + public void setInfEvento(TretEvento.InfEvento value) { + this.infEvento = value; + } + + /** + * Obtém o valor da propriedade signature. + * + * @return + * possible object is + * {@link SignatureType } + * + */ + public SignatureType getSignature() { + return signature; + } + + /** + * Define o valor da propriedade signature. + * + * @param value + * allowed object is + * {@link SignatureType } + * + */ + public void setSignature(SignatureType value) { + this.signature = value; + } + + /** + * Obtém o valor da propriedade versao. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Define o valor da propriedade versao. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + + + /** + *

Classe Java de anonymous complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="tpAmb" type="{http://www.portalfiscal.inf.br/nfe}TAmb"/>
+     *         <element name="verAplic" type="{http://www.portalfiscal.inf.br/nfe}TVerAplic"/>
+     *         <element name="cOrgao" type="{http://www.portalfiscal.inf.br/nfe}TCOrgaoIBGE"/>
+     *         <element name="cStat" type="{http://www.portalfiscal.inf.br/nfe}TStat"/>
+     *         <element name="xMotivo" type="{http://www.portalfiscal.inf.br/nfe}TMotivo"/>
+     *         <element name="chNFe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe" minOccurs="0"/>
+     *         <element name="tpEvento" minOccurs="0">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <pattern value="[0-9]{6}"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="xEvento" minOccurs="0">
+     *           <simpleType>
+     *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *               <minLength value="5"/>
+     *               <maxLength value="60"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="nSeqEvento" minOccurs="0">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <pattern value="[1-9][0-9]{0,1}"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <choice minOccurs="0">
+     *           <element name="CNPJDest" type="{http://www.portalfiscal.inf.br/nfe}TCnpjOpc"/>
+     *           <element name="CPFDest" type="{http://www.portalfiscal.inf.br/nfe}TCpf"/>
+     *         </choice>
+     *         <element name="emailDest" minOccurs="0">
+     *           <simpleType>
+     *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *               <minLength value="1"/>
+     *               <maxLength value="60"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="dhRegEvento">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <pattern value="(((20(([02468][048])|([13579][26]))-02-29))|(20[0-9][0-9])-((((0[1-9])|(1[0-2]))-((0[1-9])|(1\d)|(2[0-8])))|((((0[13578])|(1[02]))-31)|(((0[1,3-9])|(1[0-2]))-(29|30)))))T(20|21|22|23|[0-1]\d):[0-5]\d:[0-5]\d-0[1-4]:00"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="nProt" type="{http://www.portalfiscal.inf.br/nfe}TProt" minOccurs="0"/>
+     *       </sequence>
+     *       <attribute name="Id">
+     *         <simpleType>
+     *           <restriction base="{http://www.w3.org/2001/XMLSchema}ID">
+     *             <pattern value="ID[0-9]{15}"/>
+     *           </restriction>
+     *         </simpleType>
+     *       </attribute>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "tpAmb", + "verAplic", + "cOrgao", + "cStat", + "xMotivo", + "chNFe", + "tpEvento", + "xEvento", + "nSeqEvento", + "cnpjDest", + "cpfDest", + "emailDest", + "dhRegEvento", + "nProt" + }) + public static class InfEvento { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String tpAmb; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String verAplic; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cOrgao; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cStat; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String xMotivo; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String chNFe; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String tpEvento; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String xEvento; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String nSeqEvento; + @XmlElement(name = "CNPJDest", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cnpjDest; + @XmlElement(name = "CPFDest", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cpfDest; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String emailDest; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String dhRegEvento; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String nProt; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + protected String id; + + /** + * Obtém o valor da propriedade tpAmb. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpAmb() { + return tpAmb; + } + + /** + * Define o valor da propriedade tpAmb. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpAmb(String value) { + this.tpAmb = value; + } + + /** + * Obtém o valor da propriedade verAplic. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVerAplic() { + return verAplic; + } + + /** + * Define o valor da propriedade verAplic. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVerAplic(String value) { + this.verAplic = value; + } + + /** + * Obtém o valor da propriedade cOrgao. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCOrgao() { + return cOrgao; + } + + /** + * Define o valor da propriedade cOrgao. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCOrgao(String value) { + this.cOrgao = value; + } + + /** + * Obtém o valor da propriedade cStat. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCStat() { + return cStat; + } + + /** + * Define o valor da propriedade cStat. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCStat(String value) { + this.cStat = value; + } + + /** + * Obtém o valor da propriedade xMotivo. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMotivo() { + return xMotivo; + } + + /** + * Define o valor da propriedade xMotivo. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMotivo(String value) { + this.xMotivo = value; + } + + /** + * Obtém o valor da propriedade chNFe. + * + * @return + * possible object is + * {@link String } + * + */ + public String getChNFe() { + return chNFe; + } + + /** + * Define o valor da propriedade chNFe. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setChNFe(String value) { + this.chNFe = value; + } + + /** + * Obtém o valor da propriedade tpEvento. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpEvento() { + return tpEvento; + } + + /** + * Define o valor da propriedade tpEvento. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpEvento(String value) { + this.tpEvento = value; + } + + /** + * Obtém o valor da propriedade xEvento. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXEvento() { + return xEvento; + } + + /** + * Define o valor da propriedade xEvento. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXEvento(String value) { + this.xEvento = value; + } + + /** + * Obtém o valor da propriedade nSeqEvento. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNSeqEvento() { + return nSeqEvento; + } + + /** + * Define o valor da propriedade nSeqEvento. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNSeqEvento(String value) { + this.nSeqEvento = value; + } + + /** + * Obtém o valor da propriedade cnpjDest. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJDest() { + return cnpjDest; + } + + /** + * Define o valor da propriedade cnpjDest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJDest(String value) { + this.cnpjDest = value; + } + + /** + * Obtém o valor da propriedade cpfDest. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPFDest() { + return cpfDest; + } + + /** + * Define o valor da propriedade cpfDest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPFDest(String value) { + this.cpfDest = value; + } + + /** + * Obtém o valor da propriedade emailDest. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEmailDest() { + return emailDest; + } + + /** + * Define o valor da propriedade emailDest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEmailDest(String value) { + this.emailDest = value; + } + + /** + * Obtém o valor da propriedade dhRegEvento. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDhRegEvento() { + return dhRegEvento; + } + + /** + * Define o valor da propriedade dhRegEvento. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDhRegEvento(String value) { + this.dhRegEvento = value; + } + + /** + * Obtém o valor da propriedade nProt. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNProt() { + return nProt; + } + + /** + * Define o valor da propriedade nProt. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNProt(String value) { + this.nProt = value; + } + + /** + * Obtém o valor da propriedade id. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Define o valor da propriedade id. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/X509DataType.java b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/X509DataType.java new file mode 100644 index 00000000..b1c4c0a4 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaInternaliza/X509DataType.java @@ -0,0 +1,60 @@ + +package br.com.swconsultoria.nfe.schema.eventoSuframaInternaliza; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Classe Java de X509DataType complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="X509DataType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="X509Certificate" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "X509DataType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = { + "x509Certificate" +}) +public class X509DataType { + + @XmlElement(name = "X509Certificate", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected byte[] x509Certificate; + + /** + * Obtém o valor da propriedade x509Certificate. + * + * @return + * possible object is + * byte[] + */ + public byte[] getX509Certificate() { + return x509Certificate; + } + + /** + * Define o valor da propriedade x509Certificate. + * + * @param value + * allowed object is + * byte[] + */ + public void setX509Certificate(byte[] value) { + this.x509Certificate = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/Ctg.java b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/Ctg.java new file mode 100644 index 00000000..d298b1f1 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/Ctg.java @@ -0,0 +1,287 @@ + +package br.com.swconsultoria.nfe.schema.eventoSuframaVistoria; + +import javax.xml.bind.annotation.*; + + +/** + *

Classe Java de anonymous complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element ref="{http://www.portalfiscal.inf.br/nfe}nFormSeg" minOccurs="0"/>
+ *         <element ref="{http://www.portalfiscal.inf.br/nfe}UFDest"/>
+ *         <element ref="{http://www.portalfiscal.inf.br/nfe}tpEmis"/>
+ *         <choice>
+ *           <element ref="{http://www.portalfiscal.inf.br/nfe}CNPJDest"/>
+ *           <element ref="{http://www.portalfiscal.inf.br/nfe}CPFDest"/>
+ *         </choice>
+ *         <element ref="{http://www.portalfiscal.inf.br/nfe}vTotalNFe"/>
+ *         <element ref="{http://www.portalfiscal.inf.br/nfe}indICMS"/>
+ *         <element ref="{http://www.portalfiscal.inf.br/nfe}indICMSST"/>
+ *         <element ref="{http://www.portalfiscal.inf.br/nfe}diaEmi"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "nFormSeg", + "ufDest", + "tpEmis", + "cnpjDest", + "cpfDest", + "vTotalNFe", + "indICMS", + "indICMSST", + "diaEmi" +}) +@XmlRootElement(name = "ctg", namespace = "http://www.portalfiscal.inf.br/nfe") +public class Ctg { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String nFormSeg; + @XmlElement(name = "UFDest", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + @XmlSchemaType(name = "string") + protected TUf ufDest; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String tpEmis; + @XmlElement(name = "CNPJDest", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cnpjDest; + @XmlElement(name = "CPFDest", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cpfDest; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vTotalNFe; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String indICMS; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String indICMSST; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String diaEmi; + + /** + * Obtém o valor da propriedade nFormSeg. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNFormSeg() { + return nFormSeg; + } + + /** + * Define o valor da propriedade nFormSeg. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNFormSeg(String value) { + this.nFormSeg = value; + } + + /** + * Obtém o valor da propriedade ufDest. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUFDest() { + return ufDest; + } + + /** + * Define o valor da propriedade ufDest. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUFDest(TUf value) { + this.ufDest = value; + } + + /** + * Obtém o valor da propriedade tpEmis. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpEmis() { + return tpEmis; + } + + /** + * Define o valor da propriedade tpEmis. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpEmis(String value) { + this.tpEmis = value; + } + + /** + * Obtém o valor da propriedade cnpjDest. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJDest() { + return cnpjDest; + } + + /** + * Define o valor da propriedade cnpjDest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJDest(String value) { + this.cnpjDest = value; + } + + /** + * Obtém o valor da propriedade cpfDest. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPFDest() { + return cpfDest; + } + + /** + * Define o valor da propriedade cpfDest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPFDest(String value) { + this.cpfDest = value; + } + + /** + * Obtém o valor da propriedade vTotalNFe. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVTotalNFe() { + return vTotalNFe; + } + + /** + * Define o valor da propriedade vTotalNFe. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVTotalNFe(String value) { + this.vTotalNFe = value; + } + + /** + * Obtém o valor da propriedade indICMS. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIndICMS() { + return indICMS; + } + + /** + * Define o valor da propriedade indICMS. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIndICMS(String value) { + this.indICMS = value; + } + + /** + * Obtém o valor da propriedade indICMSST. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIndICMSST() { + return indICMSST; + } + + /** + * Define o valor da propriedade indICMSST. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIndICMSST(String value) { + this.indICMSST = value; + } + + /** + * Obtém o valor da propriedade diaEmi. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDiaEmi() { + return diaEmi; + } + + /** + * Define o valor da propriedade diaEmi. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDiaEmi(String value) { + this.diaEmi = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/KeyInfoType.java b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/KeyInfoType.java new file mode 100644 index 00000000..eb7c0e4c --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/KeyInfoType.java @@ -0,0 +1,91 @@ + +package br.com.swconsultoria.nfe.schema.eventoSuframaVistoria; + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + *

Classe Java de KeyInfoType complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="KeyInfoType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="X509Data" type="{http://www.w3.org/2000/09/xmldsig#}X509DataType"/>
+ *       </sequence>
+ *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "KeyInfoType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = { + "x509Data" +}) +public class KeyInfoType { + + @XmlElement(name = "X509Data", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected X509DataType x509Data; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Obtém o valor da propriedade x509Data. + * + * @return + * possible object is + * {@link X509DataType } + * + */ + public X509DataType getX509Data() { + return x509Data; + } + + /** + * Define o valor da propriedade x509Data. + * + * @param value + * allowed object is + * {@link X509DataType } + * + */ + public void setX509Data(X509DataType value) { + this.x509Data = value; + } + + /** + * Obtém o valor da propriedade id. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Define o valor da propriedade id. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/ModalOutro.java b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/ModalOutro.java new file mode 100644 index 00000000..06eae405 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/ModalOutro.java @@ -0,0 +1,88 @@ + +package br.com.swconsultoria.nfe.schema.eventoSuframaVistoria; + +import javax.xml.bind.annotation.*; + + +/** + *

Classe Java de anonymous complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element ref="{http://www.portalfiscal.inf.br/nfe}tpModal"/>
+ *         <element ref="{http://www.portalfiscal.inf.br/nfe}xIdent" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "tpModal", + "xIdent" +}) +@XmlRootElement(name = "modalOutro", namespace = "http://www.portalfiscal.inf.br/nfe") +public class ModalOutro { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String tpModal; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String xIdent; + + /** + * Obtém o valor da propriedade tpModal. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpModal() { + return tpModal; + } + + /** + * Define o valor da propriedade tpModal. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpModal(String value) { + this.tpModal = value; + } + + /** + * Obtém o valor da propriedade xIdent. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXIdent() { + return xIdent; + } + + /** + * Define o valor da propriedade xIdent. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXIdent(String value) { + this.xIdent = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/ModalRodov.java b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/ModalRodov.java new file mode 100644 index 00000000..cd4bac64 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/ModalRodov.java @@ -0,0 +1,203 @@ + +package br.com.swconsultoria.nfe.schema.eventoSuframaVistoria; + +import javax.xml.bind.annotation.*; + + +/** + *

Classe Java de anonymous complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element ref="{http://www.portalfiscal.inf.br/nfe}placaVeic" minOccurs="0"/>
+ *         <element ref="{http://www.portalfiscal.inf.br/nfe}UFVeic" minOccurs="0"/>
+ *         <element ref="{http://www.portalfiscal.inf.br/nfe}placaCarreta" minOccurs="0"/>
+ *         <element ref="{http://www.portalfiscal.inf.br/nfe}UFCarreta" minOccurs="0"/>
+ *         <element ref="{http://www.portalfiscal.inf.br/nfe}placaCarreta2" minOccurs="0"/>
+ *         <element ref="{http://www.portalfiscal.inf.br/nfe}UFCarreta2" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "placaVeic", + "ufVeic", + "placaCarreta", + "ufCarreta", + "placaCarreta2", + "ufCarreta2" +}) +@XmlRootElement(name = "modalRodov", namespace = "http://www.portalfiscal.inf.br/nfe") +public class ModalRodov { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String placaVeic; + @XmlElement(name = "UFVeic", namespace = "http://www.portalfiscal.inf.br/nfe") + @XmlSchemaType(name = "string") + protected TUf ufVeic; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String placaCarreta; + @XmlElement(name = "UFCarreta", namespace = "http://www.portalfiscal.inf.br/nfe") + @XmlSchemaType(name = "string") + protected TUf ufCarreta; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String placaCarreta2; + @XmlElement(name = "UFCarreta2", namespace = "http://www.portalfiscal.inf.br/nfe") + @XmlSchemaType(name = "string") + protected TUf ufCarreta2; + + /** + * Obtém o valor da propriedade placaVeic. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPlacaVeic() { + return placaVeic; + } + + /** + * Define o valor da propriedade placaVeic. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPlacaVeic(String value) { + this.placaVeic = value; + } + + /** + * Obtém o valor da propriedade ufVeic. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUFVeic() { + return ufVeic; + } + + /** + * Define o valor da propriedade ufVeic. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUFVeic(TUf value) { + this.ufVeic = value; + } + + /** + * Obtém o valor da propriedade placaCarreta. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPlacaCarreta() { + return placaCarreta; + } + + /** + * Define o valor da propriedade placaCarreta. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPlacaCarreta(String value) { + this.placaCarreta = value; + } + + /** + * Obtém o valor da propriedade ufCarreta. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUFCarreta() { + return ufCarreta; + } + + /** + * Define o valor da propriedade ufCarreta. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUFCarreta(TUf value) { + this.ufCarreta = value; + } + + /** + * Obtém o valor da propriedade placaCarreta2. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPlacaCarreta2() { + return placaCarreta2; + } + + /** + * Define o valor da propriedade placaCarreta2. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPlacaCarreta2(String value) { + this.placaCarreta2 = value; + } + + /** + * Obtém o valor da propriedade ufCarreta2. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUFCarreta2() { + return ufCarreta2; + } + + /** + * Define o valor da propriedade ufCarreta2. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUFCarreta2(TUf value) { + this.ufCarreta2 = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/ObjectFactory.java b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/ObjectFactory.java new file mode 100644 index 00000000..781e6c96 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/ObjectFactory.java @@ -0,0 +1,687 @@ + +package br.com.swconsultoria.nfe.schema.eventoSuframaVistoria; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the br.com.swconsultoria.nfe.schema.eventoSuframaVistoria package. + *

An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _DescEvento_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "descEvento"); + private final static QName _COrgaoAutor_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "cOrgaoAutor"); + private final static QName _CPostoUF_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "cPostoUF"); + private final static QName _XPostoUF_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "xPostoUF"); + private final static QName _LatGPS_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "latGPS"); + private final static QName _LongGPS_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "longGPS"); + private final static QName _CPFOper_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "CPFOper"); + private final static QName _XNomeOper_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "xNomeOper"); + private final static QName _IndOffline_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "indOffline"); + private final static QName _DhPas_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "dhPas"); + private final static QName _SentidoVia_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "sentidoVia"); + private final static QName _IndRet_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "indRet"); + private final static QName _UFDest_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "UFDest"); + private final static QName _XObs_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "xObs"); + private final static QName _ChMDFe_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "chMDFe"); + private final static QName _ChCTe_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "chCTe"); + private final static QName _PlacaVeic_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "placaVeic"); + private final static QName _UFVeic_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "UFVeic"); + private final static QName _PlacaCarreta_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "placaCarreta"); + private final static QName _UFCarreta_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "UFCarreta"); + private final static QName _PlacaCarreta2_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "placaCarreta2"); + private final static QName _UFCarreta2_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "UFCarreta2"); + private final static QName _TpModal_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "tpModal"); + private final static QName _XIdent_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "xIdent"); + private final static QName _NFormSeg_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "nFormSeg"); + private final static QName _TpEmis_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "tpEmis"); + private final static QName _CNPJDest_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "CNPJDest"); + private final static QName _CPFDest_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "CPFDest"); + private final static QName _VTotalNFe_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "vTotalNFe"); + private final static QName _IndICMS_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "indICMS"); + private final static QName _IndICMSST_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "indICMSST"); + private final static QName _DiaEmi_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "diaEmi"); + private final static QName _Evento_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "evento"); + private final static QName _Signature_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Signature"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: br.com.swconsultoria.nfe.schema.eventoSuframaVistoria + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link ReferenceType } + * + */ + public ReferenceType createReferenceType() { + return new ReferenceType(); + } + + /** + * Create an instance of {@link SignedInfoType } + * + */ + public SignedInfoType createSignedInfoType() { + return new SignedInfoType(); + } + + /** + * Create an instance of {@link TretEvento } + * + */ + public TretEvento createTretEvento() { + return new TretEvento(); + } + + /** + * Create an instance of {@link TEvento } + * + */ + public TEvento createTEvento() { + return new TEvento(); + } + + /** + * Create an instance of {@link TEvento.InfEvento } + * + */ + public TEvento.InfEvento createTEventoInfEvento() { + return new TEvento.InfEvento(); + } + + /** + * Create an instance of {@link ModalRodov } + * + */ + public ModalRodov createModalRodov() { + return new ModalRodov(); + } + + /** + * Create an instance of {@link ModalOutro } + * + */ + public ModalOutro createModalOutro() { + return new ModalOutro(); + } + + /** + * Create an instance of {@link Ctg } + * + */ + public Ctg createCtg() { + return new Ctg(); + } + + /** + * Create an instance of {@link TEnvEvento } + * + */ + public TEnvEvento createTEnvEvento() { + return new TEnvEvento(); + } + + /** + * Create an instance of {@link TRetEnvEvento } + * + */ + public TRetEnvEvento createTRetEnvEvento() { + return new TRetEnvEvento(); + } + + /** + * Create an instance of {@link TProcEvento } + * + */ + public TProcEvento createTProcEvento() { + return new TProcEvento(); + } + + /** + * Create an instance of {@link SignatureType } + * + */ + public SignatureType createSignatureType() { + return new SignatureType(); + } + + /** + * Create an instance of {@link SignatureValueType } + * + */ + public SignatureValueType createSignatureValueType() { + return new SignatureValueType(); + } + + /** + * Create an instance of {@link TransformsType } + * + */ + public TransformsType createTransformsType() { + return new TransformsType(); + } + + /** + * Create an instance of {@link TransformType } + * + */ + public TransformType createTransformType() { + return new TransformType(); + } + + /** + * Create an instance of {@link KeyInfoType } + * + */ + public KeyInfoType createKeyInfoType() { + return new KeyInfoType(); + } + + /** + * Create an instance of {@link X509DataType } + * + */ + public X509DataType createX509DataType() { + return new X509DataType(); + } + + /** + * Create an instance of {@link ReferenceType.DigestMethod } + * + */ + public ReferenceType.DigestMethod createReferenceTypeDigestMethod() { + return new ReferenceType.DigestMethod(); + } + + /** + * Create an instance of {@link SignedInfoType.CanonicalizationMethod } + * + */ + public SignedInfoType.CanonicalizationMethod createSignedInfoTypeCanonicalizationMethod() { + return new SignedInfoType.CanonicalizationMethod(); + } + + /** + * Create an instance of {@link SignedInfoType.SignatureMethod } + * + */ + public SignedInfoType.SignatureMethod createSignedInfoTypeSignatureMethod() { + return new SignedInfoType.SignatureMethod(); + } + + /** + * Create an instance of {@link TretEvento.InfEvento } + * + */ + public TretEvento.InfEvento createTretEventoInfEvento() { + return new TretEvento.InfEvento(); + } + + /** + * Create an instance of {@link TEvento.InfEvento.DetEvento } + * + */ + public TEvento.InfEvento.DetEvento createTEventoInfEventoDetEvento() { + return new TEvento.InfEvento.DetEvento(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "descEvento") + public JAXBElement createDescEvento(String value) { + return new JAXBElement(_DescEvento_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "cOrgaoAutor") + public JAXBElement createCOrgaoAutor(String value) { + return new JAXBElement(_COrgaoAutor_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "cPostoUF") + public JAXBElement createCPostoUF(String value) { + return new JAXBElement(_CPostoUF_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "xPostoUF") + public JAXBElement createXPostoUF(String value) { + return new JAXBElement(_XPostoUF_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "latGPS") + public JAXBElement createLatGPS(String value) { + return new JAXBElement(_LatGPS_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "longGPS") + public JAXBElement createLongGPS(String value) { + return new JAXBElement(_LongGPS_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "CPFOper") + public JAXBElement createCPFOper(String value) { + return new JAXBElement(_CPFOper_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "xNomeOper") + public JAXBElement createXNomeOper(String value) { + return new JAXBElement(_XNomeOper_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "indOffline") + public JAXBElement createIndOffline(String value) { + return new JAXBElement(_IndOffline_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "dhPas") + public JAXBElement createDhPas(String value) { + return new JAXBElement(_DhPas_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "sentidoVia") + public JAXBElement createSentidoVia(String value) { + return new JAXBElement(_SentidoVia_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "indRet") + public JAXBElement createIndRet(String value) { + return new JAXBElement(_IndRet_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TUf }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link TUf }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "UFDest") + public JAXBElement createUFDest(TUf value) { + return new JAXBElement(_UFDest_QNAME, TUf.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "xObs") + public JAXBElement createXObs(String value) { + return new JAXBElement(_XObs_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "chMDFe") + public JAXBElement createChMDFe(String value) { + return new JAXBElement(_ChMDFe_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "chCTe") + public JAXBElement createChCTe(String value) { + return new JAXBElement(_ChCTe_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "placaVeic") + public JAXBElement createPlacaVeic(String value) { + return new JAXBElement(_PlacaVeic_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TUf }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link TUf }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "UFVeic") + public JAXBElement createUFVeic(TUf value) { + return new JAXBElement(_UFVeic_QNAME, TUf.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "placaCarreta") + public JAXBElement createPlacaCarreta(String value) { + return new JAXBElement(_PlacaCarreta_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TUf }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link TUf }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "UFCarreta") + public JAXBElement createUFCarreta(TUf value) { + return new JAXBElement(_UFCarreta_QNAME, TUf.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "placaCarreta2") + public JAXBElement createPlacaCarreta2(String value) { + return new JAXBElement(_PlacaCarreta2_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TUf }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link TUf }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "UFCarreta2") + public JAXBElement createUFCarreta2(TUf value) { + return new JAXBElement(_UFCarreta2_QNAME, TUf.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "tpModal") + public JAXBElement createTpModal(String value) { + return new JAXBElement(_TpModal_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "xIdent") + public JAXBElement createXIdent(String value) { + return new JAXBElement(_XIdent_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "nFormSeg") + public JAXBElement createNFormSeg(String value) { + return new JAXBElement(_NFormSeg_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "tpEmis") + public JAXBElement createTpEmis(String value) { + return new JAXBElement(_TpEmis_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "CNPJDest") + public JAXBElement createCNPJDest(String value) { + return new JAXBElement(_CNPJDest_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "CPFDest") + public JAXBElement createCPFDest(String value) { + return new JAXBElement(_CPFDest_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "vTotalNFe") + public JAXBElement createVTotalNFe(String value) { + return new JAXBElement(_VTotalNFe_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "indICMS") + public JAXBElement createIndICMS(String value) { + return new JAXBElement(_IndICMS_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "indICMSST") + public JAXBElement createIndICMSST(String value) { + return new JAXBElement(_IndICMSST_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "diaEmi") + public JAXBElement createDiaEmi(String value) { + return new JAXBElement(_DiaEmi_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TEvento }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link TEvento }{@code >} + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "evento") + public JAXBElement createEvento(TEvento value) { + return new JAXBElement(_Evento_QNAME, TEvento.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SignatureType }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link SignatureType }{@code >} + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Signature") + public JAXBElement createSignature(SignatureType value) { + return new JAXBElement(_Signature_QNAME, SignatureType.class, null, value); + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/ReferenceType.java b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/ReferenceType.java new file mode 100644 index 00000000..7133a4f4 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/ReferenceType.java @@ -0,0 +1,270 @@ + +package br.com.swconsultoria.nfe.schema.eventoSuframaVistoria; + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + *

Classe Java de ReferenceType complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="ReferenceType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="Transforms" type="{http://www.w3.org/2000/09/xmldsig#}TransformsType"/>
+ *         <element name="DigestMethod">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" fixed="http://www.w3.org/2000/09/xmldsig#sha1" />
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="DigestValue" type="{http://www.w3.org/2000/09/xmldsig#}DigestValueType"/>
+ *       </sequence>
+ *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ *       <attribute name="URI" use="required">
+ *         <simpleType>
+ *           <restriction base="{http://www.w3.org/2001/XMLSchema}anyURI">
+ *             <minLength value="2"/>
+ *           </restriction>
+ *         </simpleType>
+ *       </attribute>
+ *       <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ReferenceType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = { + "transforms", + "digestMethod", + "digestValue" +}) +public class ReferenceType { + + @XmlElement(name = "Transforms", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected TransformsType transforms; + @XmlElement(name = "DigestMethod", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected ReferenceType.DigestMethod digestMethod; + @XmlElement(name = "DigestValue", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected byte[] digestValue; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAttribute(name = "URI", required = true) + protected String uri; + @XmlAttribute(name = "Type") + @XmlSchemaType(name = "anyURI") + protected String type; + + /** + * Obtém o valor da propriedade transforms. + * + * @return + * possible object is + * {@link TransformsType } + * + */ + public TransformsType getTransforms() { + return transforms; + } + + /** + * Define o valor da propriedade transforms. + * + * @param value + * allowed object is + * {@link TransformsType } + * + */ + public void setTransforms(TransformsType value) { + this.transforms = value; + } + + /** + * Obtém o valor da propriedade digestMethod. + * + * @return + * possible object is + * {@link ReferenceType.DigestMethod } + * + */ + public ReferenceType.DigestMethod getDigestMethod() { + return digestMethod; + } + + /** + * Define o valor da propriedade digestMethod. + * + * @param value + * allowed object is + * {@link ReferenceType.DigestMethod } + * + */ + public void setDigestMethod(ReferenceType.DigestMethod value) { + this.digestMethod = value; + } + + /** + * Obtém o valor da propriedade digestValue. + * + * @return + * possible object is + * byte[] + */ + public byte[] getDigestValue() { + return digestValue; + } + + /** + * Define o valor da propriedade digestValue. + * + * @param value + * allowed object is + * byte[] + */ + public void setDigestValue(byte[] value) { + this.digestValue = value; + } + + /** + * Obtém o valor da propriedade id. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Define o valor da propriedade id. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + + /** + * Obtém o valor da propriedade uri. + * + * @return + * possible object is + * {@link String } + * + */ + public String getURI() { + return uri; + } + + /** + * Define o valor da propriedade uri. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setURI(String value) { + this.uri = value; + } + + /** + * Obtém o valor da propriedade type. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Define o valor da propriedade type. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + + /** + *

Classe Java de anonymous complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" fixed="http://www.w3.org/2000/09/xmldsig#sha1" />
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "") + public static class DigestMethod { + + @XmlAttribute(name = "Algorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String algorithm; + + /** + * Obtém o valor da propriedade algorithm. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + if (algorithm == null) { + return "http://www.w3.org/2000/09/xmldsig#sha1"; + } else { + return algorithm; + } + } + + /** + * Define o valor da propriedade algorithm. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/SignatureType.java b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/SignatureType.java new file mode 100644 index 00000000..0a8ec8f4 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/SignatureType.java @@ -0,0 +1,147 @@ + +package br.com.swconsultoria.nfe.schema.eventoSuframaVistoria; + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + *

Classe Java de SignatureType complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="SignatureType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="SignedInfo" type="{http://www.w3.org/2000/09/xmldsig#}SignedInfoType"/>
+ *         <element name="SignatureValue" type="{http://www.w3.org/2000/09/xmldsig#}SignatureValueType"/>
+ *         <element name="KeyInfo" type="{http://www.w3.org/2000/09/xmldsig#}KeyInfoType"/>
+ *       </sequence>
+ *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignatureType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = { + "signedInfo", + "signatureValue", + "keyInfo" +}) +public class SignatureType { + + @XmlElement(name = "SignedInfo", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected SignedInfoType signedInfo; + @XmlElement(name = "SignatureValue", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected SignatureValueType signatureValue; + @XmlElement(name = "KeyInfo", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected KeyInfoType keyInfo; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Obtém o valor da propriedade signedInfo. + * + * @return + * possible object is + * {@link SignedInfoType } + * + */ + public SignedInfoType getSignedInfo() { + return signedInfo; + } + + /** + * Define o valor da propriedade signedInfo. + * + * @param value + * allowed object is + * {@link SignedInfoType } + * + */ + public void setSignedInfo(SignedInfoType value) { + this.signedInfo = value; + } + + /** + * Obtém o valor da propriedade signatureValue. + * + * @return + * possible object is + * {@link SignatureValueType } + * + */ + public SignatureValueType getSignatureValue() { + return signatureValue; + } + + /** + * Define o valor da propriedade signatureValue. + * + * @param value + * allowed object is + * {@link SignatureValueType } + * + */ + public void setSignatureValue(SignatureValueType value) { + this.signatureValue = value; + } + + /** + * Obtém o valor da propriedade keyInfo. + * + * @return + * possible object is + * {@link KeyInfoType } + * + */ + public KeyInfoType getKeyInfo() { + return keyInfo; + } + + /** + * Define o valor da propriedade keyInfo. + * + * @param value + * allowed object is + * {@link KeyInfoType } + * + */ + public void setKeyInfo(KeyInfoType value) { + this.keyInfo = value; + } + + /** + * Obtém o valor da propriedade id. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Define o valor da propriedade id. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/SignatureValueType.java b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/SignatureValueType.java new file mode 100644 index 00000000..daa3c9f9 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/SignatureValueType.java @@ -0,0 +1,86 @@ + +package br.com.swconsultoria.nfe.schema.eventoSuframaVistoria; + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + *

Classe Java de SignatureValueType complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="SignatureValueType">
+ *   <simpleContent>
+ *     <extension base="<http://www.w3.org/2001/XMLSchema>base64Binary">
+ *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ *     </extension>
+ *   </simpleContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignatureValueType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = { + "value" +}) +public class SignatureValueType { + + @XmlValue + protected byte[] value; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Obtém o valor da propriedade value. + * + * @return + * possible object is + * byte[] + */ + public byte[] getValue() { + return value; + } + + /** + * Define o valor da propriedade value. + * + * @param value + * allowed object is + * byte[] + */ + public void setValue(byte[] value) { + this.value = value; + } + + /** + * Obtém o valor da propriedade id. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Define o valor da propriedade id. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/SignedInfoType.java b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/SignedInfoType.java new file mode 100644 index 00000000..fa75917b --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/SignedInfoType.java @@ -0,0 +1,275 @@ + +package br.com.swconsultoria.nfe.schema.eventoSuframaVistoria; + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + *

Classe Java de SignedInfoType complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="SignedInfoType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="CanonicalizationMethod">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" fixed="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="SignatureMethod">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" fixed="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="Reference" type="{http://www.w3.org/2000/09/xmldsig#}ReferenceType"/>
+ *       </sequence>
+ *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignedInfoType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = { + "canonicalizationMethod", + "signatureMethod", + "reference" +}) +public class SignedInfoType { + + @XmlElement(name = "CanonicalizationMethod", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected SignedInfoType.CanonicalizationMethod canonicalizationMethod; + @XmlElement(name = "SignatureMethod", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected SignedInfoType.SignatureMethod signatureMethod; + @XmlElement(name = "Reference", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected ReferenceType reference; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Obtém o valor da propriedade canonicalizationMethod. + * + * @return + * possible object is + * {@link SignedInfoType.CanonicalizationMethod } + * + */ + public SignedInfoType.CanonicalizationMethod getCanonicalizationMethod() { + return canonicalizationMethod; + } + + /** + * Define o valor da propriedade canonicalizationMethod. + * + * @param value + * allowed object is + * {@link SignedInfoType.CanonicalizationMethod } + * + */ + public void setCanonicalizationMethod(SignedInfoType.CanonicalizationMethod value) { + this.canonicalizationMethod = value; + } + + /** + * Obtém o valor da propriedade signatureMethod. + * + * @return + * possible object is + * {@link SignedInfoType.SignatureMethod } + * + */ + public SignedInfoType.SignatureMethod getSignatureMethod() { + return signatureMethod; + } + + /** + * Define o valor da propriedade signatureMethod. + * + * @param value + * allowed object is + * {@link SignedInfoType.SignatureMethod } + * + */ + public void setSignatureMethod(SignedInfoType.SignatureMethod value) { + this.signatureMethod = value; + } + + /** + * Obtém o valor da propriedade reference. + * + * @return + * possible object is + * {@link ReferenceType } + * + */ + public ReferenceType getReference() { + return reference; + } + + /** + * Define o valor da propriedade reference. + * + * @param value + * allowed object is + * {@link ReferenceType } + * + */ + public void setReference(ReferenceType value) { + this.reference = value; + } + + /** + * Obtém o valor da propriedade id. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Define o valor da propriedade id. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + + + /** + *

Classe Java de anonymous complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" fixed="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "") + public static class CanonicalizationMethod { + + @XmlAttribute(name = "Algorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String algorithm; + + /** + * Obtém o valor da propriedade algorithm. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + if (algorithm == null) { + return "http://www.w3.org/TR/2001/REC-xml-c14n-20010315"; + } else { + return algorithm; + } + } + + /** + * Define o valor da propriedade algorithm. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + + } + + + /** + *

Classe Java de anonymous complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" fixed="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "") + public static class SignatureMethod { + + @XmlAttribute(name = "Algorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String algorithm; + + /** + * Obtém o valor da propriedade algorithm. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + if (algorithm == null) { + return "http://www.w3.org/2000/09/xmldsig#rsa-sha1"; + } else { + return algorithm; + } + } + + /** + * Define o valor da propriedade algorithm. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/TEnvEvento.java b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/TEnvEvento.java new file mode 100644 index 00000000..637bfe5a --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/TEnvEvento.java @@ -0,0 +1,130 @@ + +package br.com.swconsultoria.nfe.schema.eventoSuframaVistoria; + +import javax.xml.bind.annotation.*; +import java.util.ArrayList; +import java.util.List; + + +/** + * Tipo Lote de Envio + * + *

Classe Java de TEnvEvento complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TEnvEvento">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="idLote">
+ *           <simpleType>
+ *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *               <whiteSpace value="preserve"/>
+ *               <pattern value="[0-9]{1,15}"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="evento" type="{http://www.portalfiscal.inf.br/nfe}TEvento" maxOccurs="20"/>
+ *       </sequence>
+ *       <attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/nfe}TVerEnvEvento" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TEnvEvento", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "idLote", + "evento" +}) +public class TEnvEvento { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String idLote; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected List evento; + @XmlAttribute(name = "versao", required = true) + protected String versao; + + /** + * Obtém o valor da propriedade idLote. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIdLote() { + return idLote; + } + + /** + * Define o valor da propriedade idLote. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIdLote(String value) { + this.idLote = value; + } + + /** + * Gets the value of the evento property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the evento property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getEvento().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TEvento } + * + * + */ + public List getEvento() { + if (evento == null) { + evento = new ArrayList(); + } + return this.evento; + } + + /** + * Obtém o valor da propriedade versao. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Define o valor da propriedade versao. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/TEvento.java b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/TEvento.java new file mode 100644 index 00000000..78eda148 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/TEvento.java @@ -0,0 +1,935 @@ + +package br.com.swconsultoria.nfe.schema.eventoSuframaVistoria; + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * Tipo Evento + * + *

Classe Java de TEvento complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TEvento">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="infEvento">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="cOrgao" type="{http://www.portalfiscal.inf.br/nfe}TCOrgaoIBGE"/>
+ *                   <element name="tpAmb" type="{http://www.portalfiscal.inf.br/nfe}TAmb"/>
+ *                   <choice>
+ *                     <element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpjOpc"/>
+ *                     <element name="CPF" type="{http://www.portalfiscal.inf.br/nfe}TCpf"/>
+ *                   </choice>
+ *                   <element name="chNFe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe"/>
+ *                   <element name="dhEvento" type="{http://www.portalfiscal.inf.br/nfe}TDateTimeUTC"/>
+ *                   <element name="tpEvento">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <pattern value="[0-9]{6}"/>
+ *                         <enumeration value="990910"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="nSeqEvento">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <pattern value="[1-9]|[1][0-9]{0,1}|20"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="verEvento">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <enumeration value="1.00"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="detEvento">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="descEvento">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="Vistoria SUFRAMA"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="PINe">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <pattern value="[0-9]{1,9}"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="dVistoria">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <pattern value="(((20(([02468][048])|([13579][26]))-02-29))|(20[0-9][0-9])-((((0[1-9])|(1[0-2]))-((0[1-9])|(1\d)|(2[0-8])))|((((0[13578])|(1[02]))-31)|(((0[1,3-9])|(1[0-2]))-(29|30)))))T(20|21|22|23|[0-1]\d):[0-5]\d:[0-5]\d-0[1-4]:00"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="locVistoria">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                   <minLength value="5"/>
+ *                                   <maxLength value="60"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="postoVistoria">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                   <minLength value="5"/>
+ *                                   <maxLength value="60"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xHistorico">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="1024"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                           </sequence>
+ *                           <attribute name="versao" use="required">
+ *                             <simpleType>
+ *                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                 <whiteSpace value="preserve"/>
+ *                                 <enumeration value="1.00"/>
+ *                               </restriction>
+ *                             </simpleType>
+ *                           </attribute>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                 </sequence>
+ *                 <attribute name="Id" use="required">
+ *                   <simpleType>
+ *                     <restriction base="{http://www.w3.org/2001/XMLSchema}ID">
+ *                       <pattern value="ID[0-9]{52}"/>
+ *                     </restriction>
+ *                   </simpleType>
+ *                 </attribute>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature"/>
+ *       </sequence>
+ *       <attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/nfe}TVerEvento" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TEvento", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "infEvento", + "signature" +}) +public class TEvento { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected TEvento.InfEvento infEvento; + @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected SignatureType signature; + @XmlAttribute(name = "versao", required = true) + protected String versao; + + /** + * Obtém o valor da propriedade infEvento. + * + * @return + * possible object is + * {@link TEvento.InfEvento } + * + */ + public TEvento.InfEvento getInfEvento() { + return infEvento; + } + + /** + * Define o valor da propriedade infEvento. + * + * @param value + * allowed object is + * {@link TEvento.InfEvento } + * + */ + public void setInfEvento(TEvento.InfEvento value) { + this.infEvento = value; + } + + /** + * Obtém o valor da propriedade signature. + * + * @return + * possible object is + * {@link SignatureType } + * + */ + public SignatureType getSignature() { + return signature; + } + + /** + * Define o valor da propriedade signature. + * + * @param value + * allowed object is + * {@link SignatureType } + * + */ + public void setSignature(SignatureType value) { + this.signature = value; + } + + /** + * Obtém o valor da propriedade versao. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Define o valor da propriedade versao. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + + + /** + *

Classe Java de anonymous complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="cOrgao" type="{http://www.portalfiscal.inf.br/nfe}TCOrgaoIBGE"/>
+     *         <element name="tpAmb" type="{http://www.portalfiscal.inf.br/nfe}TAmb"/>
+     *         <choice>
+     *           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpjOpc"/>
+     *           <element name="CPF" type="{http://www.portalfiscal.inf.br/nfe}TCpf"/>
+     *         </choice>
+     *         <element name="chNFe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe"/>
+     *         <element name="dhEvento" type="{http://www.portalfiscal.inf.br/nfe}TDateTimeUTC"/>
+     *         <element name="tpEvento">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <pattern value="[0-9]{6}"/>
+     *               <enumeration value="990910"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="nSeqEvento">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <pattern value="[1-9]|[1][0-9]{0,1}|20"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="verEvento">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <enumeration value="1.00"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="detEvento">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="descEvento">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="Vistoria SUFRAMA"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="PINe">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <pattern value="[0-9]{1,9}"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="dVistoria">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <pattern value="(((20(([02468][048])|([13579][26]))-02-29))|(20[0-9][0-9])-((((0[1-9])|(1[0-2]))-((0[1-9])|(1\d)|(2[0-8])))|((((0[13578])|(1[02]))-31)|(((0[1,3-9])|(1[0-2]))-(29|30)))))T(20|21|22|23|[0-1]\d):[0-5]\d:[0-5]\d-0[1-4]:00"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="locVistoria">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                         <minLength value="5"/>
+     *                         <maxLength value="60"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="postoVistoria">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                         <minLength value="5"/>
+     *                         <maxLength value="60"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xHistorico">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="1024"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                 </sequence>
+     *                 <attribute name="versao" use="required">
+     *                   <simpleType>
+     *                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                       <whiteSpace value="preserve"/>
+     *                       <enumeration value="1.00"/>
+     *                     </restriction>
+     *                   </simpleType>
+     *                 </attribute>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *       </sequence>
+     *       <attribute name="Id" use="required">
+     *         <simpleType>
+     *           <restriction base="{http://www.w3.org/2001/XMLSchema}ID">
+     *             <pattern value="ID[0-9]{52}"/>
+     *           </restriction>
+     *         </simpleType>
+     *       </attribute>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cOrgao", + "tpAmb", + "cnpj", + "cpf", + "chNFe", + "dhEvento", + "tpEvento", + "nSeqEvento", + "verEvento", + "detEvento" + }) + public static class InfEvento { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cOrgao; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String tpAmb; + @XmlElement(name = "CNPJ", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cnpj; + @XmlElement(name = "CPF", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cpf; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String chNFe; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String dhEvento; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String tpEvento; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String nSeqEvento; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String verEvento; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected TEvento.InfEvento.DetEvento detEvento; + @XmlAttribute(name = "Id", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + protected String id; + + /** + * Obtém o valor da propriedade cOrgao. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCOrgao() { + return cOrgao; + } + + /** + * Define o valor da propriedade cOrgao. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCOrgao(String value) { + this.cOrgao = value; + } + + /** + * Obtém o valor da propriedade tpAmb. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpAmb() { + return tpAmb; + } + + /** + * Define o valor da propriedade tpAmb. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpAmb(String value) { + this.tpAmb = value; + } + + /** + * Obtém o valor da propriedade cnpj. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Define o valor da propriedade cnpj. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Obtém o valor da propriedade cpf. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPF() { + return cpf; + } + + /** + * Define o valor da propriedade cpf. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPF(String value) { + this.cpf = value; + } + + /** + * Obtém o valor da propriedade chNFe. + * + * @return + * possible object is + * {@link String } + * + */ + public String getChNFe() { + return chNFe; + } + + /** + * Define o valor da propriedade chNFe. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setChNFe(String value) { + this.chNFe = value; + } + + /** + * Obtém o valor da propriedade dhEvento. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDhEvento() { + return dhEvento; + } + + /** + * Define o valor da propriedade dhEvento. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDhEvento(String value) { + this.dhEvento = value; + } + + /** + * Obtém o valor da propriedade tpEvento. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpEvento() { + return tpEvento; + } + + /** + * Define o valor da propriedade tpEvento. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpEvento(String value) { + this.tpEvento = value; + } + + /** + * Obtém o valor da propriedade nSeqEvento. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNSeqEvento() { + return nSeqEvento; + } + + /** + * Define o valor da propriedade nSeqEvento. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNSeqEvento(String value) { + this.nSeqEvento = value; + } + + /** + * Obtém o valor da propriedade verEvento. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVerEvento() { + return verEvento; + } + + /** + * Define o valor da propriedade verEvento. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVerEvento(String value) { + this.verEvento = value; + } + + /** + * Obtém o valor da propriedade detEvento. + * + * @return + * possible object is + * {@link TEvento.InfEvento.DetEvento } + * + */ + public TEvento.InfEvento.DetEvento getDetEvento() { + return detEvento; + } + + /** + * Define o valor da propriedade detEvento. + * + * @param value + * allowed object is + * {@link TEvento.InfEvento.DetEvento } + * + */ + public void setDetEvento(TEvento.InfEvento.DetEvento value) { + this.detEvento = value; + } + + /** + * Obtém o valor da propriedade id. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Define o valor da propriedade id. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + + + /** + *

Classe Java de anonymous complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="descEvento">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="Vistoria SUFRAMA"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="PINe">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <pattern value="[0-9]{1,9}"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="dVistoria">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <pattern value="(((20(([02468][048])|([13579][26]))-02-29))|(20[0-9][0-9])-((((0[1-9])|(1[0-2]))-((0[1-9])|(1\d)|(2[0-8])))|((((0[13578])|(1[02]))-31)|(((0[1,3-9])|(1[0-2]))-(29|30)))))T(20|21|22|23|[0-1]\d):[0-5]\d:[0-5]\d-0[1-4]:00"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="locVistoria">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *               <minLength value="5"/>
+         *               <maxLength value="60"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="postoVistoria">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *               <minLength value="5"/>
+         *               <maxLength value="60"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xHistorico">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="1024"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *       </sequence>
+         *       <attribute name="versao" use="required">
+         *         <simpleType>
+         *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *             <whiteSpace value="preserve"/>
+         *             <enumeration value="1.00"/>
+         *           </restriction>
+         *         </simpleType>
+         *       </attribute>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "descEvento", + "piNe", + "dVistoria", + "locVistoria", + "postoVistoria", + "xHistorico" + }) + public static class DetEvento { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String descEvento; + @XmlElement(name = "PINe", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String piNe; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String dVistoria; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String locVistoria; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String postoVistoria; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String xHistorico; + @XmlAttribute(name = "versao", required = true) + protected String versao; + + /** + * Obtém o valor da propriedade descEvento. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDescEvento() { + return descEvento; + } + + /** + * Define o valor da propriedade descEvento. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDescEvento(String value) { + this.descEvento = value; + } + + /** + * Obtém o valor da propriedade piNe. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPINe() { + return piNe; + } + + /** + * Define o valor da propriedade piNe. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPINe(String value) { + this.piNe = value; + } + + /** + * Obtém o valor da propriedade dVistoria. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDVistoria() { + return dVistoria; + } + + /** + * Define o valor da propriedade dVistoria. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDVistoria(String value) { + this.dVistoria = value; + } + + /** + * Obtém o valor da propriedade locVistoria. + * + * @return + * possible object is + * {@link String } + * + */ + public String getLocVistoria() { + return locVistoria; + } + + /** + * Define o valor da propriedade locVistoria. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setLocVistoria(String value) { + this.locVistoria = value; + } + + /** + * Obtém o valor da propriedade postoVistoria. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPostoVistoria() { + return postoVistoria; + } + + /** + * Define o valor da propriedade postoVistoria. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPostoVistoria(String value) { + this.postoVistoria = value; + } + + /** + * Obtém o valor da propriedade xHistorico. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXHistorico() { + return xHistorico; + } + + /** + * Define o valor da propriedade xHistorico. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXHistorico(String value) { + this.xHistorico = value; + } + + /** + * Obtém o valor da propriedade versao. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Define o valor da propriedade versao. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/TProcEvento.java b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/TProcEvento.java new file mode 100644 index 00000000..8b7dead9 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/TProcEvento.java @@ -0,0 +1,116 @@ + +package br.com.swconsultoria.nfe.schema.eventoSuframaVistoria; + +import javax.xml.bind.annotation.*; + + +/** + * Tipo procEvento + * + *

Classe Java de TProcEvento complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TProcEvento">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="evento" type="{http://www.portalfiscal.inf.br/nfe}TEvento"/>
+ *         <element name="retEvento" type="{http://www.portalfiscal.inf.br/nfe}TretEvento"/>
+ *       </sequence>
+ *       <attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/nfe}TVerEvento" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TProcEvento", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "evento", + "retEvento" +}) +public class TProcEvento { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected TEvento evento; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected TretEvento retEvento; + @XmlAttribute(name = "versao", required = true) + protected String versao; + + /** + * Obtém o valor da propriedade evento. + * + * @return + * possible object is + * {@link TEvento } + * + */ + public TEvento getEvento() { + return evento; + } + + /** + * Define o valor da propriedade evento. + * + * @param value + * allowed object is + * {@link TEvento } + * + */ + public void setEvento(TEvento value) { + this.evento = value; + } + + /** + * Obtém o valor da propriedade retEvento. + * + * @return + * possible object is + * {@link TretEvento } + * + */ + public TretEvento getRetEvento() { + return retEvento; + } + + /** + * Define o valor da propriedade retEvento. + * + * @param value + * allowed object is + * {@link TretEvento } + * + */ + public void setRetEvento(TretEvento value) { + this.retEvento = value; + } + + /** + * Obtém o valor da propriedade versao. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Define o valor da propriedade versao. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/TRetEnvEvento.java b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/TRetEnvEvento.java new file mode 100644 index 00000000..5218dfca --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/TRetEnvEvento.java @@ -0,0 +1,270 @@ + +package br.com.swconsultoria.nfe.schema.eventoSuframaVistoria; + +import javax.xml.bind.annotation.*; +import java.util.ArrayList; +import java.util.List; + + +/** + * Tipo Retorno de Lote de Envio + * + *

Classe Java de TRetEnvEvento complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TRetEnvEvento">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="idLote">
+ *           <simpleType>
+ *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *               <whiteSpace value="preserve"/>
+ *               <pattern value="[0-9]{1,15}"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="tpAmb" type="{http://www.portalfiscal.inf.br/nfe}TAmb"/>
+ *         <element name="verAplic" type="{http://www.portalfiscal.inf.br/nfe}TVerAplic"/>
+ *         <element name="cOrgao" type="{http://www.portalfiscal.inf.br/nfe}TCOrgaoIBGE"/>
+ *         <element name="cStat" type="{http://www.portalfiscal.inf.br/nfe}TStat"/>
+ *         <element name="xMotivo" type="{http://www.portalfiscal.inf.br/nfe}TMotivo"/>
+ *         <element name="retEvento" type="{http://www.portalfiscal.inf.br/nfe}TretEvento" maxOccurs="20" minOccurs="0"/>
+ *       </sequence>
+ *       <attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/nfe}TVerEnvEvento" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TRetEnvEvento", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "idLote", + "tpAmb", + "verAplic", + "cOrgao", + "cStat", + "xMotivo", + "retEvento" +}) +public class TRetEnvEvento { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String idLote; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String tpAmb; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String verAplic; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cOrgao; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cStat; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String xMotivo; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected List retEvento; + @XmlAttribute(name = "versao", required = true) + protected String versao; + + /** + * Obtém o valor da propriedade idLote. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIdLote() { + return idLote; + } + + /** + * Define o valor da propriedade idLote. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIdLote(String value) { + this.idLote = value; + } + + /** + * Obtém o valor da propriedade tpAmb. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpAmb() { + return tpAmb; + } + + /** + * Define o valor da propriedade tpAmb. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpAmb(String value) { + this.tpAmb = value; + } + + /** + * Obtém o valor da propriedade verAplic. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVerAplic() { + return verAplic; + } + + /** + * Define o valor da propriedade verAplic. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVerAplic(String value) { + this.verAplic = value; + } + + /** + * Obtém o valor da propriedade cOrgao. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCOrgao() { + return cOrgao; + } + + /** + * Define o valor da propriedade cOrgao. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCOrgao(String value) { + this.cOrgao = value; + } + + /** + * Obtém o valor da propriedade cStat. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCStat() { + return cStat; + } + + /** + * Define o valor da propriedade cStat. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCStat(String value) { + this.cStat = value; + } + + /** + * Obtém o valor da propriedade xMotivo. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMotivo() { + return xMotivo; + } + + /** + * Define o valor da propriedade xMotivo. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMotivo(String value) { + this.xMotivo = value; + } + + /** + * Gets the value of the retEvento property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the retEvento property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getRetEvento().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TretEvento } + * + * + */ + public List getRetEvento() { + if (retEvento == null) { + retEvento = new ArrayList(); + } + return this.retEvento; + } + + /** + * Obtém o valor da propriedade versao. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Define o valor da propriedade versao. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/TUf.java b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/TUf.java new file mode 100644 index 00000000..96e62e95 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/TUf.java @@ -0,0 +1,91 @@ + +package br.com.swconsultoria.nfe.schema.eventoSuframaVistoria; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Classe Java de TUf. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + *

+ *

+ * <simpleType name="TUf">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <whiteSpace value="preserve"/>
+ *     <enumeration value="AC"/>
+ *     <enumeration value="AL"/>
+ *     <enumeration value="AM"/>
+ *     <enumeration value="AP"/>
+ *     <enumeration value="BA"/>
+ *     <enumeration value="CE"/>
+ *     <enumeration value="DF"/>
+ *     <enumeration value="ES"/>
+ *     <enumeration value="GO"/>
+ *     <enumeration value="MA"/>
+ *     <enumeration value="MG"/>
+ *     <enumeration value="MS"/>
+ *     <enumeration value="MT"/>
+ *     <enumeration value="PA"/>
+ *     <enumeration value="PB"/>
+ *     <enumeration value="PE"/>
+ *     <enumeration value="PI"/>
+ *     <enumeration value="PR"/>
+ *     <enumeration value="RJ"/>
+ *     <enumeration value="RN"/>
+ *     <enumeration value="RO"/>
+ *     <enumeration value="RR"/>
+ *     <enumeration value="RS"/>
+ *     <enumeration value="SC"/>
+ *     <enumeration value="SE"/>
+ *     <enumeration value="SP"/>
+ *     <enumeration value="TO"/>
+ *     <enumeration value="EX"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "TUf", namespace = "http://www.portalfiscal.inf.br/nfe") +@XmlEnum +public enum TUf { + + AC, + AL, + AM, + AP, + BA, + CE, + DF, + ES, + GO, + MA, + MG, + MS, + MT, + PA, + PB, + PE, + PI, + PR, + RJ, + RN, + RO, + RR, + RS, + SC, + SE, + SP, + TO, + EX; + + public String value() { + return name(); + } + + public static TUf fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/TUfEmi.java b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/TUfEmi.java new file mode 100644 index 00000000..c9929d81 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/TUfEmi.java @@ -0,0 +1,89 @@ + +package br.com.swconsultoria.nfe.schema.eventoSuframaVistoria; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Classe Java de TUfEmi. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + *

+ *

+ * <simpleType name="TUfEmi">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <whiteSpace value="preserve"/>
+ *     <enumeration value="AC"/>
+ *     <enumeration value="AL"/>
+ *     <enumeration value="AM"/>
+ *     <enumeration value="AP"/>
+ *     <enumeration value="BA"/>
+ *     <enumeration value="CE"/>
+ *     <enumeration value="DF"/>
+ *     <enumeration value="ES"/>
+ *     <enumeration value="GO"/>
+ *     <enumeration value="MA"/>
+ *     <enumeration value="MG"/>
+ *     <enumeration value="MS"/>
+ *     <enumeration value="MT"/>
+ *     <enumeration value="PA"/>
+ *     <enumeration value="PB"/>
+ *     <enumeration value="PE"/>
+ *     <enumeration value="PI"/>
+ *     <enumeration value="PR"/>
+ *     <enumeration value="RJ"/>
+ *     <enumeration value="RN"/>
+ *     <enumeration value="RO"/>
+ *     <enumeration value="RR"/>
+ *     <enumeration value="RS"/>
+ *     <enumeration value="SC"/>
+ *     <enumeration value="SE"/>
+ *     <enumeration value="SP"/>
+ *     <enumeration value="TO"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "TUfEmi", namespace = "http://www.portalfiscal.inf.br/nfe") +@XmlEnum +public enum TUfEmi { + + AC, + AL, + AM, + AP, + BA, + CE, + DF, + ES, + GO, + MA, + MG, + MS, + MT, + PA, + PB, + PE, + PI, + PR, + RJ, + RN, + RO, + RR, + RS, + SC, + SE, + SP, + TO; + + public String value() { + return name(); + } + + public static TUfEmi fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/TransformType.java b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/TransformType.java new file mode 100644 index 00000000..d46082cc --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/TransformType.java @@ -0,0 +1,93 @@ + +package br.com.swconsultoria.nfe.schema.eventoSuframaVistoria; + +import javax.xml.bind.annotation.*; +import java.util.ArrayList; +import java.util.List; + + +/** + *

Classe Java de TransformType complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TransformType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence maxOccurs="unbounded" minOccurs="0">
+ *         <element name="XPath" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *       </sequence>
+ *       <attribute name="Algorithm" use="required" type="{http://www.w3.org/2000/09/xmldsig#}TTransformURI" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TransformType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = { + "xPath" +}) +public class TransformType { + + @XmlElement(name = "XPath", namespace = "http://www.w3.org/2000/09/xmldsig#") + protected List xPath; + @XmlAttribute(name = "Algorithm", required = true) + protected String algorithm; + + /** + * Gets the value of the xPath property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the xPath property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getXPath().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List getXPath() { + if (xPath == null) { + xPath = new ArrayList(); + } + return this.xPath; + } + + /** + * Obtém o valor da propriedade algorithm. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + return algorithm; + } + + /** + * Define o valor da propriedade algorithm. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/TransformsType.java b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/TransformsType.java new file mode 100644 index 00000000..1087a7d0 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/TransformsType.java @@ -0,0 +1,69 @@ + +package br.com.swconsultoria.nfe.schema.eventoSuframaVistoria; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import java.util.ArrayList; +import java.util.List; + + +/** + *

Classe Java de TransformsType complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TransformsType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="Transform" type="{http://www.w3.org/2000/09/xmldsig#}TransformType" maxOccurs="2" minOccurs="2"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TransformsType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = { + "transform" +}) +public class TransformsType { + + @XmlElement(name = "Transform", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected List transform; + + /** + * Gets the value of the transform property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the transform property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getTransform().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TransformType } + * + * + */ + public List getTransform() { + if (transform == null) { + transform = new ArrayList(); + } + return this.transform; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/TretEvento.java b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/TretEvento.java new file mode 100644 index 00000000..72f9d015 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/TretEvento.java @@ -0,0 +1,676 @@ + +package br.com.swconsultoria.nfe.schema.eventoSuframaVistoria; + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * Tipo retorno do Evento + * + *

Classe Java de TretEvento complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TretEvento">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="infEvento">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="tpAmb" type="{http://www.portalfiscal.inf.br/nfe}TAmb"/>
+ *                   <element name="verAplic" type="{http://www.portalfiscal.inf.br/nfe}TVerAplic"/>
+ *                   <element name="cOrgao" type="{http://www.portalfiscal.inf.br/nfe}TCOrgaoIBGE"/>
+ *                   <element name="cStat" type="{http://www.portalfiscal.inf.br/nfe}TStat"/>
+ *                   <element name="xMotivo" type="{http://www.portalfiscal.inf.br/nfe}TMotivo"/>
+ *                   <element name="chNFe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe" minOccurs="0"/>
+ *                   <element name="tpEvento" minOccurs="0">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <pattern value="[0-9]{6}"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="xEvento" minOccurs="0">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                         <minLength value="5"/>
+ *                         <maxLength value="60"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="nSeqEvento" minOccurs="0">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <pattern value="[1-9][0-9]{0,1}"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <choice minOccurs="0">
+ *                     <element name="CNPJDest" type="{http://www.portalfiscal.inf.br/nfe}TCnpjOpc"/>
+ *                     <element name="CPFDest" type="{http://www.portalfiscal.inf.br/nfe}TCpf"/>
+ *                   </choice>
+ *                   <element name="emailDest" minOccurs="0">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                         <minLength value="1"/>
+ *                         <maxLength value="60"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="dhRegEvento">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <pattern value="(((20(([02468][048])|([13579][26]))-02-29))|(20[0-9][0-9])-((((0[1-9])|(1[0-2]))-((0[1-9])|(1\d)|(2[0-8])))|((((0[13578])|(1[02]))-31)|(((0[1,3-9])|(1[0-2]))-(29|30)))))T(20|21|22|23|[0-1]\d):[0-5]\d:[0-5]\d-0[1-4]:00"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="nProt" type="{http://www.portalfiscal.inf.br/nfe}TProt" minOccurs="0"/>
+ *                 </sequence>
+ *                 <attribute name="Id">
+ *                   <simpleType>
+ *                     <restriction base="{http://www.w3.org/2001/XMLSchema}ID">
+ *                       <pattern value="ID[0-9]{15}"/>
+ *                     </restriction>
+ *                   </simpleType>
+ *                 </attribute>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature" minOccurs="0"/>
+ *       </sequence>
+ *       <attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/nfe}TVerEvento" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TretEvento", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "infEvento", + "signature" +}) +public class TretEvento { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected TretEvento.InfEvento infEvento; + @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#") + protected SignatureType signature; + @XmlAttribute(name = "versao", required = true) + protected String versao; + + /** + * Obtém o valor da propriedade infEvento. + * + * @return + * possible object is + * {@link TretEvento.InfEvento } + * + */ + public TretEvento.InfEvento getInfEvento() { + return infEvento; + } + + /** + * Define o valor da propriedade infEvento. + * + * @param value + * allowed object is + * {@link TretEvento.InfEvento } + * + */ + public void setInfEvento(TretEvento.InfEvento value) { + this.infEvento = value; + } + + /** + * Obtém o valor da propriedade signature. + * + * @return + * possible object is + * {@link SignatureType } + * + */ + public SignatureType getSignature() { + return signature; + } + + /** + * Define o valor da propriedade signature. + * + * @param value + * allowed object is + * {@link SignatureType } + * + */ + public void setSignature(SignatureType value) { + this.signature = value; + } + + /** + * Obtém o valor da propriedade versao. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Define o valor da propriedade versao. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + + + /** + *

Classe Java de anonymous complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="tpAmb" type="{http://www.portalfiscal.inf.br/nfe}TAmb"/>
+     *         <element name="verAplic" type="{http://www.portalfiscal.inf.br/nfe}TVerAplic"/>
+     *         <element name="cOrgao" type="{http://www.portalfiscal.inf.br/nfe}TCOrgaoIBGE"/>
+     *         <element name="cStat" type="{http://www.portalfiscal.inf.br/nfe}TStat"/>
+     *         <element name="xMotivo" type="{http://www.portalfiscal.inf.br/nfe}TMotivo"/>
+     *         <element name="chNFe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe" minOccurs="0"/>
+     *         <element name="tpEvento" minOccurs="0">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <pattern value="[0-9]{6}"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="xEvento" minOccurs="0">
+     *           <simpleType>
+     *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *               <minLength value="5"/>
+     *               <maxLength value="60"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="nSeqEvento" minOccurs="0">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <pattern value="[1-9][0-9]{0,1}"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <choice minOccurs="0">
+     *           <element name="CNPJDest" type="{http://www.portalfiscal.inf.br/nfe}TCnpjOpc"/>
+     *           <element name="CPFDest" type="{http://www.portalfiscal.inf.br/nfe}TCpf"/>
+     *         </choice>
+     *         <element name="emailDest" minOccurs="0">
+     *           <simpleType>
+     *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *               <minLength value="1"/>
+     *               <maxLength value="60"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="dhRegEvento">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <pattern value="(((20(([02468][048])|([13579][26]))-02-29))|(20[0-9][0-9])-((((0[1-9])|(1[0-2]))-((0[1-9])|(1\d)|(2[0-8])))|((((0[13578])|(1[02]))-31)|(((0[1,3-9])|(1[0-2]))-(29|30)))))T(20|21|22|23|[0-1]\d):[0-5]\d:[0-5]\d-0[1-4]:00"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="nProt" type="{http://www.portalfiscal.inf.br/nfe}TProt" minOccurs="0"/>
+     *       </sequence>
+     *       <attribute name="Id">
+     *         <simpleType>
+     *           <restriction base="{http://www.w3.org/2001/XMLSchema}ID">
+     *             <pattern value="ID[0-9]{15}"/>
+     *           </restriction>
+     *         </simpleType>
+     *       </attribute>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "tpAmb", + "verAplic", + "cOrgao", + "cStat", + "xMotivo", + "chNFe", + "tpEvento", + "xEvento", + "nSeqEvento", + "cnpjDest", + "cpfDest", + "emailDest", + "dhRegEvento", + "nProt" + }) + public static class InfEvento { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String tpAmb; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String verAplic; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cOrgao; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cStat; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String xMotivo; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String chNFe; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String tpEvento; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String xEvento; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String nSeqEvento; + @XmlElement(name = "CNPJDest", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cnpjDest; + @XmlElement(name = "CPFDest", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cpfDest; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String emailDest; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String dhRegEvento; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String nProt; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + protected String id; + + /** + * Obtém o valor da propriedade tpAmb. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpAmb() { + return tpAmb; + } + + /** + * Define o valor da propriedade tpAmb. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpAmb(String value) { + this.tpAmb = value; + } + + /** + * Obtém o valor da propriedade verAplic. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVerAplic() { + return verAplic; + } + + /** + * Define o valor da propriedade verAplic. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVerAplic(String value) { + this.verAplic = value; + } + + /** + * Obtém o valor da propriedade cOrgao. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCOrgao() { + return cOrgao; + } + + /** + * Define o valor da propriedade cOrgao. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCOrgao(String value) { + this.cOrgao = value; + } + + /** + * Obtém o valor da propriedade cStat. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCStat() { + return cStat; + } + + /** + * Define o valor da propriedade cStat. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCStat(String value) { + this.cStat = value; + } + + /** + * Obtém o valor da propriedade xMotivo. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMotivo() { + return xMotivo; + } + + /** + * Define o valor da propriedade xMotivo. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMotivo(String value) { + this.xMotivo = value; + } + + /** + * Obtém o valor da propriedade chNFe. + * + * @return + * possible object is + * {@link String } + * + */ + public String getChNFe() { + return chNFe; + } + + /** + * Define o valor da propriedade chNFe. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setChNFe(String value) { + this.chNFe = value; + } + + /** + * Obtém o valor da propriedade tpEvento. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpEvento() { + return tpEvento; + } + + /** + * Define o valor da propriedade tpEvento. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpEvento(String value) { + this.tpEvento = value; + } + + /** + * Obtém o valor da propriedade xEvento. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXEvento() { + return xEvento; + } + + /** + * Define o valor da propriedade xEvento. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXEvento(String value) { + this.xEvento = value; + } + + /** + * Obtém o valor da propriedade nSeqEvento. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNSeqEvento() { + return nSeqEvento; + } + + /** + * Define o valor da propriedade nSeqEvento. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNSeqEvento(String value) { + this.nSeqEvento = value; + } + + /** + * Obtém o valor da propriedade cnpjDest. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJDest() { + return cnpjDest; + } + + /** + * Define o valor da propriedade cnpjDest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJDest(String value) { + this.cnpjDest = value; + } + + /** + * Obtém o valor da propriedade cpfDest. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPFDest() { + return cpfDest; + } + + /** + * Define o valor da propriedade cpfDest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPFDest(String value) { + this.cpfDest = value; + } + + /** + * Obtém o valor da propriedade emailDest. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEmailDest() { + return emailDest; + } + + /** + * Define o valor da propriedade emailDest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEmailDest(String value) { + this.emailDest = value; + } + + /** + * Obtém o valor da propriedade dhRegEvento. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDhRegEvento() { + return dhRegEvento; + } + + /** + * Define o valor da propriedade dhRegEvento. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDhRegEvento(String value) { + this.dhRegEvento = value; + } + + /** + * Obtém o valor da propriedade nProt. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNProt() { + return nProt; + } + + /** + * Define o valor da propriedade nProt. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNProt(String value) { + this.nProt = value; + } + + /** + * Obtém o valor da propriedade id. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Define o valor da propriedade id. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/X509DataType.java b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/X509DataType.java new file mode 100644 index 00000000..4150f014 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema/eventoSuframaVistoria/X509DataType.java @@ -0,0 +1,60 @@ + +package br.com.swconsultoria.nfe.schema.eventoSuframaVistoria; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Classe Java de X509DataType complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="X509DataType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="X509Certificate" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "X509DataType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = { + "x509Certificate" +}) +public class X509DataType { + + @XmlElement(name = "X509Certificate", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected byte[] x509Certificate; + + /** + * Obtém o valor da propriedade x509Certificate. + * + * @return + * possible object is + * byte[] + */ + public byte[] getX509Certificate() { + return x509Certificate; + } + + /** + * Define o valor da propriedade x509Certificate. + * + * @param value + * allowed object is + * byte[] + */ + public void setX509Certificate(byte[] value) { + this.x509Certificate = value; + } + +} From 82a3cdbc8e6e64b907685551b7e71081aea23187 Mon Sep 17 00:00:00 2001 From: SamuelOliveira Date: Sat, 20 Jan 2024 18:36:35 -0300 Subject: [PATCH 2/4] Atualizado GitActions --- .github/workflows/docs.yml | 4 ++-- .github/workflows/release.yml | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 992b5ae1..1137efcc 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -3,8 +3,8 @@ name: Publish docs via GitHub Pages on: workflow_dispatch: push: - branches: - - master + tags: + - '4.*' jobs: build: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 16710beb..8cd29118 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,8 +4,6 @@ name: Liberar nova versão on: workflow_dispatch: push: - branches: - - 'master' tags: - '4.*' From 671d9bc6e8ce36bde434907fba9e3f2d7d5c1795 Mon Sep 17 00:00:00 2001 From: SamuelOliveira Date: Sat, 20 Jan 2024 18:40:35 -0300 Subject: [PATCH 3/4] [maven-release-plugin] prepare release java-nfe-4.00.28 --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index a1d2d38a..68ce1293 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 br.com.swconsultoria java-nfe - 4.00.28-SNAPSHOT + 4.00.28 Java_NFe Api java para consumo do webService de nota fiscal eletronica https://github.com/Samuel-Oliveira/Java_NFe @@ -19,7 +19,7 @@ git@github.com:Samuel-Oliveira/Java_NFe.git scm:git:git@github.com:Samuel-Oliveira/Java_NFe.git scm:git:git@github.com:Samuel-Oliveira/Java_NFe.git - java-nfe + java-nfe-4.00.28 From 1676f5e3eb32e9812f84efd8c647662576c62357 Mon Sep 17 00:00:00 2001 From: SamuelOliveira Date: Sat, 20 Jan 2024 18:40:36 -0300 Subject: [PATCH 4/4] [maven-release-plugin] prepare for next development iteration --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 68ce1293..c85fa63f 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 br.com.swconsultoria java-nfe - 4.00.28 + 4.00.29-SNAPSHOT Java_NFe Api java para consumo do webService de nota fiscal eletronica https://github.com/Samuel-Oliveira/Java_NFe @@ -19,7 +19,7 @@ git@github.com:Samuel-Oliveira/Java_NFe.git scm:git:git@github.com:Samuel-Oliveira/Java_NFe.git scm:git:git@github.com:Samuel-Oliveira/Java_NFe.git - java-nfe-4.00.28 + java-nfe