• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wmixvideo / nfe / #7170

16 Dec 2025 05:21PM UTC coverage: 50.585% (-1.6%) from 52.149%
#7170

push

web-flow
Feature/nt 2025.002 v1.2 eventos (#1131)

* ajustado tipo do objeto no protocolo para o objeto cancelamento evento

* corrigido sequencial eventos atuais

* update pom

* implementado eventos novos nfe

* removed interface

* replicado classes pai do evento para todos eventos

* ajustado validator percentuaç

* ajustado anotação lists

* ajustado limite desc evento

8 of 884 new or added lines in 70 files covered. (0.9%)

3 existing lines in 1 file now uncovered.

14779 of 29216 relevant lines covered (50.59%)

0.51 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/main/java/com/fincatto/documentofiscal/nfe400/classes/evento/NFEnviaEvento.java
1
package com.fincatto.documentofiscal.nfe400.classes.evento;
2

3
import com.fincatto.documentofiscal.DFBase;
4
import com.fincatto.documentofiscal.validadores.DFBigDecimalValidador;
5
import com.fincatto.documentofiscal.validadores.DFListValidador;
6
import com.fincatto.documentofiscal.validadores.DFStringValidador;
7
import org.simpleframework.xml.Attribute;
8
import org.simpleframework.xml.Element;
9
import org.simpleframework.xml.ElementList;
10
import org.simpleframework.xml.Namespace;
11
import org.simpleframework.xml.Root;
12

13
import java.math.BigDecimal;
14
import java.util.List;
15

16
@Root(name = "envEvento")
17
@Namespace(reference = "http://www.portalfiscal.inf.br/nfe")
NEW
18
public class NFEnviaEvento extends DFBase {
×
19
    private static final long serialVersionUID = -5454462961659029815L;
20
    
21
    @Attribute(name = "versao")
22
    private String versao;
23
    
24
    @Element(name = "idLote")
25
    private String idLote;
26
    
27
    @ElementList(entry = "evento", inline = true)
28
    private List<NFEvento> evento;
29

30
    public void setVersao(final BigDecimal versao) {
NEW
31
        this.versao = DFBigDecimalValidador.tamanho5Com2CasasDecimais(versao, "Versao");
×
NEW
32
    }
×
33

34
    public String getVersao() {
NEW
35
        return this.versao;
×
36
    }
37

38
    public String getIdLote() {
NEW
39
        return this.idLote;
×
40
    }
41

42
    public void setIdLote(final String idLote) {
NEW
43
        DFStringValidador.tamanho15N(idLote, "ID do Lote");
×
NEW
44
        this.idLote = idLote;
×
NEW
45
    }
×
46

47
    public List<NFEvento> getEvento() {
NEW
48
        return this.evento;
×
49
    }
50

51
    public void setEvento(final List<NFEvento> evento) {
NEW
52
        DFListValidador.tamanho20(evento, "Eventos");
×
NEW
53
        this.evento = evento;
×
NEW
54
    }
×
55
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc