• 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

44.83
/src/main/java/com/fincatto/documentofiscal/nfe400/classes/nota/NFNotaInfoTransporte.java
1
package com.fincatto.documentofiscal.nfe400.classes.nota;
2

3
import com.fincatto.documentofiscal.DFBase;
4
import com.fincatto.documentofiscal.nfe400.classes.NFModalidadeFrete;
5
import com.fincatto.documentofiscal.validadores.DFListValidador;
6
import com.fincatto.documentofiscal.validadores.DFStringValidador;
7
import org.simpleframework.xml.Element;
8
import org.simpleframework.xml.ElementList;
9

10
import java.util.List;
11

12
public class NFNotaInfoTransporte extends DFBase {
1✔
13
    private static final long serialVersionUID = 1172316192774549031L;
14
    
15
    @Element(name = "modFrete")
16
    private NFModalidadeFrete modalidadeFrete;
17

18
    @Element(name = "transporta", required = false)
19
    private NFNotaInfoTransportador transportador;
20

21
    @Element(name = "retTransp", required = false)
22
    private NFNotaInfoRetencaoICMSTransporte icmsTransporte;
23

24
    @Element(name = "veicTransp", required = false)
25
    private NFNotaInfoVeiculo veiculo;
26

27
    @ElementList(entry = "reboque", inline = true, required = false)
28
    private List<NFNotaInfoReboque> reboques;
29

30
    @Element(name = "vagao", required = false)
31
    private String vagao;
32

33
    @Element(name = "balsa", required = false)
34
    private String balsa;
35

36
    @ElementList(entry = "vol", inline = true, required = false)
37
    private List<NFNotaInfoVolume> volumes;
38

39
    public void setModalidadeFrete(final NFModalidadeFrete modalidadeFrete) {
40
        this.modalidadeFrete = modalidadeFrete;
1✔
41
    }
1✔
42

43
    public void setTransportador(final NFNotaInfoTransportador transportador) {
44
        this.transportador = transportador;
1✔
45
    }
1✔
46

47
    public void setIcmsTransporte(final NFNotaInfoRetencaoICMSTransporte icmsTransporte) {
48
        this.icmsTransporte = icmsTransporte;
1✔
49
    }
1✔
50

51
    public void setVeiculo(final NFNotaInfoVeiculo veiculo) {
52
        this.veiculo = veiculo;
×
53
    }
×
54

55
    public void setReboques(final List<NFNotaInfoReboque> reboques) {
56
        DFListValidador.tamanho5(reboques, "Reboques");
1✔
57
        this.reboques = reboques;
1✔
58
    }
1✔
59

60
    public void setVolumes(final List<NFNotaInfoVolume> volumes) {
61
        DFListValidador.tamanho5000(volumes, "Volumes");
1✔
62
        this.volumes = volumes;
1✔
63
    }
1✔
64

65
    public void setVagao(final String vagao) {
66
        DFStringValidador.tamanho20(vagao, "Vagao");
×
67
        this.vagao = vagao;
×
68
    }
×
69

70
    public void setBalsa(final String balsa) {
71
        DFStringValidador.tamanho20(balsa, "Balsa");
×
72
        this.balsa = balsa;
×
73
    }
×
74

75
    public NFModalidadeFrete getModalidadeFrete() {
76
        return this.modalidadeFrete;
×
77
    }
78

79
    public NFNotaInfoTransportador getTransportador() {
80
        return this.transportador;
×
81
    }
82

83
    public NFNotaInfoRetencaoICMSTransporte getIcmsTransporte() {
84
        return this.icmsTransporte;
×
85
    }
86

87
    public NFNotaInfoVeiculo getVeiculo() {
88
        return this.veiculo;
×
89
    }
90

91
    public List<NFNotaInfoReboque> getReboques() {
92
        return this.reboques;
×
93
    }
94

95
    public String getVagao() {
96
        return this.vagao;
×
97
    }
98

99
    public String getBalsa() {
100
        return this.balsa;
×
101
    }
102

103
    public List<NFNotaInfoVolume> getVolumes() {
104
        return this.volumes;
×
105
    }
106
}
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