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

wmixvideo / nfe / #7074

24 Jun 2025 01:09AM UTC coverage: 51.425% (+24.4%) from 26.996%
#7074

push

web-flow
Merge 0ce3effce into bb9f583b3

14003 of 27230 relevant lines covered (51.42%)

0.51 hits per line

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

0.0
/src/main/java/com/fincatto/documentofiscal/nfe400/classes/nota/NFNotaProcessada.java
1
package com.fincatto.documentofiscal.nfe400.classes.nota;
2

3
import com.fincatto.documentofiscal.DFBase;
4
import com.fincatto.documentofiscal.nfe400.classes.NFProtocolo;
5
import com.fincatto.documentofiscal.validadores.DFBigDecimalValidador;
6
import org.simpleframework.xml.Attribute;
7
import org.simpleframework.xml.Element;
8
import org.simpleframework.xml.Namespace;
9
import org.simpleframework.xml.Root;
10

11
import java.math.BigDecimal;
12

13
@Root(name = "nfeProc")
14
@Namespace(reference = "http://www.portalfiscal.inf.br/nfe")
15
public class NFNotaProcessada extends DFBase {
×
16
    private static final long serialVersionUID = 6979476565566044621L;
17

18
    @Attribute(name = "versao")
19
    private String versao;
20

21
    @Attribute(name = "schemaLocation", required = false)
22
    private String schemaLocation;
23

24
    @Element(name = "NFe")
25
    private NFNota nota;
26

27
    @Element(name = "protNFe")
28
    private NFProtocolo protocolo;
29

30
    public NFNota getNota() {
31
        return this.nota;
×
32
    }
33

34
    public String getVersao() {
35
        return this.versao;
×
36
    }
37

38
    public NFProtocolo getProtocolo() {
39
        return this.protocolo;
×
40
    }
41

42
    public void setNota(final NFNota nota) {
43
        this.nota = nota;
×
44
    }
×
45

46
    public void setProtocolo(final NFProtocolo protocolo) {
47
        this.protocolo = protocolo;
×
48
    }
×
49

50
    public void setVersao(final BigDecimal versao) {
51
        this.versao = DFBigDecimalValidador.tamanho4Com2CasasDecimais(versao, "Versao Nota Processada");
×
52
    }
×
53

54
    public String getSchemaLocation() {
55
        return this.schemaLocation;
×
56
    }
57

58
    public void setSchemaLocation(final String schemaLocation) {
59
        this.schemaLocation = schemaLocation;
×
60
    }
×
61
}
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