br.com.swconsultoria.nfe.schema.envEpec.TEnvEvento Maven / Gradle / Ivy
Show all versions of java-nfe Show documentation
package br.com.swconsultoria.nfe.schema.envEpec;
import javax.xml.bind.annotation.*;
import java.util.ArrayList;
import java.util.List;
/**
* Tipo Lote de Envio
*
* Classe Java de TEnvEvento complex type.
*
*
O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
*
*
* <complexType name="TEnvEvento">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="idLote">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <whiteSpace value="preserve"/>
* <pattern value="[0-9]{1,15}"/>
* </restriction>
* </simpleType>
* </element>
* <element name="evento" type="{http://www.portalfiscal.inf.br/nfe}TEvento" maxOccurs="20"/>
* </sequence>
* <attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/nfe}TVerEnvEvento" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TEnvEvento", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = {
"idLote",
"evento"
})
public class TEnvEvento {
@XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
protected String idLote;
@XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
protected List evento;
@XmlAttribute(name = "versao", required = true)
protected String versao;
/**
* Obtém o valor da propriedade idLote.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIdLote() {
return idLote;
}
/**
* Define o valor da propriedade idLote.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIdLote(String value) {
this.idLote = value;
}
/**
* Gets the value of the evento property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the evento property.
*
*
* For example, to add a new item, do as follows:
*
* getEvento().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TEvento }
*
*
*/
public List getEvento() {
if (evento == null) {
evento = new ArrayList();
}
return this.evento;
}
/**
* Obtém o valor da propriedade versao.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVersao() {
return versao;
}
/**
* Define o valor da propriedade versao.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVersao(String value) {
this.versao = value;
}
}