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

wmixvideo / nfe / #6582

17 Jul 2025 09:30PM UTC coverage: 51.231% (+24.2%) from 26.996%
#6582

push

web-flow
Adequação do mapeamento de infLocalCarrega e infLocalDescarrega ao xs:choice do schema MDF-e (#1054)

* Adequação do mapeamento de infLocalCarrega e infLocalDescarrega ao xs:choice do schema MDF-e

* Adequação do mapeamento de infLocalCarrega e infLocalDescarrega ao xs:choice do schema MDF-e

14006 of 27339 relevant lines covered (51.23%)

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/cte300/classes/enviolote/CTeEnvioLote.java
1
package com.fincatto.documentofiscal.cte300.classes.enviolote;
2

3
import com.fincatto.documentofiscal.DFBase;
4
import com.fincatto.documentofiscal.cte300.classes.nota.CTeNota;
5
import com.fincatto.documentofiscal.validadores.DFListValidador;
6
import com.fincatto.documentofiscal.validadores.DFStringValidador;
7
import org.simpleframework.xml.*;
8

9
import java.util.List;
10

11
/**
12
 * @author Caio
13
 * @info Tipo Pedido de Concessão de Autorização da CT-e
14
 */
15

16
@Root(name = "enviCTe")
17
@Namespace(reference = "http://www.portalfiscal.inf.br/cte")
18
public class CTeEnvioLote extends DFBase {
19
    private static final long serialVersionUID = -6451397314955370262L;
20
    
21
    @Attribute(name = "versao")
22
    private String versao;
23
    
24
    @Element(name = "idLote")
25
    private String idLote;
26
    
27
    @ElementList(name = "CTe", inline = true)
28
    private List<CTeNota> nota;
29

30
    public CTeEnvioLote() {
×
31
        this.versao = null;
×
32
        this.idLote = null;
×
33
        this.nota = null;
×
34
    }
×
35

36
    public String getVersao() {
37
        return this.versao;
×
38
    }
39

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

44
    public String getIdLote() {
45
        return this.idLote;
×
46
    }
47

48
    public void setIdLote(final String idLote) {
49
        DFStringValidador.tamanho15N(idLote, "ID do Lote");
×
50
        this.idLote = idLote;
×
51
    }
×
52

53
    public List<CTeNota> getNota() {
54
        return this.nota;
×
55
    }
56

57
    public void setNota(final List<CTeNota> nota) {
58
        DFListValidador.tamanho50(nota, "Notas");
×
59
        this.nota = nota;
×
60
    }
×
61
}
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