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

wmixvideo / nfe / #7321

22 Oct 2025 11:43AM UTC coverage: 52.501% (+1.0%) from 51.463%
#7321

push

web-flow
Merge 8b9b0eba1 into c46310eaa

6 of 6 new or added lines in 2 files covered. (100.0%)

453 existing lines in 31 files now uncovered.

14674 of 27950 relevant lines covered (52.5%)

0.53 hits per line

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

0.0
/src/main/java/com/fincatto/documentofiscal/cte300/classes/evento/CTeInfoEvento.java
1
package com.fincatto.documentofiscal.cte300.classes.evento;
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.DFIntegerValidador;
7
import com.fincatto.documentofiscal.validadores.DFStringValidador;
8
import org.simpleframework.xml.Attribute;
9
import org.simpleframework.xml.Element;
10

11
import java.time.ZonedDateTime;
12

13
public class CTeInfoEvento extends DFBase {
×
14
    private static final long serialVersionUID = 4495040029270775685L;
15

16
    @Attribute(name = "Id", required = false)
17
    private String id;
18

19
    @Element(name = "cOrgao", required = false)
20
    private DFUnidadeFederativa orgao;
21

22
    @Element(name = "tpAmb")
23
    private DFAmbiente ambiente;
24

25
    @Element(name = "CNPJ", required = false)
26
    private String cnpj;
27

28
    @Element(name = "CPF", required = false)
29
    private String cpf;
30

31
    @Element(name = "chCTe")
32
    private String chave;
33

34
    @Element(name = "dhEvento")
35
    private ZonedDateTime dataHoraEvento;
36

37
    @Element(name = "tpEvento")
38
    private String codigoEvento;
39

40
    @Element(name = "nSeqEvento")
41
    private Integer numeroSequencialEvento;
42

43
    @Element(name = "detEvento")
44
    private CTeDetalhamentoEvento detalheEvento;
45

46
    public void setOrgao(final DFUnidadeFederativa orgao) {
47
        this.orgao = orgao;
×
48
    }
×
49

50
    public String getId() {
51
        return this.id;
×
52
    }
53

54
    public void setId(final String id) {
55
        DFStringValidador.exatamente54(id, "Info Evento ID");
×
56
        this.id = id;
×
57
    }
×
58

59
    public DFAmbiente getAmbiente() {
60
        return this.ambiente;
×
61
    }
62

63
    public void setAmbiente(final DFAmbiente ambiente) {
64
        this.ambiente = ambiente;
×
65
    }
×
66

67
    public String getCnpj() {
68
        return this.cnpj;
×
69
    }
70

71
    public void setCnpj(final String cnpj) {
72
        DFStringValidador.cnpj(cnpj);
×
73
        this.cnpj = cnpj;
×
UNCOV
74
    }
×
75

76
    public String getCpf() {
77
        return this.cpf;
×
78
    }
79

80
    public void setCpf(final String cpf) {
UNCOV
81
        DFStringValidador.cpf(cpf);
×
UNCOV
82
        this.cpf = cpf;
×
UNCOV
83
    }
×
84

85
    public String getChave() {
UNCOV
86
        return this.chave;
×
87
    }
88

89
    public void setChave(final String chave) {
UNCOV
90
        DFStringValidador.exatamente44N(chave, "Info Evento Chave");
×
UNCOV
91
        this.chave = chave;
×
92
    }
×
93

94
    public ZonedDateTime getDataHoraEvento() {
UNCOV
95
        return this.dataHoraEvento;
×
96
    }
97

98
    public void setDataHoraEvento(final ZonedDateTime dataHoraEvento) {
UNCOV
99
        this.dataHoraEvento = dataHoraEvento;
×
UNCOV
100
    }
×
101

102
    public String getCodigoEvento() {
UNCOV
103
        return this.codigoEvento;
×
104
    }
105

106
    public void setCodigoEvento(final String codigoEvento) {
UNCOV
107
        DFStringValidador.exatamente6N(codigoEvento, "Info Evento Codigo");
×
UNCOV
108
        this.codigoEvento = codigoEvento;
×
109
    }
×
110

111
    public int getNumeroSequencialEvento() {
UNCOV
112
        return this.numeroSequencialEvento;
×
113
    }
114

115
    public void setNumeroSequencialEvento(final int numeroSequencialEvento) {
UNCOV
116
        DFIntegerValidador.tamanho1a2(numeroSequencialEvento, "Numero Sequencial Evento");
×
UNCOV
117
        this.numeroSequencialEvento = numeroSequencialEvento;
×
118
    }
×
119

120
    public DFUnidadeFederativa getOrgao() {
UNCOV
121
        return this.orgao;
×
122
    }
123

124
    public void setNumeroSequencialEvento(final Integer numeroSequencialEvento) {
UNCOV
125
        this.numeroSequencialEvento = numeroSequencialEvento;
×
UNCOV
126
    }
×
127

128
    public CTeDetalhamentoEvento getDetalheEvento() {
UNCOV
129
        return this.detalheEvento;
×
130
    }
131

132
    public void setDetalheEvento(final CTeDetalhamentoEvento detalheEvento) {
UNCOV
133
        this.detalheEvento = detalheEvento;
×
UNCOV
134
    }
×
135
}
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