fixes bug#11372
dev: julio qua: flavia git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@82712 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
38a46f067a
commit
fc7e5e736a
|
@ -0,0 +1,134 @@
|
|||
//
|
||||
// Este arquivo foi gerado pela Arquitetura JavaTM para Implementação de Referência (JAXB) de Bind XML, v2.2.8-b130911.1802
|
||||
// Consulte <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Todas as modificações neste arquivo serão perdidas após a recompilação do esquema de origem.
|
||||
// Gerado em: 2017.08.29 às 06:11:44 PM BRT
|
||||
//
|
||||
|
||||
|
||||
package br.inf.portalfiscal.bpe;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Classe Java de anonymous complex type.
|
||||
*
|
||||
* <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
|
||||
*
|
||||
* <pre>
|
||||
* <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="Não Embarque"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </element>
|
||||
* <element name="nProt" type="{http://www.portalfiscal.inf.br/bpe}TProt"/>
|
||||
* <element name="xJust" type="{http://www.portalfiscal.inf.br/bpe}TJust"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"descEvento",
|
||||
"nProt",
|
||||
"xJust"
|
||||
})
|
||||
@XmlRootElement(name = "evNaoEmbBPe")
|
||||
public class EvNaoEmbBPe {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected String descEvento;
|
||||
@XmlElement(required = true)
|
||||
protected String nProt;
|
||||
@XmlElement(required = true)
|
||||
protected String xJust;
|
||||
|
||||
/**
|
||||
* 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 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 xJust.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getXJust() {
|
||||
return xJust;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade xJust.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setXJust(String value) {
|
||||
this.xJust = value;
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,316 @@
|
|||
//
|
||||
// Este arquivo foi gerado pela Arquitetura JavaTM para Implementação de Referência (JAXB) de Bind XML, v2.2.8-b130911.1802
|
||||
// Consulte <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Todas as modificações neste arquivo serão perdidas após a recompilação do esquema de origem.
|
||||
// Gerado em: 2017.08.14 às 03:08:29 PM BRT
|
||||
//
|
||||
|
||||
|
||||
package br.inf.portalfiscal.bpe;
|
||||
|
||||
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.inf.portalfiscal.bpe package.
|
||||
* <p>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 _RetBPe_QNAME = new QName("http://www.portalfiscal.inf.br/bpe", "retBPe");
|
||||
|
||||
/**
|
||||
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: br.inf.portalfiscal.bpe
|
||||
*
|
||||
*/
|
||||
public ObjectFactory() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link TImp }
|
||||
*
|
||||
*/
|
||||
public TImp createTImp() {
|
||||
return new TImp();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link TProtBPe }
|
||||
*
|
||||
*/
|
||||
public TProtBPe createTProtBPe() {
|
||||
return new TProtBPe();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link TBPe }
|
||||
*
|
||||
*/
|
||||
public TBPe createTBPe() {
|
||||
return new TBPe();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link TBPe.InfBPe }
|
||||
*
|
||||
*/
|
||||
public TBPe.InfBPe createTBPeInfBPe() {
|
||||
return new TBPe.InfBPe();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link TBPe.InfBPe.Pag }
|
||||
*
|
||||
*/
|
||||
public TBPe.InfBPe.Pag createTBPeInfBPePag() {
|
||||
return new TBPe.InfBPe.Pag();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link TBPe.InfBPe.Imp }
|
||||
*
|
||||
*/
|
||||
public TBPe.InfBPe.Imp createTBPeInfBPeImp() {
|
||||
return new TBPe.InfBPe.Imp();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link TBPe.InfBPe.InfValorBPe }
|
||||
*
|
||||
*/
|
||||
public TBPe.InfBPe.InfValorBPe createTBPeInfBPeInfValorBPe() {
|
||||
return new TBPe.InfBPe.InfValorBPe();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link TBPe.InfBPe.InfViagem }
|
||||
*
|
||||
*/
|
||||
public TBPe.InfBPe.InfViagem createTBPeInfBPeInfViagem() {
|
||||
return new TBPe.InfBPe.InfViagem();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link TBPe.InfBPe.InfPassagem }
|
||||
*
|
||||
*/
|
||||
public TBPe.InfBPe.InfPassagem createTBPeInfBPeInfPassagem() {
|
||||
return new TBPe.InfBPe.InfPassagem();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link TRetBPe }
|
||||
*
|
||||
*/
|
||||
public TRetBPe createTRetBPe() {
|
||||
return new TRetBPe();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link TEnviBPe }
|
||||
*
|
||||
*/
|
||||
public TEnviBPe createTEnviBPe() {
|
||||
return new TEnviBPe();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link TEndereco }
|
||||
*
|
||||
*/
|
||||
public TEndereco createTEndereco() {
|
||||
return new TEndereco();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link TEndeEmi }
|
||||
*
|
||||
*/
|
||||
public TEndeEmi createTEndeEmi() {
|
||||
return new TEndeEmi();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link TImp.ICMS00 }
|
||||
*
|
||||
*/
|
||||
public TImp.ICMS00 createTImpICMS00() {
|
||||
return new TImp.ICMS00();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link TImp.ICMS20 }
|
||||
*
|
||||
*/
|
||||
public TImp.ICMS20 createTImpICMS20() {
|
||||
return new TImp.ICMS20();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link TImp.ICMS45 }
|
||||
*
|
||||
*/
|
||||
public TImp.ICMS45 createTImpICMS45() {
|
||||
return new TImp.ICMS45();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link TImp.ICMS90 }
|
||||
*
|
||||
*/
|
||||
public TImp.ICMS90 createTImpICMS90() {
|
||||
return new TImp.ICMS90();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link TImp.ICMSOutraUF }
|
||||
*
|
||||
*/
|
||||
public TImp.ICMSOutraUF createTImpICMSOutraUF() {
|
||||
return new TImp.ICMSOutraUF();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link TImp.ICMSSN }
|
||||
*
|
||||
*/
|
||||
public TImp.ICMSSN createTImpICMSSN() {
|
||||
return new TImp.ICMSSN();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link TProtBPe.InfProt }
|
||||
*
|
||||
*/
|
||||
public TProtBPe.InfProt createTProtBPeInfProt() {
|
||||
return new TProtBPe.InfProt();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link TBPe.InfBPeSupl }
|
||||
*
|
||||
*/
|
||||
public TBPe.InfBPeSupl createTBPeInfBPeSupl() {
|
||||
return new TBPe.InfBPeSupl();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link TBPe.InfBPe.Ide }
|
||||
*
|
||||
*/
|
||||
public TBPe.InfBPe.Ide createTBPeInfBPeIde() {
|
||||
return new TBPe.InfBPe.Ide();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link TBPe.InfBPe.Emit }
|
||||
*
|
||||
*/
|
||||
public TBPe.InfBPe.Emit createTBPeInfBPeEmit() {
|
||||
return new TBPe.InfBPe.Emit();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link TBPe.InfBPe.Comp }
|
||||
*
|
||||
*/
|
||||
public TBPe.InfBPe.Comp createTBPeInfBPeComp() {
|
||||
return new TBPe.InfBPe.Comp();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link TBPe.InfBPe.Agencia }
|
||||
*
|
||||
*/
|
||||
public TBPe.InfBPe.Agencia createTBPeInfBPeAgencia() {
|
||||
return new TBPe.InfBPe.Agencia();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link TBPe.InfBPe.InfBPeSub }
|
||||
*
|
||||
*/
|
||||
public TBPe.InfBPe.InfBPeSub createTBPeInfBPeInfBPeSub() {
|
||||
return new TBPe.InfBPe.InfBPeSub();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link TBPe.InfBPe.AutXML }
|
||||
*
|
||||
*/
|
||||
public TBPe.InfBPe.AutXML createTBPeInfBPeAutXML() {
|
||||
return new TBPe.InfBPe.AutXML();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link TBPe.InfBPe.InfAdic }
|
||||
*
|
||||
*/
|
||||
public TBPe.InfBPe.InfAdic createTBPeInfBPeInfAdic() {
|
||||
return new TBPe.InfBPe.InfAdic();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link TBPe.InfBPe.Pag.Card }
|
||||
*
|
||||
*/
|
||||
public TBPe.InfBPe.Pag.Card createTBPeInfBPePagCard() {
|
||||
return new TBPe.InfBPe.Pag.Card();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link TBPe.InfBPe.Imp.ICMSUFFim }
|
||||
*
|
||||
*/
|
||||
public TBPe.InfBPe.Imp.ICMSUFFim createTBPeInfBPeImpICMSUFFim() {
|
||||
return new TBPe.InfBPe.Imp.ICMSUFFim();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link TBPe.InfBPe.InfValorBPe.Comp }
|
||||
*
|
||||
*/
|
||||
public TBPe.InfBPe.InfValorBPe.Comp createTBPeInfBPeInfValorBPeComp() {
|
||||
return new TBPe.InfBPe.InfValorBPe.Comp();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link TBPe.InfBPe.InfViagem.InfTravessia }
|
||||
*
|
||||
*/
|
||||
public TBPe.InfBPe.InfViagem.InfTravessia createTBPeInfBPeInfViagemInfTravessia() {
|
||||
return new TBPe.InfBPe.InfViagem.InfTravessia();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link TBPe.InfBPe.InfPassagem.InfPassageiro }
|
||||
*
|
||||
*/
|
||||
public TBPe.InfBPe.InfPassagem.InfPassageiro createTBPeInfBPeInfPassagemInfPassageiro() {
|
||||
return new TBPe.InfBPe.InfPassagem.InfPassageiro();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link JAXBElement }{@code <}{@link TRetBPe }{@code >}}
|
||||
*
|
||||
*/
|
||||
@XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/bpe", name = "retBPe")
|
||||
public JAXBElement<TRetBPe> createRetBPe(TRetBPe value) {
|
||||
return new JAXBElement<TRetBPe>(_RetBPe_QNAME, TRetBPe.class, null, value);
|
||||
}
|
||||
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,155 @@
|
|||
//
|
||||
// Este arquivo foi gerado pela Arquitetura JavaTM para Implementação de Referência (JAXB) de Bind XML, v2.2.8-b130911.1802
|
||||
// Consulte <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Todas as modificações neste arquivo serão perdidas após a recompilação do esquema de origem.
|
||||
// Gerado em: 2017.10.24 às 07:38:45 PM BRST
|
||||
//
|
||||
|
||||
|
||||
package br.inf.portalfiscal.bpe;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlAttribute;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* Tipo Pedido de Consulta da Situação Atual do Bilhete de Passagem Eletrônico
|
||||
*
|
||||
* <p>Classe Java de TConsSitBPe complex type.
|
||||
*
|
||||
* <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="TConsSitBPe">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="tpAmb" type="{http://www.portalfiscal.inf.br/bpe}TAmb"/>
|
||||
* <element name="xServ" type="{http://www.portalfiscal.inf.br/bpe}TServ"/>
|
||||
* <element name="chBPe" type="{http://www.portalfiscal.inf.br/bpe}TChDFe"/>
|
||||
* </sequence>
|
||||
* <attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/bpe}TVerConsSitBPe" />
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "TConsSitBPe", propOrder = {
|
||||
"tpAmb",
|
||||
"xServ",
|
||||
"chBPe"
|
||||
})
|
||||
public class TConsSitBPe {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected String tpAmb;
|
||||
@XmlElement(required = true)
|
||||
protected String xServ;
|
||||
@XmlElement(required = true)
|
||||
protected String chBPe;
|
||||
@XmlAttribute(name = "versao", required = true)
|
||||
protected String versao;
|
||||
|
||||
/**
|
||||
* 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 xServ.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getXServ() {
|
||||
return xServ;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade xServ.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setXServ(String value) {
|
||||
this.xServ = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Obtém o valor da propriedade chBPe.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getChBPe() {
|
||||
return chBPe;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade chBPe.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setChBPe(String value) {
|
||||
this.chBPe = 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;
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,371 @@
|
|||
//
|
||||
// Este arquivo foi gerado pela Arquitetura JavaTM para Implementação de Referência (JAXB) de Bind XML, v2.2.8-b130911.1802
|
||||
// Consulte <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Todas as modificações neste arquivo serão perdidas após a recompilação do esquema de origem.
|
||||
// Gerado em: 2017.08.14 às 03:08:29 PM BRT
|
||||
//
|
||||
|
||||
|
||||
package br.inf.portalfiscal.bpe;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlSchemaType;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* Tipo Dados do Endereço
|
||||
*
|
||||
* <p>Classe Java de TEndeEmi complex type.
|
||||
*
|
||||
* <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="TEndeEmi">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="xLgr">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.portalfiscal.inf.br/bpe}TString">
|
||||
* <maxLength value="60"/>
|
||||
* <minLength value="2"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </element>
|
||||
* <element name="nro">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.portalfiscal.inf.br/bpe}TString">
|
||||
* <maxLength value="60"/>
|
||||
* <minLength value="1"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </element>
|
||||
* <element name="xCpl" minOccurs="0">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.portalfiscal.inf.br/bpe}TString">
|
||||
* <maxLength value="60"/>
|
||||
* <minLength value="1"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </element>
|
||||
* <element name="xBairro">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.portalfiscal.inf.br/bpe}TString">
|
||||
* <maxLength value="60"/>
|
||||
* <minLength value="2"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </element>
|
||||
* <element name="cMun" type="{http://www.portalfiscal.inf.br/bpe}TCodMunIBGE"/>
|
||||
* <element name="xMun">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.portalfiscal.inf.br/bpe}TString">
|
||||
* <maxLength value="60"/>
|
||||
* <minLength value="2"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </element>
|
||||
* <element name="CEP" minOccurs="0">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <whiteSpace value="preserve"/>
|
||||
* <pattern value="[0-9]{8}"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </element>
|
||||
* <element name="UF" type="{http://www.portalfiscal.inf.br/bpe}TUf_sem_EX"/>
|
||||
* <element name="fone" minOccurs="0">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <whiteSpace value="preserve"/>
|
||||
* <pattern value="[0-9]{7,12}"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </element>
|
||||
* <element name="email" type="{http://www.portalfiscal.inf.br/bpe}TEmail" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "TEndeEmi", propOrder = {
|
||||
"xLgr",
|
||||
"nro",
|
||||
"xCpl",
|
||||
"xBairro",
|
||||
"cMun",
|
||||
"xMun",
|
||||
"cep",
|
||||
"uf",
|
||||
"fone",
|
||||
"email"
|
||||
})
|
||||
public class TEndeEmi {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected String xLgr;
|
||||
@XmlElement(required = true)
|
||||
protected String nro;
|
||||
protected String xCpl;
|
||||
@XmlElement(required = true)
|
||||
protected String xBairro;
|
||||
@XmlElement(required = true)
|
||||
protected String cMun;
|
||||
@XmlElement(required = true)
|
||||
protected String xMun;
|
||||
@XmlElement(name = "CEP")
|
||||
protected String cep;
|
||||
@XmlElement(name = "UF", required = true)
|
||||
@XmlSchemaType(name = "string")
|
||||
protected TUfSemEX uf;
|
||||
protected String fone;
|
||||
protected String email;
|
||||
|
||||
/**
|
||||
* Obtém o valor da propriedade xLgr.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getXLgr() {
|
||||
return xLgr;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade xLgr.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setXLgr(String value) {
|
||||
this.xLgr = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Obtém o valor da propriedade nro.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getNro() {
|
||||
return nro;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade nro.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setNro(String value) {
|
||||
this.nro = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Obtém o valor da propriedade xCpl.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getXCpl() {
|
||||
return xCpl;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade xCpl.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setXCpl(String value) {
|
||||
this.xCpl = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Obtém o valor da propriedade xBairro.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getXBairro() {
|
||||
return xBairro;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade xBairro.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setXBairro(String value) {
|
||||
this.xBairro = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Obtém o valor da propriedade cMun.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getCMun() {
|
||||
return cMun;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade cMun.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setCMun(String value) {
|
||||
this.cMun = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Obtém o valor da propriedade xMun.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getXMun() {
|
||||
return xMun;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade xMun.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setXMun(String value) {
|
||||
this.xMun = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Obtém o valor da propriedade cep.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getCEP() {
|
||||
return cep;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade cep.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setCEP(String value) {
|
||||
this.cep = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Obtém o valor da propriedade uf.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link TUfSemEX }
|
||||
*
|
||||
*/
|
||||
public TUfSemEX getUF() {
|
||||
return uf;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade uf.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link TUfSemEX }
|
||||
*
|
||||
*/
|
||||
public void setUF(TUfSemEX value) {
|
||||
this.uf = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Obtém o valor da propriedade fone.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getFone() {
|
||||
return fone;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade fone.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setFone(String value) {
|
||||
this.fone = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Obtém o valor da propriedade email.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getEmail() {
|
||||
return email;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade email.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setEmail(String value) {
|
||||
this.email = value;
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,439 @@
|
|||
//
|
||||
// Este arquivo foi gerado pela Arquitetura JavaTM para Implementação de Referência (JAXB) de Bind XML, v2.2.8-b130911.1802
|
||||
// Consulte <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Todas as modificações neste arquivo serão perdidas após a recompilação do esquema de origem.
|
||||
// Gerado em: 2017.08.14 às 03:08:29 PM BRT
|
||||
//
|
||||
|
||||
|
||||
package br.inf.portalfiscal.bpe;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlSchemaType;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* Tipo Dados do Endereço
|
||||
*
|
||||
* <p>Classe Java de TEndereco complex type.
|
||||
*
|
||||
* <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="TEndereco">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="xLgr">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.portalfiscal.inf.br/bpe}TString">
|
||||
* <maxLength value="255"/>
|
||||
* <minLength value="1"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </element>
|
||||
* <element name="nro">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.portalfiscal.inf.br/bpe}TString">
|
||||
* <maxLength value="60"/>
|
||||
* <minLength value="1"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </element>
|
||||
* <element name="xCpl" minOccurs="0">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.portalfiscal.inf.br/bpe}TString">
|
||||
* <maxLength value="60"/>
|
||||
* <minLength value="1"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </element>
|
||||
* <element name="xBairro">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.portalfiscal.inf.br/bpe}TString">
|
||||
* <maxLength value="60"/>
|
||||
* <minLength value="1"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </element>
|
||||
* <element name="cMun" type="{http://www.portalfiscal.inf.br/bpe}TCodMunIBGE"/>
|
||||
* <element name="xMun">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.portalfiscal.inf.br/bpe}TString">
|
||||
* <maxLength value="60"/>
|
||||
* <minLength value="1"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </element>
|
||||
* <element name="CEP" minOccurs="0">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <whiteSpace value="preserve"/>
|
||||
* <pattern value="[0-9]{8}"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </element>
|
||||
* <element name="UF" type="{http://www.portalfiscal.inf.br/bpe}TUf"/>
|
||||
* <element name="cPais" minOccurs="0">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <whiteSpace value="preserve"/>
|
||||
* <pattern value="[0-9]{1,4}"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </element>
|
||||
* <element name="xPais" minOccurs="0">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.portalfiscal.inf.br/bpe}TString">
|
||||
* <maxLength value="60"/>
|
||||
* <minLength value="1"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </element>
|
||||
* <element name="fone" minOccurs="0">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <whiteSpace value="preserve"/>
|
||||
* <pattern value="[0-9]{7,12}"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </element>
|
||||
* <element name="email" type="{http://www.portalfiscal.inf.br/bpe}TEmail" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "TEndereco", propOrder = {
|
||||
"xLgr",
|
||||
"nro",
|
||||
"xCpl",
|
||||
"xBairro",
|
||||
"cMun",
|
||||
"xMun",
|
||||
"cep",
|
||||
"uf",
|
||||
"cPais",
|
||||
"xPais",
|
||||
"fone",
|
||||
"email"
|
||||
})
|
||||
public class TEndereco {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected String xLgr;
|
||||
@XmlElement(required = true)
|
||||
protected String nro;
|
||||
protected String xCpl;
|
||||
@XmlElement(required = true)
|
||||
protected String xBairro;
|
||||
@XmlElement(required = true)
|
||||
protected String cMun;
|
||||
@XmlElement(required = true)
|
||||
protected String xMun;
|
||||
@XmlElement(name = "CEP")
|
||||
protected String cep;
|
||||
@XmlElement(name = "UF", required = true)
|
||||
@XmlSchemaType(name = "string")
|
||||
protected TUf uf;
|
||||
protected String cPais;
|
||||
protected String xPais;
|
||||
protected String fone;
|
||||
protected String email;
|
||||
|
||||
/**
|
||||
* Obtém o valor da propriedade xLgr.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getXLgr() {
|
||||
return xLgr;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade xLgr.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setXLgr(String value) {
|
||||
this.xLgr = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Obtém o valor da propriedade nro.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getNro() {
|
||||
return nro;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade nro.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setNro(String value) {
|
||||
this.nro = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Obtém o valor da propriedade xCpl.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getXCpl() {
|
||||
return xCpl;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade xCpl.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setXCpl(String value) {
|
||||
this.xCpl = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Obtém o valor da propriedade xBairro.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getXBairro() {
|
||||
return xBairro;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade xBairro.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setXBairro(String value) {
|
||||
this.xBairro = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Obtém o valor da propriedade cMun.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getCMun() {
|
||||
return cMun;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade cMun.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setCMun(String value) {
|
||||
this.cMun = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Obtém o valor da propriedade xMun.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getXMun() {
|
||||
return xMun;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade xMun.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setXMun(String value) {
|
||||
this.xMun = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Obtém o valor da propriedade cep.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getCEP() {
|
||||
return cep;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade cep.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setCEP(String value) {
|
||||
this.cep = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Obtém o valor da propriedade uf.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link TUf }
|
||||
*
|
||||
*/
|
||||
public TUf getUF() {
|
||||
return uf;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade uf.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link TUf }
|
||||
*
|
||||
*/
|
||||
public void setUF(TUf value) {
|
||||
this.uf = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Obtém o valor da propriedade cPais.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getCPais() {
|
||||
return cPais;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade cPais.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setCPais(String value) {
|
||||
this.cPais = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Obtém o valor da propriedade xPais.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getXPais() {
|
||||
return xPais;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade xPais.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setXPais(String value) {
|
||||
this.xPais = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Obtém o valor da propriedade fone.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getFone() {
|
||||
return fone;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade fone.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setFone(String value) {
|
||||
this.fone = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Obtém o valor da propriedade email.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getEmail() {
|
||||
return email;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade email.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setEmail(String value) {
|
||||
this.email = value;
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,127 @@
|
|||
//
|
||||
// Este arquivo foi gerado pela Arquitetura JavaTM para Implementação de Referência (JAXB) de Bind XML, v2.2.8-b130911.1802
|
||||
// Consulte <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Todas as modificações neste arquivo serão perdidas após a recompilação do esquema de origem.
|
||||
// Gerado em: 2017.08.14 às 03:08:29 PM BRT
|
||||
//
|
||||
|
||||
|
||||
package br.inf.portalfiscal.bpe;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlAttribute;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* Tipo Pedido de Concessão de Autorização de BP-e
|
||||
*
|
||||
* <p>Classe Java de TEnviBPe complex type.
|
||||
*
|
||||
* <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="TEnviBPe">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="idLote" type="{http://www.portalfiscal.inf.br/bpe}TIdLote"/>
|
||||
* <element name="BPe" type="{http://www.portalfiscal.inf.br/bpe}TBPe"/>
|
||||
* </sequence>
|
||||
* <attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/bpe}TVerBPe" />
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "TEnviBPe", propOrder = {
|
||||
"idLote",
|
||||
"bPe"
|
||||
})
|
||||
public class TEnviBPe {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected String idLote;
|
||||
@XmlElement(name = "BPe", required = true)
|
||||
protected TBPe bPe;
|
||||
@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 bPe.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link TBPe }
|
||||
*
|
||||
*/
|
||||
public TBPe getBPe() {
|
||||
return bPe;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade bPe.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link TBPe }
|
||||
*
|
||||
*/
|
||||
public void setBPe(TBPe value) {
|
||||
this.bPe = 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;
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,599 @@
|
|||
//
|
||||
// Este arquivo foi gerado pela Arquitetura JavaTM para Implementação de Referência (JAXB) de Bind XML, v2.2.8-b130911.1802
|
||||
// Consulte <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Todas as modificações neste arquivo serão perdidas após a recompilação do esquema de origem.
|
||||
// Gerado em: 2017.08.29 às 06:11:44 PM BRT
|
||||
//
|
||||
|
||||
|
||||
package br.inf.portalfiscal.bpe;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlAnyElement;
|
||||
import javax.xml.bind.annotation.XmlAttribute;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlID;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
|
||||
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
||||
|
||||
import org.w3c.dom.Element;
|
||||
|
||||
|
||||
/**
|
||||
* Tipo Evento
|
||||
*
|
||||
* <p>Classe Java de TEvento complex type.
|
||||
*
|
||||
* <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
|
||||
*
|
||||
* <pre>
|
||||
* <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/bpe}TCOrgaoIBGE"/>
|
||||
* <element name="tpAmb" type="{http://www.portalfiscal.inf.br/bpe}TAmb"/>
|
||||
* <element name="CNPJ" type="{http://www.portalfiscal.inf.br/bpe}TCnpj"/>
|
||||
* <element name="chBPe" type="{http://www.portalfiscal.inf.br/bpe}TChDFe"/>
|
||||
* <element name="dhEvento" type="{http://www.portalfiscal.inf.br/bpe}TDateTimeUTC"/>
|
||||
* <element name="tpEvento">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <whiteSpace value="preserve"/>
|
||||
* <pattern value="[0-9]{6}"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </element>
|
||||
* <element name="nSeqEvento">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <whiteSpace value="preserve"/>
|
||||
* <pattern value="[1-9][0-9]|0?[1-9]"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </element>
|
||||
* <element name="detEvento">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <any processContents='skip'/>
|
||||
* </sequence>
|
||||
* <attribute name="versaoEvento" use="required">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <whiteSpace value="preserve"/>
|
||||
* <pattern value="1\.(0[0-9]|[1-9][0-9])"/>
|
||||
* </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/bpe}TVerEvento" />
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "TEvento", propOrder = {
|
||||
"infEvento",
|
||||
// "signature"
|
||||
})
|
||||
@XmlRootElement(name = "eventoBPe")
|
||||
public class TEvento {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected TEvento.InfEvento infEvento;
|
||||
// @XmlElement(name = "Signature" 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;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* <p>Classe Java de anonymous complex type.
|
||||
*
|
||||
* <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="cOrgao" type="{http://www.portalfiscal.inf.br/bpe}TCOrgaoIBGE"/>
|
||||
* <element name="tpAmb" type="{http://www.portalfiscal.inf.br/bpe}TAmb"/>
|
||||
* <element name="CNPJ" type="{http://www.portalfiscal.inf.br/bpe}TCnpj"/>
|
||||
* <element name="chBPe" type="{http://www.portalfiscal.inf.br/bpe}TChDFe"/>
|
||||
* <element name="dhEvento" type="{http://www.portalfiscal.inf.br/bpe}TDateTimeUTC"/>
|
||||
* <element name="tpEvento">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <whiteSpace value="preserve"/>
|
||||
* <pattern value="[0-9]{6}"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </element>
|
||||
* <element name="nSeqEvento">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <whiteSpace value="preserve"/>
|
||||
* <pattern value="[1-9][0-9]|0?[1-9]"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </element>
|
||||
* <element name="detEvento">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <any processContents='skip'/>
|
||||
* </sequence>
|
||||
* <attribute name="versaoEvento" use="required">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <whiteSpace value="preserve"/>
|
||||
* <pattern value="1\.(0[0-9]|[1-9][0-9])"/>
|
||||
* </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>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"cOrgao",
|
||||
"tpAmb",
|
||||
"cnpj",
|
||||
"chBPe",
|
||||
"dhEvento",
|
||||
"tpEvento",
|
||||
"nSeqEvento",
|
||||
"detEvento"
|
||||
})
|
||||
public static class InfEvento {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected String cOrgao;
|
||||
@XmlElement(required = true)
|
||||
protected String tpAmb;
|
||||
@XmlElement(name = "CNPJ", required = true)
|
||||
protected String cnpj;
|
||||
@XmlElement(required = true)
|
||||
protected String chBPe;
|
||||
@XmlElement(required = true)
|
||||
protected String dhEvento;
|
||||
@XmlElement(required = true)
|
||||
protected String tpEvento;
|
||||
@XmlElement(required = true)
|
||||
protected String nSeqEvento;
|
||||
@XmlElement(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 chBPe.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getChBPe() {
|
||||
return chBPe;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade chBPe.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setChBPe(String value) {
|
||||
this.chBPe = 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 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;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* <p>Classe Java de anonymous complex type.
|
||||
*
|
||||
* <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <any processContents='skip'/>
|
||||
* </sequence>
|
||||
* <attribute name="versaoEvento" use="required">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <whiteSpace value="preserve"/>
|
||||
* <pattern value="1\.(0[0-9]|[1-9][0-9])"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </attribute>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"any"
|
||||
})
|
||||
public static class DetEvento {
|
||||
|
||||
@XmlAnyElement
|
||||
protected Element any;
|
||||
@XmlAttribute(name = "versaoEvento", required = true)
|
||||
protected String versaoEvento;
|
||||
|
||||
|
||||
/**
|
||||
* Obtém o valor da propriedade any.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link Element }
|
||||
*
|
||||
*/
|
||||
public Element getAny() {
|
||||
return any;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade any.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link Element }
|
||||
*
|
||||
*/
|
||||
public void setAny(Element value) {
|
||||
this.any = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Obtém o valor da propriedade versaoEvento.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getVersaoEvento() {
|
||||
return versaoEvento;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade versaoEvento.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setVersaoEvento(String value) {
|
||||
this.versaoEvento = value;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,154 @@
|
|||
//
|
||||
// Este arquivo foi gerado pela Arquitetura JavaTM para Implementação de Referência (JAXB) de Bind XML, v2.2.8-b130911.1802
|
||||
// Consulte <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Todas as modificações neste arquivo serão perdidas após a recompilação do esquema de origem.
|
||||
// Gerado em: 2017.08.29 às 06:11:44 PM BRT
|
||||
//
|
||||
|
||||
|
||||
package br.inf.portalfiscal.bpe;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlAttribute;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* Tipo procEvento
|
||||
*
|
||||
* <p>Classe Java de TProcEvento complex type.
|
||||
*
|
||||
* <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="TProcEvento">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="eventoBPe" type="{http://www.portalfiscal.inf.br/bpe}TEvento"/>
|
||||
* <element name="retEventoBPe" type="{http://www.portalfiscal.inf.br/bpe}TRetEvento"/>
|
||||
* </sequence>
|
||||
* <attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/bpe}TVerEvento" />
|
||||
* <attribute name="ipTransmissor" type="{http://www.portalfiscal.inf.br/bpe}TIPv4" />
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "TProcEvento", propOrder = {
|
||||
"eventoBPe",
|
||||
"retEventoBPe"
|
||||
})
|
||||
public class TProcEvento {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected TEvento eventoBPe;
|
||||
@XmlElement(required = true)
|
||||
protected TRetEvento retEventoBPe;
|
||||
@XmlAttribute(name = "versao", required = true)
|
||||
protected String versao;
|
||||
@XmlAttribute(name = "ipTransmissor")
|
||||
protected String ipTransmissor;
|
||||
|
||||
/**
|
||||
* Obtém o valor da propriedade eventoBPe.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link TEvento }
|
||||
*
|
||||
*/
|
||||
public TEvento getEventoBPe() {
|
||||
return eventoBPe;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade eventoBPe.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link TEvento }
|
||||
*
|
||||
*/
|
||||
public void setEventoBPe(TEvento value) {
|
||||
this.eventoBPe = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Obtém o valor da propriedade retEventoBPe.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link TRetEvento }
|
||||
*
|
||||
*/
|
||||
public TRetEvento getRetEventoBPe() {
|
||||
return retEventoBPe;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade retEventoBPe.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link TRetEvento }
|
||||
*
|
||||
*/
|
||||
public void setRetEventoBPe(TRetEvento value) {
|
||||
this.retEventoBPe = 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;
|
||||
}
|
||||
|
||||
/**
|
||||
* Obtém o valor da propriedade ipTransmissor.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getIpTransmissor() {
|
||||
return ipTransmissor;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade ipTransmissor.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setIpTransmissor(String value) {
|
||||
this.ipTransmissor = value;
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,436 @@
|
|||
//
|
||||
// Este arquivo foi gerado pela Arquitetura JavaTM para Implementação de Referência (JAXB) de Bind XML, v2.2.8-b130911.1802
|
||||
// Consulte <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Todas as modificações neste arquivo serão perdidas após a recompilação do esquema de origem.
|
||||
// Gerado em: 2017.08.14 às 03:08:29 PM BRT
|
||||
//
|
||||
|
||||
|
||||
package br.inf.portalfiscal.bpe;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlAttribute;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlID;
|
||||
import javax.xml.bind.annotation.XmlSchemaType;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
|
||||
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
||||
|
||||
|
||||
/**
|
||||
* Tipo Protocolo de status resultado do processamento do BP-e (Modelo 63)
|
||||
*
|
||||
* <p>Classe Java de TProtBPe complex type.
|
||||
*
|
||||
* <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="TProtBPe">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="infProt">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="tpAmb" type="{http://www.portalfiscal.inf.br/bpe}TAmb"/>
|
||||
* <element name="verAplic" type="{http://www.portalfiscal.inf.br/bpe}TVerAplic"/>
|
||||
* <element name="chBPe" type="{http://www.portalfiscal.inf.br/bpe}TChDFe"/>
|
||||
* <element name="dhRecbto" type="{http://www.portalfiscal.inf.br/bpe}TDateTimeUTC"/>
|
||||
* <element name="nProt" type="{http://www.portalfiscal.inf.br/bpe}TProt" minOccurs="0"/>
|
||||
* <element name="digVal" type="{http://www.w3.org/2000/09/xmldsig#}DigestValueType" minOccurs="0"/>
|
||||
* <element name="cStat">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.portalfiscal.inf.br/bpe}TStat">
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </element>
|
||||
* <element name="xMotivo" type="{http://www.portalfiscal.inf.br/bpe}TMotivo"/>
|
||||
* </sequence>
|
||||
* <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
|
||||
* </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/bpe}TVerBPe" />
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "TProtBPe", propOrder = {
|
||||
"infProt",
|
||||
// "signature"
|
||||
})
|
||||
public class TProtBPe {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected TProtBPe.InfProt infProt;
|
||||
// @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 infProt.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link TProtBPe.InfProt }
|
||||
*
|
||||
*/
|
||||
public TProtBPe.InfProt getInfProt() {
|
||||
return infProt;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade infProt.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link TProtBPe.InfProt }
|
||||
*
|
||||
*/
|
||||
public void setInfProt(TProtBPe.InfProt value) {
|
||||
this.infProt = 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;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* <p>Classe Java de anonymous complex type.
|
||||
*
|
||||
* <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="tpAmb" type="{http://www.portalfiscal.inf.br/bpe}TAmb"/>
|
||||
* <element name="verAplic" type="{http://www.portalfiscal.inf.br/bpe}TVerAplic"/>
|
||||
* <element name="chBPe" type="{http://www.portalfiscal.inf.br/bpe}TChDFe"/>
|
||||
* <element name="dhRecbto" type="{http://www.portalfiscal.inf.br/bpe}TDateTimeUTC"/>
|
||||
* <element name="nProt" type="{http://www.portalfiscal.inf.br/bpe}TProt" minOccurs="0"/>
|
||||
* <element name="digVal" type="{http://www.w3.org/2000/09/xmldsig#}DigestValueType" minOccurs="0"/>
|
||||
* <element name="cStat">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.portalfiscal.inf.br/bpe}TStat">
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </element>
|
||||
* <element name="xMotivo" type="{http://www.portalfiscal.inf.br/bpe}TMotivo"/>
|
||||
* </sequence>
|
||||
* <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"tpAmb",
|
||||
"verAplic",
|
||||
"chBPe",
|
||||
"dhRecbto",
|
||||
"nProt",
|
||||
/*"digVal",*/
|
||||
"cStat",
|
||||
"xMotivo"
|
||||
})
|
||||
public static class InfProt {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected String tpAmb;
|
||||
@XmlElement(required = true)
|
||||
protected String verAplic;
|
||||
@XmlElement(required = true)
|
||||
protected String chBPe;
|
||||
@XmlElement(required = true)
|
||||
protected String dhRecbto;
|
||||
protected String nProt;
|
||||
// protected byte[] digVal;
|
||||
@XmlElement(required = true)
|
||||
protected String cStat;
|
||||
@XmlElement(required = true)
|
||||
protected String xMotivo;
|
||||
@XmlAttribute(name = "Id")
|
||||
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
||||
@XmlID
|
||||
@XmlSchemaType(name = "ID")
|
||||
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 chBPe.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getChBPe() {
|
||||
return chBPe;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade chBPe.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setChBPe(String value) {
|
||||
this.chBPe = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Obtém o valor da propriedade dhRecbto.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getDhRecbto() {
|
||||
return dhRecbto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade dhRecbto.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setDhRecbto(String value) {
|
||||
this.dhRecbto = 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 digVal.
|
||||
// *
|
||||
// * @return
|
||||
// * possible object is
|
||||
// * byte[]
|
||||
// */
|
||||
// public byte[] getDigVal() {
|
||||
// return digVal;
|
||||
// }
|
||||
//
|
||||
// /**
|
||||
// * Define o valor da propriedade digVal.
|
||||
// *
|
||||
// * @param value
|
||||
// * allowed object is
|
||||
// * byte[]
|
||||
// */
|
||||
// public void setDigVal(byte[] value) {
|
||||
// this.digVal = 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 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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,240 @@
|
|||
//
|
||||
// Este arquivo foi gerado pela Arquitetura JavaTM para Implementação de Referência (JAXB) de Bind XML, v2.2.8-b130911.1802
|
||||
// Consulte <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Todas as modificações neste arquivo serão perdidas após a recompilação do esquema de origem.
|
||||
// Gerado em: 2017.08.14 às 03:08:29 PM BRT
|
||||
//
|
||||
|
||||
|
||||
package br.inf.portalfiscal.bpe;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlAttribute;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* Tipo Retorno do Pedido de Autorização de BP-e (Modelo 63)
|
||||
*
|
||||
* <p>Classe Java de TRetBPe complex type.
|
||||
*
|
||||
* <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="TRetBPe">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="tpAmb" type="{http://www.portalfiscal.inf.br/bpe}TAmb"/>
|
||||
* <element name="cUF" type="{http://www.portalfiscal.inf.br/bpe}TCodUfIBGE"/>
|
||||
* <element name="verAplic" type="{http://www.portalfiscal.inf.br/bpe}TVerAplic"/>
|
||||
* <element name="cStat" type="{http://www.portalfiscal.inf.br/bpe}TStat"/>
|
||||
* <element name="xMotivo" type="{http://www.portalfiscal.inf.br/bpe}TMotivo"/>
|
||||
* <element name="protBPe" type="{http://www.portalfiscal.inf.br/bpe}TProtBPe" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* <attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/bpe}TVerBPe" />
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlRootElement(name = "retBPe")
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "retBPe", propOrder = {
|
||||
"tpAmb",
|
||||
"cuf",
|
||||
"verAplic",
|
||||
"cStat",
|
||||
"xMotivo",
|
||||
"protBPe"
|
||||
})
|
||||
public class TRetBPe {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected String tpAmb;
|
||||
@XmlElement(name = "cUF", required = true)
|
||||
protected String cuf;
|
||||
@XmlElement(required = true)
|
||||
protected String verAplic;
|
||||
@XmlElement(required = true)
|
||||
protected String cStat;
|
||||
@XmlElement(required = true)
|
||||
protected String xMotivo;
|
||||
protected TProtBPe protBPe;
|
||||
@XmlAttribute(name = "versao", required = true)
|
||||
protected String versao;
|
||||
|
||||
/**
|
||||
* 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 cuf.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getCUF() {
|
||||
return cuf;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade cuf.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setCUF(String value) {
|
||||
this.cuf = 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 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 protBPe.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link TProtBPe }
|
||||
*
|
||||
*/
|
||||
public TProtBPe getProtBPe() {
|
||||
return protBPe;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade protBPe.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link TProtBPe }
|
||||
*
|
||||
*/
|
||||
public void setProtBPe(TProtBPe value) {
|
||||
this.protBPe = 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;
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,343 @@
|
|||
//
|
||||
// Este arquivo foi gerado pela Arquitetura JavaTM para Implementação de Referência (JAXB) de Bind XML, v2.2.8-b130911.1802
|
||||
// Consulte <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Todas as modificações neste arquivo serão perdidas após a recompilação do esquema de origem.
|
||||
// Gerado em: 2017.08.07 às 09:45:52 PM BRT
|
||||
//
|
||||
|
||||
|
||||
package br.inf.portalfiscal.bpe;
|
||||
|
||||
import java.math.BigInteger;
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlAttribute;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* Tipo Resultado da Consulta do Status do Serviço BP-e
|
||||
*
|
||||
* <p>Classe Java de TRetConsStatServ complex type.
|
||||
*
|
||||
* <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="TRetConsStatServ">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="tpAmb" type="{http://www.portalfiscal.inf.br/bpe}TAmb"/>
|
||||
* <element name="verAplic">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.portalfiscal.inf.br/bpe}TVerAplic">
|
||||
* <whiteSpace value="collapse"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </element>
|
||||
* <element name="cStat" type="{http://www.portalfiscal.inf.br/bpe}TStat"/>
|
||||
* <element name="xMotivo" type="{http://www.portalfiscal.inf.br/bpe}TMotivo"/>
|
||||
* <element name="cUF" type="{http://www.portalfiscal.inf.br/bpe}TCodUfIBGE"/>
|
||||
* <element name="dhRecbto" type="{http://www.portalfiscal.inf.br/bpe}TDateTimeUTC"/>
|
||||
* <element name="tMed" minOccurs="0">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}integer">
|
||||
* <pattern value="[0-9]{1,4}"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </element>
|
||||
* <element name="dhRetorno" type="{http://www.portalfiscal.inf.br/bpe}TDateTimeUTC" minOccurs="0"/>
|
||||
* <element name="xObs" minOccurs="0">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <minLength value="1"/>
|
||||
* <maxLength value="255"/>
|
||||
* <whiteSpace value="collapse"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </element>
|
||||
* </sequence>
|
||||
* <attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/bpe}TVerConsStat" />
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlRootElement(name = "retConsStatServBPe")
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "retConsStatServBPe", propOrder = {
|
||||
"tpAmb",
|
||||
"verAplic",
|
||||
"cStat",
|
||||
"xMotivo",
|
||||
"cuf",
|
||||
"dhRecbto",
|
||||
"tMed",
|
||||
"dhRetorno",
|
||||
"xObs"
|
||||
})
|
||||
public class TRetConsStatServ {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected String tpAmb;
|
||||
@XmlElement(required = true)
|
||||
protected String verAplic;
|
||||
@XmlElement(required = true)
|
||||
protected String cStat;
|
||||
@XmlElement(required = true)
|
||||
protected String xMotivo;
|
||||
@XmlElement(name = "cUF", required = true)
|
||||
protected String cuf;
|
||||
@XmlElement(required = true)
|
||||
protected String dhRecbto;
|
||||
protected BigInteger tMed;
|
||||
protected String dhRetorno;
|
||||
protected String xObs;
|
||||
@XmlAttribute(name = "versao", required = true)
|
||||
protected String versao;
|
||||
|
||||
/**
|
||||
* 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 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 cuf.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getCUF() {
|
||||
return cuf;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade cuf.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setCUF(String value) {
|
||||
this.cuf = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Obtém o valor da propriedade dhRecbto.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getDhRecbto() {
|
||||
return dhRecbto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade dhRecbto.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setDhRecbto(String value) {
|
||||
this.dhRecbto = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Obtém o valor da propriedade tMed.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link BigInteger }
|
||||
*
|
||||
*/
|
||||
public BigInteger getTMed() {
|
||||
return tMed;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade tMed.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link BigInteger }
|
||||
*
|
||||
*/
|
||||
public void setTMed(BigInteger value) {
|
||||
this.tMed = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Obtém o valor da propriedade dhRetorno.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getDhRetorno() {
|
||||
return dhRetorno;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade dhRetorno.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setDhRetorno(String value) {
|
||||
this.dhRetorno = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Obtém o valor da propriedade xObs.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getXObs() {
|
||||
return xObs;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade xObs.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setXObs(String value) {
|
||||
this.xObs = 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;
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,571 @@
|
|||
//
|
||||
// Este arquivo foi gerado pela Arquitetura JavaTM para Implementação de Referência (JAXB) de Bind XML, v2.2.8-b130911.1802
|
||||
// Consulte <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Todas as modificações neste arquivo serão perdidas após a recompilação do esquema de origem.
|
||||
// Gerado em: 2017.08.29 às 06:11:44 PM BRT
|
||||
//
|
||||
|
||||
|
||||
package br.inf.portalfiscal.bpe;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlAttribute;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlID;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
|
||||
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
||||
import org.w3._2000._09.xmldsig_.SignatureType;
|
||||
|
||||
|
||||
/**
|
||||
* Tipo retorno do Evento
|
||||
*
|
||||
* <p>Classe Java de TRetEvento complex type.
|
||||
*
|
||||
* <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
|
||||
*
|
||||
* <pre>
|
||||
* <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/bpe}TAmb"/>
|
||||
* <element name="verAplic" type="{http://www.portalfiscal.inf.br/bpe}TVerAplic"/>
|
||||
* <element name="cOrgao" type="{http://www.portalfiscal.inf.br/bpe}TCOrgaoIBGE"/>
|
||||
* <element name="cStat" type="{http://www.portalfiscal.inf.br/bpe}TStat"/>
|
||||
* <element name="xMotivo" type="{http://www.portalfiscal.inf.br/bpe}TMotivo"/>
|
||||
* <element name="chBPe" type="{http://www.portalfiscal.inf.br/bpe}TChDFe" 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/bpe}TString">
|
||||
* <minLength value="4"/>
|
||||
* <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-9]"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </element>
|
||||
* <element name="dhRegEvento" type="{http://www.portalfiscal.inf.br/bpe}TDateTimeUTC" minOccurs="0"/>
|
||||
* <element name="nProt" type="{http://www.portalfiscal.inf.br/bpe}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">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.portalfiscal.inf.br/bpe}TVerEvento">
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </attribute>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlRootElement(name = "retEventoBPe")
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "retEventoBPe", propOrder = {
|
||||
"infEvento",
|
||||
// "signature"
|
||||
})
|
||||
public class TRetEvento {
|
||||
|
||||
@XmlElement(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;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* <p>Classe Java de anonymous complex type.
|
||||
*
|
||||
* <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="tpAmb" type="{http://www.portalfiscal.inf.br/bpe}TAmb"/>
|
||||
* <element name="verAplic" type="{http://www.portalfiscal.inf.br/bpe}TVerAplic"/>
|
||||
* <element name="cOrgao" type="{http://www.portalfiscal.inf.br/bpe}TCOrgaoIBGE"/>
|
||||
* <element name="cStat" type="{http://www.portalfiscal.inf.br/bpe}TStat"/>
|
||||
* <element name="xMotivo" type="{http://www.portalfiscal.inf.br/bpe}TMotivo"/>
|
||||
* <element name="chBPe" type="{http://www.portalfiscal.inf.br/bpe}TChDFe" 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/bpe}TString">
|
||||
* <minLength value="4"/>
|
||||
* <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-9]"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </element>
|
||||
* <element name="dhRegEvento" type="{http://www.portalfiscal.inf.br/bpe}TDateTimeUTC" minOccurs="0"/>
|
||||
* <element name="nProt" type="{http://www.portalfiscal.inf.br/bpe}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>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"tpAmb",
|
||||
"verAplic",
|
||||
"cOrgao",
|
||||
"cStat",
|
||||
"xMotivo",
|
||||
"chBPe",
|
||||
"tpEvento",
|
||||
"xEvento",
|
||||
"nSeqEvento",
|
||||
"dhRegEvento",
|
||||
"nProt"
|
||||
})
|
||||
public static class InfEvento {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected String tpAmb;
|
||||
@XmlElement(required = true)
|
||||
protected String verAplic;
|
||||
@XmlElement(required = true)
|
||||
protected String cOrgao;
|
||||
@XmlElement(required = true)
|
||||
protected String cStat;
|
||||
@XmlElement(required = true)
|
||||
protected String xMotivo;
|
||||
protected String chBPe;
|
||||
protected String tpEvento;
|
||||
protected String xEvento;
|
||||
protected String nSeqEvento;
|
||||
protected String dhRegEvento;
|
||||
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 chBPe.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getChBPe() {
|
||||
return chBPe;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade chBPe.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setChBPe(String value) {
|
||||
this.chBPe = 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 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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,98 @@
|
|||
//
|
||||
// Este arquivo foi gerado pela Arquitetura JavaTM para Implementação de Referência (JAXB) de Bind XML, v2.2.8-b130911.1802
|
||||
// Consulte <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Todas as modificações neste arquivo serão perdidas após a recompilação do esquema de origem.
|
||||
// Gerado em: 2017.08.14 às 03:08:29 PM BRT
|
||||
//
|
||||
|
||||
|
||||
package br.inf.portalfiscal.bpe;
|
||||
|
||||
import javax.xml.bind.annotation.XmlEnum;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Classe Java de TUf.
|
||||
*
|
||||
* <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
|
||||
* <p>
|
||||
* <pre>
|
||||
* <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>
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlType(name = "TUf")
|
||||
@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);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,96 @@
|
|||
//
|
||||
// Este arquivo foi gerado pela Arquitetura JavaTM para Implementação de Referência (JAXB) de Bind XML, v2.2.8-b130911.1802
|
||||
// Consulte <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Todas as modificações neste arquivo serão perdidas após a recompilação do esquema de origem.
|
||||
// Gerado em: 2017.08.14 às 03:08:29 PM BRT
|
||||
//
|
||||
|
||||
|
||||
package br.inf.portalfiscal.bpe;
|
||||
|
||||
import javax.xml.bind.annotation.XmlEnum;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Classe Java de TUf_sem_EX.
|
||||
*
|
||||
* <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
|
||||
* <p>
|
||||
* <pre>
|
||||
* <simpleType name="TUf_sem_EX">
|
||||
* <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>
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlType(name = "TUf_sem_EX")
|
||||
@XmlEnum
|
||||
public enum TUfSemEX {
|
||||
|
||||
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 TUfSemEX fromValue(String v) {
|
||||
return valueOf(v);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,599 @@
|
|||
//
|
||||
// Este arquivo foi gerado pela Arquitetura JavaTM para Implementação de Referência (JAXB) de Bind XML, v2.2.8-b130911.1802
|
||||
// Consulte <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Todas as modificações neste arquivo serão perdidas após a recompilação do esquema de origem.
|
||||
// Gerado em: 2017.08.29 às 06:11:44 PM BRT
|
||||
//
|
||||
|
||||
|
||||
package br.inf.portalfiscal.bpe.evento;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlAnyElement;
|
||||
import javax.xml.bind.annotation.XmlAttribute;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlID;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
|
||||
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
||||
|
||||
import org.w3c.dom.Element;
|
||||
|
||||
|
||||
/**
|
||||
* Tipo Evento
|
||||
*
|
||||
* <p>Classe Java de TEvento complex type.
|
||||
*
|
||||
* <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
|
||||
*
|
||||
* <pre>
|
||||
* <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/bpe}TCOrgaoIBGE"/>
|
||||
* <element name="tpAmb" type="{http://www.portalfiscal.inf.br/bpe}TAmb"/>
|
||||
* <element name="CNPJ" type="{http://www.portalfiscal.inf.br/bpe}TCnpj"/>
|
||||
* <element name="chBPe" type="{http://www.portalfiscal.inf.br/bpe}TChDFe"/>
|
||||
* <element name="dhEvento" type="{http://www.portalfiscal.inf.br/bpe}TDateTimeUTC"/>
|
||||
* <element name="tpEvento">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <whiteSpace value="preserve"/>
|
||||
* <pattern value="[0-9]{6}"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </element>
|
||||
* <element name="nSeqEvento">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <whiteSpace value="preserve"/>
|
||||
* <pattern value="[1-9][0-9]|0?[1-9]"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </element>
|
||||
* <element name="detEvento">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <any processContents='skip'/>
|
||||
* </sequence>
|
||||
* <attribute name="versaoEvento" use="required">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <whiteSpace value="preserve"/>
|
||||
* <pattern value="1\.(0[0-9]|[1-9][0-9])"/>
|
||||
* </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/bpe}TVerEvento" />
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "TEvento", propOrder = {
|
||||
"infEvento",
|
||||
// "signature"
|
||||
})
|
||||
@XmlRootElement(name = "eventoBPe")
|
||||
public class TEvento {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected TEvento.InfEvento infEvento;
|
||||
// @XmlElement(name = "Signature" 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;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* <p>Classe Java de anonymous complex type.
|
||||
*
|
||||
* <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="cOrgao" type="{http://www.portalfiscal.inf.br/bpe}TCOrgaoIBGE"/>
|
||||
* <element name="tpAmb" type="{http://www.portalfiscal.inf.br/bpe}TAmb"/>
|
||||
* <element name="CNPJ" type="{http://www.portalfiscal.inf.br/bpe}TCnpj"/>
|
||||
* <element name="chBPe" type="{http://www.portalfiscal.inf.br/bpe}TChDFe"/>
|
||||
* <element name="dhEvento" type="{http://www.portalfiscal.inf.br/bpe}TDateTimeUTC"/>
|
||||
* <element name="tpEvento">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <whiteSpace value="preserve"/>
|
||||
* <pattern value="[0-9]{6}"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </element>
|
||||
* <element name="nSeqEvento">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <whiteSpace value="preserve"/>
|
||||
* <pattern value="[1-9][0-9]|0?[1-9]"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </element>
|
||||
* <element name="detEvento">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <any processContents='skip'/>
|
||||
* </sequence>
|
||||
* <attribute name="versaoEvento" use="required">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <whiteSpace value="preserve"/>
|
||||
* <pattern value="1\.(0[0-9]|[1-9][0-9])"/>
|
||||
* </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>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"cOrgao",
|
||||
"tpAmb",
|
||||
"cnpj",
|
||||
"chBPe",
|
||||
"dhEvento",
|
||||
"tpEvento",
|
||||
"nSeqEvento",
|
||||
"detEvento"
|
||||
})
|
||||
public static class InfEvento {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected String cOrgao;
|
||||
@XmlElement(required = true)
|
||||
protected String tpAmb;
|
||||
@XmlElement(name = "CNPJ", required = true)
|
||||
protected String cnpj;
|
||||
@XmlElement(required = true)
|
||||
protected String chBPe;
|
||||
@XmlElement(required = true)
|
||||
protected String dhEvento;
|
||||
@XmlElement(required = true)
|
||||
protected String tpEvento;
|
||||
@XmlElement(required = true)
|
||||
protected String nSeqEvento;
|
||||
@XmlElement(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 chBPe.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getChBPe() {
|
||||
return chBPe;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade chBPe.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setChBPe(String value) {
|
||||
this.chBPe = 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 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;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* <p>Classe Java de anonymous complex type.
|
||||
*
|
||||
* <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <any processContents='skip'/>
|
||||
* </sequence>
|
||||
* <attribute name="versaoEvento" use="required">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <whiteSpace value="preserve"/>
|
||||
* <pattern value="1\.(0[0-9]|[1-9][0-9])"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </attribute>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"any"
|
||||
})
|
||||
public static class DetEvento {
|
||||
|
||||
@XmlAnyElement
|
||||
protected Element any;
|
||||
@XmlAttribute(name = "versaoEvento", required = true)
|
||||
protected String versaoEvento;
|
||||
|
||||
|
||||
/**
|
||||
* Obtém o valor da propriedade any.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link Element }
|
||||
*
|
||||
*/
|
||||
public Element getAny() {
|
||||
return any;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade any.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link Element }
|
||||
*
|
||||
*/
|
||||
public void setAny(Element value) {
|
||||
this.any = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Obtém o valor da propriedade versaoEvento.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getVersaoEvento() {
|
||||
return versaoEvento;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade versaoEvento.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setVersaoEvento(String value) {
|
||||
this.versaoEvento = value;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,47 @@
|
|||
package br.inf.portalfiscal.bpe.evento;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlAttribute;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "TEventoMsg", propOrder = {
|
||||
"eventoBPe",
|
||||
"xmlns"
|
||||
})
|
||||
@XmlRootElement(name = "bpeDadosMsg")
|
||||
public class TEventoMsg {
|
||||
@XmlElement(required = true)
|
||||
protected TEvento eventoBPe;
|
||||
|
||||
@XmlAttribute(name = "xmlns", required = true)
|
||||
protected String xmlns;
|
||||
|
||||
public TEventoMsg() {
|
||||
super();
|
||||
}
|
||||
|
||||
public TEventoMsg(TEvento eventoBPe) {
|
||||
super();
|
||||
this.eventoBPe = eventoBPe;
|
||||
}
|
||||
|
||||
public TEvento getEventoBPe() {
|
||||
return eventoBPe;
|
||||
}
|
||||
|
||||
public void setEventoBPe(TEvento eventoBPe) {
|
||||
this.eventoBPe = eventoBPe;
|
||||
}
|
||||
|
||||
public String getXmlns() {
|
||||
return xmlns;
|
||||
}
|
||||
|
||||
public void setXmlns(String xmlns) {
|
||||
this.xmlns = xmlns;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,568 @@
|
|||
//
|
||||
// Este arquivo foi gerado pela Arquitetura JavaTM para Implementação de Referência (JAXB) de Bind XML, v2.2.8-b130911.1802
|
||||
// Consulte <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Todas as modificações neste arquivo serão perdidas após a recompilação do esquema de origem.
|
||||
// Gerado em: 2017.08.29 às 06:11:44 PM BRT
|
||||
//
|
||||
|
||||
|
||||
package br.inf.portalfiscal.bpe.evento;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlAttribute;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlID;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
|
||||
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
||||
|
||||
|
||||
/**
|
||||
* Tipo retorno do Evento
|
||||
*
|
||||
* <p>Classe Java de TRetEvento complex type.
|
||||
*
|
||||
* <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
|
||||
*
|
||||
* <pre>
|
||||
* <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/bpe}TAmb"/>
|
||||
* <element name="verAplic" type="{http://www.portalfiscal.inf.br/bpe}TVerAplic"/>
|
||||
* <element name="cOrgao" type="{http://www.portalfiscal.inf.br/bpe}TCOrgaoIBGE"/>
|
||||
* <element name="cStat" type="{http://www.portalfiscal.inf.br/bpe}TStat"/>
|
||||
* <element name="xMotivo" type="{http://www.portalfiscal.inf.br/bpe}TMotivo"/>
|
||||
* <element name="chBPe" type="{http://www.portalfiscal.inf.br/bpe}TChDFe" 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/bpe}TString">
|
||||
* <minLength value="4"/>
|
||||
* <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-9]"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </element>
|
||||
* <element name="dhRegEvento" type="{http://www.portalfiscal.inf.br/bpe}TDateTimeUTC" minOccurs="0"/>
|
||||
* <element name="nProt" type="{http://www.portalfiscal.inf.br/bpe}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">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.portalfiscal.inf.br/bpe}TVerEvento">
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </attribute>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "TRetEvento", propOrder = {
|
||||
"infEvento",
|
||||
// "signature"
|
||||
})
|
||||
public class TRetEvento {
|
||||
|
||||
@XmlElement(name = "infEvento", 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;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* <p>Classe Java de anonymous complex type.
|
||||
*
|
||||
* <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="tpAmb" type="{http://www.portalfiscal.inf.br/bpe}TAmb"/>
|
||||
* <element name="verAplic" type="{http://www.portalfiscal.inf.br/bpe}TVerAplic"/>
|
||||
* <element name="cOrgao" type="{http://www.portalfiscal.inf.br/bpe}TCOrgaoIBGE"/>
|
||||
* <element name="cStat" type="{http://www.portalfiscal.inf.br/bpe}TStat"/>
|
||||
* <element name="xMotivo" type="{http://www.portalfiscal.inf.br/bpe}TMotivo"/>
|
||||
* <element name="chBPe" type="{http://www.portalfiscal.inf.br/bpe}TChDFe" 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/bpe}TString">
|
||||
* <minLength value="4"/>
|
||||
* <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-9]"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </element>
|
||||
* <element name="dhRegEvento" type="{http://www.portalfiscal.inf.br/bpe}TDateTimeUTC" minOccurs="0"/>
|
||||
* <element name="nProt" type="{http://www.portalfiscal.inf.br/bpe}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>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "InfEvento", propOrder = {
|
||||
"tpAmb",
|
||||
"verAplic",
|
||||
"cOrgao",
|
||||
"cStat",
|
||||
"xMotivo",
|
||||
"chBPe",
|
||||
"tpEvento",
|
||||
"xEvento",
|
||||
"nSeqEvento",
|
||||
"dhRegEvento",
|
||||
"nProt"
|
||||
})
|
||||
public static class InfEvento {
|
||||
|
||||
@XmlElement(name = "tpAmb", required = true)
|
||||
protected String tpAmb;
|
||||
@XmlElement(required = true)
|
||||
protected String verAplic;
|
||||
@XmlElement(required = true)
|
||||
protected String cOrgao;
|
||||
@XmlElement(name = "cStat", required = true)
|
||||
protected String cStat;
|
||||
@XmlElement(name = "xMotivo", required = true)
|
||||
protected String xMotivo;
|
||||
protected String chBPe;
|
||||
protected String tpEvento;
|
||||
protected String xEvento;
|
||||
protected String nSeqEvento;
|
||||
protected String dhRegEvento;
|
||||
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 chBPe.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getChBPe() {
|
||||
return chBPe;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define o valor da propriedade chBPe.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setChBPe(String value) {
|
||||
this.chBPe = 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 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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
package br.inf.portalfiscal.bpe.evento;
|
|
@ -0,0 +1,23 @@
|
|||
//
|
||||
// Este arquivo foi gerado pela Arquitetura JavaTM para Implementação de Referência (JAXB) de Bind XML, v2.2.8-b130911.1802
|
||||
// Consulte <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Todas as modificações neste arquivo serão perdidas após a recompilação do esquema de origem.
|
||||
// Gerado em: 2017.08.23 às 03:05:57 PM BRT
|
||||
//
|
||||
//@XmlSchema(
|
||||
// namespace="",
|
||||
// // If qualified namespace will be added to all elements
|
||||
// elementFormDefault = XmlNsForm.QUALIFIED,
|
||||
// // If qualifies namespace will be added to all attributes
|
||||
// attributeFormDefault = XmlNsForm.UNQUALIFIED,
|
||||
// xmlns = {
|
||||
// @XmlNs(prefix = "bpe", namespaceURI = "http://www.portalfiscal.inf.br/bpe"),
|
||||
//// @XmlNs(prefix = "xsi", namespaceURI = "http://www.portalfiscal.inf.br/bpe"),
|
||||
// }
|
||||
//)
|
||||
@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.portalfiscal.inf.br/bpe", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
|
||||
package br.inf.portalfiscal.bpe;
|
||||
|
||||
import javax.xml.bind.annotation.XmlNs;
|
||||
import javax.xml.bind.annotation.XmlNsForm;
|
||||
import javax.xml.bind.annotation.XmlSchema;
|
|
@ -13,4 +13,6 @@ public interface BpeDAO {
|
|||
public List<FiscalRdi> buscarBpeRDI(Connection connection, Date inicio, Date fim, Integer empresaId, List<Estado> estados, boolean isReceitaTerceiros);
|
||||
|
||||
public ExportacaoBPEVo buscarRegistroExportacaoBpe(Connection connection, Date inicio, Date fim, Integer empresaId, String cveestado);
|
||||
|
||||
public String buscarXmlBPE(Connection connection, String chBpe);
|
||||
}
|
||||
|
|
|
@ -51,17 +51,15 @@ public class BpeHibernateDAO extends HibernateDaoSupport implements BpeDAO {
|
|||
sql.append(" c.numfoliosistema as numfoliosistema, ");
|
||||
sql.append(" coalesce(c.preciopagado,0) + coalesce(c.importetaxaembarque,0) + coalesce(c.importeseguro,0) + coalesce(c.importepedagio,0) + coalesce(c.importeoutros,0) as valortotal, ");
|
||||
sql.append(" bpe.codstat as codstatus, ");
|
||||
// sql.append(" coalesce(bpe.xmlcontingencia, bpe.xmlregular) as xml_bpe, ");
|
||||
// sql.append(" DBMS_LOB.substr(coalesce(bpe.xmlcontingencia, bpe.xmlregular) , 3000) as xml_bpe, ");
|
||||
sql.append(" DBMS_LOB.substr(coalesce(bpe.xmlcontingencia, bpe.xmlregular) , 4000) as xml_bpe, ");
|
||||
sql.append(" DBMS_LOB.substr(coalesce(bpe.xmlcontingencia, bpe.xmlregular) , 4000, 4001) as xml_bpe_2, ");
|
||||
sql.append(" DBMS_LOB.substr(coalesce(bpe.xmlcontingencia, bpe.xmlregular) , 4000, 8001) as xml_bpe_3, ");
|
||||
sql.append(" DBMS_LOB.substr(bpe.xmlregular, 4000) as xml_bpe, ");
|
||||
sql.append(" DBMS_LOB.substr(bpe.xmlregular, 4000, 4001) as xml_bpe_2, ");
|
||||
sql.append(" DBMS_LOB.substr(bpe.xmlregular, 4000, 8001) as xml_bpe_3, ");
|
||||
sql.append(" bpe.tipoevento as tipoevento, ");
|
||||
sql.append(" bpe.desconto as v_desconto, ");
|
||||
sql.append(" bpe.chbpe, ");
|
||||
sql.append(" coalesce(chbpe_substituicao, ' ') as chbpe_sub, ");
|
||||
sql.append(" bpe.dhrecbto, ");
|
||||
sql.append(" to_char(c.feccreacion, 'yyyymmdd') as dh_emisao, ");
|
||||
sql.append(" to_char(c.feccreacion, 'yyyymmdd') as dhrecbto, ");
|
||||
sql.append(" to_char(c.fechorviaje, 'yyyymmdd') as dh_emisao, ");
|
||||
sql.append(" coalesce(bpe.tiposubstituicao, '0') as tp_bpe, ");
|
||||
sql.append(" bpe.retorno_id as retorno, ");
|
||||
sql.append(" bpe.nprot, ");
|
||||
|
@ -82,8 +80,7 @@ public class BpeHibernateDAO extends HibernateDaoSupport implements BpeDAO {
|
|||
sql.append(" (case when s.aliasorigen_id is null then ei.porcredestadual else eis.porcredestadual end) as porc_red_estadual, ");
|
||||
sql.append(" (case when s.aliasorigen_id is null then ei.tributacaoimportacao else eis.tributacaoimportacao end) as tributacao_importacao, ");
|
||||
sql.append(" (case when s.aliasorigen_id is null then ei.codigocontabilestadual else eis.codigocontabilestadual end) as codigocontabil_estadual, ");
|
||||
sql.append(" (case when s.aliasorigen_id is null then ei.codigocontabilmunicipal else eis.codigocontabilmunicipal end) as codigocontabil_municipal, ");
|
||||
sql.append(" pag.pagamentos ");
|
||||
sql.append(" (case when s.aliasorigen_id is null then ei.codigocontabilmunicipal else eis.codigocontabilmunicipal end) as codigocontabil_municipal ");
|
||||
sql.append(" from caja c ");
|
||||
sql.append(" join bpe bpe on c.transacao_id = bpe.boleto_id ");
|
||||
sql.append(" join estado e_bpe on e_bpe.codibge = bpe.uf ");
|
||||
|
@ -105,13 +102,6 @@ public class BpeHibernateDAO extends HibernateDaoSupport implements BpeDAO {
|
|||
sql.append(" left join ciudad cds on cds.ciudad_id = pds.ciudad_id ");
|
||||
sql.append(" left join estado eds on eds.estado_id = cds.estado_id ");
|
||||
sql.append(" left join empresa_imposto eis on eis.empresa_id = c.empresacorrida_id and eis.estado_id = eos.estado_id ");
|
||||
sql.append(" left join (select c.caja_id, ");
|
||||
sql.append(" listagg (fp.descpago || '|' || cf.importe , ';') within group (order by cf.formapago_id) as pagamentos ");
|
||||
sql.append(" from caja c ");
|
||||
sql.append(" inner join caja_formapago cf on cf.caja_id = c.caja_id ");
|
||||
sql.append(" inner join forma_pago fp on cf.formapago_id = fp.formapago_id ");
|
||||
sql.append(" where c.activo = 1 and cf.activo = 1 ");
|
||||
sql.append(" group by c.caja_id) pag on pag.caja_id = c.caja_id ");
|
||||
sql.append(" where c.activo = 1 and po.activo = 1 and co.activo = 1 and eo.activo = 1 and ei.activo = 1 ");
|
||||
sql.append(" and coalesce(case when s.aliasorigen_id is null then ei.activo else eis.activo end, 0) = 1 ");
|
||||
sql.append(" and bpe.tipoamb = 1 ");
|
||||
|
@ -169,7 +159,6 @@ public class BpeHibernateDAO extends HibernateDaoSupport implements BpeDAO {
|
|||
registro.setPorcRedMunicipal(rs.getBigDecimal("porc_red_municipal"));
|
||||
registro.setPorcRedEstadual(rs.getBigDecimal("porc_red_estadual"));
|
||||
registro.setTributacaoImportacao(rs.getBigDecimal("tributacao_importacao"));
|
||||
registro.setPagamentos(rs.getString("pagamentos"));
|
||||
registro.setCodstatus(rs.getString("codstatus"));
|
||||
registro.setTipoevento(rs.getString("tipoevento"));
|
||||
registro.setCodigoContabilEstadual(rs.getString("codigocontabil_estadual"));
|
||||
|
@ -188,6 +177,12 @@ public class BpeHibernateDAO extends HibernateDaoSupport implements BpeDAO {
|
|||
String xmlBpe = StringUtils.join(array);
|
||||
registro.setXml(xmlBpe);
|
||||
|
||||
boolean isCancelamento = exportacaoBPEVo.isItemCancelado(registro);
|
||||
if (isCancelamento) {
|
||||
String xmlAnterior = buscarXmlBPE(connection, (StringUtils.isBlank(registro.getChbpeSub()) ? registro.getChbpe() : registro.getChbpeSub()));
|
||||
registro.setXmlAnterior(xmlAnterior);
|
||||
}
|
||||
|
||||
exportacaoBPEVo.gerarListas(registro);
|
||||
}
|
||||
|
||||
|
@ -201,6 +196,49 @@ public class BpeHibernateDAO extends HibernateDaoSupport implements BpeDAO {
|
|||
return exportacaoBPEVo;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String buscarXmlBPE(Connection connection, String chBpe) {
|
||||
|
||||
String xmlBpe = null;
|
||||
StringBuilder sql = new StringBuilder();
|
||||
sql.append(" select distinct ");
|
||||
sql.append(" DBMS_LOB.substr(bpe.xmlregular, 4000) as xml_bpe, ");
|
||||
sql.append(" DBMS_LOB.substr(bpe.xmlregular, 4000, 4001) as xml_bpe_2, ");
|
||||
sql.append(" DBMS_LOB.substr(bpe.xmlregular, 4000, 8001) as xml_bpe_3 ");
|
||||
sql.append(" from bpe bpe ");
|
||||
sql.append(" where bpe.activo = 1 ");
|
||||
sql.append(" and bpe.tipoamb = 1 ");
|
||||
sql.append(" and bpe.codstat in ('100', '150') ");
|
||||
sql.append(" and bpe.chbpe = ? ");
|
||||
|
||||
try {
|
||||
PreparedStatement ps = connection.prepareStatement(sql.toString());
|
||||
ps.setString(1, chBpe);
|
||||
|
||||
ResultSet rs = ps.executeQuery();
|
||||
|
||||
while (rs.next()) {
|
||||
|
||||
String xml_bpe = rs.getNString("xml_bpe");
|
||||
String xml_bpe_2 = rs.getNString("xml_bpe_2");
|
||||
String xml_bpe_3 = rs.getNString("xml_bpe_3");
|
||||
String[] array = new String[3];
|
||||
array[0] = xml_bpe;
|
||||
array[1] = xml_bpe_2;
|
||||
array[2] = xml_bpe_3;
|
||||
xmlBpe = StringUtils.join(array);
|
||||
|
||||
}
|
||||
|
||||
rs.close();
|
||||
ps.close();
|
||||
|
||||
} catch (Exception e) {
|
||||
log.error(e.getMessage(), e);
|
||||
}
|
||||
return xmlBpe;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<FiscalRdi> buscarBpeRDI(Connection connection, Date inicio, Date fim, Integer empresaId, List<Estado> estados, boolean isReceitaTerceiros) {
|
||||
|
||||
|
|
|
@ -10,8 +10,10 @@ import com.rjconsultores.ventaboletos.utilerias.fiscal.vo.FiscalRdi;
|
|||
|
||||
public interface BpeService {
|
||||
|
||||
List<FiscalRdi> buscarBpeRDI(Date inicio, Date fim, Empresa empresa, List<Estado> estados, boolean isReceitaTerceiros);
|
||||
public List<FiscalRdi> buscarBpeRDI(Date inicio, Date fim, Empresa empresa, List<Estado> estados, boolean isReceitaTerceiros);
|
||||
|
||||
public File buscarArquivoExportacaoBPE(Date inicio, Date fim, Empresa empresa, Estado estado, String nomeArquivo);
|
||||
|
||||
public String buscarXmlBPE(String chBpe);
|
||||
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@ import com.rjconsultores.ventaboletos.utilerias.exportacao.ExportacaoBpe;
|
|||
import com.rjconsultores.ventaboletos.utilerias.exportacao.bpe.ExportacaoBPEVo;
|
||||
import com.rjconsultores.ventaboletos.utilerias.fiscal.vo.FiscalRdi;
|
||||
|
||||
@Service("bpeServiceImpl")
|
||||
@Service("bpeService")
|
||||
public class BpeServiceImpl implements BpeService {
|
||||
private static Logger log = Logger.getLogger(BpeServiceImpl.class);
|
||||
|
||||
|
@ -76,16 +76,27 @@ public class BpeServiceImpl implements BpeService {
|
|||
throw new RuntimeException(e);
|
||||
}
|
||||
}
|
||||
|
||||
// return null;
|
||||
}
|
||||
|
||||
// private String infoTempo(final String descricao, final Long inicio) {
|
||||
// final Long termino = Calendar.getInstance().getTimeInMillis();
|
||||
// final Long tempo = termino - inicio;
|
||||
//
|
||||
// return descricao + ": " + String.format("%dm %ds", TimeUnit.MILLISECONDS.toMinutes(tempo), TimeUnit.MILLISECONDS.toSeconds(tempo) - TimeUnit.MINUTES.toSeconds(TimeUnit.MILLISECONDS.toMinutes(tempo)));
|
||||
// }
|
||||
@Override
|
||||
public String buscarXmlBPE(String chBpe) {
|
||||
Connection connection = null;
|
||||
try {
|
||||
connection = getConnectionRead();
|
||||
return bpeDAO.buscarXmlBPE(connection, chBpe);
|
||||
|
||||
} finally {
|
||||
try {
|
||||
if (connection != null && !connection.isClosed()) {
|
||||
connection.close();
|
||||
}
|
||||
} catch (SQLException e) {
|
||||
log.error("error fechar conexão", e);
|
||||
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private Connection getConnectionRead() {
|
||||
return DataSourceUtils.getConnection(dataSourceRead);
|
||||
|
|
|
@ -53,15 +53,16 @@ public class ExportacaoBpe {
|
|||
adicionarRegistroBPETipoDPE(writer, tipoDPE);
|
||||
linhas++;
|
||||
}
|
||||
for (ExportacaoBPETipoOBE tipoOBE : ee.getListaRegistroOBE()) {
|
||||
adicionarRegistroBPETipoOBE(writer, tipoOBE);
|
||||
linhas++;
|
||||
}
|
||||
|
||||
for (ExportacaoBPETipoPRC tipoPRC : ee.getListaRegistroPRC()) {
|
||||
adicionarRegistroBPETipoRPC(writer, tipoPRC);
|
||||
linhas++;
|
||||
}
|
||||
// for (ExportacaoBPETipoOBE tipoOBE : ee.getListaRegistroOBE()) {
|
||||
// adicionarRegistroBPETipoOBE(writer, tipoOBE);
|
||||
// linhas++;
|
||||
// }
|
||||
|
||||
// for (ExportacaoBPETipoPRC tipoPRC : ee.getListaRegistroPRC()) {
|
||||
// adicionarRegistroBPETipoRPC(writer, tipoPRC);
|
||||
// linhas++;
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
|
@ -82,7 +83,7 @@ public class ExportacaoBpe {
|
|||
private void adicionarRegistroBPETipoCAB(final PrintWriter writer, final Date dataInicial, final Date dataFinal, final String nomeEmpresa, final String arquivo) {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("CAB").append(SEPARADOR);
|
||||
sb.append("116").append(SEPARADOR);
|
||||
sb.append("131").append(SEPARADOR);
|
||||
sb.append("TotalBus").append(SEPARADOR);
|
||||
sb.append(new SimpleDateFormat("yyyyMMdd").format(new Date())).append(SEPARADOR);
|
||||
sb.append(formataCaracter(nomeEmpresa, false, 15)).append(SEPARADOR);
|
||||
|
@ -103,7 +104,7 @@ public class ExportacaoBpe {
|
|||
String numero = tipoBPE.getNumero();
|
||||
String dataEmissao = tipoBPE.getDataEmissao();
|
||||
String situacaoDocumento = tipoBPE.getSituacaoDoc();
|
||||
String dataPrestacao = tipoBPE.getDataEmissao();
|
||||
String dataPrestacao = tipoBPE.getDataPrestacao();
|
||||
String valorBruto = formataValor(tipoBPE.getValorBruto(), 15);
|
||||
String valorDesconto = formataValor(tipoBPE.getValorDesconto(), 15);
|
||||
String UFOrigem = tipoBPE.getUFOrigem();
|
||||
|
@ -113,8 +114,12 @@ public class ExportacaoBpe {
|
|||
String CSTCOFINS = tipoBPE.getCstCofins();
|
||||
String receitaTributavelCOFINS = formataValor(tipoBPE.getReceitaTriCofins(), 15);
|
||||
String naturezaReceitaCOFINS = VAZIO;
|
||||
String CSTPIS = "01";
|
||||
String receitaTributávelPIS = formataValor(tipoBPE.getReceitaTributávelPis(), 15);
|
||||
|
||||
String CSTPIS = tipoBPE.getCstPis();
|
||||
|
||||
String receitaTributávelPIS = formataValor(tipoBPE.getReceitaTriCofins(), 15);
|
||||
// String receitaTributávelPIS = formataValor(tipoBPE.getReceitaTributávelPis(), 15);
|
||||
|
||||
String naturezaReceitaPIS = VAZIO;
|
||||
String receitaCSL1 = VAZIO;
|
||||
String receitaCSL2 = VAZIO;
|
||||
|
@ -123,11 +128,13 @@ public class ExportacaoBpe {
|
|||
String receitaIRPJ3 = VAZIO;
|
||||
String receitaIRPJ4 = VAZIO;
|
||||
String tipoBPe = tipoBPE.getTipoBPe();
|
||||
String chaveEletRef = tipoBPE.getChaveEletronicaReferencia();
|
||||
String codigoContabil = tipoBPE.getCodigoContabil();
|
||||
String chaveEletRef = VAZIO;
|
||||
// String chaveEletRef = tipoBPE.getChaveEletronicaReferencia();
|
||||
String codigoContabil = VAZIO;
|
||||
String codigoPrevidenciaria = "00000060";
|
||||
String codigoComplementar = VAZIO;
|
||||
String observacao = tipoBPE.getTpDesconto();
|
||||
String observacao = VAZIO;
|
||||
String codAjusteFiscal = VAZIO;
|
||||
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(tipoRegistro).append(SEPARADOR);
|
||||
|
@ -162,12 +169,13 @@ public class ExportacaoBpe {
|
|||
sb.append(codigoPrevidenciaria).append(SEPARADOR);
|
||||
sb.append(codigoComplementar).append(SEPARADOR);
|
||||
sb.append(observacao).append(SEPARADOR);
|
||||
sb.append(codAjusteFiscal);
|
||||
|
||||
writer.print(sb.toString() + UtiliteriasFiscal.QUEBRA_LINHA);
|
||||
}
|
||||
|
||||
private void adicionarRegistroBPETipoDPE(final PrintWriter writer, ExportacaoBPETipoDPE tipoDPE) {
|
||||
String tipoRegistro = "DPE";
|
||||
String tipoRegistro = "DBE";
|
||||
String valor = formataValor(tipoDPE.getValor(), 15);
|
||||
String CFOP = tipoDPE.getCfop();
|
||||
String CSTB = tipoDPE.getCstb();
|
||||
|
@ -188,7 +196,7 @@ public class ExportacaoBpe {
|
|||
sb.append(aliquotaICMS).append(SEPARADOR);
|
||||
sb.append(ICMS).append(SEPARADOR);
|
||||
sb.append(isentas).append(SEPARADOR);
|
||||
sb.append(outras).append(SEPARADOR);
|
||||
sb.append(outras);
|
||||
|
||||
writer.print(sb.toString() + UtiliteriasFiscal.QUEBRA_LINHA);
|
||||
}
|
||||
|
@ -201,7 +209,7 @@ public class ExportacaoBpe {
|
|||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(tipoRegistro).append(SEPARADOR);
|
||||
sb.append(codigo).append(SEPARADOR);
|
||||
sb.append(valor).append(SEPARADOR);
|
||||
sb.append(valor);
|
||||
|
||||
writer.print(sb.toString() + UtiliteriasFiscal.QUEBRA_LINHA);
|
||||
}
|
||||
|
@ -220,7 +228,7 @@ public class ExportacaoBpe {
|
|||
sb.append(municipio).append(SEPARADOR);
|
||||
sb.append(valor).append(SEPARADOR);
|
||||
sb.append(baseCalculoICMS).append(SEPARADOR);
|
||||
sb.append(ICMS).append(SEPARADOR);
|
||||
sb.append(ICMS);
|
||||
|
||||
writer.print(sb.toString() + UtiliteriasFiscal.QUEBRA_LINHA);
|
||||
}
|
||||
|
|
|
@ -38,6 +38,7 @@ public class ExportacaoBPEBase {
|
|||
private String codigocontabilMunicipal;
|
||||
private Integer crt;
|
||||
private String xml;
|
||||
private String xmlAnterior;
|
||||
|
||||
private List<ExportacaoBPETipoBPE> listaRegistroBPE;
|
||||
private List<ExportacaoBPETipoDPE> listaRegistroDPE;
|
||||
|
@ -339,4 +340,12 @@ public class ExportacaoBPEBase {
|
|||
this.listaRegistroPRC = listaRegistroPRC;
|
||||
}
|
||||
|
||||
public String getXmlAnterior() {
|
||||
return xmlAnterior;
|
||||
}
|
||||
|
||||
public void setXmlAnterior(String xmlAnterior) {
|
||||
this.xmlAnterior = xmlAnterior;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ public class ExportacaoBPETipoBPE {
|
|||
private String municipioDestino;
|
||||
private String cstCofins;
|
||||
private BigDecimal receitaTriCofins;
|
||||
private BigDecimal cstPis;
|
||||
private String cstPis;
|
||||
private BigDecimal receitaTributávelPis;
|
||||
private String tipoBPe;
|
||||
private String chaveEletronicaReferencia;
|
||||
|
@ -30,7 +30,7 @@ public class ExportacaoBPETipoBPE {
|
|||
public ExportacaoBPETipoBPE() {
|
||||
}
|
||||
|
||||
public ExportacaoBPETipoBPE(String estabelecimento, String chaveEletronica, String serie, String numero, String dataEmissao, String situacaoDoc, String dataPrestacao, BigDecimal valorBruto, BigDecimal valorDesconto, String uFOrigem, String municipioOrigem, String uFDestino, String municipioDestino, String cstCofins, BigDecimal receitaTriCofins, String tipoBPe, String chaveEletronicaReferencia, String codigoContabil, String indContribuicaoPrevidenciaria, String tpDesconto) {
|
||||
public ExportacaoBPETipoBPE(String estabelecimento, String chaveEletronica, String serie, String numero, String dataEmissao, String situacaoDoc, String dataPrestacao, BigDecimal valorBruto, BigDecimal valorDesconto, String uFOrigem, String municipioOrigem, String uFDestino, String municipioDestino, String cstCofins, BigDecimal receitaTriCofins, String tipoBPe, String chaveEletronicaReferencia, String codigoContabil, String indContribuicaoPrevidenciaria, String tpDesconto, String cstPis) {
|
||||
super();
|
||||
this.estabelecimento = estabelecimento;
|
||||
this.chaveEletronica = chaveEletronica;
|
||||
|
@ -52,6 +52,7 @@ public class ExportacaoBPETipoBPE {
|
|||
this.codigoContabil = codigoContabil;
|
||||
this.indContribuicaoPrevidenciaria = indContribuicaoPrevidenciaria;
|
||||
this.tpDesconto = tpDesconto;
|
||||
this.cstPis = cstPis;
|
||||
}
|
||||
|
||||
public String getEstabelecimento() {
|
||||
|
@ -174,11 +175,11 @@ public class ExportacaoBPETipoBPE {
|
|||
this.receitaTriCofins = receitaTriCofins;
|
||||
}
|
||||
|
||||
public BigDecimal getCstPis() {
|
||||
public String getCstPis() {
|
||||
return cstPis;
|
||||
}
|
||||
|
||||
public void setCstPis(BigDecimal cstPis) {
|
||||
public void setCstPis(String cstPis) {
|
||||
this.cstPis = cstPis;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,14 +1,26 @@
|
|||
package com.rjconsultores.ventaboletos.utilerias.exportacao.bpe;
|
||||
|
||||
import java.io.StringReader;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import javax.xml.bind.JAXBContext;
|
||||
import javax.xml.bind.JAXBException;
|
||||
import javax.xml.bind.Unmarshaller;
|
||||
|
||||
import org.apache.commons.lang.StringUtils;
|
||||
import org.apache.log4j.Logger;
|
||||
|
||||
import com.rjconsultores.ventaboletos.utilerias.UtiliteriasFiscal;
|
||||
import com.rjconsultores.ventaboletos.utilerias.exportacao.bpe.xml.BpeBuscaCamposXml;
|
||||
|
||||
import br.inf.portalfiscal.bpe.TBPe;
|
||||
|
||||
public class ExportacaoBPEVo {
|
||||
|
||||
private static Logger log = Logger.getLogger(ExportacaoBPEVo.class);
|
||||
|
||||
static String VAZIO = "";
|
||||
static final BigDecimal ZERO = BigDecimal.ZERO;
|
||||
|
||||
public class StatusBpe {
|
||||
|
@ -38,79 +50,127 @@ public class ExportacaoBPEVo {
|
|||
return listaRegistroBaseBPE;
|
||||
}
|
||||
|
||||
public boolean isItemCancelado(ExportacaoBPEBase registro) {
|
||||
return (registro.getCodstatus() == null ? false : (registro.getCodstatus().equals(StatusBpe.EVENTOS)));
|
||||
}
|
||||
|
||||
public void gerarListas(ExportacaoBPEBase registro) {
|
||||
|
||||
boolean isCancelamento = (registro.getCodstatus() == null ? false : (registro.getCodstatus().equals(StatusBpe.EVENTOS)));
|
||||
String cstCofins = isCancelamento ? "" : "01";
|
||||
BigDecimal receitaTriCofins = isCancelamento ? null : registro.getValortotal();
|
||||
String indContribuicaoPrevidenciaria = "00000060";
|
||||
|
||||
boolean isInterEstadual = registro.getEstadoOrigem().equals(registro.getEstadoDestino());
|
||||
String codigoContabil = isInterEstadual ? registro.getCodigoContabilEstadual() : registro.getCodigocontabilMunicipal();
|
||||
String indContribuicaoPrevidenciaria = "00000060";
|
||||
|
||||
ExportacaoBPETipoBPE tipoBPE = new ExportacaoBPETipoBPE(registro.getCodEstabelecimento(), registro.getChbpe(), registro.getNumSerieBpe(),
|
||||
registro.getNumBpe(), registro.getDhEmisao(), registro.getTpBpe(), registro.getDhrecbto(), registro.getValortotal(),
|
||||
registro.getvDesconto(), registro.getEstadoOrigem(), registro.getMunicipioOrigem(), registro.getEstadoDestino(), registro.getMunicipioDestino(),
|
||||
cstCofins, receitaTriCofins, registro.getRetorno(), registro.getChbpeSub(), codigoContabil,
|
||||
indContribuicaoPrevidenciaria, registro.getRetorno());
|
||||
boolean isCancelamento = (registro.getCodstatus() == null ? false : (registro.getCodstatus().equals(StatusBpe.EVENTOS)));
|
||||
String tpDoc = isCancelamento ? "1" : (StringUtils.isBlank(registro.getChbpeSub()) ? "0" : "2");
|
||||
|
||||
registro.getListaRegistroBPE().add(tipoBPE);
|
||||
TBPe tbpe = null;
|
||||
String xml = isCancelamento ? registro.getXmlAnterior() : registro.getXml();
|
||||
|
||||
String cfop = isInterEstadual ? "6357" : "5357";
|
||||
String cstb = isInterEstadual ? (registro.getRedBaseCalcEstadual() == null || registro.getRedBaseCalcEstadual().equals(ZERO)) ? "00" : "20"
|
||||
: (registro.getRedBaseCalcMunicipal() == null || registro.getRedBaseCalcMunicipal().equals(ZERO)) ? "00" : "20";
|
||||
if (xml != null)
|
||||
tbpe = convertXmlToBpe(xml);
|
||||
|
||||
String csosnb = null;
|
||||
if (registro.getCrt().equals(CrtBpe.SIMPLES_NACIONAL)) {
|
||||
csosnb = CrtBpe.SIMPLES_NACIONAL.toString();
|
||||
csosnb = UtiliteriasFiscal.formataNumerico(csosnb, 3);
|
||||
} else if (registro.getCrt().equals(CrtBpe.SIMPLES_NACIONAL_EXCESSO_RECEITA_BRUTA)) {
|
||||
csosnb = CrtBpe.SIMPLES_NACIONAL_EXCESSO_RECEITA_BRUTA.toString();
|
||||
csosnb = UtiliteriasFiscal.formataNumerico(csosnb, 3);
|
||||
}
|
||||
String municipioOrigem = StringUtils.substring((StringUtils.isNotBlank(xml) ? tbpe.getInfBPe().getIde().getCMunIni() : registro.getMunicipioOrigem()), 2);
|
||||
String municipioDestino = StringUtils.substring((StringUtils.isNotBlank(xml) ? tbpe.getInfBPe().getIde().getCMunFim() : registro.getMunicipioDestino()), 2);
|
||||
|
||||
BpeBuscaCamposXml buscaCamposXml = BpeBuscaCamposXml.getInstance(registro.getXml());
|
||||
String estadoOrigem = StringUtils.substring((StringUtils.isNotBlank(xml) ? tbpe.getInfBPe().getIde().getUFIni().value() : registro.getEstadoOrigem()), 2);
|
||||
String estadoDestino = StringUtils.substring((StringUtils.isNotBlank(xml) ? tbpe.getInfBPe().getIde().getUFFim().value() : registro.getEstadoDestino()), 2);
|
||||
|
||||
String vBC = buscaCamposXml.buscaCamposXml("vBC");
|
||||
String pICMS = buscaCamposXml.buscaCamposXml("pICMS");
|
||||
String vICMS = buscaCamposXml.buscaCamposXml("vICMS");
|
||||
if (isCancelamento) {
|
||||
|
||||
BigDecimal baseCalculoICMS = new BigDecimal(vBC == null ? "0.0" : vBC);
|
||||
BigDecimal aliquotaICMS = new BigDecimal(pICMS == null ? "0.0" : pICMS);
|
||||
BigDecimal icms = new BigDecimal(vICMS == null ? "0.0" : vICMS);
|
||||
ExportacaoBPETipoBPE tipoBPE = new ExportacaoBPETipoBPE(registro.getCodEstabelecimento(), registro.getChbpe(), registro.getNumSerieBpe(),
|
||||
registro.getNumBpe(), registro.getDhrecbto(), tpDoc, registro.getDhEmisao(), ZERO, ZERO,
|
||||
estadoOrigem, municipioOrigem, estadoDestino, municipioDestino,
|
||||
VAZIO, ZERO, VAZIO, registro.getChbpeSub(), codigoContabil,
|
||||
indContribuicaoPrevidenciaria, registro.getRetorno(), VAZIO);
|
||||
|
||||
registro.getListaRegistroBPE().add(tipoBPE);
|
||||
|
||||
BigDecimal isentas = ZERO;
|
||||
if (registro.isIsenta()) {
|
||||
isentas = ZERO;
|
||||
} else {
|
||||
isentas = registro.getValortotal();
|
||||
String vBC = tbpe.getInfBPe().getImp().getICMS().getICMS00().getVBC();
|
||||
String pICMS = tbpe.getInfBPe().getImp().getICMS().getICMS00().getPICMS();
|
||||
String vICMS = tbpe.getInfBPe().getImp().getICMS().getICMS00().getVICMS();
|
||||
String vBP = tbpe.getInfBPe().getInfValorBPe().getVBP();
|
||||
|
||||
String cstCofins = "01";
|
||||
String cstPis = "01";
|
||||
BigDecimal receitaTriCofins = new BigDecimal(vBC == null ? "0.0" : vBC);
|
||||
|
||||
BigDecimal valorBruto = new BigDecimal(vBP == null ? "0.0" : vBP);
|
||||
|
||||
String tpBpe = (StringUtils.isBlank(registro.getChbpeSub()) ? "1" : "2");
|
||||
// String tpBpe = tbpe.getInfBPe().getIde().getTpBPe();
|
||||
|
||||
String chbpeSub = tbpe.getInfBPe().getInfBPeSub() == null ? "" : tbpe.getInfBPe().getInfBPeSub().getChBPe();
|
||||
|
||||
ExportacaoBPETipoBPE tipoBPE = new ExportacaoBPETipoBPE(registro.getCodEstabelecimento(), registro.getChbpe(), registro.getNumSerieBpe(),
|
||||
registro.getNumBpe(), registro.getDhrecbto(), tpDoc, registro.getDhEmisao(), valorBruto,
|
||||
registro.getvDesconto(), registro.getEstadoOrigem(), municipioOrigem, registro.getEstadoDestino(), municipioDestino,
|
||||
cstCofins, receitaTriCofins, tpBpe, chbpeSub, codigoContabil,
|
||||
indContribuicaoPrevidenciaria, registro.getRetorno(), cstPis);
|
||||
|
||||
registro.getListaRegistroBPE().add(tipoBPE);
|
||||
|
||||
String cfop = isInterEstadual ? "5357" : "6357";
|
||||
String cstb = isInterEstadual ? (registro.getRedBaseCalcEstadual() == null || registro.getRedBaseCalcEstadual().equals(ZERO)) ? "00" : "20"
|
||||
: (registro.getRedBaseCalcMunicipal() == null || registro.getRedBaseCalcMunicipal().equals(ZERO)) ? "00" : "20";
|
||||
|
||||
String csosnb = "";
|
||||
if (registro.getCrt().equals(CrtBpe.SIMPLES_NACIONAL)) {
|
||||
csosnb = CrtBpe.SIMPLES_NACIONAL.toString();
|
||||
csosnb = UtiliteriasFiscal.formataNumerico(csosnb, 3);
|
||||
} else if (registro.getCrt().equals(CrtBpe.SIMPLES_NACIONAL_EXCESSO_RECEITA_BRUTA)) {
|
||||
csosnb = CrtBpe.SIMPLES_NACIONAL_EXCESSO_RECEITA_BRUTA.toString();
|
||||
csosnb = UtiliteriasFiscal.formataNumerico(csosnb, 3);
|
||||
}
|
||||
|
||||
BigDecimal baseCalculoICMS = new BigDecimal(vBC == null ? "0.0" : vBC);
|
||||
BigDecimal aliquotaICMS = new BigDecimal(pICMS == null ? "0.0" : pICMS);
|
||||
BigDecimal icms = new BigDecimal(vICMS == null ? "0.0" : vICMS);
|
||||
|
||||
BigDecimal isentas = registro.getValortotal().subtract(baseCalculoICMS);
|
||||
|
||||
BigDecimal outras = ZERO;
|
||||
|
||||
ExportacaoBPETipoDPE tipoDPE = new ExportacaoBPETipoDPE(registro.getValortotal(), cfop, cstb, csosnb,
|
||||
baseCalculoICMS, aliquotaICMS, icms, isentas, outras);
|
||||
registro.getListaRegistroDPE().add(tipoDPE);
|
||||
|
||||
// BpeBuscaCamposXml buscaCamposXml = BpeBuscaCamposXml.getInstance(registro.getXml());
|
||||
// String[] atpComp = buscaCamposXml.buscaCamposXmlArray("tpComp");
|
||||
// String[] avComp = buscaCamposXml.buscaCamposXmlArray("vComp");
|
||||
//
|
||||
// for (int i = 0; i < avComp.length; i++) {
|
||||
// String tpComp = atpComp[i];
|
||||
// String vComp = avComp[i];
|
||||
// BigDecimal valor = new BigDecimal(vComp == null ? "0.0" : vComp);
|
||||
//
|
||||
// ExportacaoBPETipoOBE tipoOBE = new ExportacaoBPETipoOBE(tpComp, valor);
|
||||
// registro.getListaRegistroOBE().add(tipoOBE);
|
||||
// }
|
||||
|
||||
// BigDecimal valorBP = new BigDecimal(vBP == null ? "0.0" : vBP);
|
||||
|
||||
// ExportacaoBPETipoPRC tipoPRC = new ExportacaoBPETipoPRC(registro.getEstadoOrigem(), registro.getMunicipioOrigem(), valorBP, baseCalculoICMS, icms);
|
||||
// registro.getListaRegistroPRC().add(tipoPRC);
|
||||
|
||||
}
|
||||
|
||||
BigDecimal outras = registro.getValortotal().subtract(baseCalculoICMS);
|
||||
|
||||
ExportacaoBPETipoDPE tipoDPE = new ExportacaoBPETipoDPE(registro.getValortotal(), cfop, cstb, csosnb,
|
||||
baseCalculoICMS, aliquotaICMS, icms, isentas, outras);
|
||||
registro.getListaRegistroDPE().add(tipoDPE);
|
||||
|
||||
String[] atpComp = buscaCamposXml.buscaCamposXmlArray("tpComp");
|
||||
String[] avComp = buscaCamposXml.buscaCamposXmlArray("vComp");
|
||||
|
||||
for (int i = 0; i < avComp.length; i++) {
|
||||
String tpComp = atpComp[i];
|
||||
String vComp = avComp[i];
|
||||
BigDecimal valor = new BigDecimal(vComp == null ? "0.0" : vComp);
|
||||
|
||||
ExportacaoBPETipoOBE tipoOBE = new ExportacaoBPETipoOBE(tpComp, valor);
|
||||
registro.getListaRegistroOBE().add(tipoOBE);
|
||||
}
|
||||
|
||||
String vBP = buscaCamposXml.buscaCamposXml("vBP");
|
||||
BigDecimal valorBP = new BigDecimal(vBP == null ? "0.0" : vBP);
|
||||
|
||||
ExportacaoBPETipoPRC tipoPRC = new ExportacaoBPETipoPRC(registro.getEstadoOrigem(), registro.getMunicipioOrigem(), valorBP, baseCalculoICMS, icms);
|
||||
registro.getListaRegistroPRC().add(tipoPRC);
|
||||
|
||||
this.getListaRegistroBaseBPE().add(registro);
|
||||
}
|
||||
|
||||
private TBPe convertXmlToBpe(String xml) {
|
||||
TBPe objeto = null;
|
||||
if (xml != null) {
|
||||
try {
|
||||
JAXBContext jaxbContext = JAXBContext.newInstance(TBPe.class);
|
||||
Unmarshaller unmarshaller = jaxbContext.createUnmarshaller();
|
||||
StringReader reader = new StringReader(xml);
|
||||
objeto = (TBPe) unmarshaller.unmarshal(reader);
|
||||
} catch (JAXBException e) {
|
||||
log.info("Nao encontrou o xml bpe");
|
||||
}
|
||||
}
|
||||
return objeto;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,104 @@
|
|||
//
|
||||
// Este arquivo foi gerado pela Arquitetura JavaTM para Implementação de Referência (JAXB) de Bind XML, v2.2.8-b130911.1802
|
||||
// Consulte <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Todas as modificações neste arquivo serão perdidas após a recompilação do esquema de origem.
|
||||
// Gerado em: 2017.08.14 às 03:08:29 PM BRT
|
||||
//
|
||||
|
||||
|
||||
package org.w3._2000._09.xmldsig_;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlAttribute;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlID;
|
||||
import javax.xml.bind.annotation.XmlSchemaType;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
|
||||
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Classe Java de KeyInfoType complex type.
|
||||
*
|
||||
* <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
|
||||
*
|
||||
* <pre>
|
||||
* <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>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "KeyInfoType", propOrder = {
|
||||
"x509Data"
|
||||
})
|
||||
public class KeyInfoType {
|
||||
|
||||
@XmlElement(name = "X509Data", 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;
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,140 @@
|
|||
////
|
||||
//// Este arquivo foi gerado pela Arquitetura JavaTM para Implementação de Referência (JAXB) de Bind XML, v2.2.8-b130911.1802
|
||||
//// Consulte <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
//// Todas as modificações neste arquivo serão perdidas após a recompilação do esquema de origem.
|
||||
//// Gerado em: 2017.08.14 às 03:08:29 PM BRT
|
||||
////
|
||||
//
|
||||
//
|
||||
//package org.w3._2000._09.xmldsig_;
|
||||
//
|
||||
//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 org.w3._2000._09.xmldsig_ package.
|
||||
// * <p>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 _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: org.w3._2000._09.xmldsig_
|
||||
// *
|
||||
// */
|
||||
// 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 SignatureType }
|
||||
// *
|
||||
// */
|
||||
// public SignatureType createSignatureType() {
|
||||
// return new SignatureType();
|
||||
// }
|
||||
//
|
||||
// /**
|
||||
// * Create an instance of {@link X509DataType }
|
||||
// *
|
||||
// */
|
||||
// public X509DataType createX509DataType() {
|
||||
// return new X509DataType();
|
||||
// }
|
||||
//
|
||||
// /**
|
||||
// * 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 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 JAXBElement }{@code <}{@link SignatureType }{@code >}}
|
||||
// *
|
||||
// */
|
||||
// @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Signature")
|
||||
// public JAXBElement<SignatureType> createSignature(SignatureType value) {
|
||||
// return new JAXBElement<SignatureType>(_Signature_QNAME, SignatureType.class, null, value);
|
||||
// }
|
||||
//
|
||||
//}
|
|
@ -0,0 +1,283 @@
|
|||
//
|
||||
// Este arquivo foi gerado pela Arquitetura JavaTM para Implementação de Referência (JAXB) de Bind XML, v2.2.8-b130911.1802
|
||||
// Consulte <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Todas as modificações neste arquivo serão perdidas após a recompilação do esquema de origem.
|
||||
// Gerado em: 2017.08.14 às 03:08:29 PM BRT
|
||||
//
|
||||
|
||||
|
||||
package org.w3._2000._09.xmldsig_;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlAttribute;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlID;
|
||||
import javax.xml.bind.annotation.XmlSchemaType;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
|
||||
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Classe Java de ReferenceType complex type.
|
||||
*
|
||||
* <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
|
||||
*
|
||||
* <pre>
|
||||
* <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>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "ReferenceType", propOrder = {
|
||||
"transforms",
|
||||
"digestMethod",
|
||||
"digestValue"
|
||||
})
|
||||
public class ReferenceType {
|
||||
|
||||
@XmlElement(name = "Transforms", required = true)
|
||||
protected TransformsType transforms;
|
||||
@XmlElement(name = "DigestMethod", required = true)
|
||||
protected ReferenceType.DigestMethod digestMethod;
|
||||
@XmlElement(name = "DigestValue", 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;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* <p>Classe Java de anonymous complex type.
|
||||
*
|
||||
* <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
|
||||
*
|
||||
* <pre>
|
||||
* <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>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,160 @@
|
|||
//
|
||||
// Este arquivo foi gerado pela Arquitetura JavaTM para Implementação de Referência (JAXB) de Bind XML, v2.2.8-b130911.1802
|
||||
// Consulte <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Todas as modificações neste arquivo serão perdidas após a recompilação do esquema de origem.
|
||||
// Gerado em: 2017.08.14 às 03:08:29 PM BRT
|
||||
//
|
||||
|
||||
|
||||
package org.w3._2000._09.xmldsig_;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlAttribute;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlID;
|
||||
import javax.xml.bind.annotation.XmlSchemaType;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
|
||||
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Classe Java de SignatureType complex type.
|
||||
*
|
||||
* <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
|
||||
*
|
||||
* <pre>
|
||||
* <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>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "SignatureType", propOrder = {
|
||||
"signedInfo",
|
||||
"signatureValue",
|
||||
"keyInfo"
|
||||
})
|
||||
public class SignatureType {
|
||||
|
||||
@XmlElement(name = "SignedInfo", required = true)
|
||||
protected SignedInfoType signedInfo;
|
||||
@XmlElement(name = "SignatureValue", required = true)
|
||||
protected SignatureValueType signatureValue;
|
||||
@XmlElement(name = "KeyInfo", 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;
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,99 @@
|
|||
//
|
||||
// Este arquivo foi gerado pela Arquitetura JavaTM para Implementação de Referência (JAXB) de Bind XML, v2.2.8-b130911.1802
|
||||
// Consulte <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Todas as modificações neste arquivo serão perdidas após a recompilação do esquema de origem.
|
||||
// Gerado em: 2017.08.14 às 03:08:29 PM BRT
|
||||
//
|
||||
|
||||
|
||||
package org.w3._2000._09.xmldsig_;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlAttribute;
|
||||
import javax.xml.bind.annotation.XmlID;
|
||||
import javax.xml.bind.annotation.XmlSchemaType;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
import javax.xml.bind.annotation.XmlValue;
|
||||
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
|
||||
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Classe Java de SignatureValueType complex type.
|
||||
*
|
||||
* <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
|
||||
*
|
||||
* <pre>
|
||||
* <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>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "SignatureValueType", 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;
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,288 @@
|
|||
//
|
||||
// Este arquivo foi gerado pela Arquitetura JavaTM para Implementação de Referência (JAXB) de Bind XML, v2.2.8-b130911.1802
|
||||
// Consulte <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Todas as modificações neste arquivo serão perdidas após a recompilação do esquema de origem.
|
||||
// Gerado em: 2017.08.14 às 03:08:29 PM BRT
|
||||
//
|
||||
|
||||
|
||||
package org.w3._2000._09.xmldsig_;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlAttribute;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlID;
|
||||
import javax.xml.bind.annotation.XmlSchemaType;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
|
||||
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Classe Java de SignedInfoType complex type.
|
||||
*
|
||||
* <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
|
||||
*
|
||||
* <pre>
|
||||
* <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>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "SignedInfoType", propOrder = {
|
||||
"canonicalizationMethod",
|
||||
"signatureMethod",
|
||||
"reference"
|
||||
})
|
||||
public class SignedInfoType {
|
||||
|
||||
@XmlElement(name = "CanonicalizationMethod", required = true)
|
||||
protected SignedInfoType.CanonicalizationMethod canonicalizationMethod;
|
||||
@XmlElement(name = "SignatureMethod", required = true)
|
||||
protected SignedInfoType.SignatureMethod signatureMethod;
|
||||
@XmlElement(name = "Reference", 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;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* <p>Classe Java de anonymous complex type.
|
||||
*
|
||||
* <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
|
||||
*
|
||||
* <pre>
|
||||
* <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>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* <p>Classe Java de anonymous complex type.
|
||||
*
|
||||
* <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
|
||||
*
|
||||
* <pre>
|
||||
* <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>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,104 @@
|
|||
//
|
||||
// Este arquivo foi gerado pela Arquitetura JavaTM para Implementação de Referência (JAXB) de Bind XML, v2.2.8-b130911.1802
|
||||
// Consulte <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Todas as modificações neste arquivo serão perdidas após a recompilação do esquema de origem.
|
||||
// Gerado em: 2017.08.14 às 03:08:29 PM BRT
|
||||
//
|
||||
|
||||
|
||||
package org.w3._2000._09.xmldsig_;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlAttribute;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Classe Java de TransformType complex type.
|
||||
*
|
||||
* <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
|
||||
*
|
||||
* <pre>
|
||||
* <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>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "TransformType", propOrder = {
|
||||
"xPath"
|
||||
})
|
||||
public class TransformType {
|
||||
|
||||
@XmlElement(name = "XPath")
|
||||
protected List<String> xPath;
|
||||
@XmlAttribute(name = "Algorithm", required = true)
|
||||
protected String algorithm;
|
||||
|
||||
/**
|
||||
* Gets the value of the xPath property.
|
||||
*
|
||||
* <p>
|
||||
* 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 <CODE>set</CODE> method for the xPath property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getXPath().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link String }
|
||||
*
|
||||
*
|
||||
*/
|
||||
public List<String> getXPath() {
|
||||
if (xPath == null) {
|
||||
xPath = new ArrayList<String>();
|
||||
}
|
||||
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;
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,76 @@
|
|||
//
|
||||
// Este arquivo foi gerado pela Arquitetura JavaTM para Implementação de Referência (JAXB) de Bind XML, v2.2.8-b130911.1802
|
||||
// Consulte <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Todas as modificações neste arquivo serão perdidas após a recompilação do esquema de origem.
|
||||
// Gerado em: 2017.08.14 às 03:08:29 PM BRT
|
||||
//
|
||||
|
||||
|
||||
package org.w3._2000._09.xmldsig_;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Classe Java de TransformsType complex type.
|
||||
*
|
||||
* <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
|
||||
*
|
||||
* <pre>
|
||||
* <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>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "TransformsType", propOrder = {
|
||||
"transform"
|
||||
})
|
||||
public class TransformsType {
|
||||
|
||||
@XmlElement(name = "Transform", required = true)
|
||||
protected List<TransformType> transform;
|
||||
|
||||
/**
|
||||
* Gets the value of the transform property.
|
||||
*
|
||||
* <p>
|
||||
* 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 <CODE>set</CODE> method for the transform property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getTransform().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link TransformType }
|
||||
*
|
||||
*
|
||||
*/
|
||||
public List<TransformType> getTransform() {
|
||||
if (transform == null) {
|
||||
transform = new ArrayList<TransformType>();
|
||||
}
|
||||
return this.transform;
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,67 @@
|
|||
//
|
||||
// Este arquivo foi gerado pela Arquitetura JavaTM para Implementação de Referência (JAXB) de Bind XML, v2.2.8-b130911.1802
|
||||
// Consulte <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Todas as modificações neste arquivo serão perdidas após a recompilação do esquema de origem.
|
||||
// Gerado em: 2017.08.14 às 03:08:29 PM BRT
|
||||
//
|
||||
|
||||
|
||||
package org.w3._2000._09.xmldsig_;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Classe Java de X509DataType complex type.
|
||||
*
|
||||
* <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
|
||||
*
|
||||
* <pre>
|
||||
* <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>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "X509DataType", propOrder = {
|
||||
"x509Certificate"
|
||||
})
|
||||
public class X509DataType {
|
||||
|
||||
@XmlElement(name = "X509Certificate", 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;
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
//
|
||||
// Este arquivo foi gerado pela Arquitetura JavaTM para Implementação de Referência (JAXB) de Bind XML, v2.2.8-b130911.1802
|
||||
// Consulte <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Todas as modificações neste arquivo serão perdidas após a recompilação do esquema de origem.
|
||||
// Gerado em: 2017.08.14 às 03:08:29 PM BRT
|
||||
//
|
||||
|
||||
//@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.w3.org/2000/09/xmldsig#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
|
||||
package org.w3._2000._09.xmldsig_;
|
Loading…
Reference in New Issue