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

wmixvideo / nfe / #6985

02 Jun 2016 11:49PM UTC coverage: 79.364% (+3.7%) from 75.706%
#6985

push

travis-ci

fincatto
Atualizado xsd de validacao de envio de lote, que valida as notas com assinatura.
Atualizado para versão 2.0.0-SNAPSHOT, pois o codigo quebrou a compatibilidade.

0 of 1 new or added line in 1 file covered. (0.0%)

349 existing lines in 68 files now uncovered.

4742 of 5975 relevant lines covered (79.36%)

50.29 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 {
46✔
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;
39✔
40
    }
39✔
41

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

46
    public void setIcmsTransporte(final NFNotaInfoRetencaoICMSTransporte icmsTransporte) {
47
        this.icmsTransporte = icmsTransporte;
39✔
48
    }
39✔
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);
39✔
56
        this.reboques = reboques;
39✔
57
    }
39✔
58

59
    public void setVolumes(final List<NFNotaInfoVolume> volumes) {
60
        ListValidador.tamanho5000(volumes);
39✔
61
        this.volumes = volumes;
38✔
62
    }
38✔
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