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

wmixvideo / nfe / #6357

09 Aug 2016 11:45AM UTC coverage: 78.549% (-0.6%) from 79.109%
#6357

push

travis-ci

jefperito
Corrigido erro de javadoc

Erro corrigido: Exit code: 1 -
/home/travis/build/wmixvideo/nfe/src/main/java/com/fincatto/nfe310/class
es/NFAutorizador31.java:93: error: bad use of '>'

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

321 existing lines in 19 files now uncovered.

4764 of 6065 relevant lines covered (78.55%)

50.42 hits per line

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

61.29
/src/main/java/com/fincatto/nfe310/classes/nota/NFNotaInfoItemImpostoICMS20.java
1
package com.fincatto.nfe310.classes.nota;
2

3
import java.math.BigDecimal;
4

5
import org.simpleframework.xml.Element;
6

7
import com.fincatto.nfe310.classes.NFBase;
8
import com.fincatto.nfe310.classes.NFNotaInfoImpostoTributacaoICMS;
9
import com.fincatto.nfe310.classes.NFNotaInfoItemImpostoICMSModalidadeBaseCalculo;
10
import com.fincatto.nfe310.classes.NFNotaInfoItemModalidadeBCICMS;
11
import com.fincatto.nfe310.classes.NFNotaMotivoDesoneracaoICMS;
12
import com.fincatto.nfe310.classes.NFOrigem;
13
import com.fincatto.nfe310.validadores.BigDecimalParser;
14

15
public class NFNotaInfoItemImpostoICMS20 extends NFBase {
16✔
16

17
    @Element(name = "orig", required = true)
18
    private NFOrigem origem;
19

20
    @Element(name = "CST", required = true)
21
    private NFNotaInfoImpostoTributacaoICMS situacaoTributaria;
22

23
    @Element(name = "modBC", required = true)
24
    private NFNotaInfoItemModalidadeBCICMS modalidadeBCICMS;
25

26
    @Element(name = "pRedBC", required = true)
27
    private String percentualReducaoBC;
28

29
    @Element(name = "vBC", required = true)
30
    private String valorBCICMS;
31

32
    @Element(name = "pICMS", required = true)
33
    private String percentualAliquota;
34

35
    @Element(name = "vICMS", required = true)
36
    private String valorTributo;
37

38
    @Element(name = "vICMSDeson", required = false)
39
    private String valorICMSDesoneracao;
40

41
    @Element(name = "motDesICMS", required = false)
42
    private NFNotaMotivoDesoneracaoICMS desoneracao;
43

44
    public void setOrigem(final NFOrigem origem) {
45
        this.origem = origem;
9✔
46
    }
9✔
47

48
    public void setSituacaoTributaria(final NFNotaInfoImpostoTributacaoICMS situacaoTributaria) {
49
        this.situacaoTributaria = situacaoTributaria;
9✔
50
    }
9✔
51

52
    /**
53
     * @deprecated Utilizar setModalidadeBCICMS(...) 
54
     */
55
    @Deprecated
56
    public void setModalidadeBaseCalculo(final NFNotaInfoItemImpostoICMSModalidadeBaseCalculo modalidadeBaseCalculo) {
UNCOV
57
            this.modalidadeBCICMS = NFNotaInfoItemModalidadeBCICMS.valueOfCodigo(modalidadeBaseCalculo.getCodigo());
×
UNCOV
58
    }
×
59
    
60
    public void setModalidadeBCICMS(final NFNotaInfoItemModalidadeBCICMS modalidadeBCICMS) {
61
        this.modalidadeBCICMS = modalidadeBCICMS;
9✔
62
    }
9✔
63

64
    public void setPercentualReducaoBC(final BigDecimal percentualReducaoBC) {
65
        this.percentualReducaoBC = BigDecimalParser.tamanho7ComAte4CasasDecimais(percentualReducaoBC, "Percentual Reducao BC ICMS20 Item");
10✔
66
    }
9✔
67

68
    public void setValorBCICMS(final BigDecimal valorBCICMS) {
69
        this.valorBCICMS = BigDecimalParser.tamanho15Com2CasasDecimais(valorBCICMS, "Valor BC ICMS ICMS20 Item");
10✔
70
    }
9✔
71

72
    public void setPercentualAliquota(final BigDecimal aliquota) {
73
        this.percentualAliquota = BigDecimalParser.tamanho5Com2CasasDecimais(aliquota, "Aliquota ICMS20 Item");
10✔
74
    }
9✔
75

76
    public void setValorTributo(final BigDecimal valorTributo) {
77
        this.valorTributo = BigDecimalParser.tamanho15Com2CasasDecimais(valorTributo, "Valor Tributo ICMS20 Item");
10✔
78
    }
9✔
79

80
    public void setDesoneracao(final NFNotaMotivoDesoneracaoICMS outros) {
81
        this.desoneracao = outros;
9✔
82
    }
9✔
83

84
    public void setValorICMSDesoneracao(final BigDecimal valorICMSDesoneracao) {
85
        this.valorICMSDesoneracao = BigDecimalParser.tamanho15Com2CasasDecimais(valorICMSDesoneracao, "Valor ICMS Desoneracao ICMS20 Item");
9✔
86
    }
9✔
87

88
    public NFOrigem getOrigem() {
UNCOV
89
        return this.origem;
×
90
    }
91

92
    public NFNotaInfoImpostoTributacaoICMS getSituacaoTributaria() {
UNCOV
93
        return this.situacaoTributaria;
×
94
    }
95
    
96
    /**
97
     * @deprecated Utilizar getModalidadeBCICMS()  
98
     */
99
    @Deprecated
100
    public NFNotaInfoItemImpostoICMSModalidadeBaseCalculo getModalidadeBaseCalculo() {
UNCOV
101
            return NFNotaInfoItemImpostoICMSModalidadeBaseCalculo.valueOfCodigo(this.modalidadeBCICMS.getCodigo());
×
102
    }
103
    
104
    public NFNotaInfoItemModalidadeBCICMS getModalidadeBCICMS() {
UNCOV
105
        return this.modalidadeBCICMS;
×
106
    }
107

108
    public String getPercentualReducaoBC() {
UNCOV
109
        return this.percentualReducaoBC;
×
110
    }
111

112
    public String getValorBCICMS() {
UNCOV
113
        return this.valorBCICMS;
×
114
    }
115

116
    public String getPercentualAliquota() {
UNCOV
117
        return this.percentualAliquota;
×
118
    }
119

120
    public String getValorTributo() {
UNCOV
121
        return this.valorTributo;
×
122
    }
123

124
    public String getValorICMSDesoneracao() {
UNCOV
125
        return this.valorICMSDesoneracao;
×
126
    }
127

128
    public NFNotaMotivoDesoneracaoICMS getDesoneracao() {
UNCOV
129
        return this.desoneracao;
×
130
    }
131
}
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

© 2026 Coveralls, Inc