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

wmixvideo / nfe / #7126

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

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.43 hits per line

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

58.14
/src/main/java/com/fincatto/nfe310/classes/nota/NFNotaInfoItemImpostoICMS10.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.NFNotaInfoItemModalidadeBCICMSST;
12
import com.fincatto.nfe310.classes.NFOrigem;
13
import com.fincatto.nfe310.validadores.BigDecimalParser;
14

15
public class NFNotaInfoItemImpostoICMS10 extends NFBase {
23✔
16
    @Element(name = "orig", required = true)
17
    private NFOrigem origem;
18

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

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

25
    @Element(name = "vBC", required = true)
26
    private String valorBaseCalculo;
27

28
    @Element(name = "pICMS", required = true)
29
    private String percentualAliquota;
30

31
    @Element(name = "vICMS", required = true)
32
    private String valorTributo;
33

34
    @Element(name = "modBCST", required = true)
35
    private NFNotaInfoItemModalidadeBCICMSST modalidadeBCICMSST;
36

37
    @Element(name = "pMVAST", required = false)
38
    private String percentualMargemValorICMSST;
39

40
    @Element(name = "pRedBCST", required = false)
41
    private String percentualReducaoBCICMSST;
42

43
    @Element(name = "vBCST", required = true)
44
    private String valorBCICMSST;
45

46
    @Element(name = "pICMSST", required = true)
47
    private String percentualAliquotaImpostoICMSST;
48

49
    @Element(name = "vICMSST", required = true)
50
    private String valorICMSST;
51

52
    public void setOrigem(final NFOrigem origem) {
53
        this.origem = origem;
12✔
54
    }
12✔
55

56
    public void setSituacaoTributaria(final NFNotaInfoImpostoTributacaoICMS situacaoTributaria) {
57
        this.situacaoTributaria = situacaoTributaria;
12✔
58
    }
12✔
59

60
    /**
61
     * @deprecated Utilizar setModalidadeBCICMS(...) 
62
     */
63
    @Deprecated    
64
    public void setModalidadeBaseCalculo(final NFNotaInfoItemImpostoICMSModalidadeBaseCalculo modalidadeBaseCalculo) {
UNCOV
65
            this.modalidadeBCICMS = NFNotaInfoItemModalidadeBCICMS.valueOfCodigo(modalidadeBaseCalculo.getCodigo());
×
UNCOV
66
    }
×
67
    
68
    public void setModalidadeBCICMS(final NFNotaInfoItemModalidadeBCICMS modalidadeBCICMS) {
69
        this.modalidadeBCICMS = modalidadeBCICMS;
12✔
70
    }
12✔
71

72
    public void setValorBaseCalculo(final BigDecimal valorBaseCalculo) {
73
        this.valorBaseCalculo = BigDecimalParser.tamanho15Com2CasasDecimais(valorBaseCalculo, "Valor Base Calculo ICMS10 Item");
13✔
74
    }
12✔
75

76
    public void setPercentualAliquota(final BigDecimal aliquota) {
77
        this.percentualAliquota = BigDecimalParser.tamanho5Com2CasasDecimais(aliquota, "Aliquota ICMS10 Item");
13✔
78
    }
12✔
79

80
    public void setValorTributo(final BigDecimal valorTributo) {
81
        this.valorTributo = BigDecimalParser.tamanho15Com2CasasDecimais(valorTributo, "Valor Tributo ICMS10 Item");
13✔
82
    }
12✔
83

84
    /**
85
     * @deprecated Utilizar setModalidadeBCICMSST(...)
86
     */
87
    @Deprecated     
88
    public void setModalidadeDeterminacaoBCICMS(final NFNotaInfoItemModalidadeBCICMSST modalidadeDeterminacaoBCICMS) {
UNCOV
89
        this.modalidadeBCICMSST = modalidadeDeterminacaoBCICMS;
×
UNCOV
90
    }
×
91
    
92
    public void setModalidadeBCICMSST(final NFNotaInfoItemModalidadeBCICMSST modalidadeBCICMSST) {
93
        this.modalidadeBCICMSST = modalidadeBCICMSST;
12✔
94
    }
12✔
95

96
    public void setPercentualMargemValorICMSST(final BigDecimal percentualMargemValorICMSST) {
97
        this.percentualMargemValorICMSST = BigDecimalParser.tamanho7ComAte4CasasDecimais(percentualMargemValorICMSST, "Percentual MVA ICMS ST ICMS10 Item");
13✔
98
    }
12✔
99

100
    public void setPercentualReducaoBCICMSST(final BigDecimal percentualReducaoBCICMSST) {
101
        this.percentualReducaoBCICMSST = BigDecimalParser.tamanho7ComAte4CasasDecimais(percentualReducaoBCICMSST, "Percentual Reducao BC ICMS ST ICMS10 Item");
13✔
102
    }
12✔
103

104
    public void setValorBCICMSST(final BigDecimal valorBCICMSST) {
105
        this.valorBCICMSST = BigDecimalParser.tamanho15Com2CasasDecimais(valorBCICMSST, "Valor BC ICMS ST ICMS10 Item");
13✔
106
    }
12✔
107

108
    public void setPercentualAliquotaImpostoICMSST(final BigDecimal aliquotaImpostoICMSST) {
109
        this.percentualAliquotaImpostoICMSST = BigDecimalParser.tamanho7ComAte4CasasDecimais(aliquotaImpostoICMSST, "Aliquota Imposto ICMS ST ICMS10 Item");
13✔
110
    }
12✔
111

112
    public void setValorICMSST(final BigDecimal valorICMSST) {
113
        this.valorICMSST = BigDecimalParser.tamanho15Com2CasasDecimais(valorICMSST, "Valor ICMS ST ICMS10 Item");
13✔
114
    }
12✔
115

116
    public NFOrigem getOrigem() {
UNCOV
117
        return this.origem;
×
118
    }
119

120
    public NFNotaInfoImpostoTributacaoICMS getSituacaoTributaria() {
UNCOV
121
        return this.situacaoTributaria;
×
122
    }
123

124
    /**
125
     * @deprecated Utilizar getModalidadeBCICMS()  
126
     */
127
    @Deprecated    
128
    public NFNotaInfoItemImpostoICMSModalidadeBaseCalculo getModalidadeBaseCalculo() {
UNCOV
129
            return NFNotaInfoItemImpostoICMSModalidadeBaseCalculo.valueOfCodigo(this.modalidadeBCICMS.getCodigo());
×
130
    }
131
    
132
    public NFNotaInfoItemModalidadeBCICMS getModalidadeBCICMS() {
UNCOV
133
        return this.modalidadeBCICMS;
×
134
    }
135

136
    public String getValorBaseCalculo() {
UNCOV
137
        return this.valorBaseCalculo;
×
138
    }
139

140
    public String getPercentualAliquota() {
UNCOV
141
        return this.percentualAliquota;
×
142
    }
143

144
    public String getValorTributo() {
UNCOV
145
        return this.valorTributo;
×
146
    }
147

148
    /**
149
     * @deprecated Utilizar getModalidadeBCICMSST(...)
150
     * @return
151
     */
152
    @Deprecated    
153
    public NFNotaInfoItemModalidadeBCICMSST getModalidadeDeterminacaoBCICMS() {
UNCOV
154
        return this.modalidadeBCICMSST;
×
155
    }
156
    
157
    public NFNotaInfoItemModalidadeBCICMSST getModalidadeBCICMSST() {
UNCOV
158
        return this.modalidadeBCICMSST;
×
159
    }
160

161
    public String getPercentualMargemValorICMSST() {
UNCOV
162
        return this.percentualMargemValorICMSST;
×
163
    }
164

165
    public String getPercentualReducaoBCICMSST() {
UNCOV
166
        return this.percentualReducaoBCICMSST;
×
167
    }
168

169
    public String getValorBCICMSST() {
UNCOV
170
        return this.valorBCICMSST;
×
171
    }
172

173
    public String getPercentualAliquotaImpostoICMSST() {
UNCOV
174
        return this.percentualAliquotaImpostoICMSST;
×
175
    }
176

177
    public String getValorICMSST() {
UNCOV
178
        return this.valorICMSST;
×
179
    }
180
}
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