• 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

71.43
/src/main/java/com/fincatto/documentofiscal/nfe310/classes/evento/NFTipoEvento.java
1
package com.fincatto.documentofiscal.nfe310.classes.evento;
2

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

10
import java.math.BigDecimal;
11

12
@Root(strict = false)
13
public class NFTipoEvento extends DFBase {
1✔
14
    private static final long serialVersionUID = 172979194017130488L;
15
    
16
    @Attribute(name = "versao")
17
    private String versao;
18
    
19
    @Element(name = "descEvento")
20
    private String descricaoEvento;
21

22
    // Carta correcao
23
    @Element(name = "xCorrecao", required = false)
24
    private String textoCorrecao;
25

26
    @Element(name = "xCondUso", required = false)
27
    private String condicaoUso;
28

29
    public void setVersao(final BigDecimal versao) {
30
        this.versao = DFBigDecimalValidador.tamanho5Com2CasasDecimais(versao, "Versao");
1✔
31
    }
1✔
32

33
    public void setDescricaoEvento(final String descricaoEvento) {
34
        DFStringValidador.tamanho5a60(descricaoEvento, "Descricao do Evento");
1✔
35
        this.descricaoEvento = descricaoEvento;
1✔
36
    }
1✔
37

38
    public String getDescricaoEvento() {
39
        return this.descricaoEvento;
×
40
    }
41

42
    public String getVersao() {
43
        return this.versao;
×
44
    }
45

46
    public void setCondicaoUso(final String condicaoUso) {
47
        this.condicaoUso = condicaoUso;
1✔
48
    }
1✔
49

50
    public void setTextoCorrecao(final String textoCorrecao) {
51
        this.textoCorrecao = textoCorrecao;
1✔
52
    }
1✔
53

54
    public String getCondicaoUso() {
55
        return this.condicaoUso;
×
56
    }
57

58
    public String getTextoCorrecao() {
59
        return this.textoCorrecao;
×
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

© 2025 Coveralls, Inc