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

wmixvideo / nfe / #7125

20 Jun 2016 11:31AM UTC coverage: 79.109% (+2.5%) from 76.628%
#7125

push

travis-ci

fincatto
Gerador de chave gerando codigo randomico, quando nao informado.

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

352 existing lines in 69 files now uncovered.

4741 of 5993 relevant lines covered (79.11%)

50.57 hits per line

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

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

3
import java.util.List;
4

5
import org.simpleframework.xml.Element;
6
import org.simpleframework.xml.ElementList;
7

8
import com.fincatto.nfe310.classes.NFBase;
9
import com.fincatto.nfe310.classes.NFModalidadeFrete;
10
import com.fincatto.nfe310.validadores.ListValidador;
11
import com.fincatto.nfe310.validadores.StringValidador;
12

13
public class NFNotaInfoTransporte extends NFBase {
47✔
14
    @Element(name = "modFrete", required = true)
15
    private NFModalidadeFrete modalidadeFrete;
16

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

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

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

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

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

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

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

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

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

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

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

54
    public void setReboques(final List<NFNotaInfoReboque> reboques) {
55
        ListValidador.tamanho5(reboques);
40✔
56
        this.reboques = reboques;
40✔
57
    }
40✔
58

59
    public void setVolumes(final List<NFNotaInfoVolume> volumes) {
60
        ListValidador.tamanho5000(volumes);
40✔
61
        this.volumes = volumes;
39✔
62
    }
39✔
63

64
    public void setVagao(final String vagao) {
UNCOV
65
        StringValidador.tamanho20(vagao);
×
UNCOV
66
        this.vagao = vagao;
×
UNCOV
67
    }
×
68

69
    public void setBalsa(final String balsa) {
UNCOV
70
        StringValidador.tamanho20(balsa);
×
UNCOV
71
        this.balsa = balsa;
×
UNCOV
72
    }
×
73

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

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

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

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

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

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

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

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