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

wmixvideo / nfe / #6266

21 Mar 2025 11:46AM UTC coverage: 52.671% (+25.7%) from 26.996%
#6266

push

luciano.antunes
Nota Fiscal Fácil

0 of 21 new or added lines in 2 files covered. (0.0%)

2924 existing lines in 401 files now uncovered.

14002 of 26584 relevant lines covered (52.67%)

0.53 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) {
UNCOV
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) {
UNCOV
66
        DFStringValidador.tamanho20(vagao, "Vagao");
×
67
        this.vagao = vagao;
×
68
    }
×
69

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

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

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

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

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

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

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

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

103
    public List<NFNotaInfoVolume> getVolumes() {
UNCOV
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