• 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/MDFeProtocoloEvento.java
1
package com.fincatto.documentofiscal.mdfe3.classes.nota.evento;
2

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

10
import java.math.BigDecimal;
11

12
@Root(name = "procEventoMDFe")
13
@Namespace(reference = "http://www.portalfiscal.inf.br/mdfe")
14
public class MDFeProtocoloEvento extends DFBase {
×
15
    private static final long serialVersionUID = 8849959763700133248L;
16

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

20
    @Element(name = "eventoMDFe")
21
    private MDFeEvento evento;
22

23
    @Element(name = "retEventoMDFe", required = false)
24
    private MDFeEventoRetorno eventoRetorno;
25

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

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

34
    public MDFeEvento getEvento() {
35
        return this.evento;
×
36
    }
37

38
    public void setEvento(final MDFeEvento evento) {
39
        this.evento = evento;
×
40
    }
×
41

42
    public void setEventoRetorno(final MDFeEventoRetorno infoEventoRetorno) {
43
        this.eventoRetorno = infoEventoRetorno;
×
44
    }
×
45

46
    public MDFeEventoRetorno getEventoRetorno() {
47
        return this.eventoRetorno;
×
48
    }
49
}
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