Blame |
Last modification |
View Log
| Download
| RSS feed
package br.com.swconsultoria.nfe.schema.retEnvEventoAtorInteressado;
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;
/**
* Tipo Lote de Envio
*
* <p>Classe Java de TEnvEvento complex type.
*
* <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
*
* <pre>
* <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>
* </pre>
*
*
*/
@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<TEvento
> 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.
*
* <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 evento property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getEvento().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TEvento }
*
*
*/
public List<TEvento
> getEvento
() {
if (evento ==
null) {
evento =
new ArrayList<TEvento
>();
}
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
;
}
}