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

wmixvideo / nfe / #9463

23 Jul 2025 01:31AM UTC coverage: 51.794% (+0.8%) from 50.977%
#9463

push

web-flow
Merge e37a5245a into cb8c6ab74

122 of 122 new or added lines in 1 file covered. (100.0%)

1090 existing lines in 75 files now uncovered.

14360 of 27725 relevant lines covered (51.79%)

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/cte400/classes/nota/consulta/CTeNotaConsulta.java
1
package com.fincatto.documentofiscal.cte400.classes.nota.consulta;
2

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

13
import java.math.BigDecimal;
14

15
@Root(name = "consSitCTe")
16
@Namespace(reference = CTeConfig.NAMESPACE)
UNCOV
17
public class CTeNotaConsulta extends DFBase {
×
18
    private static final long serialVersionUID = 402162498360517770L;
19
    
20
    @Attribute(name = "versao")
21
    private String versao;
22
    
23
    @Element(name = "tpAmb")
24
    private DFAmbiente ambiente;
25
    
26
    @Element(name = "xServ")
27
    private String servico;
28
    
29
    @Element(name = "chCTe")
30
    private String chave;
31

32
    public void setVersao(final BigDecimal versao) {
33
        this.versao = DFBigDecimalValidador.tamanho4Com2CasasDecimais(versao, "Versao Nota Consulta");
×
34
    }
×
35

36
    public void setAmbiente(final DFAmbiente ambiente) {
37
        this.ambiente = ambiente;
×
38
    }
×
39

40
    public void setServico(final String servico) {
41
        this.servico = servico;
×
42
    }
×
43

44
    public void setChave(final String chave) {
UNCOV
45
        DFStringValidador.exatamente44N(chave, "Chave de Acesso Nota Consulta");
×
UNCOV
46
        this.chave = chave;
×
UNCOV
47
    }
×
48

49
    public String getVersao() {
50
        return this.versao;
×
51
    }
52

53
    public DFAmbiente getAmbiente() {
54
        return this.ambiente;
×
55
    }
56

57
    public String getServico() {
58
        return this.servico;
×
59
    }
60

61
    public String getChave() {
UNCOV
62
        return this.chave;
×
63
    }
64
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc