Class TEvento

java.lang.Object
systextil.integracao.xml.nfe.TEvento

public class TEvento extends Object
Tipo Evento

Classe Java de TEvento complex type.

O seguinte fragmento do esquema especifica o conteudo esperado contido dentro desta classe.

 <complexType name="TEvento">
   <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
                 <element name="infEvento">
                   <complexType>
                         <complexContent>
                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="cOrgao" type="{http://www.portalfiscal.inf.br/nfe}TCOrgaoIBGE"/>
                                   <element name="tpAmb" type="{http://www.portalfiscal.inf.br/nfe}TAmb"/>
                                   <choice>
                                         <element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpjOpc"/>
                                         <element name="CPF" type="{http://www.portalfiscal.inf.br/nfe}TCpf"/>
                                   </choice>
                                   <element name="chNFe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe"/>
                                   <element name="dhEvento" type="{http://www.portalfiscal.inf.br/nfe}TDateTimeUTC"/>
                                   <element name="tpEvento">
                                         <simpleType>
                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                 <whiteSpace value="preserve"/>
                                                 <pattern value="[0-9]{6}"/>
                                           </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}"/>
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <element name="verEvento">
                                         <simpleType>
                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                 <whiteSpace value="preserve"/>
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <element name="detEvento">
                                         <complexType>
                                           <complexContent>
                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                   <sequence>
                                                         <any processContents='skip' maxOccurs="unbounded"/>
                                                   </sequence>
                                                   <anyAttribute processContents='skip'/>
                                                 </restriction>
                                           </complexContent>
                                         </complexType>
                                   </element>
                                 </sequence>
                                 <attribute name="Id" use="required">
                                   <simpleType>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}ID">
                                           <pattern value="ID[0-9]{52}"/>
                                         </restriction>
                                   </simpleType>
                                 </attribute>
                           </restriction>
                         </complexContent>
                   </complexType>
                 </element>
                 <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature"/>
           </sequence>
           <attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/nfe}TVerEvento" />
         </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • TEvento

      public TEvento()
  • Method Details

    • getInfEvento

      public TEvento.InfEvento getInfEvento()
      Obtem o valor da propriedade infEvento.
      Returns:
      possible object is TEvento.InfEvento
    • setInfEvento

      public void setInfEvento(TEvento.InfEvento value)
      Define o valor da propriedade infEvento.
      Parameters:
      value - allowed object is TEvento.InfEvento
    • getSignature

      public SignatureType getSignature()
      Obtem o valor da propriedade signature.
      Returns:
      possible object is SignatureType
    • setSignature

      public void setSignature(SignatureType value)
      Define o valor da propriedade signature.
      Parameters:
      value - allowed object is SignatureType
    • getVersao

      public String getVersao()
      Obtem o valor da propriedade versao.
      Returns:
      possible object is String
    • setVersao

      public void setVersao(String value)
      Define o valor da propriedade versao.
      Parameters:
      value - allowed object is String