• 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

68.42
/src/main/java/com/fincatto/documentofiscal/mdfe3/classes/nota/MDFInfoTotal.java
1
package com.fincatto.documentofiscal.mdfe3.classes.nota;
2

3
import com.fincatto.documentofiscal.DFBase;
4
import com.fincatto.documentofiscal.mdfe3.classes.def.MDFUnidadeMedidaPesoBrutoCarga;
5
import com.fincatto.documentofiscal.validadores.DFBigDecimalValidador;
6
import com.fincatto.documentofiscal.validadores.DFStringValidador;
7
import org.simpleframework.xml.Element;
8

9
import java.math.BigDecimal;
10

11
/**
12
 * Created by Eldevan Nery Junior on 06/11/17. Totalizadores da carga transportada e seus documentos fiscais.
13
 */
14
public class MDFInfoTotal extends DFBase {
1✔
15
    private static final long serialVersionUID = 8455307264727288428L;
16
    /**
17
     * Quantidade total de CT-e relacionados no Manifesto.
18
     */
19
    @Element(name = "qCTe", required = false)
20
    private String qtdeCTe;
21
    /**
22
     * Quantidade total de NF-e relacionadas no Manifesto
23
     */
24
    @Element(name = "qNFe", required = false)
25
    private String qtdeNFe;
26
    /**
27
     * Quantidade total de MDF-e relacionados no Manifesto Aquaviário
28
     */
29
    @Element(name = "qMDFe", required = false)
30
    private String qtdeMDFe;
31
    /**
32
     * Valor total da carga / mercadorias transportadas
33
     */
34
    @Element(name = "vCarga")
35
    private String valorTotalCarga;
36

37
    /**
38
     * Unidade de medida do Peso Bruto da Carga / Mercadorias transportadas.
39
     */
40
    @Element(name = "cUnid")
41
    private MDFUnidadeMedidaPesoBrutoCarga unidadeMedidaPesoBrutoCarga;
42

43
    /**
44
     * Peso Bruto Total da Carga / Mercadorias transportadas.
45
     */
46
    @Element(name = "qCarga")
47
    private String pesoCarga;
48

49
    public String getQtdeCTe() {
UNCOV
50
        return this.qtdeCTe;
×
51
    }
52

53
    public void setQtdeCTe(final String qtdeCTe) {
54
        this.qtdeCTe = DFStringValidador.validador(qtdeCTe, "Total CT-e no MDF-e", 6, false, true);
1✔
55
    }
1✔
56

57
    public String getQtdeNFe() {
58
        return this.qtdeNFe;
×
59
    }
60

61
    public void setQtdeNFe(final String qtdeNFe) {
62
        this.qtdeNFe = DFStringValidador.validador(qtdeNFe, "Total NF-e no MDF-e", 6, false, true);
1✔
63
    }
1✔
64

65
    public String getQtdeMDFe() {
66
        return this.qtdeMDFe;
×
67
    }
68

69
    public void setQtdeMDFe(final String qtdeMDFe) {
70
        this.qtdeMDFe = DFStringValidador.validador(qtdeMDFe, "Total MDF-e no MDF-e relacionados no Manifesto Aquaviário", 6, false, true);
1✔
71
    }
1✔
72

73
    public String getValorTotalCarga() {
UNCOV
74
        return this.valorTotalCarga;
×
75
    }
76

77
    public void setValorTotalCarga(final BigDecimal valorTotalCarga) {
78
        this.valorTotalCarga = DFBigDecimalValidador.tamanho13Com2CasasDecimais(valorTotalCarga, "Valor total da carga ");
1✔
79
    }
1✔
80

81
    public MDFUnidadeMedidaPesoBrutoCarga getUnidadeMedidaPesoBrutoCarga() {
UNCOV
82
        return this.unidadeMedidaPesoBrutoCarga;
×
83
    }
84

85
    public void setUnidadeMedidaPesoBrutoCarga(final MDFUnidadeMedidaPesoBrutoCarga unidadeMedidaPesoBrutoCarga) {
86
        this.unidadeMedidaPesoBrutoCarga = unidadeMedidaPesoBrutoCarga;
1✔
87
    }
1✔
88

89
    public String getPesoCarga() {
UNCOV
90
        return this.pesoCarga;
×
91
    }
92

93
    public void setPesoCarga(final BigDecimal pesoCarga) {
94
        this.pesoCarga = DFBigDecimalValidador.validaTamanho(pesoCarga, "Peso Bruto da Carga", 11, 4, true);
1✔
95
    }
1✔
96
}
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