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

wmixvideo / nfe / #7324

18 Nov 2025 12:44PM UTC coverage: 52.488%. Remained the same
#7324

push

web-flow
Merge 5aad707ce into 2d4409cab

272 of 387 new or added lines in 14 files covered. (70.28%)

704 existing lines in 45 files now uncovered.

14639 of 27890 relevant lines covered (52.49%)

0.52 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/epec/NFInfoEventoEpec.java
1
package com.fincatto.documentofiscal.nfe400.classes.evento.epec;
2

3
import com.fincatto.documentofiscal.DFAmbiente;
4
import com.fincatto.documentofiscal.DFBase;
5
import com.fincatto.documentofiscal.DFUnidadeFederativa;
6
import com.fincatto.documentofiscal.validadores.DFBigDecimalValidador;
7
import com.fincatto.documentofiscal.validadores.DFIntegerValidador;
8
import com.fincatto.documentofiscal.validadores.DFStringValidador;
9
import org.simpleframework.xml.Attribute;
10
import org.simpleframework.xml.Element;
11

12
import java.math.BigDecimal;
13
import java.time.ZonedDateTime;
14

15

16
public class NFInfoEventoEpec extends DFBase {
×
17

18
    private static final long serialVersionUID = 1L;
19

20
        @Attribute(name = "Id", required = true)
21
    private String identificador;
22

23
    @Element(name = "cOrgao", required = true)
24
    private DFUnidadeFederativa orgao;
25

26
    @Element(name = "tpAmb", required = true)
27
    private DFAmbiente ambiente;
28

29
    @Element(name = "CNPJ", required = false)
30
    private String cnpj;
31

32
    @Element(name = "CPF", required = false)
33
    private String cpf;
34

35
    @Element(name = "chNFe", required = true)
36
    private String chave;
37

38
    @Element(name = "dhEvento", required = true)
39
    private ZonedDateTime dataHoraEvento;
40

41
    @Element(name = "tpEvento", required = true)
42
    private String codigoEvento;
43

44
    @Element(name = "nSeqEvento", required = true)
45
    private Integer numeroSequencialEvento;
46

47
    @Element(name = "verEvento", required = true)
48
    private String versaoEvento;
49

50
    @Element(name = "detEvento", required = true)
51
    private NFInfoEpec epec;
52

53
    public void setOrgao(final DFUnidadeFederativa orgao) {
UNCOV
54
        this.orgao = orgao;
×
UNCOV
55
    }
×
56

57
    public void setVersaoEvento(final BigDecimal versaoEvento) {
UNCOV
58
        this.versaoEvento = DFBigDecimalValidador.tamanho5Com2CasasDecimais(versaoEvento, "Versao do Evento");
×
UNCOV
59
    }
×
60

61
    public String getIdentificador() {
UNCOV
62
        return this.identificador;
×
63
    }
64

65
    public void setIdentificador(final String identificador) {
UNCOV
66
        DFStringValidador.exatamente54(identificador, "Info Evento Conting\u00eancia EPEC ID");
×
UNCOV
67
        this.identificador = identificador;
×
68
    }
×
69

70
    public DFAmbiente getAmbiente() {
UNCOV
71
        return this.ambiente;
×
72
    }
73

74
    public void setAmbiente(final DFAmbiente ambiente) {
UNCOV
75
        this.ambiente = ambiente;
×
UNCOV
76
    }
×
77

78
    public String getCnpj() {
UNCOV
79
        return this.cnpj;
×
80
    }
81

82
    public void setCnpj(final String cnpj) {
UNCOV
83
        DFStringValidador.cnpj(cnpj);
×
UNCOV
84
        this.cnpj = cnpj;
×
85
    }
×
86

87
    public String getCpf() {
UNCOV
88
        return this.cpf;
×
89
    }
90

91
    public void setCpf(final String cpf) {
UNCOV
92
        DFStringValidador.cpf(cpf);
×
UNCOV
93
        this.cpf = cpf;
×
94
    }
×
95

96
    public String getChave() {
UNCOV
97
        return this.chave;
×
98
    }
99

100
    public void setChave(final String chave) {
UNCOV
101
        DFStringValidador.exatamente44N(chave, "Info Evento Conting\u00eancia EPEC Chave");
×
UNCOV
102
        this.chave = chave;
×
103
    }
×
104

105
    public ZonedDateTime getDataHoraEvento() {
UNCOV
106
        return this.dataHoraEvento;
×
107
    }
108

109
    public void setDataHoraEvento(final ZonedDateTime dataHoraEvento) {
UNCOV
110
        this.dataHoraEvento = dataHoraEvento;
×
UNCOV
111
    }
×
112

113
    public String getCodigoEvento() {
UNCOV
114
        return this.codigoEvento;
×
115
    }
116

117
    public void setCodigoEvento(final String codigoEvento) {
UNCOV
118
        DFStringValidador.exatamente6N(codigoEvento, "Info Evento Conting\u00eancia EPEC Codigo");
×
UNCOV
119
        this.codigoEvento = codigoEvento;
×
120
    }
×
121

122
    public int getNumeroSequencialEvento() {
UNCOV
123
        return this.numeroSequencialEvento;
×
124
    }
125

126
    public void setNumeroSequencialEvento(final Integer numeroSequencialEvento) {
UNCOV
127
        DFIntegerValidador.tamanho1a2(numeroSequencialEvento, "Numero Sequencial Evento");
×
UNCOV
128
        this.numeroSequencialEvento = numeroSequencialEvento;
×
129
    }
×
130

131
    public String getVersaoEvento() {
UNCOV
132
        return this.versaoEvento;
×
133
    }
134

135
    public void setVersaoEvento(String versaoEvento) {
UNCOV
136
        this.versaoEvento = versaoEvento;
×
UNCOV
137
    }
×
138

139
    public NFInfoEpec getEpec() {
UNCOV
140
        return epec;
×
141
    }
142

143
    public void setEpec(final NFInfoEpec epec) {
UNCOV
144
        this.epec = epec;
×
UNCOV
145
    }
×
146

147
    public DFUnidadeFederativa getOrgao() {
UNCOV
148
        return this.orgao;
×
149
    }
150
}
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

© 2026 Coveralls, Inc