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

wmixvideo / nfe / #6582

17 Jul 2025 09:30PM UTC coverage: 51.231% (+24.2%) from 26.996%
#6582

push

web-flow
Adequação do mapeamento de infLocalCarrega e infLocalDescarrega ao xs:choice do schema MDF-e (#1054)

* Adequação do mapeamento de infLocalCarrega e infLocalDescarrega ao xs:choice do schema MDF-e

* Adequação do mapeamento de infLocalCarrega e infLocalDescarrega ao xs:choice do schema MDF-e

14006 of 27339 relevant lines covered (51.23%)

0.51 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() {
43
        return this.tipo;
×
44
    }
45

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

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

54
    public String getDescricao() {
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