• 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

0.0
/src/main/java/com/fincatto/documentofiscal/mdfe3/classes/nota/evento/MDFeEvento.java
1
package com.fincatto.documentofiscal.mdfe3.classes.nota.evento;
2

3
import com.fincatto.documentofiscal.DFBase;
4
import com.fincatto.documentofiscal.nfe310.classes.nota.assinatura.NFSignature;
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 = "eventoMDFe")
14
@Namespace(reference = "http://www.portalfiscal.inf.br/mdfe")
15
public class MDFeEvento extends DFBase {
×
16
    private static final long serialVersionUID = 6488632164801543377L;
17

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

21
    @Element(name = "infEvento")
22
    private MDFeInfoEvento infoEvento;
23

24
    @Element(name = "Signature", required = false)
25
    private NFSignature assinatura;
26

27
    public String getVersao() {
28
        return this.versao;
×
29
    }
30

31
    public void setVersao(final BigDecimal versao) {
32
        this.versao = DFBigDecimalValidador.tamanho5Com2CasasDecimais(versao, "Versao");
×
33
    }
×
34

35
    public MDFeInfoEvento getInfoEvento() {
36
        return this.infoEvento;
×
37
    }
38

39
    public void setInfoEvento(final MDFeInfoEvento infoEvento) {
40
        this.infoEvento = infoEvento;
×
41
    }
×
42

43
    public NFSignature getAssinatura() {
44
        return this.assinatura;
×
45
    }
46

47
    public void setAssinatura(final NFSignature assinatura) {
48
        this.assinatura = assinatura;
×
49
    }
×
50
}
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