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

wmixvideo / nfe / #6674

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

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

59.62
/src/main/java/com/fincatto/nfe310/classes/nota/NFNotaInfoItemImpostoICMS70.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.NFNotaMotivoDesoneracaoICMS;
13
import com.fincatto.nfe310.classes.NFOrigem;
14
import com.fincatto.nfe310.validadores.BigDecimalParser;
15

16
public class NFNotaInfoItemImpostoICMS70 extends NFBase {
27✔
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 valorBC;
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 = "modBCST", required = true)
39
    private NFNotaInfoItemModalidadeBCICMSST modalidadeBCICMSST;
40

41
    @Element(name = "pMVAST", required = false)
42
    private String percentualMargemValorAdicionadoICMSST;
43

44
    @Element(name = "pRedBCST", required = false)
45
    private String percentualReducaoBCICMSST;
46

47
    @Element(name = "vBCST", required = true)
48
    private String valorBCST;
49

50
    @Element(name = "pICMSST", required = true)
51
    private String percentualAliquotaImpostoICMSST;
52

53
    @Element(name = "vICMSST", required = true)
54
    private String valorICMSST;
55

56
    @Element(name = "vICMSDeson", required = false)
57
    private String valorICMSDesoneracao;
58

59
    @Element(name = "motDesICMS", required = false)
60
    private NFNotaMotivoDesoneracaoICMS desoneracao;
61

62
    public void setOrigem(final NFOrigem origem) {
63
        this.origem = origem;
15✔
64
    }
15✔
65

66
    public void setSituacaoTributaria(final NFNotaInfoImpostoTributacaoICMS situacaoTributaria) {
67
        this.situacaoTributaria = situacaoTributaria;
15✔
68
    }
15✔
69

70
    /**
71
     * @deprecated Utilizar setModalidadeBCICMS(...) 
72
     */
73
    @Deprecated
74
    public void setModalidadeBC(final NFNotaInfoItemImpostoICMSModalidadeBaseCalculo modalidadeBC) {
UNCOV
75
            this.modalidadeBCICMS = NFNotaInfoItemModalidadeBCICMS.valueOfCodigo(modalidadeBC.getCodigo());
×
UNCOV
76
    }
×
77
    
78
    public void setModalidadeBCICMS(final NFNotaInfoItemModalidadeBCICMS modalidadeBCICMS) {
79
        this.modalidadeBCICMS = modalidadeBCICMS;
15✔
80
    }
15✔
81

82
    public void setPercentualReducaoBC(final BigDecimal percentualReducaoBC) {
83
        this.percentualReducaoBC = BigDecimalParser.tamanho7ComAte4CasasDecimais(percentualReducaoBC, "Percentual Reducao BC ICMS70 Item");
16✔
84
    }
15✔
85

86
    public void setValorBC(final BigDecimal valorBC) {
87
        this.valorBC = BigDecimalParser.tamanho15Com2CasasDecimais(valorBC, "Valor BC ICMS70 Item");
16✔
88
    }
15✔
89

90
    public void setPercentualAliquota(final BigDecimal aliquota) {
91
        this.percentualAliquota = BigDecimalParser.tamanho5Com2CasasDecimais(aliquota, "Aliquota ICMS70 Item");
16✔
92
    }
15✔
93

94
    public void setValorTributo(final BigDecimal valorTributo) {
95
        this.valorTributo = BigDecimalParser.tamanho15Com2CasasDecimais(valorTributo, "Valor Tributo ICMS70 Item");
16✔
96
    }
15✔
97

98
    /**
99
     * @deprecated Utilizar setModalidadeBCICMSST(...)
100
     */
101
    @Deprecated 
102
    public void setModalidadeDeterminacaoBCICMSST(final NFNotaInfoItemModalidadeBCICMSST modalidadeDeterminacaoBCICMSST) {
UNCOV
103
        this.modalidadeBCICMSST = modalidadeDeterminacaoBCICMSST;
×
UNCOV
104
    }
×
105
    
106
    public void setModalidadeBCICMSST(final NFNotaInfoItemModalidadeBCICMSST modalidadeBCICMSST) {
107
        this.modalidadeBCICMSST = modalidadeBCICMSST;
15✔
108
    }
15✔
109

110
    public void setPercentualMargemValorAdicionadoICMSST(final BigDecimal percentualMargemValorAdicionadoICMSST) {
111
        this.percentualMargemValorAdicionadoICMSST = BigDecimalParser.tamanho7ComAte4CasasDecimais(percentualMargemValorAdicionadoICMSST, "Percentual Margem Valor Adicionado ICMS ST ICMS70 Item");
16✔
112
    }
15✔
113

114
    public void setPercentualReducaoBCICMSST(final BigDecimal percentualReducaoBCICMSST) {
115
        this.percentualReducaoBCICMSST = BigDecimalParser.tamanho7ComAte4CasasDecimais(percentualReducaoBCICMSST, "Percentual Reducao BC ICMS ST ICMS70 Item");
16✔
116
    }
15✔
117

118
    public void setValorBCST(final BigDecimal valorBCST) {
119
        this.valorBCST = BigDecimalParser.tamanho15Com2CasasDecimais(valorBCST, "Valor BC ST ICMS70 Item");
16✔
120
    }
15✔
121

122
    public void setPercentualAliquotaImpostoICMSST(final BigDecimal aliquotaImpostoICMSST) {
123
        this.percentualAliquotaImpostoICMSST = BigDecimalParser.tamanho7ComAte4CasasDecimais(aliquotaImpostoICMSST, "Aliquota Imposto ICMS ST ICMS70 Item");
16✔
124
    }
15✔
125

126
    public void setValorICMSST(final BigDecimal valorICMSST) {
127
        this.valorICMSST = BigDecimalParser.tamanho15Com2CasasDecimais(valorICMSST, "Valor ICMS ST ICMS70 Item");
16✔
128
    }
15✔
129

130
    public void setDesoneracao(final NFNotaMotivoDesoneracaoICMS desoneracao) {
131
        this.desoneracao = desoneracao;
15✔
132
    }
15✔
133

134
    public void setValorICMSDesoneracao(final BigDecimal valorICMSDesoneracao) {
135
        this.valorICMSDesoneracao = BigDecimalParser.tamanho15Com2CasasDecimais(valorICMSDesoneracao, "Valor ICMS Desoneracao ICMS70 Item");
15✔
136
    }
15✔
137

138
    public NFOrigem getOrigem() {
UNCOV
139
        return this.origem;
×
140
    }
141

142
    public NFNotaInfoImpostoTributacaoICMS getSituacaoTributaria() {
UNCOV
143
        return this.situacaoTributaria;
×
144
    }
145

146
    /**
147
     * @deprecated Utilizar getModalidadeBCICMS()  
148
     */
149
    @Deprecated
150
    public NFNotaInfoItemImpostoICMSModalidadeBaseCalculo getModalidadeBC() {
UNCOV
151
            return NFNotaInfoItemImpostoICMSModalidadeBaseCalculo.valueOfCodigo(this.modalidadeBCICMS.getCodigo());
×
152
    }
153
    
154
    public NFNotaInfoItemModalidadeBCICMS getModalidadeBCICMS() {
UNCOV
155
        return this.modalidadeBCICMS;
×
156
    }
157

158
    public String getPercentualReducaoBC() {
UNCOV
159
        return this.percentualReducaoBC;
×
160
    }
161

162
    public String getValorBC() {
UNCOV
163
        return this.valorBC;
×
164
    }
165

166
    public String getPercentualAliquota() {
UNCOV
167
        return this.percentualAliquota;
×
168
    }
169

170
    public String getValorTributo() {
UNCOV
171
        return this.valorTributo;
×
172
    }
173

174
    /**
175
     * @deprecated Utilizar getModalidadeBCICMSST(...)
176
     * @return
177
     */
178
    @Deprecated    
179
    public NFNotaInfoItemModalidadeBCICMSST getModalidadeDeterminacaoBCICMSST() {
UNCOV
180
        return this.modalidadeBCICMSST;
×
181
    }
182
    
183
    public NFNotaInfoItemModalidadeBCICMSST getModalidadeBCICMSST() {
UNCOV
184
        return this.modalidadeBCICMSST;
×
185
    }
186

187
    public String getPercentualMargemValorAdicionadoICMSST() {
UNCOV
188
        return this.percentualMargemValorAdicionadoICMSST;
×
189
    }
190

191
    public String getPercentualReducaoBCICMSST() {
UNCOV
192
        return this.percentualReducaoBCICMSST;
×
193
    }
194

195
    public String getValorBCST() {
UNCOV
196
        return this.valorBCST;
×
197
    }
198

199
    public String getPercentualAliquotaImpostoICMSST() {
UNCOV
200
        return this.percentualAliquotaImpostoICMSST;
×
201
    }
202

203
    public String getValorICMSST() {
UNCOV
204
        return this.valorICMSST;
×
205
    }
206

207
    public String getValorICMSDesoneracao() {
UNCOV
208
        return this.valorICMSDesoneracao;
×
209
    }
210

211
    public NFNotaMotivoDesoneracaoICMS getDesoneracao() {
UNCOV
212
        return this.desoneracao;
×
213
    }
214
}
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