• 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

75.0
/src/main/java/com/fincatto/documentofiscal/nfe400/classes/nota/NFNotaInfoItemProdutoArmamento.java
1
package com.fincatto.documentofiscal.nfe400.classes.nota;
2

3
import com.fincatto.documentofiscal.DFBase;
4
import com.fincatto.documentofiscal.nfe400.classes.NFNotaInfoItemProdutoArmamentoTipo;
5
import com.fincatto.documentofiscal.validadores.DFStringValidador;
6
import org.simpleframework.xml.Element;
7

8
public class NFNotaInfoItemProdutoArmamento extends DFBase {
1✔
9
    private static final long serialVersionUID = -4438932795183476289L;
10
    
11
    @Element(name = "tpArma")
12
    private NFNotaInfoItemProdutoArmamentoTipo tipo;
13
    
14
    @Element(name = "nSerie")
15
    private String numeroSerieArma;
16
    
17
    @Element(name = "nCano")
18
    private String numeroSerieCano;
19
    
20
    @Element(name = "descr")
21
    private String descricao;
22

23
    public void setTipo(final NFNotaInfoItemProdutoArmamentoTipo tipo) {
24
        this.tipo = tipo;
1✔
25
    }
1✔
26

27
    public void setNumeroSerieArma(final String numeroSerieArma) {
28
        DFStringValidador.tamanho15(numeroSerieArma, "Numero Serie Arma Armamento");
1✔
29
        this.numeroSerieArma = numeroSerieArma;
1✔
30
    }
1✔
31

32
    public void setNumeroSerieCano(final String numeroSerieCano) {
33
        DFStringValidador.tamanho15(numeroSerieCano, "Numero Serie Cano Armamento");
1✔
34
        this.numeroSerieCano = numeroSerieCano;
1✔
35
    }
1✔
36

37
    public void setDescricao(final String descricao) {
38
        DFStringValidador.tamanho256(descricao, "Descricao Armamento");
1✔
39
        this.descricao = descricao;
1✔
40
    }
1✔
41

42
    public NFNotaInfoItemProdutoArmamentoTipo getTipo() {
UNCOV
43
        return this.tipo;
×
44
    }
45

46
    public String getNumeroSerieArma() {
UNCOV
47
        return this.numeroSerieArma;
×
48
    }
49

50
    public String getNumeroSerieCano() {
UNCOV
51
        return this.numeroSerieCano;
×
52
    }
53

54
    public String getDescricao() {
UNCOV
55
        return this.descricao;
×
56
    }
57
}
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